| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Having published a few books in the Netherlands I decided to also make e-books of them. The first went smoothly, but the second is a bit stubborn. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			It took me quite a while to remove faulty code from an imported Word-file, but now I can't find the solution to this problem: Sigil now delivers a file where each chapter starts with a blanc page. I really don't understand what can cause this and so it delays the publishing of this e-book! Any suggestions? Thanks in advance! Last edited by René vd Abeelen; 11-15-2014 at 09:29 AM. Reason: typing error  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sigil does nothing that the code does not call for  
		
	
		
		
		
		
		
		
		
		
		
		
	
	(and in rare cases, does not do what the code does call for    Usually a Webkit issue.).Look for a page-break-before in the (CSS) styles at the start of the (Body section) book file.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
			
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520 
				Karma: 121692313 
				Join Date: Oct 2009 
				Location: Heemskerk, NL 
				
				
				Device: PRS-T1, Kobo Touch, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is this in iBooks or also in other programs/readers?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The problem won't go away. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Nowhere in the html-files in the map Text can I find a 'page-break-before' command. In the map Styles the styles.css file contains 1 'page-break-after:avoid'. When I open the pub-file on in iBooks on my iPad mini I have more than 30 blanc pages, also are visible in landscape. On my iMac there's just 1! I'm completely in the dark & any help is much appreciated! Thanks!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			you need to upload enough of your code for others to try and diagnose- and try a non-apple reader e.g. test by sending to a free android app if you have a tablet but not a dedicated e-reader
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520 
				Karma: 121692313 
				Join Date: Oct 2009 
				Location: Heemskerk, NL 
				
				
				Device: PRS-T1, Kobo Touch, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Try it on other programs like Marvin or in ADE. I recall reading about this issue on iBooks before. iBooks is not a very good program actually.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for the responses. I've bought Marvin... exactly the same problem, so it look like it's not reader related. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	If someone would be good enough to take a look... what piece of code should I upload? Thanks!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 also 1 failing chapter. You can remove most of the paragraphs (leave a couple) AFTER the failure   Make a copy of the EPUB., Now strip out all but one of the problem chapters. Truncate (the contents INSIDE the <body>) the one left. and attach that to this thread
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Allright... I hope I am doing this the way I should... 
		
	
		
		
			And thanks very much for taking this trouble!!!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			it does behave a little strangely for me also but I am not sure why. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	But I do see that you have the styles defined twice, - 3 times on one of the files even. you have the link to the external stylesheet but you also have <style> .... </style> definitions in the html files. maybe you should delete those & test again ? Remove all of this style code from the 3rd file,and remove similar code from the other files also: ( this may not be the cause of the problem but it may help diagnose what IS ] Code: 
	<style type="text/css">
p.dlct-002 {margin-right:14.15pt}
  p.dlct-004 {font-size:1.45em; line-height:110%; margin-right:14.15pt; text-align:center}
  p.dlct-003 {font-size:3.27em; line-height:110%; margin-right:14.15pt; text-align:center}
  p.dlct-006 {font-size:1.45em; line-height:110%; margin-right:14.15pt}
  h1.dlct-000 {margin-right:14.15pt}
  br.dlct-001 {clear:both}
  span.dlct-005 {font-style:italic}
  span.dlct-007 {text-decoration:underline}
</style>
<style type="text/css">
span.dlct-000 {font-size: 1.45em;}
</style>
<style type="text/css">
p.dlct-000 {text-align: center;}
  span.dlct-001 {font-size: 3.27em; line-height: 57px; text-align: center;}
</style>
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Heading BR margin P margin image margin Note in your stylesheet: Code: 
	h1, p { margin:0pt }
Code: 
	h1 { font-family:Helvetica, sans-serif; font-size:1.45em; font-weight:bold; line-height:110%; margin-bottom:3pt; margin-top:12pt; page-break-after:avoid; text-align:justify }
It all adds up (height wise) BTW the stylesheet was not linked to all the pages (2-7April...) Tools: Reports: Style Classes in HTML files   you should see almost every file there (cover and jacket are sometimes excluded)I added Code: 
	class="image_page" Code: 
	.image_page { height:80%;}
Also you have a mix of In document (the gold <style> section in Sigil) and a stylesheet Both ways will be painful to maintain in a book of more than a few pages . If it is used once in the book: OK inline If a style is used multiple places: It really belongs in a stylesheet . Define once, use many times  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks very much for your comments!!! I think I can solve the problems now.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Nov 2014 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Since I'm not familiar with 'coding' (I can't figure out where to insert that class:"image_page" and .image_page {height} codes) I've decided to resize al the pictures. I didn't want to do that since I want people to be able to read the text in the picture, but it seems I had no choice. The ridiculous (& very frustrating) outcome is that the first three pages with a picture now work as they should, but then... the rest still 'generates' a blanc page between them. They are all the same hight now, all inserted in brand-new html-pages. Why o why is this happening? The rest of the publication is ready but it seems like I'm going to miss the targeted publication date due to this strange behavior.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Fanatic 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 563 
				Karma: 403106 
				Join Date: Aug 2014 
				
				
				
				Device: PRS-T1 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You should find the screen sizes of most eReaders and resize the images to fit within (taking into account the margins, too).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Newbie question | UncleSteeve | Devices | 2 | 12-06-2013 03:19 PM | 
| Question from a Newbie | Ptephic | Recipes | 2 | 10-29-2011 02:14 PM | 
| Question from newbie | crazyken | Calibre | 3 | 07-14-2011 04:32 AM | 
| another newbie question | Brandobras | Calibre | 1 | 02-28-2010 06:49 AM | 
| Newbie question | just_jeepin | Sony Reader Dev Corner | 1 | 05-26-2009 12:26 PM |