Question about converting epub to .docx or PDF
Hi all,
I have an epub file that contains references to original print page numbers in the format <span epub:type="pagebreak" role="doc-pagebreak" id="page591" aria-label="591" title="591" class="calibre"></span> (591 being the example page number from this book). I would like a page break added before each original page, when converting to either .docx or PDF.
I tried to set up an Xpath expression to add a page break before each of these span tags. However, my resulting file doesn't end up with any page breaks inserted. The XPath code I used is //h:span[@epub:type="pagebreak"]
I'm not sure if this is a result of an error I'm making in my XPath code, or if this is not how the pagebreak insertion feature is supposed to work, or if there's another problem I'm not aware of. Please help!
I'll attach a couple pages from the epub I've been working with. Thanks in advance!
|