[OS X TeX] How to make a original latexmk.engine for TeXShop
军其 胡
junqihu at me.com
Fri Oct 19 18:00:30 CEST 2018
Let me try.
> Le 19 oct. 2018 à 17:49, Herbert Schulz <herbs at wideopenwest.com> a écrit :
>
> Ok, the following TeXShop engine also reads $PROJECTDIR/latexmkrc.
>
> <mylatexmk.engine>
>
> I assume you're using TeXShop to run the engine so I'd use
>
> $pdflatex = 'xelatex -synctex=-1 --file-line-error %O %S';
>
> in your $PROJECTDIR/latexmkrc file since TeXShop uses that information to find the file for the error in the log file.
I think the mechanism of latexmk is simple.
Through a custom latexmkrc, we can define many options, including LaTeX engine, PDF/DVI mode, using other utilities or not, etc.
One latexmk.engine is enough for all TeX engine.
> You were talking about latex and I see you want to use xelatex. Try the xelatexmk engine along with a platexmkrc file and see if that works for you
-------------- 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/7ecd83e5/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
https://email.esm.psu.edu/pipermail/macosx-tex/
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