LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right — LaTeX needs another run
Labels changed during the run; references and page numbers may be wrong until LaTeX runs again.
Fix
Build with latexmk, which reruns LaTeX as needed.
Example
Reproduced on TeX Live 2026 by CI · pdflatex · corpus/labels-changed
Cross-references need another LaTeX run
main.tex\documentclass{article}
\begin{document}
\section{Introduction}\label{sec:intro}
Section~\ref{sec:method} describes the method.
\section{Method}\label{sec:method}
Text.
\end{document}main.logLaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.