Thread: Create Index
View Single Post
Old 08-07-2016, 08:20 PM   #13
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,957
Karma: 6361444
Join Date: Nov 2009
Device: many
No exactly ...
Only a specific list of selected guides types/landmarks would be auto disabled for index generation and that would NOT include Text or BodyMatter, and would instead include things like title-page and etc. That is why I was asking people which of the guide types and landmarks should be automatically excluded from index generation.

If someone instead decided they want those autoexcluded files to actually be included in the index generation, they could simply unset their semantics, before generating the index.

Thereby no gui is needed. It already exists in the form of setting and unsetting guide types/landmarks.

All that is left to do then is look at the list of all possible guide types/landmarks and decide which ones should not automatically be included when building an index.

For example, for epub2, would this be a good list of types to automatically exclude from index generation ...

Code:
GuideItems to remove from index
        acknowledgements
        bibliography
        colophon
        copyright-page
        dedication
        foreword
        glossary
        index
        loi
        lot
        preface
        title-page
        toc
I can build a similar list from the epub3 landmarks too.

I just wanted input about the list of ones to autoexclude.

KevinH
KevinH is offline   Reply With Quote