[OS X TeX] how imitate TeXShop's pdflatexmk from command line

Ross Moore ross.moore at mq.edu.au
Sat Aug 31 00:59:34 CEST 2019

Hi Murray,

On 31 Aug 2019, at 7:02 am, Murray Eisenberg <murrayeisenberg at gmail.com<mailto:murrayeisenberg at gmail.com>> wrote:

(1) OK, I’ll have to live with the restriction of -interaction=batchmode to just pdflatexmk. But I do often need to do just a (pdf)latex run to check syntax, to proofread, etc.; so for that, when TeXShop gets finicky and freezes, as it sometimes does with my 600+ pages, I’ll have to resort to a Terminal command-line run of pdflatex.

I expect that the  -interaction  switch just inserts a line into the TeX source that is actually run.
You can do this yourself, using primitive commands:


Just put one at the top of your document source.
Or put them all, commented; then uncomment just the mode that you want.

Actually they can go anywhere in your document, to switch mode at that point.
This lets you control whether or not messages get sent to the Console window.
Messages are still written to the .log in any case.

see The TeXBook,  bottom of page 32 or near the bottom of page 277.

(2) Is there a list of all the" % ! …". directives that TeXShop understands? I looked through the various help files and couldn’t find such.


On 25 Aug2019, at 5:12 PM, Herbert Schulz <herbs at wideopenwest.com<mailto:herbs at wideopenwest.com>> wrote:


I’ve only adapted most of the latexmk based engines to use that directive. If you use the latexmk engine it should work.

Good Luck,
Herb Schulz

Hope this helps.


Dr Ross Moore
Department of Mathematics and Statistics
12 Wally’s Walk, Level 7, Room 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955  |  F: +61 2 9850 8114
M:+61 407 288 255  |  E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>
[cid:image001.png at 01D030BE.D37A46F0]
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190830/cd2a9f80/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190830/cd2a9f80/attachment-0001.png>
-------------- 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