icite sample file — cz This file is public domain
Preamble
This file demonstrates how icite can be used to produce an index of passages cited in combination with BibL
ATEX.
The relevant part of the preamble which is used here follows:
1
\usepackage[citecmd=autocite, defaultindex=none]{icite}
2
\IndexSubtypeAs{ancient}{icite-biblatex-primary}
3
\bibinput{bibsample}
4
5
\usepackage{classics}
6
\newclassic{plat}{#1|#1|#1}
7
\newclassic{arist}{#1|\textit{#1}|#1}
8
9
\usepackage[xindy]{imakeidx}
10
\makeindex[name=icite-biblatex-primary, title={Index locorum citatorum}]
11
12
\usepackage[style=oxnotes]{biblatex}
13
\addbibresource{bibsample.bib}
Remarks
(a) citecmd=autocite instructs icite to use the \autocite command to insert the citations in the body text.
(b) defaultindex=none disables indexing by default.
(c) \IndexSubtypeAs{ancient}{icite-biblatex-primary} makes an excep- tion for authors whose entrysubtype field matches the string ancient and instructs icite to have them indexed in an index named
icite-biblatex-primary.
(d) To actually produce the index, \printindex[icite-biblatex-primary]
is needed at the end of the document.
Body text
Plato, Laches: first citation.
1And another,
2and another.
3Plato, Theaetetus: first citation.
4And another,
5and another.
61
Plato, “Laches”, in Platonis opera, iii, ed. J. Burnet (Oxford: Clarendon Press, 1968) (originally pub. 1903), 179a1–4.
2
Plato, Laches, 179c5–180a1.
3
Plato, Laches, 181b5–c3.
4
Plato, “Theaetetus”, in Platonis opera, i, ed. J. Burnet (Oxford: Clarendon Press, 1967) (originally pub. 1900), 142c2–d3.
5
Plato, Theaetetus, 142d4–5.
6
Plato, Theaetetus, 143b5.
1
Aristotle, Politica: first citation.
7And another,
8and another.
9This passage should not be indexed.
10Index locorum citatorum
A Aristotle Politica
1252a25–b27: 1 1253a5: 1 1253a30–39: 1 P Plato
Laches 179a1–4: 1 179c5–180a1: 1 181b5–c3: 1 Theaetetus
142c2–d3: 1 142d4–5: 1 143b5: 1
Bibliographical database
1
@Book{Aristotle:Politica,
2
title = {Politica},
3
date = 1964,
4
author = {Aristotle},
5
editor = {Ross, W. D.},
6
origdate = 1957,
7
entrysubtype = {ancient},
8
publisher = {Clarendon Press},
9
location = {Oxford}}
10
11
@BookInBook{Plato:Laches,
12
title = {Laches},
13
date = 1968,
14
author = {Plato},
15
booktitle = {Platonis opera},
16
editor = {Burnet, J.},
17
origdate = 1903,
18
entrysubtype = {ancient},
19
volume = 3,
20
publisher = {Clarendon Press},
21
location = {Oxford}}
22
7
Aristotle, Politica, ed. W. D. Ross (Oxford: Clarendon Press, 1964) (originally pub.
1957), 1252a25–b27.
8
Aristotle, Politica, 1253a5.
9
Aristotle, Politica, 1253a30–39.
10
L. D. Reynolds and N. G. Wilson, Scribes and Scholars: A Guide to the Transmission of Greek and Latin Literature (3rd edn., Oxford: Clarendon Press, 1994), 44–78.
2
23
@BookInBook{Plato:Theaetetus,
24
title = {Theaetetus},
25
date = 1967,
26
author = {Plato},
27
booktitle = {Platonis opera},
28
editor = {Burnet, J.},
29
origdate = 1900,
30
entrysubtype = {ancient},
31
volume = 1,
32
publisher = {Clarendon Press},
33
location = {Oxford}}
34
35
@Book{Reynolds.Wilson1994,
36
author = {Reynolds, L. D. and Wilson, N. G.},
37
indexauthor = {L. D. Reynolds and N. G. Wilson},
38
title = {Scribes and Scholars},
39
date = 1994,
40
subtitle = {A Guide to the Transmission of Greek and Latin
41
Literature},
42
edition = 3,
43
publisher = {Clarendon Press},
44
location = {Oxford}
45
}
46