View Single Post
Old 08-01-2014, 06:14 AM   #13
xanguera
Member
xanguera began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2014
Device: ipad3
Hi. I am back
To answer @faltradl question on why I should want to do this. I am in need to create a fixed-layout epub from a long text document. Splitting the docx (taking advantage of the pagination given my the text editor) seemed to be a good option.

Thanks @dickloraine for finding that I could use the <w:lastRenderedPageBreak/> in docx to split the pages. Still, as mentioned above, in some cases this tag is not inserted (e.g. when the user changes page hitting enter).

Is there any more robust way that you could imagine to transfer the pagination information (well, I just need to know the places where the page changes) in an automatic way? Note that for it being automatic is a hard requirement, as I do not want to have to open every one of my docx files just to manually insert page breaks.

Similarly, would calibre be able to find and process tags like <w:lastRenderedPageBreak/> through xpath expressions (so that I do not need to edit the docx file externally)?

Thanks.
xanguera is offline   Reply With Quote