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

Ross Moore ross.moore at mq.edu.au
Fri Aug 30 18:59:34 EDT 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:

  \errorstopmode
  \scrollmode
  \nonstopmode
  \batchmode

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.

Murray

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

Howdy,

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.

Ross


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>
http://www.maths.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/>
<http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20190830/cd2a9f80/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20190830/cd2a9f80/attachment.png>


More information about the MacOSX-TeX mailing list