| 
			
			 | 
		#136 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm having a problem with html2lrf with page breaks. The following HTML sample only breaks in one place when it should have 4 page breaks if I read the directions correctly. If I am doing something wrong, please tell me. Thanks!
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#137 | |
| 
			
			
			
			 Grumpy Old Man 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 267 
				Karma: 30194 
				Join Date: Jul 2006 
				Location: L.A., Euro ex-pat 
				
				
				Device: Kobo, Nook Classic,Color,ST/Glow, iRex DR1000, Sony 505, REB1100&1200 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 When you switch the reader into landscape mode, the only rotation for the text afaik is the one with the tiny useless page turn buttons on top, or more importantly, the big round button on the left. So I'd rather have the images rotated the same way, rather than having to turn it upside down for the images only.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#138 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			To force page breaks you have to put a style="page-break-before: always" in the tag. Automatic page-breaking only kicks in if the current page already has a lot of contents and is intended to prevent LRF slowdowns.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#139 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Released 0.3.37 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) Changed autorotation to anti-clockwise by (not very) popular demand 2) Various bug fixes  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#140 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() Posts: 206 
				Karma: 317 
				Join Date: Oct 2006 
				Location: England 
				
				
				Device: Sony PRS-505, iPad, Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			kovidgoyal, how can I download the source? Can't seem to see a link for SVN (Subversion).
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#141 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442 
				Karma: 300001 
				Join Date: Sep 2006 
				Location: Belgium 
				
				
				Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			https://libprs500.kovidgoyal.net/bro...unk?order=name 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Zip at the bottom. Though it might be simpler to just use SVN (https://libprs500.kovidgoyal.net/wiki/Development).  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#142 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() Posts: 206 
				Karma: 317 
				Join Date: Oct 2006 
				Location: England 
				
				
				Device: Sony PRS-505, iPad, Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			igorsk, thanks that's what I was after.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#143 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Released 0.3.38 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) Improved algorithm for calculating table cell widths (now respects minimum width) 2) Added support for width=% attributes of <td> tags  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#144 | 
| 
			
			
			
			 curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,487 
				Karma: 5748190 
				Join Date: Jun 2006 
				Location: Redwood City, CA USA 
				
				
				Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Kovid: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I noticed an odd thing with the font-delta support. When I shrink the font, all the inter-line spacing remains unchanged. That winds up looking pretty odd. Perhaps when shrinking the font 2x the (negative) number of points you should also reduce the interline spacing by, say, 1x the number of points.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#145 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Released 0.3.39: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	1) Adjust linespacing appropriately when font-delta is used.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#146 | 
| 
			
			
			
			 The Introvert 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307 
				Karma: 1000077497 
				Join Date: Jan 2007 
				Location: United Kingdom 
				
				
				Device: Sony Reader PRS-650 & 505 & 500 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I am sorry but I am going to ask a pretty stupid question. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It is a command line tool, right? There is no gui?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#147 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 6 
				Karma: 10 
				Join Date: Feb 2007 
				Location: Czech Republic 
				
				
				Device: Sony PRS-500 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#148 | 
| 
			
			
			
			 The Introvert 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307 
				Karma: 1000077497 
				Join Date: Jan 2007 
				Location: United Kingdom 
				
				
				Device: Sony Reader PRS-650 & 505 & 500 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Oh, I see. I have to execute this command to get the GUI. Just like old win 3.11  
		
	
		
		
		
		
		
		
		
		
		
		
	
	![]() Thanks  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#149 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() Posts: 206 
				Karma: 317 
				Join Date: Oct 2006 
				Location: England 
				
				
				Device: Sony PRS-505, iPad, Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The HTML2LRF utility is a command line tool and doesn't have any GUI. People seem to be afraid of Command Line tools unfortunately even though a utility like this is dead easy to use. Don't be put off!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#150 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Actually atleast on windows there should be an icon installed to both the Start menu and the desktop. But the GUI right now doesn't have a component for html2lrf...that will come in version 0.4.0
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| html2lrf, libprs500 | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Change font of header for LRF Output on PRS 505 | duckbill | Calibre | 3 | 05-15-2010 12:07 PM | 
| Pissed off with LRF formatting: LRF/LRS clean tool? | grimborg | LRF | 8 | 02-15-2010 02:14 PM | 
| Fonts for LRF output | krischik | Calibre | 1 | 10-03-2009 06:01 AM | 
| CBZ > LRF (LRF>HTML/MOBI????) | sideburnt | Calibre | 4 | 09-15-2009 07:44 AM | 
| libprs500 Issues Converting .LIT to .LRF - .LRF crashes everything | vasbinde | Calibre | 6 | 02-14-2008 01:16 PM |