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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2017, 01:26 PM   #1
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Multiple indexes - is it possible?

Hi folks,

I've rummaged around on the net and poked about in Sigil and cannot find a solution to this issue, so I thought I'd ask here...

I'm currently 'involved' (read providing Tech Support) for an e-pub collaboration using Sigil.

The book is a refresh of a Natural History (flora and fauna) based epub2 (created with Sigil a couple of years ago) and has a large number of Latin names (over 1000) which made fo interesting spell checking, until I twigged that I could manually create/edit/check a "Latin" user dictionary.

However, for this new revised edition we're trying to provide an "Index of Latin Names" separate from the normal English "Index".

Anyone managed / hacked their way through doing this or something similar?

Any help/advice gratefully received...

Cheers!

Andy B.
andyb is offline   Reply With Quote
Advert
Old 05-01-2017, 02:16 PM   #2
Doitsu
Wizard
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: 3,888
Karma: 10764058
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by andyb View Post
However, for this new revised edition we're trying to provide an "Index of Latin Names" separate from the normal English "Index".
Anyone managed / hacked their way through doing this or something similar.
If you have a list of all Latin names (e.g. latin_names.txt) you could use the built-in index generator:

Code:
Tools > Index > Index Editor... > Open > latin_names.txt
Tools > Index > Create Index
latin_names.txt must be a plain text utf8 file with either one entry per line or two tab-separated entries per line.
Doitsu is offline   Reply With Quote
Old 05-01-2017, 05:43 PM   #3
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 9,079
Karma: 7214933
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If the Latin is marked up with language tag 'la' you could use the calibre epub editor to get a list of the Latin words via Tools->Report->Words. It can save to a csv file which you can sort in a csv file handler.

And if you installed a scientific Latin hunspell dictionary into the calibre editor you should be able to spell check the Latin and as well as the main language.

BR
BetterRed is offline   Reply With Quote
Old 05-02-2017, 04:15 AM   #4
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Quote:
Originally Posted by Doitsu View Post
If you have a list of all Latin names (e.g. latin_names.txt) you could use the built-in index generator:
Hi, and thanks for the reply, this is what I'm doing already...

I can generate my "Index of Latin Names" quite happily, it's generating a new standard index afterwards I'm having a problem with.

I've even gone to the extreme of renaming index.xhtml to latin.xhtml and replacing the existing index tags with something different ie:

id="sigil_index_id_3" becomes id="LATIN_3" in both the content and the index.

This works to a point but when I create a new index file latin.xhtml gets trashed.

Andy B.

Last edited by andyb; 05-02-2017 at 04:57 AM. Reason: Missing [/QUOTE]
andyb is offline   Reply With Quote
Old 05-02-2017, 07:12 AM   #5
Doitsu
Wizard
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: 3,888
Karma: 10764058
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by andyb View Post
Hi, and thanks for the reply, this is what I'm doing already...
It would have helped if you had mentioned this...

Quote:
Originally Posted by andyb View Post
This works to a point but when I create a new index file latin.xhtml gets trashed.
The index tool will check the .opf file for this entry:

Code:
  <guide>
    <reference type="index" title="Index" href="Text/Index.xhtml"/>
  </guide>
I.e., renaming the existing index file won't work. You'll also have to comment out or delete all existing index type .opf file entries.
Doitsu is offline   Reply With Quote
Old 05-02-2017, 10:25 AM   #6
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Quote:
Originally Posted by Doitsu View Post
It would have helped if you had mentioned this...
Apologies...

Many thanks for the hint - I'll go play with the .opf file!

Hopefully that'll be me sorted...

Many thanks for your time!

Andy B.
andyb is offline   Reply With Quote
Old 05-02-2017, 03:46 PM   #7
andyb
Member
andyb began at the beginning.
 
andyb's Avatar
 
Posts: 14
Karma: 10
Join Date: May 2015
Location: Kent, UK
Device: Kobo Aura
Many thanks - works like a charm...

Andy B.
andyb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
DR800 DR800 indexes for 4+ hours, any recourse? requiescat iRex 10 10-02-2011 01:09 PM
Indexes whitearrow Amazon Kindle 11 05-22-2009 11:15 PM


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


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