You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make-pdf: --toc page-number cells are always empty (no target-counter rule in the print CSS) #2903
make-pdf --toc renders a table of contents with title text and dotted leaders, but every page-number cell is empty. The leaders run into blank space. The skill
documents this flag as "Clickable TOC with page numbers", so the page-number half is
missing.
This is not#1689. That issue's root cause (TOC anchors pointing at ids no heading
carried) is fixed — see verification below. The anchors resolve now; the page numbers
still never appear, for a different reason.
buildTocBlock emits <span class="toc-page" data-toc-target="toc-N"></span> empty,
with the comment that "Page numbers are filled in by Paged.js". But nothing in the
print CSS ever asks Paged.js to fill them. There is no target-counter() declaration
anywhere in the generated stylesheet, so the spans stay empty through the entire print
run.
(exact form depending on how the target id is threaded through).
Suggested follow-up
#1689 can probably be closed — its stated root cause is resolved, and a commenter has
already asked for that. This ticket covers the symptom that outlived the fix.
Fixed in v1.91.16.0 (#3014, ac20ef1): --toc prints real page numbers (print, read back, fill, verify) and TOC links survive empty headings and reused ids; tested on the fallback browser in CI. If you use Aside, please confirm on your machine since CI can't run it.
Thanks for the report! If it still happens on v1.91.16.0 or later, reply here and we'll reopen.
Activity
v1.91.16.0 fix: safe installs and upgrades, skills start everywhere, …
capy-ai commentedon Oct 3, 2026
Fixed in v1.91.16.0 (#3014, ac20ef1):
--tocprints real page numbers (print, read back, fill, verify) and TOC links survive empty headings and reused ids; tested on the fallback browser in CI. If you use Aside, please confirm on your machine since CI can't run it.Thanks for the report! If it still happens on v1.91.16.0 or later, reply here and we'll reopen.
v1.91.16.0 fix: safe installs and upgrades, skills start everywhere, …