aboutsummaryrefslogtreecommitdiff
path: root/samples/icite-nobiblatex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'samples/icite-nobiblatex.tex')
-rw-r--r--samples/icite-nobiblatex.tex23
1 files changed, 12 insertions, 11 deletions
diff --git a/samples/icite-nobiblatex.tex b/samples/icite-nobiblatex.tex
index baf2973..d6f824d 100644
--- a/samples/icite-nobiblatex.tex
+++ b/samples/icite-nobiblatex.tex
@@ -23,7 +23,7 @@
23\setlist[enumerate,2]{label=\roman*.} 23\setlist[enumerate,2]{label=\roman*.}
24 24
25\usepackage[defaultindex=none, nobibengine]{icite} 25\usepackage[defaultindex=none, nobibengine]{icite}
26\IndexSubtypeAs{ancient}{pr-sources} 26\IndexSubtypeAs{ancient}{\jobname-primary}
27\bibinput{bibsample} 27\bibinput{bibsample}
28 28
29\usepackage{classics} 29\usepackage{classics}
@@ -31,7 +31,7 @@
31\newclassic{arist}{#1|\textit{#1}|#1} 31\newclassic{arist}{#1|\textit{#1}|#1}
32 32
33\usepackage[xindy,nonewpage]{imakeidx} 33\usepackage[xindy,nonewpage]{imakeidx}
34\makeindex[name=pr-sources, title={Index locorum citatorum}] 34\makeindex[name=\jobname-primary, title={Index locorum citatorum}]
35 35
36\begin{document} 36\begin{document}
37\DefineShortVerb{\|} 37\DefineShortVerb{\|}
@@ -48,7 +48,7 @@ Bib\LaTeX.
48The relevant part of the preamble which is used here follows: 48The relevant part of the preamble which is used here follows:
49\begin{Verbatim} 49\begin{Verbatim}
50\usepackage[defaultindex=none, nobibengine]{icite} 50\usepackage[defaultindex=none, nobibengine]{icite}
51\IndexSubtypeAs{ancient}{pr-sources} 51\IndexSubtypeAs{ancient}{icite-nobiblatex-primary}
52\bibinput{bibsample} 52\bibinput{bibsample}
53 53
54\usepackage{classics} 54\usepackage{classics}
@@ -56,7 +56,7 @@ The relevant part of the preamble which is used here follows:
56\newclassic{arist}{#1|\textit{#1}|#1} 56\newclassic{arist}{#1|\textit{#1}|#1}
57 57
58\usepackage[xindy]{imakeidx} 58\usepackage[xindy]{imakeidx}
59\makeindex[name=pr-sources, title={Index locorum citatorum}] 59\makeindex[name=icite-nobiblatex-primary, title={Index locorum citatorum}]
60\end{Verbatim} 60\end{Verbatim}
61 61
62\paragraph{Remarks} 62\paragraph{Remarks}
@@ -64,12 +64,13 @@ The relevant part of the preamble which is used here follows:
64\item |defaultindex=none| disables indexing by default. 64\item |defaultindex=none| disables indexing by default.
65\item |nobibengine| instructs \textsf{icite} to insert the citations 65\item |nobibengine| instructs \textsf{icite} to insert the citations
66 in the body text without using either \hologo{BibTeX} or Bib\LaTeX. 66 in the body text without using either \hologo{BibTeX} or Bib\LaTeX.
67\item |\IndexSubtypeAs{ancient}{pr-sources}| makes an exception for 67\item |\IndexSubtypeAs{ancient}{icite-nobiblatex-primary}| makes an
68 authors whose |entrysubtype| field matches the string |ancient| and 68 exception for authors whose |entrysubtype| field matches the string
69 instructs \textsf{icite} to have them indexed in an index named 69 |ancient| and instructs \textsf{icite} to have them indexed in an
70 |pr-sources|. 70 index named\\ |icite-nobiblatex-primary|.
71\item To actually produce the index, |\printindex[pr-sources]| is 71\item To actually produce the index,
72 needed at the end of the document. 72 |\printindex[icite-nobiblatex-primary]| is needed at the end of the
73 document.
73\end{enumerate} 74\end{enumerate}
74 75
75\section*{Body text} 76\section*{Body text}
@@ -92,7 +93,7 @@ and another.\footnote{%
92This passage should not be 93This passage should not be
93indexed.\footnote{\icite[44--78]{Reynolds.Wilson1994}.} 94indexed.\footnote{\icite[44--78]{Reynolds.Wilson1994}.}
94 95
95\printindex[pr-sources] 96\printindex[\jobname-primary]
96 97
97\section*{Bibliographical database} 98\section*{Bibliographical database}
98\VerbatimInput{bibsample.bib} 99\VerbatimInput{bibsample.bib}