Follow-up Comment #4, bug #61836 (group groff): The recent changes to s.tmac which added PDFFEAT (when using -T pdf) now automatically relocates the TOC if the document includes a title page (.RP). It also adjusts the page numbering in the overview panel to match the roman numerals in the TOC and resets the page numbers to 1 for the main body of the document.
As far as I know, this is only possible with pdf output because page order is
controlled by hierarchical arrays of pointers to page objects which can be
manipulated. The TOC pages are still the "last" pages in the file, it is just
the array of pointers which is changed.
I think the current ability to "name" a page plus the ability to switch the
"growth point" to before/after a named page is more natural for the single
pass nature of groff. Troff (which produces grout) has no concept of the type
of page (title, toc, body, appendix, index) it is only the macro package (or
make file) which is aware of these things.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61836>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
