|  07-17-2020, 04:47 AM | #1 | 
| Junior Member  Posts: 1 Karma: 10 Join Date: Jul 2020 Device: ipad |  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> To make the ePub evergreen we want the epub as manageable as possible... 4 longish xhtml files are better than 50...Any ideas?   | 
|   |   | 
|  07-17-2020, 12:42 PM | #2 | |
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 Editing with a EPUB editor like in Calibre or Sigil makes editing 1 or 100+ files just as simple. F&R has a selector Current, All HTML, Marked IMHO Working on BIG files is slower, allows for more damage quickly KISS. Touch only what needs touching, and leave the rest alone   | |
|   |   | 
| Advert | |
|  | 
|  07-18-2020, 12:23 AM | #3 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			if you dont want conversion to split on page breaks use the option for it in the epub output section of the conversion dialog
		 | 
|   |   | 
|  | 
| Tags | 
| conversion, css, epub to pdf | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| xhtml->epub/mobi/azw auto-embedding of all js/css/etc? | iaw4 | Conversion | 1 | 01-18-2014 09:48 PM | 
| Help: pdf to epub conversion in Calibre splits paragraphs | leday | Calibre | 13 | 09-15-2013 02:10 PM | 
| Créer des epub à partir d'une syntaxe wiki (chaîne d'édition vers PDF (LaTeX), xHTML | farvardin | Software | 1 | 04-03-2011 12:49 PM | 
| PDF-> EPUB conversion splits paragraph | marekgregor | Calibre | 1 | 01-12-2011 10:04 AM |