Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2017, 04:15 PM   #1
SampleAndy
Addict
SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.
 
SampleAndy's Avatar
 
Posts: 267
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
How can I create subsections in Table of Contents

I'm sure I've seen them in some of my books, but I couldn't find exactly what I was looking for for an example. The closest I've found was similar to below:

Front Matter(followed by a down arrow)
Praise for...
Also by
Title Page
Copyright

and then the normal TOC continues.

If you tap the down arrow, it changes to a right arrow and all the subsections are hidden. (I might have the direction of the arrows reversed, but...)

Looking at the code in Sigil, I couldn't see anything that would cause this behavior, and a search for "Front Matter" had no results.

I have a couple enormous books where I would like to break the ebook down into the same sections as the actual books, i.e.

Section One
Chapter 1
Chapter 2
Chapter 3
...
Section Two
Chapter 16
Chapter 17
Chapter 18
...
Section Three, etc.

Is this possible, and if so, how do you do it?
Thanks for your help.
SampleAndy is offline   Reply With Quote
Advert
Old 05-12-2017, 05:03 PM   #2
Turtle91
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: 1,371
Karma: 11165888
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
You use different types of heading tags <h?>...each level is another subsection:

Code:
<h1>
     <h2>
          <h3>
     <h2>
     <h2>
          <h3>
          <h3>
etc.

Then Sigil's auto TOC creator will do the rest!
Turtle91 is offline   Reply With Quote
Old 05-12-2017, 08:26 PM   #3
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: 20,374
Karma: 20257282
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
If you had the TOC generated by the TOC tool, you can change the level there using the arrows
Use the Saved Search (I assume current NEW installs still have) to demote H1 or H2 to H3 (assumes Chapters, the most common, are will be H3), then use the TOC tool to promote the Part Title to H2
(I only use H1 for (Omnibus) Book Title Level)
You may need to adjust your syylesheet if it called out H1, H2 or H3 for the various titles
theducks is offline   Reply With Quote
Old 05-18-2017, 05:42 PM   #4
SampleAndy
Addict
SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.SampleAndy ought to be getting tired of karma fortunes by now.
 
SampleAndy's Avatar
 
Posts: 267
Karma: 644344
Join Date: Oct 2012
Location: Pittsburgh, PA, USA
Device: KPW, KFire HD, KFire, KTD 3g, KT, K4B, K4S, K3g, K3g SO, K2, K1
Judging by the results, that only works with AZW3, not MOBI, right? MOBI has always worked better for me, so the first thing I always do is convert to MOBI. Seems that AZW3 always has different font sizes so that I have to reset the size for each book I read. MOBI is always the same. (shrugs)

I converted the big books I was talking about to AZW3, and got the subsections I wanted, but the formatting was trashed, i.e. chapter graphics were no longer centered, and line spacing was... just weird.

I should have brought some of my readers with me, but... I think even in MOBI, the reader creates "Front Matter" even though I didn't want it. I THINK on the eInk devices it's fine.
SampleAndy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can´t create an html table of contents on Sigil Danila Sigil 2 02-16-2017 03:29 PM
mktoc.pl: create table of contents in HTML file Pranananda Workshop 4 03-04-2013 11:57 PM
how to create Table of Contents? Small Elephant Amazon Kindle 2 11-17-2012 01:17 AM
Create a table of contents? RobLikesBrunch Amazon Kindle 13 03-09-2009 07:59 PM
Is there a way to create a table of contents for notes timezone iRex 0 08-03-2008 03:54 PM


All times are GMT -4. The time now is 03:47 PM.


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