[OS X TeX] How to make a original latexmk.engine for TeXShop
军其 胡
junqihu at me.com
Fri Oct 19 14:26:06 EDT 2018
Ok! Following your instructions, latexmk.engine DOES work. Although there are only two lines
-------------------------------
#!/bin/bash
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://email.esm.psu.edu/pipermail/macosx-tex/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://email.esm.psu.edu/pipermail/macosx-tex/attachments/20181019/4371e477/attachment.sig>
More information about the MacOSX-TeX
mailing list