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 without using either B
IBTEX or BibL
ATEX.
The relevant part of the preamble which is used here follows:
1
\usepackage[defaultindex=none, nobibengine]{icite}
2
\IndexSubtypeAs{ancient}{icite-nobiblatex-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-nobiblatex-primary, title={Index locorum citatorum}]
Remarks
(a) defaultindex=none disables indexing by default.
(b) nobibengine instructs icite to insert the citations in the body text without using either B
IBTEX or BibL
ATEX.
(c) \IndexSubtypeAs{ancient}{icite-nobiblatex-primary} makes an ex- ception for authors whose entrysubtype field matches the string ancient and instructs icite to have them indexed in an index named
icite-nobiblatex-primary.
(d) To actually produce the index, \printindex[icite-nobiblatex-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.
6Aristotle, Politica: first citation.
7And another,
8and another.
9This passage should not be indexed.
101Plato, Laches, 179a1–4.
2Plato, Laches, 179c5–180a1.
3Plato, Laches, 181b5–c3.
4Plato, Theaetetus, 142c2–d3.
5Plato, Theaetetus, 142d4–5.
6Plato, Theaetetus, 143b5.
7Aristotle, Politica, 1252a25–b27.
8Aristotle, Politica, 1253a5.
9Aristotle, Politica, 1253a30–39.
10L. D. Reynolds and N. G. Wilson, Scribes and Scholars, 44–78.
1
Index 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
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,
2
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