4 ms·
Some books starts counting pages after the table of contents and so the pdf page number and the book page number are not in sync. I’ve seen some PDFs have the
by wodenokoto 5y ago
Some books starts counting pages after the table of contents and so the pdf page number and the book page number are not in sync.
I’ve seen some PDFs have the first few pages counted in Roman numerals and then “normal” numbers for the main content.
How do you edit an existing pdf to do that?
- shakna 5y agoPage numbers are part of the PageInfo object within a PDF, but it looks like currently this is generated naively [0], so I don't think multiple numbering schemes are currently supported by this library. [0] https://github.com/jorisschellekens/borb/blob/master/borb/pdf/page/page_info.py#L67 https://github.com/jorisschellekens/borb/blob/master/borb/pd...