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

军其 胡 junqihu at me.com
Fri Oct 19 20:26:06 CEST 2018

Ok! Following your instructions, latexmk.engine DOES work. Although there are only two lines
latexmk "$1"
in latexmk.engine.

I'm confused of the role of latexmk.engine in TeXShop.
When I use latexmk in Emacs, I only take it as the wrapped scripts instead of TeX engine.
In other words, latexmk always ignore the local file variable of Emacs in the TeX-format files when it is called in Emacs.
In fact, the TeX engine for latexmk is specified in latexmkrc.
However, by clicking latexmk button in TeXShop, latexmk.engine would also read the local file variable.

> Le 19 oct. 2018 à 19:06, Herbert Schulz <herbs at wideopenwest.com> a écrit :
> Howdy,
> Exactly the same behavior in TeXShop! If the files are up to date latexmk gives the same output. Are you sure you are having TeXShop use that engine?
> First, how are you using the engine? You should have a line
> % !TEX program = mylatexmk
> (or whatever you call the engine) at the top of your file. Second, you typeset the document by using Typeset->Typeset (Cmd-T). Then TeXShop will execute the mylatexmk (or whatever…) engine.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20181019/4371e477/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://tug.org/pipermail/macostex-archives/attachments/20181019/4371e477/attachment.sig>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list