From 5db90389792eb8bc2b2ad4a2a86c99d256ee7b34 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 11 Mar 2019 11:06:34 +0100 Subject: documentation: better integration of the indices --- icite.dtx | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/icite.dtx b/icite.dtx index d3dbd2f..1ba3d02 100644 --- a/icite.dtx +++ b/icite.dtx @@ -15,7 +15,7 @@ Overview `icite` is designed to produce from BibTeX or BibLaTeX bibliographical databases the different indices of authors and works cited which are -called \emph{indices locorum citatorum}. It relies on a specific +called _indices locorum citatorum_. It relies on a specific `\icite` command and can operate with either BibTeX or BibLaTeX. License and disclamer @@ -46,7 +46,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see <http://www.gnu.org/licenses/>. +with this program. If not, see . This release of icite consists of the following source files: @@ -341,10 +341,11 @@ Running "make install" installs the files in the local TeX tree. \IndexSubtypeAs{classical}{primary} \bibinput{icite} \usepackage[nonewpage,xindy]{imakeidx} -\indexsetup{level=\subsubsection*} +\newcommand{\donothing}[1]{} +\indexsetup{level=\donothing} \makeindex -\makeindex[name=loccit, title=Index of Passages Cited (modern authors)] -\makeindex[name=primary, title=\emph{Index locorum citatorum}] +\makeindex[name=loccit] +\makeindex[name=primary] \usepackage{tabto} \usepackage{classics} \newclassic{iau}{\classicsRoman{#1}|, #1|.#1} @@ -404,6 +405,7 @@ Running "make install" installs the files in the local TeX tree. \begin{document} \DocInput{\jobname.dtx} \PrintChanges + \section{Index} \indexprologue{Numbers written in italic refer to the page where the corresponding entry is described; numbers underlined refer to the code line of the definition; numbers in roman refer to the code @@ -958,7 +960,9 @@ Running "make install" installs the files in the local TeX tree. % % \subsection{Indices} % \label{ref:indices} +% \subsubsection{Index of Passages Cited (modern authors)} % \printindex[loccit] +% \subsubsection{\emph{Index locorum citatorum}} % \printindex[primary] % % \subsection{\texorpdfstring{\hologo{BibTeX} @@ -1070,10 +1074,10 @@ Running "make install" installs the files in the local TeX tree. \def\@useauthor{\@indexauthor}% \fi \ifx\@sortname\empty - \def\@sortedauthor{\@useauthor}% - \else - \def\@sortedauthor{{\@sortname}@\@useauthor}% - \fi + \def\@sortedauthor{\@useauthor}% + \else + \def\@sortedauthor{{\@sortname}@\@useauthor}% + \fi \ifx\@indextitle\empty \ifx\@shorttitle\empty \def\@usetitle{\@title}% -- cgit v1.2.3