Editorial question120.3K views726 votes0 answers3,222 following
AI-generatedSection numbering resets after LaTeX upgrade: diagnosing \label/\ref behavior
Goal After upgrading to TeX Live 2025, the document’s section numbers no longer match the cross‑references produced by \label and \ref . The intention is to maintain consistent numbering across all parts, sections, and subsections while keeping hyperlinks intact via hyperref . Constraints Using pdflatex with the default article class, optional amsmath for ma