10-21-2014, 06:51 PM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Oct 2014
Device: none
|
Microsoft Word not labeling Chapter Headers as <h1>
Hi. I'm new here. I have a large, complex book written in Microsoft Word 2010. I use headings religiously. When I import the .docx file into Calibre, Heading 2 appears in the HTML as <h2> and Heading 3 as <h3>; however Heading 1 (the chapter names) appear as:
<div id="id_Toc401662553" style="display:table-row" class="block_21"><span class="bullet_1" style="display:table-cell">Chapter 1 </span><span style="display:table-cell"><span class="text_21">E-M1 Firmware 2.0</span></span></div> </div> i.e., there's no <h1> in there. I'm confident that this is a Word problem and not a Calibre problem. Can anyone advise me on the proper way to configure word so items formatted as Heading 1 show up as <h1>? I don't want to spend several hours rebuilding my TOC by hand. Sample (small) file is attached. I removed the images to keep the file size small and exported it as a .doc file since the forum doesn't list .docx as a valid attachment format. Gary |
10-21-2014, 07:09 PM | #2 |
Grand Sorcerer
Posts: 12,262
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
What you might want to do is to look at Toxaris's Word add-on e-Book Tools - a Word add-in.
You could also ask for assistance from Toxaris in that thread; he has a lot of experience with Word to ePub conversions. |
Advert | |
|
10-21-2014, 10:22 PM | #3 |
creator of calibre
Posts: 44,019
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have to use the Heading 1 style, and dont use a numbering style, from that HTML it looks like you have your headings numbered. And note that you can use the Word tool to automatically create a Table of Contents in the Word file, which calibre will use. And dont use the Word Add in, it will throw away large fractions of your formatting.
|
10-22-2014, 09:17 PM | #4 | |
Member
Posts: 12
Karma: 10
Join Date: Oct 2014
Device: none
|
Quote:
Can you look at the .doc file I had attached to see if there's something wrong with the way Heading 1 was configured?? I think that's where the problem lies, but I'm not sure how to change it so it behaves properly. GF |
|
10-22-2014, 10:22 PM | #5 | ||
null operator (he/him)
Posts: 20,681
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
See attachment. BR Last edited by BetterRed; 10-22-2014 at 10:26 PM. Reason: better attachment |
||
Advert | |
|
10-22-2014, 11:12 PM | #6 | |
Member
Posts: 12
Karma: 10
Join Date: Oct 2014
Device: none
|
Quote:
|
|
Tags |
chapter, heading, word |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Microsoft Word images versions | karenbryant | Workshop | 3 | 07-05-2012 12:12 PM |
how to build toc when chapter headers are just images | cybmole | Sigil | 17 | 04-02-2012 05:03 AM |
Indexes using an original Microsoft word | John123 | ePub | 12 | 02-28-2012 02:51 PM |
what to do when chapter headers are images ?s | cybmole | Conversion | 5 | 04-06-2011 03:02 PM |
Microsoft Word questions | urklore | Sony Reader | 8 | 01-29-2007 06:56 PM |