| 
			
			 | 
		#271 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Jul 2007 
				
				
				
				Device: Sony Reader PRS-500 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Misunderstanding
			 
			
			
			Too quick, there. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It did detect the chapters according to the cmd line output, but I guess it doesn't actually build a TOC with that info. When I open the output lrf - the TOC doesn't have the chapters in it. Is there a way to build the TOC and have it show up in the lrf?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#272 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			All links in the top level html file are put into the TOC.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#273 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Jul 2007 
				
				
				
				Device: SONY PRS-500 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			HTML2LRF is an excellent program but sometims chokes on  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Unicode Character 'RIGHT SINGLE QUOTATION MARK' (U+2019) (also known as the apostrophe) I receive the error on some HTML files created by MSWord 2000. Also.... First chapter in Table of Contents (TOC) doesn't appear in TOC list on Reader or in Connect software. When saving a document as HTML with Microsoft Word 2000, HTML2LRF correctly *reports* all the chapters being found in the table of contents (that is, "Detected Chapter..." shows all chapters correctly when compiling... all the text defined as "Header1") However, even though HTML2LRF displays all the chapters being found, the very first chapter is not displayed in the Table of Contents (TOC) when opening the .LRF file in the SONY CONNECT Desktop software or the reader. I'm able to work around it - HTML2LRF is still a great program  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#274 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() Posts: 206 
				Karma: 317 
				Join Date: Oct 2006 
				Location: England 
				
				
				Device: Sony PRS-505, iPad, Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			MS Word 2000 creates dreadful HTML. Clean it up with "tidy  --wrap 0 --word-2000 yes" from the program at http://tidy.sourceforge.net/ and see what happens then.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#275 | |
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Send me an example html file that causes the unicode problem.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#276 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Found a font bug
			 
			
			
			I tried embedding the font Arial Narrow and I got Bold and Italics instead of normal where I should have. When it called for italics, I did get the correct italics version.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#277 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yeah with most fonts for some reason I cant figure out the LRF renderer chooses the bold as the normal even though the fonts are correctly embedded.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#278 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I removed the bold italic font and ended up with the italic version.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#279 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You mean you removed it for the windows\fonts directory?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#280 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#281 | 
| 
			
			
			
			 Banned 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 640 
				Karma: 4911 
				Join Date: Jul 2007 
				Location: Grapevine, TX 
				
				
				Device: iPad4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is there a way for the default to save to the same directory as the input file? Vista does not allow for the files to be saved to "program files". It will save any such files to a virtual store which is buried in multiple subdirectories and hard to find. I would love for it to save automatically to the same directory as the source file. Yes, I know I can input an output directory from the command line but, I'd love for this to be a default.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#282 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#283 | 
| 
			
			
			
			 Banned 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 640 
				Karma: 4911 
				Join Date: Jul 2007 
				Location: Grapevine, TX 
				
				
				Device: iPad4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Not from my experience. I have Libprs500 in "C:\program files". I have the source in "D:\work". The command html2lrf D:\work\demo.html saves the output to "C:\users\ed\appdata\local\virtualstore\progra  m files\libprs500\demo.lrf"
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#284 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			1. Start | Run | cmd 
		
	
		
		
		
		
		
		
		
		
		
		
	
	2. d: 3. cd \work\demo 4. html2lrf demo.html That is all you need to do and demo.lrf will be in the same directory as demo.html.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#285 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Would it be possible to have an option to control the paragraph indent? Some HTML are fine as is and some are too small. I would like if possible a default of 4 spaces for an indent if that's OK.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| 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 |