06-25-2011, 04:32 PM | #1 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Jun 2011
Device: none
|
TOC conversion glitches
Newbie/first-time poster, terrified of asking a question previously answered, hasn't found anything like mine and will have to take my chances.
After saving my .doc novel manuscript as .htm, I converted it to .mobi, then used it to create .epub. Both file formats display what I can only call TOC upper/lower-case confusion. Specifics: All chapter headings in the .doc file are like this: CHAPTER ONE With two exceptions, all chapters within the TOC listings on both .mobi and .epub versions, either in the panel to the left of the text in Calibre or in the blue-linked TOC at the end of each book, are like this: Chapter One. The listing for chapter two reads: chapter two. The listing for chapter six reads: ChAPTER SIX. Within the text of the .mobi version, all chapter headings are exactly like I typed them in the .doc file: CHAPTER ONE. But within the text of the .epub version, the chapter headings display the same case irregularities as in the TOC listings. I would appreciate any information on what might be causing the problem and suggestions on how to fix it. Thanks. |
06-25-2011, 08:18 PM | #2 |
Grand Sorcerer
Posts: 6,196
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Welcome to the forum
In my time I've done an awful lot of doc -> html (filtered) -> epub conversions, but I have to admit that I've never had this problem. Is it possible that some of your chapter headings are styled as 'Small Caps' in the .doc file? That may explain why they look like capitals in the .doc but they're not converting to epub or mobi because SmallCaps are not supported. chapter two and ChAPTER SIX would look like CHAPTER TWO and CHAPTER SIX in MSWord if styled as SmallCaps even though they contain lowercase characters. |
06-25-2011, 11:33 PM | #3 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
When you save the Word file as HTML, it is best if you use the Web Page (Filtered) option to create the HTML. Also, have you then tried loading that HTML file into your Browser to check what the Chapter headings are at that point. As was mentioned, items like Small Caps in Word would not mae it into the HTML (and thus the Calibre conversion).
|
06-26-2011, 12:46 AM | #4 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Jun 2011
Device: none
|
Thanks to jackie_w and itimpi for the information and suggestions.
My chapter headings use the Heading 1 style in Word modified to format the text in bold and all caps (not small ones). But about an hour ago I read the following in the B&N epub formatting guide: "Use Caps Lock to type in capital letters if you want text to appear in all capital letters. Do not use the Word format for All Caps." So that may be a problem, but I won't know until I revise the style and manually select all caps for each of the chapter headings. Another possible source of trouble is my unfamiliarity with terminology. I'd read about Web Page (Filtered), but didn't know until a few minutes ago that Word 2008 (for Mac) Save as Web Page option doesn't use the word "filtered," and the selection for that is "save only display information into HTML." I find myself feeling like an idiot every ten minutes since trying to do these conversions by myself, but at least now I have something I can try. Thanks again for the support. |
06-26-2011, 05:54 AM | #5 |
Grand Sorcerer
Posts: 6,196
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
06-26-2011, 09:07 AM | #6 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Jun 2011
Device: none
|
itimpi: As you suggested, I used my browser to open the .htm file (created with the "save as web page" command before I knew how to save it as filtered), and all the chapter headings appear in all caps exactly as I created them in the source .doc file with the Heading 1 style font modified for all caps. Does this tell me anything helpful in troubleshooting the problem? I'm going to re-save the file correctly, but in the meantime I'm just trying to understand more about this. Thanks.
Last edited by Tango Mike; 06-26-2011 at 09:09 AM. |
06-26-2011, 09:45 AM | #7 |
Grand Sorcerer
Posts: 6,196
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Forgive me for butting in, but I don't think it will help. If you open your HTML file in a text editor and find one of your 'wrong' chapter headings you will see something like this if you have used the Word AllCaps styling:
Code:
<h1><span lang=EN-GB style='text-transform:uppercase'>CHaPTeR oNe</span></h1> If you edit your original Word doc and edit all chapter heading text to uppercase then SaveAs webpage-filtered (or your Mac equivalent) you should be fine. My version of Word is ancient but the command to change text to uppercase is: Format - Change Case - UPPERCASE |
06-26-2011, 09:49 AM | #8 |
Resident Curmudgeon
Posts: 73,835
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There is a lot of mess in the HTML (even filtered) from Word. For your ToC, the best thing is to delete any and all styles from the ToC headers and put <h2></h2> around it. You can define h2 in the CSS to how you want it to look.
|
06-26-2011, 10:11 AM | #9 | |
Grand Sorcerer
Posts: 6,196
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
That's not strictly true. Styling the headings as Word built-in style 'Heading 1' will put the <h1> and </h1> tags in for him automatically whan saving to the HTML file. This surely must be easier than doing it manually? Or using 'Heading 2' will create <h2>...</h2> tags if preferred. |
|
06-27-2011, 01:36 PM | #10 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
(If this was obvious from the other posts, ignore this ) |
|
06-29-2011, 12:22 AM | #11 |
Enthusiast
Posts: 33
Karma: 20
Join Date: Jun 2011
Device: none
|
Starson17: Bingo! I hadn't seen that comment in the guide about only using the caps lock. Went back and removed it from the Heading 1 style. Problem solved. Thanks to all.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
html to kindle conversion, adding TOC when i already have one | mrannah | Conversion | 6 | 06-24-2011 02:31 AM |
Is there a way to prevent Calibre adding to the TOC upon conversion? | PatNY | Conversion | 21 | 03-17-2011 03:09 PM |
Help fixing eBooks [Conversion and Kindle TOC] | chyron8472 | Conversion | 2 | 01-31-2011 10:59 PM |
PDF conversion breaks links, TOC | ToddA | Calibre | 3 | 02-06-2010 04:43 AM |
Preserving TOC upon conversion from Lit to Mobi | mobelby | Calibre | 0 | 07-31-2009 07:59 AM |