I've tried 'latex and view' again and it does now start up faster than I
Thanks for the great work,
On 24 Mar
2015, at 13:32 , Geoff Vallis <gkvallis(a)gmail.com> wrote:
Your fix did the trick, thanks very much.
The reasons I don't use 'typeset and view' are twofold. The main one is just
that it is a bit slow - I have to wait almost five seconds before it actually starts to
typeset, which may not seem very long but when I am 'debugging' it is a little
frustrating. Using a terminal window the typesetting starts instantly.
Commit 39b09967  should improve the startup time of `texmate` significantly.
I get an overhead of less than 0.3s if I use `texmate` on a minimal file. The translation
of the minimal file inside Terminal using the command `time pdflatex tmp.tex` takes 0.55s.
The following command ? basically simulating a run of ?Typeset & View (PDF)? ? inside
TextMate takes about 0.79s:
export TM_SUPPORT_PATH="$TM_BUNDLE_DIR/Bundle Support.tmbundle/Support/shared"
texmate.py -suppressview latex -latexmk no -engine pdflatex
Could you maybe test the above example and send in your results. If it takes multiples
seconds before `texmate` starts typesetting, then maybe your local copy of the bundle does
not contain the changes done in commit 5074427f ?
The second reason is that I can go back and forth
between xelatex and pdflatex easily by setting up two scripts with different keyboard
shortcuts, which I find quite convenient.
You can change the typesetting engine used by ?Typeset & View (PDF)? with the
defaults write com.macromates.textmate.preview latexEngine xelatex
defaults write com.macromates.textmate.preview latexEngine pdflatex
I know there are some advantages to 'typeset
and view' and if it were a bit quicker, like the equivalent command in TexShop which
is quite fast, I would use it.
Hopefully the latest changes help.