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-20-2021, 02:55 AM   #1
readerwriter
Junior Member
readerwriter began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: Kindle Voyage (7th Gen)
Converting Epub3 to mobi - TOC becomes numbered list

When converting EPUB3 to MOBI, my Table of Contents is now a numbered list. I've been using this for years and never seen that happen. Is there a new setting I've missed, or why might this be happening?
Cheers
readerwriter is offline   Reply With Quote
Old 10-20-2021, 07:10 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Convert to azw3 for much greater fidelity. Or if you want help with figuring out the issue, see https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Old 10-20-2021, 02:09 PM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
An epub3 navigation document is a list. See EPUB Navigation Document Definition though it is not defined as a numbered list.

Spoiler:
Code:
<body>
  <nav epub:type="landmarks" hidden="" id="landmarks"><h2>Guide</h2>

  <ol>
    <li><a epub:type="bodymatter" href="part0005.xhtml">Beginning</a></li>

    <li><a epub:type="toc" href="part0002.xhtml">Contents</a></li>

    <li><a epub:type="cover" href="cover.xhtml">Cover</a></li>
  </ol></nav>

  <nav epub:type="toc"><h1>Table of contents</h1>

  <ol>
    <li><a href="part0000.xhtml">Title Page</a></li>

    <li><a href="part0001.xhtml">Copyright</a></li>

    <li><a href="part0002.xhtml">Contents</a></li>

    <li><a href="part0003.xhtml">Dedication</a></li>

    <li><a href="part0004.xhtml">Epigraph</a></li>

    <li><a href="part0005.xhtml">Chapter 1</a></li>

    <li><a href="part0006.xhtml">Chapter 2</a></li>

    <li><a href="part0007.xhtml">Chapter 3</a></li>

    <li><a href="part0008.xhtml">Chapter 4</a></li>

    <li><a href="part0009.xhtml">Chapter 5</a></li>

    <li><a href="part0010.xhtml">Chapter 6</a></li>

    <li><a href="part0011.xhtml">Chapter 7</a></li>

...

    <li><a href="part0039.xhtml">Chapter 35</a></li>

    <li><a href="part0040.xhtml">Chapter 36</a></li>

    <li><a href="part0041.xhtml">Chapter 37</a></li>

    <li><a href="part0042.xhtml">Chapter 38</a></li>

    <li><a href="part0043.xhtml">Alien Scourge</a></li>

    <li><a href="part0044.xhtml">Author Notes - </a></li>

    <li><a href="part0045.xhtml">Books By Ann Nonymous</a></li>

    <li><a href="part0046.xhtml">Connect with Ann Nonymous</a></li>
  </ol></nav>
</body>
DNSB is offline   Reply With Quote
Old 10-21-2021, 02:02 AM   #4
readerwriter
Junior Member
readerwriter began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: Kindle Voyage (7th Gen)
Quote:
Originally Posted by kovidgoyal View Post
Convert to azw3 for much greater fidelity.
Thanks for your prompt reply.
Do you mean convert to azw3 THEN to mobi? I need to upload a mobi file to BookFunnel.
readerwriter is offline   Reply With Quote
Old 10-21-2021, 02:30 AM   #5
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: 29,803
Karma: 54830978
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 DNSB View Post
An epub3 navigation document is a list. See EPUB Navigation Document Definition though it is not defined as a numbered list.
Code:
<body>
  <nav epub:type="landmarks" hidden="" id="landmarks"><h2>Guide</h2>

  <ol>
    <li><a epub:type="bodymatter" href="part0005.xhtml">Beginning</a></li>

    <li><a epub:type="toc" href="part0002.xhtml">Contents</a></li>

    <li><a epub:type="cover" href="cover.xhtml">Cover</a></li>
  </ol></nav>

  <nav epub:type="toc"><h1>Table of contents</h1>

  <ol>
    <li><a href="part0000.xhtml">Title Page</a></li>
...

An OL (ordered List) is a numbered list.
It would be a UL if there just was a mark

Both have options as to what type to use (other than default)
theducks is online now   Reply With Quote
Old 10-21-2021, 07:57 AM   #6
readerwriter
Junior Member
readerwriter began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2021
Device: Kindle Voyage (7th Gen)
Quote:
Originally Posted by theducks View Post

An OL (ordered List) is a numbered list.
It would be a UL if there just was a mark

Both have options as to what type to use (other than default)
Yes, they get compiled into an <ol> when making the EPUB3 file (I believe this is for EPUB3's document structure), but they're not visible as numbered in the final document.

I knew that, but somehow it didn't occur to me. I guess I was thinking the conversion would act in a WYSIWYG kind of way. Is there anyway to convert the <ol> to <ul> in the TOC?
readerwriter is offline   Reply With Quote
Old 10-21-2021, 10:27 AM   #7
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In azw3 they will appear just as in the epub. in MOBI they will not as MOBI has no way to do that. If you need to generate mobi files generate a joint mobi (set the mobi file type to "new") in the mobi output section of the conversion dialog.
kovidgoyal is offline   Reply With Quote
Old 10-21-2021, 12:59 PM   #8
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by theducks View Post

An OL (ordered List) is a numbered list.
It would be a UL if there just was a mark

Both have options as to what type to use (other than default)
I tend to think of ol when the order of items in the list matters while ul is for when the order does not matter. Given that either of them can display numbers, bullets, etc. depending on the CSS styles associated with them, the differences are pretty negligible now.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Errors Converting epub3 -> zip -> epub3 Lola25 ePub 2 11-12-2013 09:37 PM
Remove TOC when converting mobi into txt Steven630 Calibre 0 11-18-2012 01:50 AM
list problem when converting epub to mobi (using calibre) bluetux Calibre 0 12-05-2010 10:06 AM
Numbered list continuation bhuvana786 ePub 4 05-26-2010 01:17 AM


All times are GMT -4. The time now is 06:01 AM.


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