Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-12-2020, 04:47 PM   #1
TheLinguist
Junior Member
TheLinguist began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2020
Device: Computer
Keep Pagination Schema when Converting Epub to PDF

Hello,

First, I would like to clarify that I'll try to follow as much as possible the guidelines of How to Ask Question About Conversion Problems, even though most of them does not seem applicable (as this is more of a general question than a problem per se).

I have an ePub file, which is copyrighted so I can't share the file, but I will try to describe its structure as best as possible to characterize the file. The ePub is composed of a xhtml for each page in the book. For instance, the contents of page 1 is contained within a file page_1.xhtml and so forth. I don't think this file is suited for any specific device, as far as I know, for me it looks like they tried to represent it the closest possible to the print book format. The file has a kind of "manual" pagination on each page file.

I think the log files wouldn't be relevant at this time, as I'm still stuck in the "how do I do this" stage of the conversion. I couldn't find myself a specific recommendation for this in the docs, and when I tried the standard options the outcomes was disastrous.

The problem is that some source pages (xhtml files in my ePub) does not seem to fit the destination document pages. Several pages from the original document get into multiple pages in the PDF, generating a huge number of almost blank pages.

For that reason, I would like to ask whether there is an option to make each file be mapped to a certain page, preserving the original page numbers and reducing the font size or something like that to make it fit a single page. For printing and organization, it would be much easier if there was a correspondence with the original pagination.

If perhaps the software does not have an option for that, is there any workaround I could do to obtain that result? I'm not afraid of some hard work, if necessary.

Sincerely,
TheLinguist
TheLinguist is offline   Reply With Quote
Old 01-12-2020, 06:05 PM   #2
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 3,358
Karma: 32393681
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
That sounds like a fixed-layout EPUB. That is a format that calibre does not currently support.
jhowell is offline   Reply With Quote
Advert
Old 01-12-2020, 06:37 PM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 15,432
Karma: 15200000
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you want to have someone assess the epub you could use the ScrambleEbook plugin. See Index of plugins

BR
BetterRed is offline   Reply With Quote
Old 01-12-2020, 09:31 PM   #4
retiredbiker
Zealot
retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.retiredbiker is faster than slow light.
 
retiredbiker's Avatar
 
Posts: 121
Karma: 29896
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Ubuntu, Jutoh,Kobo Forma
Quote:
I'm not afraid of some hard work, if necessary.
Since you say that, here's what I'd do, if I wanted the pdf badly enough. Open the book in the editor. Select all those page files (hundreds?). Then right-click on the selected set of files and do "Merge selected text files". That will give you one big xhtml file. If there is a separate style sheet, copy the contents into the header inside <style> tags as usual. Export it. Open that in Libre Office Writer and save it as an odt. Then edit page-breaks and what have you to your heart's content, then export it as a pdf.

If you're a Word person, I'm sure you could do something similar, but I haven't touched Word in 10 years. (I know it works in Writer, since I've done basically the same thing on various books, for different reasons.) And maybe, just maybe, simply converting it to docx would work well enough to save all the other steps.
retiredbiker is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pagination problem after EPUB to PDF conversion ittiandro Conversion 2 11-21-2017 12:04 PM
Epub Doctype, Schema and Metadata? Clancolin Sigil 8 01-12-2016 07:15 AM
epub to pdf pagination kerliza Conversion 8 03-23-2014 03:26 AM
How to convert from epub to pdf and maintain original pagination format? zenorb Conversion 16 03-03-2013 01:46 PM
Converting epub into pdf with print pagination luciano Workshop 6 09-05-2012 06:15 PM


All times are GMT -4. The time now is 06:59 AM.


MobileRead.com is a privately owned, operated and funded community.