|  07-20-2011, 10:20 AM | #16 | |
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | Quote: 
   | |
|   |   | 
|  07-20-2011, 10:27 AM | #17 | 
| Wizard            Posts: 1,196 Karma: 1281258 Join Date: Sep 2009 Device: PRS-505 | 
			
			That's a good question, since the defect quite possibly lies in the underlying WebKit code that iBooks uses. Unfortunately I don't know the answer.
		 | 
|   |   | 
|  07-20-2011, 12:38 PM | #18 | 
| Grand Sorcerer            Posts: 28,880 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | 
			
			Hmmm. I believe the WebKit code is used by calibre's ebook viewer, too, and if memory serves... it doesn't honor page-break-before either.
		 | 
|   |   | 
|  07-21-2011, 04:19 AM | #19 | 
| Junior Member  Posts: 6 Karma: 10 Join Date: Jul 2011 Device: iPad, Kindle | 
			
			no problems DiapDealer, I am still learning all this, so any information is very helpful.
		 | 
|   |   | 
|  07-21-2011, 07:40 PM | #20 | 
| Zealot         Posts: 107 Karma: 1000 Join Date: Sep 2010 Location: Melbourne, Australia Device: iPad2, Kindle | 
			
			DiapDialer, I can at least confirm this is the case for iBooks but I'm yet to try any other apps on the iPad.  Markdraper, I am using the method outlined by charleski (thanks again!). Followed by a multi-file find/remove of all <p class="break"/> lines in the resulting files, using TextWrangler. That the best solution I can find to date. | 
|   |   | 
|  07-22-2011, 12:05 AM | #21 | 
| Junior Member  Posts: 9 Karma: 10 Join Date: Jul 2011 Device: iPad / iPhone | 
			
			Reading the thread, perhaps you still don't have an answer. I see you are using InDesign CS 5.5. One method is to create lots of mini documents within InDesign, IE break your Document up into logical smaller documents. Then you create a book in InDesign and all your smaller documents then are added to the book. I can guarantee you that when InDesign exports the book to ePub, each document will start on its own page. If you try this method, you can't use the File -> Export method. Instead on the Books window in the top right hand corner, you select the down arrow and from the drop down list select export to ePub from there. This had me stumped for a few minutes a couple of weeks ago.  I'm not sure why people say you iBooks on the iPad and iPhone wont recognise page breaks from the CSS. I've done it, I do it every day and it works, I promise you. Here is a sample of my CSS and note the last line. p.Header { font-family : "Qlassik Bold", sans-serif; font-weight : bold; font-style : normal; font-size : 2em; text-decoration : none; font-variant : normal; line-height : 1.2; text-align : left; color : #d90000; text-indent : 0px; margin : 0 0 4em 0; page-break-before: always; } So everything tagged in the XHTML as a header ie: <p class="Header">Logbook 463</p> has a page break before it. I've attached some images to show that it works. Also an image showing the menu you use from InDesign to export a Book to ePub. I'm happy to send you some of my XHTML and CSS if it will help? | 
|   |   | 
|  07-22-2011, 03:09 AM | #22 | 
| Zealot         Posts: 107 Karma: 1000 Join Date: Sep 2010 Location: Melbourne, Australia Device: iPad2, Kindle | 
			
			CPP, wow, this is working for me - great stuff.  This has made me revisit this post. In the comments section, there is still some differing reports: http://www.pigsgourdsandwikis.com/20...ibooks-12.html To the RHS of this site: http://threepress.org/document/epub-validate/ I noticed this suggestion: "Once you have validated your document, consider uploading it to Ibis Reader to view it in our highly-conformant EPUB reader." I've just tried viewing my epub using this CSS in Ibis, and it doesn't work there. If Ibis is highly-conformant, does that mean page-breaks are not supported officially by epub? And that some other e-readers may also ignore this CCS? | 
|   |   | 
|  07-23-2011, 05:09 AM | #23 | ||
| Wizard            Posts: 1,196 Karma: 1281258 Join Date: Sep 2009 Device: PRS-505 | Quote: 
 Quote: 
 | ||
|   |   | 
|  07-23-2011, 09:12 PM | #24 | |
| Junior Member  Posts: 9 Karma: 10 Join Date: Jul 2011 Device: iPad / iPhone | Quote: 
 | |
|   |   | 
|  07-25-2011, 12:00 AM | #25 | 
| Addict            Posts: 351 Karma: 70000 Join Date: Jul 2010 Location: Australia Device: ADE, iPad | 
			
			I still work with the book feature. Even in CS5.5  I can't find/don't know of a way that 5.5 will break a document into separate files...From everything I've read/watched all it does is insert the Page Break code... So a graphic heavy document WILL exceed the required File size limit... | 
|   |   | 
|  07-25-2011, 07:03 AM | #26 | 
| Wizard            Posts: 1,196 Karma: 1281258 Join Date: Sep 2009 Device: PRS-505 | 
			
			Yes, if you look at the files I attached in my earlier post, you'll see that InDesign is actually breaking the ePub up into separate files with this method rather than simply using a css attribute. This method still causes extraneous empty paragraphs at the top of each page break, so it's not ideal, though.
		 | 
|   |   | 
|  07-29-2011, 01:09 AM | #27 | 
| Enthusiast   Posts: 27 Karma: 110 Join Date: Dec 2010 Location: Chicago, IL Device: iPad, Kindle | 
			
			In CS5.5 there's a workaround you can use to force ID to split the doc (at export, into multiple XHTML files, thus creating a real page break) at any given point, even if there's no paragraph style there (the style you choose in the Export to EPUB Options dialog box). The trick is to anchor a small, white-filled frame (no border) as an inline object in an empty paragraph right *before* where you want the page to break: Last line of text in previous section/chapter. [anchor graphic here in its own paragraph] New Chapter or section starts here Then select the placeholder graphic with the Selection tool and go to Object > Object Export Options (new in CS5.5). Turn on Custom Rasterization in the EPUB/HTML panel so the object gets included in the output and rasterized. (Since it's white you shouldn't see it.) In that same dialog box, turn on Insert Page Break: After Image. Now you can copy/paste that paragraph with the graphic to any other spot you want a page break. You want to paste it *before* the page break because otherwise you end up with extra white space above the first line of text in the new chapter. I didn't get a chance to include this cool tip in my Lynda.com video (the InDesign CS5.5 to EPUB one just came out) but will be writing it up at some point on indesignsecrets.com. AM Concepcion | 
|   |   | 
|  07-29-2011, 02:35 AM | #28 | |
| Wizard            Posts: 4,520 Karma: 121692313 Join Date: Oct 2009 Location: Heemskerk, NL Device: PRS-T1, Kobo Touch, Kobo Aura | Quote: 
 | |
|   |   | 
|  07-29-2011, 11:58 AM | #29 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			if you do not follow the mobile ADE standards, it won't work on some readers and that's not going to be good at all.
		 | 
|   |   | 
|  10-19-2011, 01:43 PM | #30 | |
| Junior Member  Posts: 3 Karma: 10 Join Date: Oct 2011 Device: iPad, Kindle | Quote: 
 However, I was able to make it work by creating a text frame containing only a space character and give that the paragraph style I'm using to break the ePub into multiple files on export. Then I just place a copy of that text frame somewhere on the page where I would like the break to appear. I also created an object style for the text frame with the name "break", which shows up as the class of the exported div tag. That makes it easy to search for it in the HTML and remove it from the final ePub files. | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| epub to mobi loses page breaks | stevent10993 | Conversion | 5 | 07-20-2011 12:43 AM | 
| Adding page breaks in Calibre breaks ePubcheck validation | bookraft | Conversion | 16 | 03-01-2011 01:23 PM | 
| PDF to EPUB - page breaks | pops1959 | Calibre | 0 | 01-13-2011 07:28 PM | 
| Page breaks - PDF input to ePub output | JoTH | Calibre | 9 | 11-18-2010 04:35 PM | 
| Any way to force page breaks when converting HTML to EPUB | Bierkonig | Calibre | 23 | 10-31-2009 01:51 PM |