| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43 
				Karma: 34216 
				Join Date: Feb 2009 
				Location: Fort Collins, CO 
				
				
				Device: Sony Reader PRS-500, Kindle Fire, Aldiko on LG Optimus Elite 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Images resizing in epub to pdf conversion + TOC not creating
			 
			
			
			I recently created an ebook of posts from my blog. I started out with an epub file and wanted to convert to mobi and pdf. The mobi file looks great, but in the pdf, the images are re-sized to fit the width of the page. Is there anyway to limit the size of the output image? 
		
	
		
		
			Also, I cannot get the TOC created to save my life. In the original epub, the chapter headings are in the following format: <h1 class="main" id="heading_id_2">name</h1> I've tried Force auto-generated table of contents on and off. I've tried the default, I've tried setting the Level 1 TOC XPath to detect h1 tags with class="main" or id="heading_id_2", just plain h1 tags //h:h1[re:test(@class, "main", "i")] //h:h1[re:test(@id, "heading_id_2", "i")] //h:h1 Each time, I get a pdf with no table of contents. Can you help me figure out what I am doing wrong?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			PDF Output does not support table of contents
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43 
				Karma: 34216 
				Join Date: Feb 2009 
				Location: Fort Collins, CO 
				
				
				Device: Sony Reader PRS-500, Kindle Fire, Aldiko on LG Optimus Elite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Okay, will output to RTF and work on it in OpenOffice instead. Thanks for the answer.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 08:49 PM | 
| TOC errors in PDF to EPUB conversion - software or user error? | AhShoo5n | Conversion | 4 | 08-28-2011 09:05 AM | 
| Missing TOC, top/bottom margins and hyperlinks in ePub -> PDF conversion | amoroso | Conversion | 2 | 04-26-2011 11:48 AM | 
| Automatically resizing epub images | dhume01 | Conversion | 4 | 03-15-2011 06:45 PM | 
| pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 01:08 PM |