diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/icite-biblatex.tex | 33 | ||||
-rw-r--r-- | samples/icite-nobiblatex.tex | 34 |
2 files changed, 47 insertions, 20 deletions
diff --git a/samples/icite-biblatex.tex b/samples/icite-biblatex.tex index e52cb8b..678f9f4 100644 --- a/samples/icite-biblatex.tex +++ b/samples/icite-biblatex.tex | |||
@@ -1,3 +1,8 @@ | |||
1 | \RequirePackage{filecontents} | ||
2 | \begin{filecontents*}{\jobname.xdy} | ||
3 | (merge-rule "\*" "" :eregexp) | ||
4 | (markup-locclass-list :open ": " :sep ", ") | ||
5 | \end{filecontents*} | ||
1 | % Compile with --shell-escape | 6 | % Compile with --shell-escape |
2 | \documentclass{article} | 7 | \documentclass{article} |
3 | \usepackage[english]{babel} | 8 | \usepackage[english]{babel} |
@@ -20,7 +25,11 @@ | |||
20 | \IndexSubtypeAs{ancient}{pr-sources} | 25 | \IndexSubtypeAs{ancient}{pr-sources} |
21 | \bibinput{bibsample} | 26 | \bibinput{bibsample} |
22 | 27 | ||
23 | \usepackage[xindy]{imakeidx} | 28 | \usepackage{classics} |
29 | \newclassic{plat}{#1|#1|#1} | ||
30 | \newclassic{arist}{#1|\textit{#1}|#1} | ||
31 | |||
32 | \usepackage[xindy,nonewpage]{imakeidx} | ||
24 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 33 | \makeindex[name=pr-sources, title={Index locorum citatorum}] |
25 | 34 | ||
26 | \usepackage[style=oxnotes]{biblatex} | 35 | \usepackage[style=oxnotes]{biblatex} |
@@ -43,6 +52,10 @@ The relevant part of the preamble which is used here follows: | |||
43 | \IndexSubtypeAs{ancient}{pr-sources} | 52 | \IndexSubtypeAs{ancient}{pr-sources} |
44 | \bibinput{bibsample} | 53 | \bibinput{bibsample} |
45 | 54 | ||
55 | \usepackage{classics} | ||
56 | \newclassic{plat}{#1|#1|#1} | ||
57 | \newclassic{arist}{#1|\textit{#1}|#1} | ||
58 | |||
46 | \usepackage[xindy]{imakeidx} | 59 | \usepackage[xindy]{imakeidx} |
47 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 60 | \makeindex[name=pr-sources, title={Index locorum citatorum}] |
48 | 61 | ||
@@ -65,19 +78,19 @@ The relevant part of the preamble which is used here follows: | |||
65 | 78 | ||
66 | \section*{Body text} | 79 | \section*{Body text} |
67 | Plato, \emph{Laches}: first | 80 | Plato, \emph{Laches}: first |
68 | citation\icite[179a1--4]{Plato:Laches}. And | 81 | citation\icite[\plat{179}[a][1--4]]{Plato:Laches}. And |
69 | another\icite[179c5--180a1]{Plato:Laches}, and | 82 | another\icite[\plat*{179}[c][5]{180}[a][1]]{Plato:Laches}, and |
70 | another\icite[181b5--181c3]{Plato:Laches}. | 83 | another\icite[\plat*{181}[b][5]{181}[c][3]]{Plato:Laches}. |
71 | 84 | ||
72 | Plato, \emph{Theaetetus}: first | 85 | Plato, \emph{Theaetetus}: first |
73 | citation\icite[142c2--142d3]{Plato:Theaetetus}. And | 86 | citation\icite[\plat*{142}[c][2]{142}[d][3]]{Plato:Theaetetus}. And |
74 | another\icite[142d4--5]{Plato:Theaetetus}, and | 87 | another\icite[\plat{142}[d][4--5]]{Plato:Theaetetus}, and |
75 | another\icite[143b5]{Plato:Theaetetus}. | 88 | another\icite[\plat{143}[b][5]]{Plato:Theaetetus}. |
76 | 89 | ||
77 | Aristotle, \emph{Politica}: first | 90 | Aristotle, \emph{Politica}: first |
78 | citation\icite[1252a25--1252.b27]{Aristotle:Politica}. And | 91 | citation\icite[\arist*{1252}[a][25]{1252}[b][27]]{Aristotle:Politica}. And |
79 | another\icite[1253a5]{Aristotle:Politica}, and | 92 | another\icite[\arist{1253}[a][5]]{Aristotle:Politica}, and |
80 | another\icite[1253a30--39]{Aristotle:Politica}. | 93 | another\icite[\arist{1253}[a][30--39]]{Aristotle:Politica}. |
81 | 94 | ||
82 | This passage should not be indexed\icite[44--78]{Reynolds.Wilson1994}. | 95 | This passage should not be indexed\icite[44--78]{Reynolds.Wilson1994}. |
83 | 96 | ||
diff --git a/samples/icite-nobiblatex.tex b/samples/icite-nobiblatex.tex index 6893247..baf2973 100644 --- a/samples/icite-nobiblatex.tex +++ b/samples/icite-nobiblatex.tex | |||
@@ -1,3 +1,8 @@ | |||
1 | \RequirePackage{filecontents} | ||
2 | \begin{filecontents*}{\jobname.xdy} | ||
3 | (merge-rule "\*" "" :eregexp) | ||
4 | (markup-locclass-list :open ": " :sep ", ") | ||
5 | \end{filecontents*} | ||
1 | % Compile with --shell-escape | 6 | % Compile with --shell-escape |
2 | \documentclass{article} | 7 | \documentclass{article} |
3 | \usepackage[english]{babel} | 8 | \usepackage[english]{babel} |
@@ -21,7 +26,11 @@ | |||
21 | \IndexSubtypeAs{ancient}{pr-sources} | 26 | \IndexSubtypeAs{ancient}{pr-sources} |
22 | \bibinput{bibsample} | 27 | \bibinput{bibsample} |
23 | 28 | ||
24 | \usepackage[xindy]{imakeidx} | 29 | \usepackage{classics} |
30 | \newclassic{plat}{#1|#1|#1} | ||
31 | \newclassic{arist}{#1|\textit{#1}|#1} | ||
32 | |||
33 | \usepackage[xindy,nonewpage]{imakeidx} | ||
25 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 34 | \makeindex[name=pr-sources, title={Index locorum citatorum}] |
26 | 35 | ||
27 | \begin{document} | 36 | \begin{document} |
@@ -42,6 +51,10 @@ The relevant part of the preamble which is used here follows: | |||
42 | \IndexSubtypeAs{ancient}{pr-sources} | 51 | \IndexSubtypeAs{ancient}{pr-sources} |
43 | \bibinput{bibsample} | 52 | \bibinput{bibsample} |
44 | 53 | ||
54 | \usepackage{classics} | ||
55 | \newclassic{plat}{#1|#1|#1} | ||
56 | \newclassic{arist}{#1|\textit{#1}|#1} | ||
57 | |||
45 | \usepackage[xindy]{imakeidx} | 58 | \usepackage[xindy]{imakeidx} |
46 | \makeindex[name=pr-sources, title={Index locorum citatorum}] | 59 | \makeindex[name=pr-sources, title={Index locorum citatorum}] |
47 | \end{Verbatim} | 60 | \end{Verbatim} |
@@ -61,19 +74,20 @@ The relevant part of the preamble which is used here follows: | |||
61 | 74 | ||
62 | \section*{Body text} | 75 | \section*{Body text} |
63 | Plato, \emph{Laches}: first | 76 | Plato, \emph{Laches}: first |
64 | citation.\footnote{\icite[179a1--4]{Plato:Laches}.} And | 77 | citation.\footnote{\icite[\plat{179}[a][1--4]]{Plato:Laches}.} And |
65 | another,\footnote{\icite[179c5--180a1]{Plato:Laches}.} | 78 | another,\footnote{\icite[\plat*{179}[c][5]{180}[a][1]]{Plato:Laches}.} |
66 | and another.\footnote{\icite[181b5--c3]{Plato:Laches}.} | 79 | and another.\footnote{\icite[\plat*{181}[b][5]{181}[c][3]]{Plato:Laches}.} |
67 | 80 | ||
68 | Plato, \emph{Theaetetus}: first | 81 | Plato, \emph{Theaetetus}: first |
69 | citation.\footnote{\icite[142c2--d3]{Plato:Theaetetus}.} | 82 | citation.\footnote{\icite[\plat*{142}[c][2]{142}[d][3]]{Plato:Theaetetus}.} |
70 | And another,\footnote{\icite[142d4--5]{Plato:Theaetetus}.} | 83 | And another,\footnote{\icite[\plat{142}[d][4--5]]{Plato:Theaetetus}.} |
71 | and another.\footnote{\icite[143b5]{Plato:Theaetetus}.} | 84 | and another.\footnote{\icite[\plat{143}[b][5]]{Plato:Theaetetus}.} |
72 | 85 | ||
73 | Aristotle, \emph{Politica}: first citation.\footnote{% | 86 | Aristotle, \emph{Politica}: first citation.\footnote{% |
74 | \icite[1252a25--b27]{Aristotle:Politica}.} And | 87 | \icite[\arist*{1252}[a][25]{1252}[b][27]]{Aristotle:Politica}.} And |
75 | another,\footnote{\icite[1253a5]{Aristotle:Politica}.} and | 88 | another,\footnote{\icite[\arist{1253}[a][5]]{Aristotle:Politica}.} |
76 | another.\footnote{\icite[1253a30--39]{Aristotle:Politica}.} | 89 | and another.\footnote{% |
90 | \icite[\arist{1253}[a][30--39]]{Aristotle:Politica}.} | ||
77 | 91 | ||
78 | This passage should not be | 92 | This passage should not be |
79 | indexed.\footnote{\icite[44--78]{Reynolds.Wilson1994}.} | 93 | indexed.\footnote{\icite[44--78]{Reynolds.Wilson1994}.} |