View Single Post
Old 05-03-2017, 12:10 PM   #6
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Quote:
Originally Posted by KevinH View Post
I assumed you had removed the old toc from the document first and just wanted to hide one other file. The epub2 guide items allow only one true toc not multiple.
Shame - though re-visiting the Semantics types I've just spotted "List of Illustrations" which I had missed before - I'll go and play with that. At least I'll be back with one ToC...

Quote:
Originally Posted by KevinH View Post
That said, should an index ever index front matter? Are dedications ever indexed? Perhaps we should modify Sigil to skip all guide types that map to any type of front matter? That could be easily done.

What is the right/official thing to do here? Should all front matter be excluded by an index generator or not?
I'm sorely tempted to say "exclude all front matter" however I'm sure that someone will disagree and I have no wish to start a flame war so...

As the Semantics can be set for each file by right clicking on the filename and selecting "Add Semantics" How about controlling the index tool access by Semantic type.

A new panel could be created in "Preferences" showing a list of the available semantic types and allowing a tick box for each one to say "Include files of this type in the Index" - maximum flexibility achieved with (fingers crossed!) not too much effort and everybody happy? (he said - running for cover!)

Just out of interest where does the semantic list come from - I couldn't spot it in the epub2 standard?

Andy B.
andyb is offline   Reply With Quote