| 
			
			 | 
		#1 | 
| 
			
			
			
			 E-Reader Sammler 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 143 
				Karma: 4160 
				Join Date: Feb 2009 
				Location: Austria 
				
				
				Device: plenty... 
				
				
				 | 
	
	
	
		
		
			
			 
				
				0.6.3 pagebreak before h2 only every second time?
			 
			
			
			hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	still trying to convert html to lrf but now i get the following: i add page breaks before: //*[name()='h1' or name()='h2'] but it only breaks every even time on h2 tags - every odd time there's no break on my prs-505 chapters are marked like <p><h2><b>1.</b></h2></p> in the html file... what am i doing wrong this time?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			works for me, are you using the chapter detection or the page breaks before option?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 E-Reader Sammler 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 143 
				Karma: 4160 
				Join Date: Feb 2009 
				Location: Austria 
				
				
				Device: plenty... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm useing the page break before option but tried both with same result... same with the preset settings when you add a new document... there are lots of german 'umlaute' in the text but else nothing unusual... it not only happens on the 505 - it happens in the calibre preview too so it's not a 505 problem...
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Strange opena  ticket and attach your file (incidentally what format are you converting to?)
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 E-Reader Sammler 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 143 
				Karma: 4160 
				Join Date: Feb 2009 
				Location: Austria 
				
				
				Device: plenty... 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			i was able to narrow it down to the header: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	<head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta http-equiv="Content-Style-Type" content="text/css"> <title></title> <meta name="Author" content="name removed"> <meta name="Generator" content="Cocoa HTML Writer"> <meta name="CocoaVersion" content="949.46"> </head> after removing it everything is fine... with it it breaks every second h2 but only if there are not two h2 in a row without a line of code between them... sorry for not sending the file but in austria i'm only allowed to make private copies of the material i scanned myself...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| XPath Help and Pagebreak | emellaich | Calibre | 3 | 07-28-2009 03:17 PM | 
| Detect Mobi pocket pagebreak in calibre 0.4.99 | Icarusbop | Calibre | 5 | 10-24-2008 04:12 AM | 
| BD: Auto pagebreak preceding chapter? | Xsavior | Sony Reader | 5 | 07-15-2007 05:21 PM |