01-13-2013, 08:17 PM | #16 |
Resident Curmudgeon
Posts: 73,686
Karma: 128176798
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The reason to be concerned about the code is that if there are any gotchas—and there can be plenty going from Word to ePub—it's easier to fix.
I've seen some ePub from Smashwords have all kinds of different issues. And they were all Word sourced. Issues like night mode is broken, font size cannot be changed, the ePub in all underline or all italics, and others. So Word > ePub can be a crap shoot. After the ePub is made from Word, the next thing to do is clean up the code. Don't rely on just seeing how it looks. It could look fine in ADE, but when going to night mode in say Bluefire, it's broken. Last edited by JSWolf; 01-14-2013 at 09:06 AM. Reason: fixed a typo |
01-14-2013, 04:26 AM | #17 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I have to agree, if the code is bad (whether from Calibre conversion or others), the changes of breaking on some devices is very high. If you keep your code clean and relatively simple, the changes are high it looks more or less the same on the various devices.
|
01-14-2013, 09:11 AM | #18 |
Resident Curmudgeon
Posts: 73,686
Karma: 128176798
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
HarryT, you've seen text markup used in PG texts. There's no reason one cannot use a text editor and do text markup to denote various formatting that needs to be applied. Then all that needs to be used is a good text editor such as Notepad++. It's very easy to search/replace to put in all the <p></p> around every paragraph. Then load that into Sigil and go from there. The resulting eBook will be a lot neater codewise then it would be coming from Word. Also, there's no need to have to do the cleaning up you do with most Word documents.
For me, it is actually easier to format that marked up text file then it is to deal with a Word converted ePub. CSS is not that difficult to learn to format most eBooks as most eBooks do not need complex formatting. |
01-14-2013, 09:19 AM | #19 |
Wanderer
Posts: 106
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
|
If you set up styles in Word before you start writing, and make sure that all formatting in the Word document is done through styles, the net result is quite clean.
When you save as a filtered web document, all of the style information is in the head section. Using Sigil, I already have an external style sheet that matches the styles I've created and used in Word. When I bring the html file into Sigil, I just delete the entire style section from the document, link to the external style sheet, and I'm 90% done. Bob |
01-14-2013, 09:27 AM | #20 | |
Resident Curmudgeon
Posts: 73,686
Karma: 128176798
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Using your method, how much cleaning up do the XML files need? Last edited by JSWolf; 01-14-2013 at 09:29 AM. |
|
01-14-2013, 01:58 PM | #21 |
Wanderer
Posts: 106
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
|
Very little additional cleanup is required. All of the styles I use in Word are in the stylesheet (10 - 20, depending on the book). If I've done a good job assigning styles in Word there isn't any extra formatting. It is easy to delete all the Word style information in the header.
Word does style the normal paragraphs style=MsoNormal, which I do a search and replace make just a p element. I do all of this while it is just one file in Sigil. Then split the file into chapters and it is pretty clean. Makes it easy to use Word's Table of Contents, Endnotes, and Bibliography. Bob |
01-14-2013, 03:21 PM | #22 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I use my export macro and I get very clean code very fast.
|
01-14-2013, 08:59 PM | #23 | |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
Quote:
|
|
01-15-2013, 04:55 PM | #24 | |
Bookmaker & Cat Slave
Posts: 11,451
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You know you are one of my favorite curmudgeons, but on this, you are just wrong. You're not wrong that there are some absolutely appalling ePUBs on SW; but their genesis isn't the problem. The problem is that Smashwords, very much like Amazon or Nook, really, accept almost any old crap and "grind" it into the required format. Smashwords uses "the grinder," which, we all know, is the Calibre API; Nook uses whatever they're using (I suspect the same, but their ePUBs look cleaner than SW's). Amazon takes all sorts of crud in Word (or HTML, or whatever) and mooshes it into mobi format. Now, TONS of HTML files are sent up to Amazon for creation, and they're every bit as crappy as anything else, no matter the source. The short and long of it is, if you don't clean the damn files, you get crap. I don't care if they're odt, txt, pdf (sigh), or Word. And, really, I could (won't, obviously, but) send you some odt and html files that we get in here that are utterly the dog's breakfast. I can take a crappy Word file, clean it in about 5 minutes, (okay--say 30 to be safe) and output some very tasty html. Yes, I'll have to nuke the 1700 lines of cruft that Word sticks in there in the head, but that takes no time at all. And you can even use Toxaris' macro. But the bottom line is, you simply have to clean up the Word file. I've used BookCreator for this before we had our own in-house macros and clips, etc., and that works a treat for clean-up. It's a nicely-made macro, or whatever one wants to call it. If the person creating the book in the first place just uses Word's built-in styles, (or modifies them and creates their own, whatever), then the output will be perfectly fine. It's not Word. It gets a really bad rap, unfairly. It's not rocket science to realize that Words styles map directly to CSS, and to html. So, it is like anything else in computers: GIGO. I don't care if the G is from OO, LO, Word, Wordperfect, Scrivener, LiquidStoryBinder or Bob's Big Butt Bookmaking Business, GIGO. And really, how deranged do you have to be to write in Textile? WHY? I use Textile all day long, in both my PM (Project Management) system and my CSR system (Desk, which used to be Assistly). Trust me, it ain't that much fun. Hitch |
|
01-15-2013, 05:57 PM | #25 |
Addict
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
|
I don't, I'm currently using Markdown to format a few stories in plain text format I want to smarten up. I only mentioned Textile because I saw it was also recognised by calibre.
|
01-15-2013, 07:19 PM | #26 | |
Bookmaker & Cat Slave
Posts: 11,451
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
10-15-2013, 03:51 AM | #27 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kindle
|
Another solution, if you use Office 2007, you can also directly save the document as PDF file. Most devices support read this format ebook.
|
10-15-2013, 06:18 AM | #28 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
PDF has fixed pages and is therefore not a good solution for most books. One of the appeals of ePUB is the reflowing character and resize options.
|
10-15-2013, 01:51 PM | #29 | ||
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Quote:
An ePub or Mobi are much better solutions unless you have some good PDF tools. Dale |
||
10-15-2013, 04:17 PM | #30 |
Resident Curmudgeon
Posts: 73,686
Karma: 128176798
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (Kindle) Tony Northrup's DSLR Book: How to Create Stunning Digital Photography | wgwood | Deals and Resources (No Self-Promotion or Affiliate Links) | 3 | 03-10-2012 05:01 AM |
Create a notepad (empty book)? | leaston | Amazon Kindle | 12 | 12-29-2010 06:54 PM |
Create a book cover | svetlanahedge | Calibre | 4 | 01-04-2010 08:25 AM |
Wish to create an AZW book, but... | stebbo | Amazon Kindle | 14 | 11-28-2007 05:30 PM |
How to create your own e-books for Digital Edition | Alexander Turcic | ePub | 1 | 07-06-2007 06:50 PM |