View Single Post
Old 12-02-2020, 01:22 PM   #1
ghmerrill
Connoisseur
ghmerrill began at the beginning.
 
ghmerrill's Avatar
 
Posts: 72
Karma: 10
Join Date: Mar 2017
Location: Central NC
Device: Various
Page numbers in Epub->PDF conversion

I THINK I can see a way around this that is mostly outside Calibre, but given that I see some pretty slick stuff in Calibre conversion documents, I wonder if I'm just missing something. Surely people handle this situation all the time. If it's already documented or discussed somewhere, just point me at it.

Here's the problem: Page numbers for "front matter" (title page, copyright, preface, etc.) should be lower case Roman numerals (i, ii, iii, etc.) beginning with i. Page numbers for the body of the book should be Arabic numerals (1, 2, 3, ...), and the generated table of contents should reference all of that correctly.

Is there some way I can cause this to happen in the Epub->PDF conversion process? Can I, for example, provide some HTML (depending on classes) that will cause numbering to emit LC Roman numerals for some files/sections and Arabic numerals for others? Is there something that I can insert on the Epub side to help or accomplish this? I see some murky references to a "pagelist" that Sigil might be able to generate, but there's nothing obvious in the Sigil tools about this (maybe a plugin?).

Just not sure which way to go on this. My work-around would be to take the Epub file apart, convert each part separately, and then patch any problems (e.g., in the table of contents) with direct PDF editing. But that seems pretty crude.

Thanks for any insight.
ghmerrill is offline   Reply With Quote