View Single Post
Old 05-02-2017, 04:28 PM   #1
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Forcing indexing to skip a block of text?

Hi folks,

Sorry to be back so soon with another indexing question, should be the last one (for a while at least!)

Whilst nosing about in Sigils code view I noticed there is a class called "sigil_index_marker" used to flag index entries from within the epub content.

Does the opposite exist i.e. a class that can be applied to a block of text, maybe with a <div> or similar to tell the indexing tool to skip the marked block when looking for text from the index editor?

Failing that, is there a way to tell the indexing tool to skip a file or similar?

Reason being, I'm in the process of adding a "List of Illustrations" to my epub and don't want the list content included in the index even if it matches the index editor text.

I realise that I could use the "sigil_index_marker" class and mark all the occurrences I want to include but this would mean upwards of 1000 entries to manually flag - ouch!

Hope this makes sense...

Andy B.
andyb is offline   Reply With Quote