CTAN Comprehensive TeX Archive Network

CTAN update: monoref

Datum: 30. September 2026 12:49:37 MESZ
Srikanth Mohankumar submitted an update to the monoref package. Version: 1.4 License: lppl1.3c Summary description: Single-pass cross-references, page totals, TOC and citations for LuaLaTeX Announcement text:
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 Lua

This package resolves forward cross-references (\ref, \pageref), the total page count (\lastpage), and a multi-level table of contents in a single Lua 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 Lua.

PaketMonoref
Version1.4
Copyright2026 Srikanth Mohankumar
BetreuerSrikanth Mohankumar

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren