Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2023, 07:21 AM   #1
robertosaenz
Member
robertosaenz began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2022
Device: kindle 10th gen
Question Epub3 Sub Chapters

Hello, I'm a newbie in Sigil. I am creating a book, which contains 5 chapters and many subchapters. Is there a way to add subchapters? I have not been able to find it. I couldn't find a thread about that either.
robertosaenz is offline   Reply With Quote
Old 02-02-2023, 07:57 AM   #2
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,575
Karma: 145863177
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 robertosaenz View Post
Hello, I'm a newbie in Sigil. I am creating a book, which contains 5 chapters and many subchapters. Is there a way to add subchapters? I have not been able to find it. I couldn't find a thread about that either.
Just use a heading tag for your subchapter header and add in an ID so you can link to it from the ToC.
JSWolf is offline   Reply With Quote
Advert
Old 02-02-2023, 09:15 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,524
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The ToC editor will allow you to nest subsections under main sections in the NCX (EPUB2) and the NAV document (EPUB3).

Tools->Table of Contents->Edit Table of Contents
DiapDealer is offline   Reply With Quote
Old 02-02-2023, 12:46 PM   #4
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,339
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 JSWolf View Post
Just use a heading tag for your subchapter header and add in an ID so you can link to it from the ToC.

As Jon mentioned, the heading tags are there to denote to what "level" a section of text belongs. You can use CSS to style the headers however you wish. You can either change the tags manually or, as Diap mentioned, use the editor to change them. As long as you have the heading tag, and any IDs, set properly then Sigil will put all the proper links in your ToC for you...

Also, if you want a subsection to begin on it's own page, then just put it in it's own html sheet. You won't need an ID to reference that; you just put the sheet name in any link. (eg <a href="Chapter34.html">) If you want the subsection to follow on the same page, then add the ID. (eg <h4 id="mylink"> <a href="Chapter34.html#mylink">)

Here is an example of using the heading tags to indicate different levels:


Code:
<h1>Cover page </h1>
  <h2> Front matter </h2>
  <h2> Title page </h2>
    <h3> Prologue </h3>
    <h3> Chapter 1 </h3>
      <h4> Sub-Chapter 1-1 </h4>
      <h4> Sub-Chapter 1-2 </h4>
    <h3> Chapter 2 </h3>
      <h4> Sub-Chapter 2-1 </h4>
      <h4> Sub-Chapter 2-2 </h4>
    <h3> Chapter 3 </h3>
      <h4> Sub-Chapter 3-1 </h4>
      <h4> Sub-Chapter 3-2 </h4>
    <h3> Epilogue </h3>
  <h2> About the Author </h2>
  <h2> Also By the Author </h2>
  <h2> Copyright </h2>
<h1> Back cover (if used) </h1>

Last edited by Turtle91; 02-02-2023 at 12:49 PM.
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
best way to add numbered chapters to a book with no chapters stumped Sigil 17 05-10-2017 03:30 AM
epub3 app with epub3 dictionary support Doitsu ePub 0 01-21-2017 09:38 AM
Epub3 XHTML Validation epub3 Ramesh Arpitha ePub 5 06-30-2014 08:32 PM
New Errors Converting epub3 -> zip -> epub3 Lola25 ePub 2 11-12-2013 09:37 PM
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM


All times are GMT -4. The time now is 03:52 AM.


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