View Single Post
Old 07-17-2020, 04:47 AM   #1
cozylummox
Junior Member
cozylummox began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2020
Device: ipad
Question ePub + CSS -> PDF = in xhtml splits

Hi all, trying to make my epub/PDF conversions look a bit nicer and have taken to using a feature I hadn't before. In conversion box, Look & feel > Expand CSS (checked) > Styling > Extra CSS. Note I'm also using search and replace (as I always have).

Once I add the CSS, during the conversion from epub to PDF, Calibre takes the maybe 3 - 5 xhtml pages I had and splits them up, seemingly after my page break code (
Code:
<div style="page-break-before:always;"></div>
)-- typically there could be 10-20 different 'pages' that are split this way.

To make the ePub evergreen we want the epub as manageable as possible... 4 longish xhtml files are better than 50...Any ideas?
cozylummox is offline   Reply With Quote