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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2013, 02:33 AM   #1
holdit
Connoisseur
holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.holdit ought to be getting tired of karma fortunes by now.
 
Posts: 79
Karma: 470352
Join Date: Dec 2012
Device: Kindle Fire, IPad
Clean HTML from word For EPub

I have a word doc which I saved as html, I need to know how I can cleanup the html while retaining the same styling that was originally done in word so I can create an Epub in Sigil

Any help?

HI
holdit is offline   Reply With Quote
Old 10-09-2013, 05:41 AM   #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,284
Karma: 6022733
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Moderator Notice
This is still not a Sigil question. This is a WORD-EPUB question. Moving to EPUB per your reply to the previous thread
theducks is offline   Reply With Quote
 
Advertisement
Old 10-09-2013, 06:28 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
You can clean it up manually (there are some guides out there) or use other tooling to create either a clean HTML or create an ePUB out of Word.
Toxaris is offline   Reply With Quote
Old 10-10-2013, 09:34 AM   #4
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Toxaris has modestly refrained from tooting his own horn for a macro he has created which is shown in his signature line and which a number have reported useful.

It does NOT have the capacity to change the essential nature of epubs....nothing does. Epub text is reflowable, so if you want something on a specific position on a certain page you are SOL (simply out of luck.) There are other limitations such as the aggravation of tables and the fact it takes a enormous amount of work to index because of all the links which have to be created and indexing to multiple return locations is an invitation to insanity. Sigil has a function which helps with indexing. Everything on epubs will vary on different devices and this is a headache for Hitch who heads a company which produces epubs.

For some devices there are fixed layout epubs, which are not full featured. It is a bit like going to beach and complaining that the sand is not solid concrete.
mrmikel is offline   Reply With Quote
Old 10-10-2013, 01:02 PM   #5
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 would actually not recommend the macro, but the add-in if you can run it. It offers much more features and will actually allow you to create an ePUB from a Word document, ready to be finalized with Sigil.
Toxaris is offline   Reply With Quote
Old 10-17-2013, 03:36 AM   #6
bladex01
Member
bladex01 began at the beginning.
 
bladex01's Avatar
 
Posts: 15
Karma: 48
Join Date: Dec 2011
Device: Kindle4 Touch
I use TextPipe to automatize cleaning process.
bladex01 is offline   Reply With Quote
Old 10-18-2013, 01:34 PM   #7
Notjohn
Addict
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 249
Karma: 246332
Join Date: Dec 2012
Device: Kindle
I run my Word docs through word2cleanhtml.com online. Requires a template and preferably a style sheet, both of which are on my blog:

The blog: <a href="http://notjohnkdp.blogspot.com">Notjohn's KDP Guide</a>
Notjohn is offline   Reply With Quote
Old 10-18-2013, 01:47 PM   #8
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,783
Karma: 5137308
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
You can use Atlantis Word Processor to read you doc file and create an ePub directly from the app. It will retain your formatting and make a clean ePub. You can read about it in our wiki and I am working on a review AWP Review.
DaleDe is offline   Reply With Quote
Old 10-20-2013, 10:03 AM   #9
mncowboy
Wanderer
mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.
 
mncowboy's Avatar
 
Posts: 104
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
If you are going to use the cleaned up file in Sigil, or another tool that uses external style sheets, the process is quite easy.
Make sure that all (I mean ALL!) text in the Word document has been formatted using styles.
Create an externall .css file that contains the styles you used in the Word document.
Save the Word document as a filtered web file.
Open up the resulting file in an editor and delete everything from <style> to </style>.
Insert a link to the stylesheet and you are done!
Bob
mncowboy is offline   Reply With Quote
Old 10-20-2013, 01:08 PM   #10
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
Quote:
Originally Posted by mncowboy View Post
If you are going to use the cleaned up file in Sigil, or another tool that uses external style sheets, the process is quite easy.
Make sure that all (I mean ALL!) text in the Word document has been formatted using styles.
Create an externall .css file that contains the styles you used in the Word document.
Save the Word document as a filtered web file.
Open up the resulting file in an editor and delete everything from <style> to </style>.
Insert a link to the stylesheet and you are done!
Bob
That is not clean. It is still full of unneccesary spans and font statements at least.
Toxaris is offline   Reply With Quote
Old 10-21-2013, 08:00 AM   #11
mncowboy
Wanderer
mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.
 
mncowboy's Avatar
 
Posts: 104
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
Toxaris: I have not found that to be true. As long as I do everything using styles, there are now extra spans or fonts, even having Word create the TOC and endnotes.
The only extra thing I deal with is replacing <p class = "msnormal"> with just <p>.
I am using Word 2010 on a Windows machine.
Bob
mncowboy 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
Word macro for clean HTML code Toxaris ePub 133 08-08-2014 07:13 AM
Clean HTML from word holdit Workshop 6 10-09-2013 06:20 PM
How to Clean/Strip HTML from epub file? Jimbo724 General Discussions 9 12-12-2012 12:22 PM
Converting Word-> HTML -> Epub arturox Conversion 37 07-18-2012 11:29 AM
Docvert 2.0 converts MS Word files to clean HTML Alexander Turcic Lounge 0 03-16-2006 05:50 AM


All times are GMT -4. The time now is 08:19 AM.


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