[OS X TeX] pdflatexmk not running the first time

G. M.-S. lists.gms at gmail.com
Sun Mar 20 12:52:55 EDT 2022


Hello.

Something must be misconfigured on my side, but I have been unable to find
where.

The first time I typeset a new LaTeX file test.tex containing

% !TEX TS-program = pdflatexmk

\documentclass{article}

\begin{document}

Test.

\begin{equation}

\label{eq}

2+2=4

\end{equation}

As seen in \ref{eq}.

\end{document}

with TeXShop I get

This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2022/dev)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-02-24>
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
No file test.aux.

LaTeX Warning: Reference `eq' on page 1 undefined on input line 29.

[1{/usr/local/texlive/2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux)

LaTeX Warning: There were undefined references.


LaTeX Warning: Label(s) may have changed. Rerun to get cross-references
right.

 )</usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on test.pdf (1 page, 23320 bytes).
SyncTeX written on test.synctex.
Transcript written on test.log.


If I typeset again, latexmk is called and everything works as expected.

So this seems to be related to the fact that there is only one file called
test.*.

Guillermo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20220320/a6dbec73/attachment.htm>


More information about the MacOSX-TeX mailing list