diff --git a/xml2rfc/writers/pdf.py b/xml2rfc/writers/pdf.py index 47827968..f8eac40e 100644 --- a/xml2rfc/writers/pdf.py +++ b/xml2rfc/writers/pdf.py @@ -215,6 +215,12 @@ def flatten_unicode_spans(self, html): margin-top: 1em; }} }} + #toc nav ul li p a:nth-child(2)::after {{ + content: target-counter(attr(href), page); + position: absolute; + right: 0px; + text-indent: 0px; + }} }} """