| 
			
			 | 
		#1 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				So much code for each section - is this normal?
			 
			
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'm testing out Sigil and trying to figure everything out. It's going reasonably well, but I'm puzzled by the huge amount of code for each section. I've got around 50 sections in my eBook and for each one there's around 2,000 lines of code before I actually get to the body text. Is this normal? Or does it have something to do with the text being created in Word and saved as html?? Thanks! Alda  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Word creates 1000's of lines of kruft. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Try filtered HTML You might try Open Office and writer2epub (next forum down) I have converted DOC to EPUB with little touch-up  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520 
				Karma: 121692313 
				Join Date: Oct 2009 
				Location: Heemskerk, NL 
				
				
				Device: PRS-T1, Kobo Touch, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I agree, it is not the fault of Sigil, but of your source file. BTW, most of the crap can be removed without much problems. That will result in much cleaner files.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Yes, I figured most of the gunk would come from Word. ![]() So can I go ahead and clean that out without all my hard work in Sigil going down the toilet?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520 
				Karma: 121692313 
				Join Date: Oct 2009 
				Location: Heemskerk, NL 
				
				
				Device: PRS-T1, Kobo Touch, Kobo Aura 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Oh, everything will work. But perhaps not as you would like. If you have special formatting in mind, you need either a CSS stylesheet or do some makeup in the book view of Sigil. Keep a good look on the span tags, they can usually be removed without much problems. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The font part you can delete without problems. I would recommend getting Liz Castro's book, EPUB straight to the point. It is intended for iPad, but there are some good things in there. There is a chapter of how to create a nice epub from the Word junk.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Zealot 
			
			![]() Posts: 104 
				Karma: 22 
				Join Date: Jun 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you. Actually I uploaded a different version of the book, exported from InDesign, and it's MUCH cleaner. So I working with that now. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Best - Alda  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 39 
				Karma: 10 
				Join Date: Mar 2009 
				
				
				
				Device: Kindle 3, Motorola Droid with Aldiko 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You've solved your problem, but one thing I find works well is an epub to epub conversion in calibre - it removes all of that unused css in each file and consolidates what is used into one stylesheet.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Is this normal? | Sydney's Mom | Amazon Kindle | 19 | 06-15-2010 02:23 AM | 
| PRS-600 Is this normal? | banjobama | Sony Reader | 5 | 03-21-2010 03:17 AM | 
| Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 01:26 PM | 
| Is this normal?? | tabbycat | Sony Reader | 13 | 03-27-2009 02:34 PM |