Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2023, 09:25 PM   #1
Frometa
Junior Member
Frometa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2022
Device: ninguno
Creating indexes

Hello everyone

I am laying out an ebook and I must put three indexes on it:

1-Contents
2-Onomastics (1258 names placed in the form Surname, first name)
3-From movie titles (1184 titles whose names must appear in the form title, article, for example Battle of Okinawa, The) There is some plugin or method to avoid having to build the last two completely by hand.

Best regards
Frometa is offline   Reply With Quote
Old 02-28-2023, 02:20 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,763
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Do a bit of Juggling
Use Diaps toolbag to set a assigned P tag to H3 (Each of the item types to be indexed has a a unique class="Onomastics" or class="Movies"

Each item to be indexed has a title=" <stuff you want in the index> if the text in that P block is different than what is wanted in the Index

Build as a fake Contents.
Then make a HTML Contents from that
then remove the Semantic flag (because you only can have one Contents) line from the OPF <guide>.

Undo that H3 Tag change (back to P or Div)

Repeat for Group 2

And finally build the real Contents (tweak the other indexes header so they are included)

A bit of a juggle, but sure beats all that typing
theducks is online now   Reply With Quote
Advert
Old 02-28-2023, 03:53 AM   #3
Frometa
Junior Member
Frometa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2022
Device: ninguno
Thank you so much....
I will try everything although I don't understand your answers much
Frometa is offline   Reply With Quote
Old 02-28-2023, 09:45 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,763
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
When you grasp how the available tools work, you can trick them into helping

The TOC tool builds an NCX TOC from Header tags (h#) (there is a rule pulldown, but it is more of Include if H# value or higher)

The Inline (HTML) TOC tool function uses the EXISTING NCX as the source. Thus the sleight of hand to grab the items. Build a NCX->Make HTML->toss fake NCX and clear the guide (semantics) so the next cycle does not just replace.

Since the Sigil tool use H# tags, we know that we want ONLY those desired available for the Index we are building.
So during book creation we do NOT use H# tags normally. Instead we give each CLASS (of index) a class value to make bulk switching easy.
<p class="Onomastics"> The class name is not critical as long as it denotes a unique group.
The toolbag plugin allows tag manipulation. eg Modify all P tags with the class name Onomastics > H ✔Keep attributes
theducks is online now   Reply With Quote
Old 02-28-2023, 01:58 PM   #5
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Frometa View Post
There is some plugin or method to avoid having to build the last two completely by hand.
Sigil has a built-in index tool. All you have to do is highlight the text to be added to the index and select Tools > Index > Mark for index. When you're done, select Tools > Index > Create index. For more information, see the Indexes chapter of the Sigil user guide.
Doitsu is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple indexes - is it possible? andyb Sigil 6 05-02-2017 03:46 PM
Indexes without page numbers? SigilBear ePub 46 02-20-2017 08:30 AM
Indexes using an original Microsoft word John123 ePub 12 02-28-2012 02:51 PM
Indexes whitearrow Amazon Kindle 11 05-22-2009 11:15 PM


All times are GMT -4. The time now is 07:51 PM.


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