|
|
#1 |
|
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Oct 2020
Device: none
|
Sigil index - semicolon bug
According to the online docs, marking an index entry with a semicolon is supposed to produce more than one entry
The example online uses entrya;entryb - I quote the relevant section below Code:
[blank]: If you leave the name empty, then the exact words you highlighted will be used in the index. words: If you enter a word or phrase, then that word or phrase will be used (e.g. Oak instead of oak). heading/words: If you use a “/” in the name then a hierarchical group will be created (e.g. Forest/Tree/Oak will create an entry Oak filed under Tree filed under Forest). entrya;entryb: If you use a “;” then multiple entries will be created for this word or phrase. Last edited by Simons Mith; Yesterday at 12:50 PM. |
|
|
|
|
|
#2 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,192
Karma: 7640000
Join Date: Nov 2009
Device: many
|
I will look into that.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,192
Karma: 7640000
Join Date: Nov 2009
Device: many
|
Okay, way back in Sigil 0.7.1 that feature for using a ';' ended up causing an empty html bug and so was removed by this commit from over 13 years ago.
https://github.com/Sigil-Ebook/Sigil...bc8313df0ba6e2 That was before we took over Sigil. If you found that ';' feature documented in a current Sigil User guide, we will have to fix the user guide to remove that feature. The tooltips in Sigil no longer mention that use of ';'. Last edited by KevinH; Yesterday at 04:43 PM. |
|
|
|
|
|
#4 |
|
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Oct 2020
Device: none
|
Oh, dang, I was going to use that. Thanks for checking so quickly.
What's the recommended way to do the same thing nowadays? Should I just index the next word along or something? |
|
|
|
|
|
#5 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,192
Karma: 7640000
Join Date: Nov 2009
Device: many
|
Not sure as I have never tried to use that feature in the last 15 years. I'm not even sure what the expected output was.
When I get a free moment, I will try it in a really old Sigil (0.7.0)(if I can find one that works on recent MacOS) to see exactly what xhtml it creates in the index file. If you are a Windows user you may have better luck trying a binary that old to see exactly what it was expected to generate in the index.xhtml. If you do that and post the output, we can try to figure out a way to do the same thing or something similar. Last edited by KevinH; Yesterday at 05:43 PM. |
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| index bug semicolon |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Index Creator bug maybe? | Siggy15 | Sigil | 4 | 11-02-2026 01:21 PM |
| Strange bug (tuple index out of range) | un_pogaz | Calibre | 4 | 08-15-2021 10:17 PM |
| Bug in index creation with Sigil | Patrick V | Sigil | 6 | 02-11-2020 10:12 AM |
| [BUG] Index lists all words starting with string | 1v4n0 | Sigil | 9 | 05-17-2018 02:28 PM |
| Sigil Plugin Index | Thasaidon | Plugins | 0 | 10-04-2014 08:41 AM |