[OS X TeX] How to make a original latexmk.engine for TeXShop

Herbert Schulz herbs at wideopenwest.com
Fri Oct 19 16:26:12 EDT 2018

> On Oct 19, 2018, at 2:32 PM, 军其 胡 <junqihu at me.com> wrote:
> Ah..., you use latexmk for single TeX-format file. 
> At this occasion, you are right. 
> I thought latexmk is always used to compile the TeX projects like GNU Make.
>> Le 19 oct. 2018 à 21:21, Herbert Schulz <herbs at wideopenwest.com> a écrit :
>> I keep most of my non-project oriented .tex files in a single folder. They use different engines depending upon what I'm trying to accomplish; I usually use pdflatex but, with some documents I use xelatex and even lualatex and, if I'm using many eps graphics I might even use latex->dvips->ps2pdf. Using your method I'd have to edit the latexmkrc file for each case. I can't agree with you.


There are many reasons to use latexmk based engines. I've got lots of documents that require multiple compiles because of cross-references, or special processing for glossaries, or bibliographies (latexmk will automatically use biber rather than bibtex when needed with the biblatex package) or … . The rc files that are read in create the necessary dependencies and rules for quite a few packages so the user doesn't have to it themselves. 

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the MacOSX-TeX mailing list