|
|
#1 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Oct 2020
Device: none
|
Occasionally non-alphabetical indices
the following index code fragment seems to be alphabetical by xhtml file name, which is not what I really want in the index itself:
Code:
<a href="chapter01.xhtml#sigil_index_id_39">1</a></div></div><div class="sgc-index-entry">cover <a href="chapter04.xhtml#sigil_index_id_18">1</a>, <a href="chapter13.xhtml#sigil_index_id_51">2</a><div class="sgc-index-entry">portable <a href="chapter05.xhtml#sigil_index_id_24">1</a></div><div class="sgc-index-entry">structures <a href="chapter07.xhtml#sigil_index_id_9">1</a></div><div class="sgc-index-entry">examples <a href="chapter13.xhtml#sigil_index_id_52">1</a></div><div class="sgc-index-entry">destroying <a href="chapter13.xhtml#sigil_index_id_53">1</a></div><div class="sgc-index-entry">distances to cover <a href="chapter13.xhtml#sigil_index_id_54">1</a></div><div class="sgc-index-entry">generating <a href="chapter13.xhtml#sigil_index_id_55">1</a></div><div class="sgc-index-entry">what to include Code:
NPCs 1
cover 1, 2
portable 1
structures 1
examples 1
destroying 1
distances to cover 1
generating 1
what to include 1
critter types
But then a bit latter on, this part of the index seems to work fine: Code:
<a href="chapter18.xhtml#sigil_index_id_32">1</a></div><div class="sgc-index-entry">time of day <a href="chapter18.xhtml#sigil_index_id_30">1</a></div></div><div class="sgc-index-entry">damage <div class="sgc-index-entry">critical hits <a href="chapter06.xhtml#sigil_index_id_37">1</a></div><div class="sgc-index-entry">Death Star <a href="chapter06.xhtml#sigil_index_id_38">1</a></div><div class="sgc-index-entry">downgrading <a href="chapter04.xhtml#sigil_index_id_39">1</a></div><div class="sgc-index-entry">entanglement <a href="chapter07.xhtml#sigil_index_id_1">1</a></div><div class="sgc-index-entry">falling <a href="chapter13.xhtml#sigil_index_id_59">1</a></div><div class="sgc-index-entry">heroic sacrifices <a href="chapter07.xhtml#sigil_index_id_4">1</a></div><div class="sgc-index-entry">ignore pips <a href="chapter07.xhtml#sigil_index_id_3">1</a></div><div class="sgc-index-entry">ionization <a href="chapter07.xhtml#sigil_index_id_11">1</a></div><div class="sgc-index-entry">keeping track <a href="chapter04.xhtml#sigil_index_id_38">1</a></div><div class="sgc-index-entry">knockback <a href="chapter07.xhtml#sigil_index_id_2">1</a></div><div class="sgc-index-entry">structural <a href="chapter07.xhtml#sigil_index_id_10">1</a></div><div class="sgc-index-entry">upgrading <a href="chapter04.xhtml#sigil_index_id_40">1</a></div></div><div class="sgc-index-entry">damage limits Code:
time of day 1
damage
critical hits 1
Death Star 1
downgrading 1
entanglement 1
falling 1
heroic sacrifices 1
ignore pips 1
ionization 1
keeping track 1
knockback 1
structural 1
upgrading 1
damage limits
brute force 1
|
|
|
|
|
|
#2 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Oct 2020
Device: none
|
looking at it now it's posted, I do notice that 'cover' has a couple of hyperlinks associated with it, and that section goes wrong. 'damage', currently, does not. When I cleared the links from 'cover', and added a couple to 'damage', the problem moved.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,219
Karma: 7640000
Join Date: Nov 2009
Device: many
|
The Sigil Index Editor should allow you to sort by any column header before the save. Look for an triangle with its point down in the column headers row. Click on how you want things sorted.
|
|
|
|
|
|
#4 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Oct 2020
Device: none
|
The Index Editor UI is completely empty at this point.
(Edit: Actually, it would be immensely helpful if individual entries were collated in the index editor as well.) Last edited by Simons Mith; Yesterday at 05:32 PM. |
|
|
|
|
|
#5 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,219
Karma: 7640000
Join Date: Nov 2009
Device: many
|
Have you marked the terms for the index and generated it?
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Oct 2020
Device: none
|
Yes, generated and regenerated a few times while experimenting. All terms have been added manually so far. The Index Editor isn't proving very useful in this book because many of the terms to index are very mundane, and I only want to index the places where a term is defined, rather than everywhere the word happens to show up.
Last edited by Simons Mith; Yesterday at 07:00 PM. Reason: reword to better answer question |
|
|
|
|
|
#7 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,219
Karma: 7640000
Join Date: Nov 2009
Device: many
|
To identify an index file, the epub uses guide or nav semantics to indicate which file is the index. If you mouse over and hover your cursor over the generated index file in BookBrowser does the resulting tooltip indicate that file has the Index semantic set?
I do not understand how the Index Editor is totally empty? I will play around with Indexes tomorrow to try to see if I can see what you are seeing. |
|
|
|
|
|
#8 |
|
Enthusiast
![]() Posts: 37
Karma: 10
Join Date: Oct 2020
Device: none
|
I've just been highlighting words of interest in the HTML files and pressing Ctrl-Shift-X, which brings up the Mark For Index pop-up window, and then I edit the desired index entry in that and click OK. Are my manual entries supposed to appear in the Index Editor?? They don't.
I'm on Linux - Sigil 2.8.5 - haven't upgraded yet The Index file is the autogenerated Sigil one - its tooltip says "OPS/xhtml/Index.xhtml (Index)" It's also correctly auto-added itself to the OPS/package.opf file |
|
|
|
![]() |
| Tags |
| alphabetize, bug, index |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Editor Crashing Occasionally After Paste | enuddleyarbl | Editor | 9 | 12-11-2022 11:59 AM |
| Paperwhite 3 restarting occasionally? | doctorat | Amazon Kindle | 6 | 05-31-2017 02:04 PM |
| [Viewer]Problem: occasionally repeating pages | millirem | Library Management | 0 | 01-11-2015 02:34 AM |
| occasionally losing the select menu | bounce | Marvin | 3 | 12-16-2013 04:30 PM |
| Non-numeric series indices (for Kobo) | GeoffR | Devices | 4 | 03-05-2013 10:06 PM |