[OS X TeX] pdflatexmk not running the first time

Herbert Schulz herbs at wideopenwest.com
Sun Mar 20 18:11:22 CET 2022



> On Mar 20, 2022, at 11:52 AM, G. M.-S. <lists.gms at gmail.com> wrote:
> 
> 
> 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

Howdy,

This is very strange. What version of TeXShop are you using? When you say `first time' do you mean first time ever (i.e., you are a new user of TeXShop) or does this happen with any file using the pdflatexmk engine the first time you typeset? What is the console output when pdflatexmk is actually used?

Good Luck,

Herb Schulz
herbs at wideopenwest.com


----------- 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.