[TxMt] Re: latex master paths
Daniel Stegmüller
d.stegmueller at gmail.com
Thu May 19 17:37:14 UTC 2011
Jenny,
what are the benefits of texshop + latexmk over textmate's and latexmk?
cheers,
Daniel
On 19 May 2011, at 16:40, Jenny Harrison wrote:
>>
>> I use a similar setup: dropbox to synchronize my desk and portable computers. For each folder where I keep a piece of work, say a book, I set up a file I call root.tex, with all of the formatting and \include(s). At the top of all of the files I'm including, I use Preferences in the Latexbundle to set the master file, with a line such as:
>> %!TEX root = /Users/me/Documents/Work/Writing/Books/newbook/root.tex
>>
>> The Watch Document command in the Latex bundle will work from inside any of the documents included in root.tex. The standard command + R typesetting command needs to be issued from root.tex.
>>
>> I presently do the typesetting not in TextMate but I switch to TeXShop and latexmk (pdflatexmk or xelatexmk)---their most recent versions---, because I often like to use the -pvc flag (continuous preview) of latexmk. Furthermore, I use biber and the most recent version of biblatex in texlive 2010. I set TeXShop for an external editor in its preferences, and added the flag -pvc to its latexmk engines. At the top of my root.tex file, I have the line:
>> %!TEX TS-program = xelatexmk (or pdflatexmk as the case may be)
>>
>> Once I start TeXShop for typesetting, I use command + tab to switch to TextMate project window, and back and forth. Any save in TextMate or in BibDesk bib files will trigger latexmk. Editing in TextMate allows me to do citations from BibDesk without opening it.
>>
>> Hope this helps,
>> -- gildas
>
> This sounds just like what I have been looking for. Are you able to sync? How do you add the flag -pvc to the latexmk engine of TeXShop?
>
> -jenny
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list