Showing posts with label indexing. Show all posts
Showing posts with label indexing. Show all posts

Sunday, November 06, 2022

Making an Index of Plant Names

I'm translating a Sanskrit text full of plant names.  In a previous project of this type, I created a simple bilingual index, Sanskrit-English and English-Sanskrit.  I did not include Latin binomials and, most regrettable, I didn't include any of the source-referencing and thought that went into my translation choices.  I had compiled all this material, but I didn't share it with the public.  With the current project, I want to use a database to collect the information about each plant cumulatively and in a single place, and I want to have a straightforward way of presenting this complex data in the book.

TLDR: as I write, I just use the Sanskrit name of the plant, and the Glossaries- Extra package replaces it with the English translation from my bib file and also constructs the alphabetical glossary entries at the back of the book.  E.g., I write "take the \gls{dhava} plant" and I automatically get "take the axelwood plant" and an index entry at the back of the book giving the Latin name etc.

Tuesday, July 26, 2016

Getting Xindy to work for IAST-encoded text

Update, 2021

January 2021.  Since writing about Xindy below in 2016, a new indexing program has been released, Xindex by Herbert Voß.  I now use xindex with this configuration file for IAST sorting.  My preamble says 

\usepackage[imakeidx]{xindex} 

\makeindex[name=lexical,
title=Lexical Index,
columns=3,
options=  -c iast -a -n, % nocasesensitive, noheadings
]