Files
texrra-engine/docs
gloamxun 0728d78b29 Resolve nameref to heading titles
Section numbering now also records the heading title for each label: a
number_sections_with_titles variant fills a titles table (the existing
number_sections wrapper keeps its signature for tests), and
resolve_section_refs takes that table. \nameref{label} becomes the heading
title, falling back to the number when no title was recorded, while \autoref
keeps producing "Section <number>"; unresolved forms become "??".

A preview test labels a heading inside its braces and renders \ref, \autoref
and \nameref together as "1 and Section 1 and Introduction" with no warnings.
2026-10-27 02:15:13 +08:00
..
2026-10-19 11:41:46 +08:00
2026-10-27 02:15:13 +08:00
2026-10-19 11:41:46 +08:00