Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2022, 10:19 AM   #16
Nhulunbuy
Junior Member
Nhulunbuy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2022
Device: kindle paperwhite
I found this thread when faced with the same problem as in the original post. ie "When I convert any document - docx, odt, epub, azw3, txt - to mobi format my chapter headings in the book will display with a leading number:
1. Chapter 1
2. Chapter 2"

I'm using Libre Office 7 to edit the docx file, and calibre to convert it to mobi format.
On attempting to edit the Heading 1 styles I was unable to change the Numbering Style because it was ""disabled when chapter numbering is assigned to a paragraph style".
To cut a long story short, I found LO 6.4 help page
https://help.libreoffice.org/6.4/en-...l?DbPAR=WRITER
"To Add Automatic Numbering to a Heading Style
Choose Tools - Chapter Numbering, and then click the Numbering tab.
In the Paragraph Style box, select the heading style that you want to add chapter numbers to.
In the Numbers box, select the numbering style that you want to use, and then click OK."
which can also be used to Remove automatic numbering from a Heading Style, which then removes the unwanted numbers on chapter headings when converted to mobi.
Nhulunbuy is offline   Reply With Quote
Old 10-16-2022, 03:35 PM   #17
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,834
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Make sure numbering is off on paragraph style for a heading.
Create a new custom paragraph style for heading, setting desired Level. Never use the built-in Heading1, Heading2, etc. Create new styles and don't use Inherit from (that's only reliable in odt or Export to PDF, not Save As docx). Each style should be complete.

Never Ever open/edit the EXTRA Save As docx in LO. Only edit the odt file.
Add the docx to Calibre and make an epub2.
Make sure it's set to make a new file at each heading that should be a page break.
Check TOC.

Convert the epub to mobi. We use dual mobi for Smashwords and azw3 for local Kindles.
Firmware from 3.4.3 and later works with azw3.
https://www.amazon.com/gp/help/custo...MQC26VQQMM8XSW
Only ancient kindles before KK3 (but also DXG) need mobi.
You can't upload mobi to Amazon KDP. That wants epub2.
Quoth is offline   Reply With Quote
Old 10-16-2022, 08:22 PM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,466
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Nhulunbuy Given that you have a Kindle Paperwhite, why convert to Mobi instead of KF8?
JSWolf is offline   Reply With Quote
Old 10-17-2022, 05:26 AM   #19
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,834
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Note KF8 = azw3 file ending. A mobi file ending can have various things in it.

Everything here https://www.amazon.com/gp/help/custo...MQC26VQQMM8XSW
from 3.4.3 works with KF8/AZW which also allows embedded fonts. No embedded fonts and other stuff missing in mobi (except dual mobi which has old mobi/KF7 and KF8 inside).
Quoth is offline   Reply With Quote
Old 05-06-2025, 09:48 AM   #20
AMHavens
Junior Member
AMHavens began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2025
Device: Kindle
VERY late to the party here but this thread at least addresses the same issue.

Quoth's suggestion to convert to PDF solves the initial problem, however, my book has extensive endnotes and they all vanished.

First - the problem is very much Libre/Open Office and here I was looking a Calibre. When I convert to HTML or VIEW in HTML from either L/OO I see the same numbering issue.

Maybe I'm not doing it properly but none of the suggestions about the autonumbering settings seem to make any difference.

At this point I only see a brute force solution - editing out the <Li> tags in html either in a raw file or in Calibre itself.

That said, if anyone can point me to an updated solution, please do.

Andy
AMHavens is offline   Reply With Quote
Old 05-06-2025, 10:50 AM   #21
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,834
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Don't use / convert via HTML.

LO Writer: Edit in ODT. Explicitly edit Anchors/Hyperlinks bothways for footnotes/endnotes and don't use Insert FootNotes/Endnotes in Writer or Word. Manual.

Extra Save As in docx if using Writer, and never edit that in Writer.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mobi and pdf heading fonts incorrect epub ok jtwrites Conversion 2 03-25-2018 12:41 PM
How to Convert from AZW3 or Mobi to PDF with great results? bookw0rm Conversion 3 09-02-2014 10:30 PM
Incorrect formatting when i convert PDF to MOBI watashi420 Conversion 2 09-01-2013 12:01 AM
PRC with no chapter marks. Best way add them and convert for Kindle mobi? neonbible Calibre 0 10-19-2010 08:01 AM
Controlling chapter heading sizes? Djehuty Calibre 3 04-27-2009 08:02 PM


All times are GMT -4. The time now is 10:25 AM.


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