In my document I emphasize names that are mentioned and now I want to provide some additional information about them in an appendix. Currently I do something like:
\documentclass{scrartcl}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{STIXGeneral}
\def\name#1{{\texorpdfstring{\smaller\MakeUppercase{#1}}{#1}}}
\begin{document}
Look at the works of \name{Alexandrov} and \name{Atkinson}.
\clearpage
\begin{section}*{Index of People}
\begin{itemize}
\item \name{Alexandrov}: Па́вел Серге́евич Алекса́ндров (Pavel Sergeyevich Alexandrov), \mbox{1896-05-07} – \mbox{1982-11-16}
\item \name{Atkinson}: Frederick Valentine Atkinson, \mbox{1916-01-25} – \mbox{2002-11-13}
\end{itemize}
\end{section}
\end{document}
Is it possible to keep the information about the people in some database file like it is done with bibliographies and have it automatically formatted? Are there any tools available or can it be done with bibtex
?
JLDiaz's answer seems like a good point to start. To be a bit more concrete, the data file should look something like:
@person{alexandrov,
name = {Па́вел Серге́евич Алекса́ндров},
latin = {Pavel Sergeyevich Alexandrov},
birthdate = {1896-05-07},
deathdate = {1982-11-16}
}
And it may certainly happen, that more fields will be added (e.g. profession, places of birth and death, nationality). So it seems whether I am using bibtex
or the gloss
package, I have to define my own style file. What is the difference between those two approaches?
As for defining the custom entry type I found Biblatex and custom bibtex entries - is it possible?, but the explanation there does not seem well structured / complete and possibly outdated. Maybe somebody can elaborate on that.
.csv
database and use thedatatool
package.