Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-28-2025, 08:23 PM   #1
mt.msla
Enthusiast
mt.msla began at the beginning.
 
mt.msla's Avatar
 
Posts: 49
Karma: 10
Join Date: May 2021
Device: PW 2 3gb
Difficulty with TOC

I'm having a lot of difficulty with creating a TOC that works for me. Please help if you can.

I want it to be like this (the __ are SPACES I am just rushing to get this out before I go to our Missions conference at church tonight)

THE OLD TESTAMENT
__GENESIS
__EXODUS
__LEVITICUS
....
THE NEW TESTAMENT
__MATTHEW
__MARK
__LUKE

I don't need the chapter titles to expand, just the OT and NT headers. But I can't get it to work properly.

Any assistance would be greatly appreciated. Kindle Previewer keeps erroring on this:

Type | Description
-------------------
Error E24011: TOC section scope is not included in the parent chapter: GENESIS
Error E24001: The table of content could not be built.
Status:Book conversion failed

I don't know what to do to fix it.

In other words, the OT and NT are headings with dropdowns for the individual chapters...

Thank you for any assistance.

Last edited by mt.msla; 03-28-2025 at 08:28 PM.
mt.msla is offline   Reply With Quote
Old 03-28-2025, 09:42 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,347
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
If you are using Sigil's auto ToC generator it should automatically create those indents/expansions.
Just use Tools/Table of Contents/Generate Table of Contents (Ctrl-T) and it will automagically create the ToC which you can then edit as needed.
It basis that creation on your proper use of heading tags <h1-6> to denote the hierarchy within the document.

for example:
Code:
<h3>THE OLD TESTAMENT</h3>
<h4>GENESIS</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...
<h4>EXODUS</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...
<h4>LEVITICUS</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...

<h3>THE NEW TESTAMENT</h3>
<h4>MATTHEW</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...
<h4>MARK</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...
<h4>LUKE</h4>
<h5>Chapter 1</h5>
<h5>Chapter 2</h5>
...
Turtle91 is offline   Reply With Quote
Advert
Old 03-29-2025, 12:36 PM   #3
mt.msla
Enthusiast
mt.msla began at the beginning.
 
mt.msla's Avatar
 
Posts: 49
Karma: 10
Join Date: May 2021
Device: PW 2 3gb
I've pursued other options. Please delete this thread if necessary.
mt.msla is offline   Reply With Quote
Old 03-29-2025, 04:20 PM   #4
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,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by mt.msla View Post
I've pursued other options. Please delete this thread if necessary.
It might help others if you posted what these other options are.
JSWolf is offline   Reply With Quote
Old 03-29-2025, 04:40 PM   #5
mt.msla
Enthusiast
mt.msla began at the beginning.
 
mt.msla's Avatar
 
Posts: 49
Karma: 10
Join Date: May 2021
Device: PW 2 3gb
Well I just decided to use a flattened TOC instead of nesting the OT and NT headers.

(oh well)

So nothing exciting really.
mt.msla is offline   Reply With Quote
Advert
Old 03-29-2025, 05:22 PM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,347
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by mt.msla View Post
Well I just decided to use a flattened TOC instead of nesting the OT and NT headers.

(oh well)

So nothing exciting really.
This is obviously water under the bridge, but if you want to re-attack at a later date....and if you HAVEN'T already used the semantically correct <h1-6> tags, then, assuming you've used consistent classes, changing to the correct <h> tags is a fairly trivial find/replace.

The benefit of using the <h> tags, instead of <p class="newchapter"> (or somesuch), is that reading devices/apps can pick up on the standard, and semantically correct, markup for their proper functionality (eg disability or text-to-speech software)... and the editing process (Sigil or Calibre) can use automated tools to make your life MUCH easier.

Cheers!


P.S. Just in case you were wondering if I could work in a few more commas,,,,,,,
Turtle91 is offline   Reply With Quote
Reply

Tags
amazon, epub, kindle, kindle previewer, toc


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difficulty transferring highlights TonyJamesSlater Library Management 2 11-29-2023 08:50 AM
Difficulty with conversion of (some) HTML rubyhacker Conversion 1 01-24-2019 12:48 AM
difficulty with endnotes Oldpilot Sigil 5 11-16-2010 03:17 PM
Difficulty with ADE Davimee Astak EZReader 5 02-26-2010 02:07 PM
Book Designer Difficulty JEMelby Sony Reader 8 07-10-2007 09:36 PM


All times are GMT -4. The time now is 09:02 PM.


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