|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 40000
Join Date: Oct 2013
Device: kindle
|
Index not working for entries within <em>
I hope this is the right thread. I pretty sure, as per the title, the sigil index creator does not indicize the entries that are within EM tags. It does include the words within < i > tag though, so if I search and replace all instances of < em > with < i > it works.
Can anyone confirm? Is there another way out? Also, is there a way to make it case insensitive? Thanks. Last edited by 1v4n0; 10-27-2017 at 08:06 AM. |
|
|
|
|
|
#2 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,848
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil's auto-index generation routines do not pay the least bit of attention to how a word may be formatted. It only gathers the words themselves.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,848
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sorry. I misunderstood the issue being described. Someone has confirmed that words inside em tags get ignored during index generation. We'll look into it.
|
|
|
|
|
|
#4 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,069
Karma: 6361556
Join Date: Nov 2009
Device: many
|
I think we need to look at XhtmlDoc.cpp and look at how ID_TAGS are defined and possibly add "em" to this list. I have not walke the code as I am away from my dev box, so that is just a wag.
|
|
|
|
|
|
#5 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,848
Karma: 207000000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thanks, Kevin. I've not looked at that code either.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,655
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Would you also have to add <strong> where you have <b>?
|
|
|
|
|
|
#7 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,069
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Both strong and b tags are already part of ID_TAGS. That function that uses ID_TAGS is invoked from the indexer code to get the text of a node but I really need to sit down to understand how it works first before knowing if this is the culprit or not.
Last edited by KevinH; 10-28-2017 at 09:44 AM. |
|
|
|
|
|
#8 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,069
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Just pushed to master the fix for this. Index terms inside em tags are now properly marked and used during Index generation.
|
|
|
|
|
|
#9 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,394
Karma: 20212733
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
|
You guys are awesome!
Do you have a best guestimate when the next official release will be posted? |
|
|
|
|
|
#10 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,069
Karma: 6361556
Join Date: Nov 2009
Device: many
|
|
|
|
|
|
|
#11 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 173
Karma: 40000
Join Date: Oct 2013
Device: kindle
|
Thank you. That was fast
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Troubleshooting Ghost entries | procyon | Amazon Kindle | 2 | 08-24-2016 12:36 PM |
| Error: Index has too many entries... | Katsunami | Conversion | 6 | 10-12-2013 09:06 AM |
| Error: Too many index entries | pimol | Conversion | 2 | 10-16-2012 08:18 AM |
| Index: Making a linked index in epub | virtual_ink | ePub | 21 | 10-19-2011 11:23 PM |