diff options
Diffstat (limited to 'samples/icite-biblatex.tex')
-rw-r--r-- | samples/icite-biblatex.tex | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/samples/icite-biblatex.tex b/samples/icite-biblatex.tex index 678f9f4..b49bc34 100644 --- a/samples/icite-biblatex.tex +++ b/samples/icite-biblatex.tex | |||
@@ -22,7 +22,7 @@ | |||
22 | \setlist[enumerate,2]{label=\roman*.} | 22 | \setlist[enumerate,2]{label=\roman*.} |
23 | 23 | ||
24 | \usepackage[citecmd=autocite, defaultindex=none]{icite} | 24 | \usepackage[citecmd=autocite, defaultindex=none]{icite} |
25 | \IndexSubtypeAs{ancient}{pr-sources} | 25 | \IndexSubtypeAs{ancient}{\jobname-primary} |
26 | \bibinput{bibsample} | 26 | \bibinput{bibsample} |
27 | 27 | ||
28 | \usepackage{classics} | 28 | \usepackage{classics} |
@@ -30,7 +30,7 @@ | |||
30 | \newclassic{arist}{#1|\textit{#1}|#1} | 30 | \newclassic{arist}{#1|\textit{#1}|#1} |
31 | 31 | ||
32 | \usepackage[xindy,nonewpage]{imakeidx} | 32 | \usepackage[xindy,nonewpage]{imakeidx} |
33 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 33 | \makeindex[name=\jobname-primary, title={Index locorum citatorum}] |
34 | 34 | ||
35 | \usepackage[style=oxnotes]{biblatex} | 35 | \usepackage[style=oxnotes]{biblatex} |
36 | \addbibresource{bibsample.bib} | 36 | \addbibresource{bibsample.bib} |
@@ -49,7 +49,7 @@ index of passages cited in combination with Bib\LaTeX. | |||
49 | The relevant part of the preamble which is used here follows: | 49 | The relevant part of the preamble which is used here follows: |
50 | \begin{Verbatim} | 50 | \begin{Verbatim} |
51 | \usepackage[citecmd=autocite, defaultindex=none]{icite} | 51 | \usepackage[citecmd=autocite, defaultindex=none]{icite} |
52 | \IndexSubtypeAs{ancient}{pr-sources} | 52 | \IndexSubtypeAs{ancient}{icite-biblatex-primary} |
53 | \bibinput{bibsample} | 53 | \bibinput{bibsample} |
54 | 54 | ||
55 | \usepackage{classics} | 55 | \usepackage{classics} |
@@ -57,7 +57,7 @@ The relevant part of the preamble which is used here follows: | |||
57 | \newclassic{arist}{#1|\textit{#1}|#1} | 57 | \newclassic{arist}{#1|\textit{#1}|#1} |
58 | 58 | ||
59 | \usepackage[xindy]{imakeidx} | 59 | \usepackage[xindy]{imakeidx} |
60 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 60 | \makeindex[name=icite-biblatex-primary, title={Index locorum citatorum}] |
61 | 61 | ||
62 | \usepackage[style=oxnotes]{biblatex} | 62 | \usepackage[style=oxnotes]{biblatex} |
63 | \addbibresource{bibsample.bib} | 63 | \addbibresource{bibsample.bib} |
@@ -68,12 +68,13 @@ The relevant part of the preamble which is used here follows: | |||
68 | \item |citecmd=autocite| instructs \textsf{icite} to use the | 68 | \item |citecmd=autocite| instructs \textsf{icite} to use the |
69 | |\autocite| command to insert the citations in the body text. | 69 | |\autocite| command to insert the citations in the body text. |
70 | \item |defaultindex=none| disables indexing by default. | 70 | \item |defaultindex=none| disables indexing by default. |
71 | \item |\IndexSubtypeAs{ancient}{pr-sources}| makes an exception for | 71 | \item |\IndexSubtypeAs{ancient}{icite-biblatex-primary}| makes an |
72 | authors whose |entrysubtype| field matches the string |ancient| and | 72 | exception for authors whose |entrysubtype| field matches the string |
73 | instructs \textsf{icite} to have them indexed in an index named | 73 | |ancient| and instructs \textsf{icite} to have them indexed in an |
74 | |pr-sources|. | 74 | index named\\ |icite-biblatex-primary|. |
75 | \item To actually produce the index, |\printindex[pr-sources]| is needed | 75 | \item To actually produce the index, |
76 | at the end of the document. | 76 | |\printindex[icite-biblatex-primary]| is needed at the end of the |
77 | document. | ||
77 | \end{enumerate} | 78 | \end{enumerate} |
78 | 79 | ||
79 | \section*{Body text} | 80 | \section*{Body text} |
@@ -94,7 +95,7 @@ another\icite[\arist{1253}[a][30--39]]{Aristotle:Politica}. | |||
94 | 95 | ||
95 | This passage should not be indexed\icite[44--78]{Reynolds.Wilson1994}. | 96 | This passage should not be indexed\icite[44--78]{Reynolds.Wilson1994}. |
96 | 97 | ||
97 | \printindex[pr-sources] | 98 | \printindex[\jobname-primary] |
98 | 99 | ||
99 | \section*{Bibliographical database} | 100 | \section*{Bibliographical database} |
100 | \VerbatimInput{bibsample.bib} | 101 | \VerbatimInput{bibsample.bib} |