![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2022
Device: kindle 10th gen
|
![]()
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.
|
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Just use a heading tag for your subchapter header and add in an ID so you can link to it from the ToC.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#4 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |