Dear users of the textmate bundle for Latex,
I'm using the "Watch Document" command (is latex_watch.pl in version
2.8) in textmate to have my masters thesis always up-to-date when I
change something in the tex file and hit save.
Since a few days this doesn't work as before, cause I'm running in a
closed loop. When textmate starts watching my main document (the
thesis is splitted in several files) it successfully compiles the
document with pdflatex and displays me the result in my preferred
viewer Skim. But after having done this it recompiles the whole file
again and then reloads the file in Skim.
This is pretty annoying behaviour, cause I haven't changed anything in
the main file, also it takes loads of cpu, speeds the macbooks fans up
and is constantly refreshing Skim.
Wether there is a bug of "latex_watch.pl" or it observes a file which
is updated through the initial and every following compilation and
therefore runs in a closed loop.
I tried two versions of the latex.tmbundle so far. I think one was the
original one which came with textmate and the other one was the one
from the svn repository as of yesterday. Both show the same behaviour.
My question is now. How can I analyze the problem (closed loop). Is
there a way to put the latex.tmbundle in debug mode so I can see some
log messages? I tried this already by specifing the projects variable
"TM_LATEX_WATCH_DEBUH = dialog" but without any success. I didn't
found the debug output on my disk.
What are other ways? Whats are your advice?
Many Thanks,
Jan
Hi, I've been looking for a reponse, searching the net and mailling
list archives, but could't find an answer to this problem, whenever I
try to run tm_dialog, to i.e. open a window just created, i got the
error:
$ tm_dialog -p {} ~/Desktop/Test.nib/
tm_dialog: failed to establish connection with TextMate.
Hope I get a solution now :P
--
Thanks in advance,
Igor Ranieri
In the Help for TextMate, the following are given as examples of legal
selectors (with explanations of what they mean / match):
text.html.ruby, text.html source.ruby
string
string.quoted
source.php string
text.html source.php
source.ruby string
source.ruby string - string source
string, comment
So, operators here are space, comma-space, and space-minus-space. It appears
that space has highest priority, then space-minus-space, then comma. (Or so
I would presume.) So far, then, it all seems quite coherent; I grok
prefix-matching, descendancy, exclusion, and OR (the comma is apparently an
OR operator, even though the help rather confusingly seems to describe it as
an AND).
Then, in a blog entry
(http://blog.macromates.com/2005/introduction-to-scopes/), additional info
is given:
(a | b) & c - d
I find that last one incoherent; I don't get where the pieces are or how the
operators here fit, priority-wise, with the previously given operators. For
example, which of the selectors given in the first list would be a legal
substitute for "b" here? And conversely, for which expressions in the first
list of legal selectors, if any, could this expression be substituted?
So, my question is: Can I somewhere get a formal coherent definition of the
rules of selector syntax?
m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
I've searched everywhere and it looks that it hasn't been raised before (?)
Is there any way to have mark occurrences feature in textmate ? via plugin..
script.. whatever.
It's very useful functionality and coming from eclipse I miss it heavily.
Thanks for any info,
Mariusz Nowak
--
View this message in context: http://www.nabble.com/mark-occurrences-feature-tp18181319p18181319.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello All,
The JavaScript language highlighter doesn't highlight regular
expressions inside of an array. Here is a code sample that shows some
simple test cases and only a few pass:
/test/
[/test/]
[1,2,/test/]
[1,2,/test/,'blah',/test/]
[ /test/, /test/ ,/test/ ]
new Array(1,2,3)
new Array(/test/, /test/, /test/)
"blah".match(/test/);
I haven't worked much with languages before, but I assume all that
would be needed would be including "string.regexp.js" inside of an
array class or maybe modify "punctuation.definition.string.begin.js".
I couldn't find any way to do that. I also tried adding a "," to the
list of characters that could come before the regexp itself but it
didn't seem to work, but I'm still new.
Can anyone recommend a solution?
Also, can anyone point me to where I can find the definition of
"punctuation.definition.*" and the like?
References I have look at:
http://blog.macromates.com/2005/introduction-to-scopes/http://manual.macromates.com/en/language_grammars.html#naming_conventions
Thanks in Advance,
Joseph Pecoraro
Hi,
In Python Bundle for "Debug Script in Terminal":
tell application "Terminal"
activate
do script with command "$TPY -m pdb $TM_FILEPATH"
end tell
doesn't work for TM_FILEPATHs which contain white spaces.
Better:
tell application "Terminal"
activate
do script with command "$TPY -m pdb '$TM_FILEPATH'"
end tell
Cheers,
--Hans
Hey Everyone.
We have superseded ScriptMate with a new API method in the TextMate
ruby module. It is called Executor.run. I've written a little
explanation of what Executor is for, and how to use it:
http://cs.pdx.edu/~ajross/executor.run.html.
Big thanks to Allan and Luke Daley without whom Executor would not
have been possible.
–Alex
Dear textmate users
I apologize if this problem was already described somewhere, but I
could not find a solution.
I'm using Textmate build 1436 and the LaTeX bundle to typeset
some .tex document.
Everything is working, but I always get the message
"There was a problem reading the preferences file, continuing with
defaults"
at the top of the "Typeset & View" window. When I go to the bundle
preferences I also get a floating yellow message saying
<p class="error">There was a problem reading the preferences file,
continuing with defaults </p>
The problem is that I can't change any bundle preferences, so for
example I can't make the log window stay open after typesetting.
I found someone with the same problem, but there it seemed to be
caused by build 1455, and when she reverted to 1436 it was gone.
Any suggestions? Should I install the latest build?
Thanks in advance,
Benjamin
Hello,
I've noticed that when Textmate saves a file it leaves a backup "._"
copy behind. Is there any way to prevent this from happening? There is
nothing in the Preferences that indicate any control over this.
Thanks,
Adam
Hi,
I just checked out the latest DIALOG2 code, compiled it on my good
old Mac OSX 10.4.11 ppc.
If I invoke an HTML tooltip the webview is correct but it will be
placed at position (0,0) bottom left. The frame size fits.
I tried to figure out why, but I didn't see it.
Is this reproducible?
Here a tiny test command:
Type
"$DIALOG" tooltip -f html <<< 'Hello <b>World</b>'
and press CTRL+R
--Hans