I'm having the same problem, I prefer using colons to logically
separate labels of any kind (including citations) so I can jump back
and forth easier (with alt + left/right), but I'd always get duplicate
parts.
A fix would be much appreciated :-)
Max
I am currently writing a many-file textbook using a master.tex file.
To label figures, tables, sections, etc. without a collision of
labels I have been using the convention:
chapter-name:section-name:my-label
So, for instance, I have a the following in the file which labels an
example which has to do with the tension in the string of a pendulum
in the section "Pick A Nice Point" in the chapter "Answer Strategies"
\label{answer-strategies:pick-a-nice-point:pendulum-tension}
Now, when I try to do completion
\ref{answer-stra[[press Alt-escape, select completion]]}
I wind up with a duplication of anything that comes before the last
typed dash:
\ref{answer-answer-strategies:pick-a-nice-point:pendulum-tension}
instead of the expected:
\ref{answer-strategies:pick-a-nice-point:pendulum-tension}
Another example below.
Does anyone know how to work around this? I've already typed about
one hundred labels and references, and I so far I have put up with
correcting the completion each time. It's getting old, though.
Thanks a lot,
Evan
--------------------------------------------------
Another example would be:
\ref{answer-strategies:pick-a-nic[[Alt-escape]]}
yields
\ref{answer-strategies:pick-a-answer-strategies:pick-a-nice-
point:pendulum-tension}
instead of
\ref{answer-strategies:pick-a-nice-point:pendulum-tension}
Hi,
I just wnated to commit some stuff MAcromates' review trunk by using
the Subversion Bundle, but I got this error message:
svn: Commit failed (details follow):
svn: Can't create directory '/home/duff/svn/Bundles/db/transactions/
10300-1.txn': No space left on device
Is there a solution to that problem?
Many thanks in advance,
--Hans
Hi,
I've searched the help and used Cmd-Ctrl-T with some words but could
not find this.
I want to see in the project drawer the current file being edited. Any
quick shortcut for this?
Thanks,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo(a)simplicidade.org
Use XMPP!
Hi,
I just uploaded the bundle "GetBundles" to the review trunk.
It is the first try to provide an easy and hopefully fast GUI to
install additional bundles hosted on the svn repositories Mactomates
Bundles, Macromates Review, and the git repository at github.com.
There is a tiny screencast:
http://www.bibiko.de/TM_GetBundles.mov (5MB)
It is implemented as an async DIALOG window showing a table of all
found bundles in the three repositories as 'Repository' (B := Bundles,
R := Review, G ;= GitHub), 'name', 'description'.
If one invokes that window firstly it looks for the all bundles at
these repositories. If it finds a bundle description in the cache file
for a given bundle it displays that description; if not it shows "not
yet downloaded". At the bottom you will see how many bundle
descriptions are missing. For the github it always downloads the
descriptions, meaning these descriptions aren't cached. If there are
some missing one can press the "update" button. The table and the
cache will be updated.
The GUI provides a search field. One can search for names and/or
bundle descriptions. The search can be restricted to a given
repository, and in addition there is also the chance to search by
using a regexp à la ".*rtf.*[cd]op.*".
One can select one or more bundles (from different repositories) and
press "Install Bundles" (one also can double-click). Furthermore one
can select the installation target Prinstine Copy, ~ Bundles, App
Bundle, etc. or 'user defined'. If 'user defined' was chosen one can
select a folder.
The script will install a bundle by using svn (bundle intern or
TM_SVN) or 'git clone' (git or TM_GIT). If git is not installed it
will download the bundle as zip file from github and installs that one.
There is the chance to show the installation log file.
Next there is an 'Advanced' button. It opens a drawer with up to now
one button "Update TextMate's Support Lib" which installs the latest
Support/lib items.
If a folder already exists the script will ask you what to do. You can
cancel or replace the old one. If one chooses 'replace' the script
will backup the old folder as OLDFOLDERNAME + a time stamp for safety
reasons.
After installing a Reload Bundles will be done.
The entire script works with DIALOG1 or, if installed, with DIALOG2
If someone wants to test it you can check out it from the review
repository and just download it via
http://email.eva.mpg.de/~bibiko/downloads/textmate/GetBundles.tmbundle.zip
Please, for the first time you should select a 'user defined' folder
as installation target.
Furthermore I would be pleased if a Ruby expert can go through the
code. I'm not the Ruby specialist ;)
I tried to get rid of all circumstances, esp. for errors. All relevant
commands are wrapped into timeout and rescue blocks.
But maybe I forgot something ;)
The only way to close that window is to press the Cancel button or
simply ESC. OPTION+W won't work. The script makes usage of some
threads, thus these threads should be aborted safely.
All errors, installation commands will be written into a log file
located in the bundle's lib path. This log file will be erased each
time if one invokes "GetBundles".
I tested it on Tiger 10.4.11 and Leopard 10.5.4 on a ppc Mac with
DIALOG1 and 2.
I didn't use the command line tool 'textmate' and 'thor'. By my
opinion it is 'only' command line tool.
Any comments?
Does the script run?
What is unclear?
What is ugly?
What was misspelled?
Are there any fatal errors or freezing stuff?
What else can be done?
If a fatal error occurred and the window freezes at the screen, you
can destroy that window by entering:
"$DIALOG" - l TOKEN or "$DIALOG" window close TOKEN for DIALOG2
The token can be found at the beginning of the log file.
Please also check if there are still running a Ruby, git, svn,
tm_dialog(2) process in the Activity Monitor.
Thanks,
--Hans
To reproduce:
- Have some folded blocks
- Tripple-click-drag downwards to extend selection by lines
- Blocks are unfolded, but the scroll bar is not updated
The only way to get to the text that fell through the bottom is to
manually fold/unfold something.
I'd take an alpha of avian over a bugfix though... Soon?
Gerd
Hi,
regarding to the issue tmbundles what's about tmCommands?
I could imagine that there are quite a few very useful tmCommands on
the market.
These tmCommands could be hosted at github like:
sort-table-tmCommand
show-duplicate-lines-tmCommand
Then I could add an additional tag tmCommand to GetBundles.
THese tmCommands will be installed into the user's tmbundle.
Maybe the same for tmSnippet, tmMacros, tmPreferences, tmTheme ?
--Hans
I am a heavy user of the completion key (escape) in LaTeX. At
present, when I press the escape key when I am inside a \ref{}
command, it offers me the first completion that it finds in the list
that it generates when I press the alt+escape key inside a \ref{}
command. That list is alphabetical (so far as I can see). It would be
more useful (for me) if instead it offered as its first choice the
contents of the most recent \label{} command, and then offered them
in reverse order. (That is, if it behaved like it does when it is not
within a \ref{} command.) Indeed, it would be more useful (I think) if
the alt+esc key produced its offerings in reverse chronological order
when pressed within \ref{}.
Is it possible to manipulate the order in which escape offers up its
completions?
Many thanks,
Kyle
I'm embarking on a Firefox extension, which means I'm about to meet XUL.
Is there a XUL bundle for TextMate? It doesn't appear in the Bundles
trunk, and my Google search does not encourage me, but it would be a
help.
— F
Hi Allan and friends,
I have a source tree structure like this:
www/
site/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
item/
index.tcl, .adp
one.tcl, .adp
edit.tcl, .adp
The fact that files are named the same, but in different directories:
- Confuses both the Cmd-Opt-Up "Go to Header/Source" feature, which
will gladly find www/item/one.adp when I'm editing www/site/one.tcl. It
would be good if it would prefer the file in the current directory when
one exists. Otherwise, it's a great feature.
- Similarly, when using Cmd-T "Go to file", which I use almost
exclusively to open up new files now, it would be great if I could
write "itemonetcl" to get item/one.tcl, as opposed to site/one.tcl.
Currently, it doesn't take the path into account at all.
I can see some downsides to changing current behavior, too,
particularly with the Go to file feature.
But let me know what you think.
/Lars