CTAN update: monoref
Version 1.4 adds single-run numbered citations: \cite against a hand-written thebibliography (or an existing BibTeX .bbl) resolves in the same single LuaLaTeX run, including forward citations, multi-key lists and the optional note; natbib/cite/biblatex are detected and left untouched. The load order of monoref and hyperref no longer matters, and the flush phase now warns when a resolved value is wider than its reserved slot.
This package is located at https://mirrors.ctan.org/macros/luatex/latex/monoref More information is at https://ctan.org/pkg/monoref
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
Monoref – Single-pass cross-references, page totals, TOC and citations for LuaLaTeX
This package resolves forward cross-references (\ref, \pageref), the total page count (\lastpage), and a multi-level table of contents in a single LuaLaTeX run – no rerun, no latexmk, and no .aux round-trip. It holds every finished page in memory via the shipout hook and back-patches the still-unknown values at \end{document}. Forward values are reserved as fixed-width slots that collapse to their natural width when filled, so lines never reflow and short values leave no gap. When hyperref is loaded, references and contents entries become clickable, using the package’s own named destinations so linking stays single-pass. The package requires LuaLaTeX.
| Package | Monoref |
| Version | 1.4 |
| Copyright | 2026 Srikanth Mohankumar |
| Maintainer | Srikanth Mohankumar |