Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:38 PM   #1
Simons Mith
Enthusiast
Simons Mith began at the beginning.
 
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
appears as:

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
which appears as:
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
TBH I don't even understand what sort criteria it could be using to behave like this.
Simons Mith is offline   Reply With Quote
Old Yesterday, 03:45 PM   #2
Simons Mith
Enthusiast
Simons Mith began at the beginning.
 
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.
Simons Mith is offline   Reply With Quote
Old Yesterday, 05:01 PM   #3
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: 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.
KevinH is offline   Reply With Quote
Old Yesterday, 05:29 PM   #4
Simons Mith
Enthusiast
Simons Mith began at the beginning.
 
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.
Simons Mith is offline   Reply With Quote
Old Yesterday, 06:28 PM   #5
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: 10,219
Karma: 7640000
Join Date: Nov 2009
Device: many
Have you marked the terms for the index and generated it?
KevinH is offline   Reply With Quote
Old Yesterday, 06:59 PM   #6
Simons Mith
Enthusiast
Simons Mith began at the beginning.
 
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
Simons Mith is offline   Reply With Quote
Old Yesterday, 08:42 PM   #7
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: 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.
KevinH is offline   Reply With Quote
Old Yesterday, 08:56 PM   #8
Simons Mith
Enthusiast
Simons Mith began at the beginning.
 
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
Simons Mith is offline   Reply With Quote
Reply

Tags
alphabetize, bug, index


Forum Jump

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


All times are GMT -4. The time now is 02:42 AM.


MobileRead.com is a privately owned, operated and funded community.