<div dir="ltr"><br><div>Hello.</div><div><br></div><div>Something must be misconfigured on my side, but I have been unable to find where.</div><div><br></div><div>The first time I typeset a new LaTeX file test.tex containing</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">% !TEX TS-program = pdflatexmk</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">\documentclass{article}</p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:14px">\begin{document}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Test.</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">\begin{equation}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">\label{eq}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">2+2=4</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">\end{equation}</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">As seen in \ref{eq}.</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">\end{document}</p></div><div><br></div><div>with TeXShop I get</div><div><br></div><div><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2022/dev) (preloaded format=pdflatex)<br> restricted \write18 enabled.<br>entering extended mode<br>(./test.tex<br>LaTeX2e <2021-11-15> patch level 1<br>L3 programming layer <2022-02-24><br>(/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls<br>Document Class: article 2021/10/04 v1.4n Standard LaTeX document class<br>(/usr/local/texlive/2021/texmf-dist/tex/latex/base/size10.clo))<br>(/usr/local/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)<br>No file test.aux.<br><br>LaTeX Warning: Reference `eq' on page 1 undefined on input line 29.<br><br>[1{/usr/local/texlive/2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]<br>(./test.aux)<br><br>LaTeX Warning: There were undefined references.<br><br><br>LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.<br><br> )</usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb<br>></usr/local/texlive/2021/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb><br>Output written on test.pdf (1 page, 23320 bytes).<br>SyncTeX written on test.synctex.<br>Transcript written on test.log.<br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"></p></div><div><br></div><div>If I typeset again, latexmk is called and everything works as expected.</div><div><br></div><div>So this seems to be related to the fact that there is only one file called test.*.</div><div><br></div><div>Guillermo</div><div><br></div></div>