Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2011, 06:37 PM   #1
Alda
Connoisseur
Alda began at the beginning.
 
Posts: 88
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
Alda is offline   Reply With Quote
Old 01-23-2011, 08:43 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,287
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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
theducks is online now   Reply With Quote
Old 01-24-2011, 05:08 AM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,188
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is online now   Reply With Quote
Old 01-24-2011, 11:13 AM   #4
Alda
Connoisseur
Alda began at the beginning.
 
Posts: 88
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?
Alda is offline   Reply With Quote
Old 01-24-2011, 11:26 AM   #5
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,997
Karma: 1285294
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by Alda View Post
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?
probably - but a wise man makes a backup before deleting what he thinks is irrelevant junk!
cybmole is offline   Reply With Quote
Old 01-24-2011, 03:24 PM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,188
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is online now   Reply With Quote
Old 01-24-2011, 03:47 PM   #7
Alda
Connoisseur
Alda began at the beginning.
 
Posts: 88
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
Alda is offline   Reply With Quote
Old 01-25-2011, 05:22 PM   #8
Carl314
Enthusiast
Carl314 began at the beginning.
 
Posts: 38
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.
Carl314 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:18 PM.


MobileRead.com is a privately owned, operated and funded community.