| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() ![]() Posts: 11 
				Karma: 176 
				Join Date: Jan 2011 
				
				
				
				Device: Kindle/iPad 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Ebook-convert.exe and Win/Mac result difference
			 
			
			
			I prepared a batch for HTML-MOBI conversion. I use ebook-convert directly, not Calibre graphics interface. 
		
	
		
		
			When I use the command on my Mac, the result (see Mac.gif attached) is very nice. There are no indents in paragraphs following headings and subheadings <h1>, <h2> and so on. But when I use the same command on Windows Calibre, there are indents on all paragraphs, including the ones after headings. You can see it on Win.gif attached. Why the ebook-convert apps are different? I use the latest version of both Calibres. Is there any way how to get the same result using Windows Calibre? I very like the Mac no-indents style after headings.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			This will most likely be because of path name encoding issues. Probably a css file is not being loaded on windows because it has a non ascii filename.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Member 
			
			![]() ![]() Posts: 11 
				Karma: 176 
				Join Date: Jan 2011 
				
				
				
				Device: Kindle/iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you for your answer. I'm not sure it is the reason, because I use no external CSS file in this batch and there are no special characters in my working folder path. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I will try to move all files to the root of my harddrive and I will check if anything change.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Member 
			
			![]() ![]() Posts: 11 
				Karma: 176 
				Join Date: Jan 2011 
				
				
				
				Device: Kindle/iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So here is solution of my issue. Yes, the batch command was the same on Mac and Win as I wrote. However the HTML source code was a little different. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Whe I prepared the HTML code in correct way, so the paragraphs are between <P> and </P> tags, MOBI looks like the Win.gif variant. I was lazy during my Mac conversion tests yesterday and I used only one <P> after each paragraph, no closing tags. The result: Mac.gif. So when I change my HTML source and I will use the tags the wrong way, MOBI will look like I need. But the results should be the same in both cases, shouldn't they?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			incorrect html is corrected automatically, the correcting of the html will not always do what you expect.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Member 
			
			![]() ![]() Posts: 11 
				Karma: 176 
				Join Date: Jan 2011 
				
				
				
				Device: Kindle/iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So the correct way of HTML-Mobi conversion is on Win.gif picture, isn't it? All paragraphs except of headings should have indents. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Howere I like this workaround. Indents are mostly used for paragraphs separation only and they are not needed to be shown under headings or pictures. I have no idea how I would do it in Calibre with paired <P></P> tags, so I'm very glad for this behaviour :-)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| $49 Kindle [could win the ebook war] | BenLee | News | 47 | 06-21-2010 11:31 PM | 
| Ebook managing software for Win | gerve | Reading and Management | 2 | 04-27-2010 05:58 PM | 
| New Contest - Win an ebook reader Cover | Oberon Design | Sony Reader | 8 | 09-22-2009 08:50 PM | 
| Calibre 0.5.14 on Mac - Weird Send to PRS-505 Result? | danviento | Calibre | 0 | 07-16-2009 07:28 PM | 
| Big ebook price difference between UK and US | tech_au | News | 8 | 04-13-2009 08:40 PM |