07-30-2018, 11:41 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2018
Location: Las Vegas
Device: Kindle
|
How to stop Calibre from adding a number to Chapter head
I'm assuming this is a newbie issue but for the life of me I can't figure it out?
Starting with a document in Word 2016 .docx. The chapter heads are tagged with the "Heading 1" style. In Calibre common conversions, I've changed the "h1" to "Heading 1". Heading 1 is formatted with a page break before in Word. The original document has a TOC already created and formatted with links to bookmarks in the document. Now if I convert the .docx file to ePub everything works fine. However, if I convert to old MOBI, the page breaks disappear and a number is added to the Chapter heads text, such as "2." This number appears to be the count of Heading 1 styles seen. If I delete the .docx version from Calibre and convert the ePub version to MOBI, I get the page breaks but the number remains. Can anyone tell me how to get rid of the number Calibre adds to the Chapter heads tagged as "Heading 1"? Last edited by lmariam; 07-30-2018 at 11:43 AM. |
07-30-2018, 11:49 AM | #2 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont make your heading lists in word, i.e. dont give them numbering styles
|
Advert | |
|
08-03-2018, 05:27 AM | #3 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2018
Location: Las Vegas
Device: Kindle
|
Quote:
I use something like "Chapter 1" and set it as a Heading 1 style. The style has no numbering attached to it. The conversion works fine in Doc -> ePub but fails in Doc -> MOBI. |
|
03-24-2020, 08:33 PM | #4 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2020
Device: Kindle App
|
A solution
I ran into this problem (and this thread) myself.
What I discovered was that for some reason, chapter titles and headings were being put into a list. I had to enter the 'edit book' function of Calibre, then start looking at the code for each chapter. The code you're looking for that's causing the problem is going to read like this: Code:
<ol class="list_"> <li class="block_61" id="id_RefHeading___Toc2449_3233325000" value="13"> |
Tags |
auto numbering, calibre, heading 1 style |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding large number of books to Calibre got signifficantly faster. Thank you Kovid | kacir | Calibre | 9 | 11-16-2014 04:45 PM |
Stop Calibre from adding page margins? | Jane12 | Conversion | 10 | 05-18-2012 01:45 PM |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 06:35 AM |
Assistance with adding series titles/number - Calibre 0.8.2/Nook Classic | Galora | Library Management | 0 | 05-25-2011 10:50 AM |
Adding chapter breaks by number of pages/lines | raptir | Calibre | 8 | 10-22-2009 12:11 PM |