Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2022, 07:58 PM   #1
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Unwanted Table of contents added

I have a problem: when I convert a book, a table of contents is automatically generated and added at the end.
What did I do wrong?
Thanks for your help.
Click image for larger version

Name:	50ft.jpg
Views:	122
Size:	460.7 KB
ID:	192593

Last edited by BetterRed; 03-06-2022 at 12:34 AM. Reason: image as thumb
Pyjam is offline   Reply With Quote
Old 03-05-2022, 08:28 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/faq...-in-mobi-files
kovidgoyal is offline   Reply With Quote
Advert
Old 03-05-2022, 08:49 PM   #3
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Is this the reason?
Quote:
If you create an AZW3 file with a metadata ToC and no end-of-file generated ToC, some features on the Kindle will not work, such as the Page Flip feature.
I use AZW3 files only.
The Page Flip features works if (and only if?) this line is added in metadata.opf:
Code:
   <reference type="text" href="text/part0000.html#debut" title="start"/>
and in part0000.html:
Code:
   <p class="author" id="debut">The Author</p>
No need of a generated ToC.
At least, it works like this for me during the last 5 years.

So, how can I disable the auto-generated ToC, please?

I haven't had to do this in months. If I remember correctly, before there was nothing to do to not have a ToC at the end of the book.
It seems like something has changed. Am I wrong?

Last edited by Pyjam; 03-05-2022 at 09:00 PM.
Pyjam is offline   Reply With Quote
Old 03-05-2022, 09:26 PM   #4
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
Actually, the main problem is that each time the files are saved, the ligatures are removed.

LATIN SMALL LIGATURE FF
Unicode: U+FB00, UTF-8: EF AC 80
…becomes two separate f, for example.

This forces me to convert my books from AZW3 to AZW3 to put the ligatures back.
And then, this unwanted auto-generated ToC is added.

Is there a way to avoid the removal of the ligatures when then files are saved?

Last edited by Pyjam; 03-05-2022 at 09:28 PM.
Pyjam is offline   Reply With Quote
Old 03-06-2022, 12:37 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

@Pyjam - See Guideline #9 para 3

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-06-2022, 03:05 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you dont want a generated toc use the option to not generate the toc. As for your ligatures issue, saved by what?
kovidgoyal is offline   Reply With Quote
Old 03-06-2022, 05:01 AM   #7
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
That’s the problem: the option is ignored (or I don’t understand how to use it) and the ToC is always added.
In the picture I posted in my first post, I don’t see what I can do to avoid the ToC.

In Calibre Preferences, in Output Options, in AZW3 Output, "Do not add ToC to the book" it also checked. Nevertheless, the ToC is added.

When I edit a book, the files are saved when I quit, and then the ligatures are removed.

I’m on MacOS 11.5.2, Calibre 5.38.

Last edited by Pyjam; 03-06-2022 at 06:15 AM.
Pyjam is offline   Reply With Quote
Old 03-06-2022, 11:15 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sorry I cannot reproduce either of your issues. Wit the option under azw3 output to not put the table of contents in the book, not table of contents is inserted. And editing the book boes not change the ff ligature. I suggest you post the conversion log that will tell us what settings you are actually using. Click the jobs button in the lower right corner to get the logs.
kovidgoyal is offline   Reply With Quote
Old 03-06-2022, 12:12 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
OP Are you sure the book does not HAVE a TOC already?
Calibre does not auto-remove those. (and some are not marked as TOC in the OPF. Just naming it Table of Contents does not make it so)
theducks is online now   Reply With Quote
Old 03-06-2022, 12:35 PM   #10
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
You may try with the attached book.
It contains ligatures for ff fi fl ffi ffl
Open it, add a space somewhere, save and close, reopen.
All ligatures have been replaced with bigramms and trigramms.
Attached Files
File Type: azw3 Test 2 - Espaces - Patrick Jamet.azw3 (82.1 KB, 79 views)
Pyjam is offline   Reply With Quote
Old 03-06-2022, 12:55 PM   #11
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
The book is not free of rigtht. I cannot post the full content of the log folder. I see that it contents the complete book.
Either I  post a specific file or I sent the whole by private message.

Anyway, I can see there are files up to part0088.html
But after conversion part0089.html is added.
Attached Thumbnails
Click image for larger version

Name:	Capture2.jpg
Views:	85
Size:	105.3 KB
ID:	192604   Click image for larger version

Name:	Capture3.jpg
Views:	88
Size:	63.7 KB
ID:	192605  
Pyjam is offline   Reply With Quote
Old 03-06-2022, 02:07 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Pyjam View Post
The book is not free of rigtht. I cannot post the full content of the log folder. I see that it contents the complete book.
Either I  post a specific file or I sent the whole by private message.

Anyway, I can see there are files up to part0088.html
But after conversion part0089.html is added.
I had to ask , just because it had that metadata, did not tell me WHEN it was added.
The last part of your post made it clear that this was a new piece.
theducks is online now   Reply With Quote
Old 03-06-2022, 08:44 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah, you meant hardcoded unicode ligatures. I strongly recommend against using those as readers often dont have fonts capable of rendering them and modern readers will ligaturize these automatically anyway when using appropriate fonts. But in any case, here is the fix:

https://github.com/kovidgoyal/calibr...ffd8c9d1ba90f7
kovidgoyal is offline   Reply With Quote
Old 03-07-2022, 05:45 AM   #14
Pyjam
Zealot
Pyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead communityPyjam has become a pillar of the MobileRead community
 
Posts: 143
Karma: 15920
Join Date: Aug 2015
Device: Kindle Voyage
What can I do with this?
Pyjam is offline   Reply With Quote
Old 03-07-2022, 06:59 AM   #15
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Kovid is just letting you know that a fix will be in the next release if calibre, and that if you run from source that this was the change made.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unwanted table of contents in converted book asqueue Conversion 14 05-07-2014 06:23 PM
Table of Contents not being identified as Table of Contents openletter Conversion 2 10-19-2012 12:54 AM
I added in the table of contents on Sigil automa Apple Devices 7 01-30-2012 07:00 PM
Help with my Table of Contents Skylinefranc Calibre 0 03-19-2010 12:55 AM
unwanted table-change (vertical align) by calibre NASCARaddicted Calibre 2 01-27-2010 03:35 AM


All times are GMT -4. The time now is 11:04 AM.


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