diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-03-05 21:16:48 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-03-05 21:16:48 +0100 |
commit | da60a4f5c772acb67e5ed681d2335651d1dbbcd6 (patch) | |
tree | 1eb89357441797d9f5cec51d41de396a1b9c1671 /icite.dtx | |
parent | 144c4c8662089094eac38d906f571e3f5aefbee6 (diff) | |
download | icite-da60a4f5c772acb67e5ed681d2335651d1dbbcd6.tar.gz |
done documenting icite
Diffstat (limited to 'icite.dtx')
-rw-r--r-- | icite.dtx | 392 |
1 files changed, 367 insertions, 25 deletions
@@ -4,17 +4,119 @@ | |||
4 | \iffalse | 4 | \iffalse |
5 | %</internal> | 5 | %</internal> |
6 | %<*readme> | 6 | %<*readme> |
7 | | | 7 | --- |
8 | -------:| ----------------------------------------------------------------- | 8 | author: |
9 | icite:| Make Indices locorum citatorum | 9 | - Robert Alessi |
10 | Author:| Robert Alessi | 10 | title: 'The icite package – README file' |
11 | E-mail:| alessi@robertalessi.net | 11 | --- |
12 | License:| Released under the GNU General Public License v3 or later | ||
13 | See:| http://www.gnu.org/licenses/ | ||
14 | 12 | ||
13 | Overview | ||
14 | ======== | ||
15 | |||
16 | `icite` is designed to produce from BibTeX or BibLaTeX bibliographical | ||
17 | databases the different indices of authors and works cited which are | ||
18 | called \emph{indices locorum citatorum}. It relies on a specific | ||
19 | `\icite` command and can operate with either BibTeX or BibLaTeX. | ||
20 | |||
21 | License and disclamer | ||
22 | ===================== | ||
23 | |||
24 | icite – Indices locorum citatorum | ||
25 | |||
26 | Copyright ⓒ 2019 Robert Alessi | ||
27 | |||
28 | Please send error reports and suggestions for improvements to Robert | ||
29 | Alessi: | ||
30 | |||
31 | - email: <alessi@robertalessi.net> | ||
32 | |||
33 | - website: <http://www.robertalessi.net/icite> | ||
34 | |||
35 | - comments, feature requests, bug reports: | ||
36 | <https://gitlab.com/ralessi/icite/issues> | ||
37 | |||
38 | This program is free software: you can redistribute it and/or modify it | ||
39 | under the terms of the GNU General Public License as published by the | ||
40 | Free Software Foundation, either version 3 of the License, or (at your | ||
41 | option) any later version. | ||
42 | |||
43 | This program is distributed in the hope that it will be useful, but | ||
44 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
45 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General | ||
46 | Public License for more details. | ||
47 | |||
48 | You should have received a copy of the GNU General Public License along | ||
49 | with this program. If not, see <http://www.gnu.org/licenses/>. | ||
50 | |||
51 | This release of icite consists of the following source files: | ||
52 | |||
53 | - `icite.dtx` | ||
54 | |||
55 | - `icite.ins` | ||
56 | |||
57 | - `Makefile` | ||
58 | |||
59 | License applicable to the documentation | ||
60 | --------------------------------------- | ||
61 | |||
62 | Copyright ⓒ 2019 Robert Alessi | ||
63 | |||
64 | The documentation file `icite.pdf` that is generated from the | ||
65 | `icite.dtx` source file is licensed under the Creative Commons | ||
66 | Attribution-ShareAlike 4.0 International License. To view a copy of this | ||
67 | license, visit <http://creativecommons.org/licenses/by-sa/4.0/> or send | ||
68 | a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. | ||
69 | |||
70 | Installation | ||
71 | ============ | ||
72 | |||
73 | 1. Run `'latex icite.ins'` to produce the `icite.sty` | ||
74 | file; | ||
75 | |||
76 | 2. To finish the installation you have to move the `icite.sty` file into | ||
77 | a directory where LaTeX can find them. See the FAQ on `texfaq.org` | ||
78 | at <https://texfaq.org/FAQ-inst-wlcf> for more on this. | ||
79 | |||
80 | |||
81 | Development, Git Repository | ||
82 | =========================== | ||
83 | |||
84 | Browse the code | ||
85 | --------------- | ||
86 | |||
87 | You can browse icite repository on the web: | ||
88 | <http://git.robertalessi.net/icite> | ||
89 | |||
90 | From this page, you can download all the releases of `icite`. For | ||
91 | instructions on how to install `icite`, please see above. | ||
92 | |||
93 | Comments, Feature requests, Bug Reports | ||
94 | --------------------------------------- | ||
95 | |||
96 | <https://gitlab.com/ralessi/icite/issues> | ||
97 | |||
98 | Download the repository | ||
99 | ----------------------- | ||
100 | |||
101 | `icite` development is facilitated by git, a distributed version | ||
102 | control system. You will need to install git (most GNU/Linux | ||
103 | distributions package it in their repositories). | ||
104 | |||
105 | Use this command to download the repository | ||
106 | |||
107 | git clone http://git.robertalessi.net/icite | ||
108 | |||
109 | A new directory named icite will have been created, containing | ||
110 | `icite`. | ||
111 | |||
112 | Git hosting | ||
113 | ----------- | ||
114 | |||
115 | Make an account on <https://gitlab.com> and navigate (while logged in) | ||
116 | to <https://gitlab.com/ralessi/icite>. Click *Fork* and you will | ||
117 | have in your account your own repository of `icite` where you will | ||
118 | be able to make whatever changes you like to. | ||
15 | 119 | ||
16 | Short description: | ||
17 | Some text about the package: probably the same as the abstract. | ||
18 | %</readme> | 120 | %</readme> |
19 | %<*internal> | 121 | %<*internal> |
20 | \fi | 122 | \fi |
@@ -48,8 +150,8 @@ You should have received a copy of the GNU General Public License | |||
48 | along with this program. If not, see | 150 | along with this program. If not, see |
49 | <http://www.gnu.org/licenses/>. | 151 | <http://www.gnu.org/licenses/>. |
50 | 152 | ||
51 | This work consists of the file icite.dtx and a Makefile. | 153 | This work consists of the file icite.dtx, icite.ins and a Makefile. |
52 | Running "make" generates the derived files README, icite.pdf and icite.sty. | 154 | Running "make" generates the derived files README.md, icite.pdf and icite.sty. |
53 | Running "make inst" installs the files in the user's TeX tree. | 155 | Running "make inst" installs the files in the user's TeX tree. |
54 | Running "make install" installs the files in the local TeX tree. | 156 | Running "make install" installs the files in the local TeX tree. |
55 | 157 | ||
@@ -69,7 +171,7 @@ Running "make install" installs the files in the local TeX tree. | |||
69 | \nopreamble\nopostamble | 171 | \nopreamble\nopostamble |
70 | \usedir{doc/latex/icite} | 172 | \usedir{doc/latex/icite} |
71 | \generate{ | 173 | \generate{ |
72 | \file{README.txt}{\from{\jobname.dtx}{readme}} | 174 | \file{README.md}{\from{\jobname.dtx}{readme}} |
73 | } | 175 | } |
74 | \ifx\fmtname\nameofplainTeX | 176 | \ifx\fmtname\nameofplainTeX |
75 | \expandafter\endbatchfile | 177 | \expandafter\endbatchfile |
@@ -91,6 +193,9 @@ Running "make install" installs the files in the local TeX tree. | |||
91 | %<*driver> | 193 | %<*driver> |
92 | \documentclass{ltxdoc} | 194 | \documentclass{ltxdoc} |
93 | \usepackage{filecontents} | 195 | \usepackage{filecontents} |
196 | \begin{filecontents*}{\jobname.xdy} | ||
197 | (markup-locclass-list :open "\tabto{3.5cm}" :sep ", ") | ||
198 | \end{filecontents*} | ||
94 | \begin{filecontents*}{\jobname.bib} | 199 | \begin{filecontents*}{\jobname.bib} |
95 | @Book{Bürgel2016, | 200 | @Book{Bürgel2016, |
96 | shorttitle = {Ärztliches Leben\ldots}, | 201 | shorttitle = {Ärztliches Leben\ldots}, |
@@ -117,6 +222,61 @@ Running "make install" installs the files in the local TeX tree. | |||
117 | pages = {367--390} | 222 | pages = {367--390} |
118 | } | 223 | } |
119 | 224 | ||
225 | @Book{IAUMuller, | ||
226 | sortname = {Ibn abi Usaybia}, | ||
227 | editor = {Müller, August}, | ||
228 | author = {\prname{ibn 'abI 'u.saybi`aT}}, | ||
229 | shorteditor = {Müller}, | ||
230 | date = {1882/1884}, | ||
231 | title = {\arb[trans]{\uc{`u}yUn al-'anbA' fI .tabaqAt | ||
232 | al-'a.tibbA'}}, | ||
233 | shorttitle = {\arb[trans]{\uc{`u}yUn al-'anbA'}}, | ||
234 | shorthand = {\prname{ibn 'abI 'u.saybi`aT}, | ||
235 | \arb[trans]{\uc{`u}yUn al-'anbA'}}, | ||
236 | entrysubtype = {classical}, | ||
237 | location = {Königsberg and Cairo}, | ||
238 | volumes = 2 | ||
239 | } | ||
240 | |||
241 | @MVBook{al-Nadim, | ||
242 | author = {\prname{ibn al-nadIm}}, | ||
243 | title = {\arb[trans]{\uc{f}ihrist}}, | ||
244 | sortname = {Nadim}, | ||
245 | date = {1871/1872}, | ||
246 | shorthand = {\arb[trans]{\uc{f}ihrist}}, | ||
247 | editor = {Flügel, Gustav}, | ||
248 | volumes = 2, | ||
249 | location = {Leipzig}, | ||
250 | entrysubtype = {classical} | ||
251 | } | ||
252 | |||
253 | @Book{al-Qifti, | ||
254 | sortname = {Qifti}, | ||
255 | entrysubtype = {classical}, | ||
256 | shorthand = {\prname{al-qif.tiyy}, \arb[trans]{\uc{t}a'rI_h}}, | ||
257 | location = {Leipzig}, | ||
258 | editor = {Lippert, Julius}, | ||
259 | date = 1903, | ||
260 | title = {\arb[trans]{\uc{t}a'rI_h al-.hukamA'}}, | ||
261 | author = {\prname{ibn al-qif.tiyy}} | ||
262 | } | ||
263 | |||
264 | @Book{RaziShukuk, | ||
265 | author = {\prname{al-rAziyy}, \prname{mu.hammad | ||
266 | ibn zakariyyA'}}, | ||
267 | title = {\arb[trans]{\uc{k}itAb al-^sukUk `al_A | ||
268 | \uc{^g}AlInUs}}, | ||
269 | indextitle = {\arb[trans]{\uc{^s}ukUk}}, | ||
270 | sortname = {Razi}, | ||
271 | date = 1993, | ||
272 | shorthand = {\prname{al-rAziyy}, \arb[trans]{\uc{^s}ukUk}}, | ||
273 | editor = {Mehdi Mohaghegh}, | ||
274 | publisher = {International Institute of Islamic Thought and | ||
275 | Civilization}, | ||
276 | location = {Tehran}, | ||
277 | entrysubtype = {classical} | ||
278 | } | ||
279 | |||
120 | @Book{Ullmann1970, | 280 | @Book{Ullmann1970, |
121 | location = {Leiden}, | 281 | location = {Leiden}, |
122 | publisher = {Brill}, | 282 | publisher = {Brill}, |
@@ -138,7 +298,7 @@ Running "make install" installs the files in the local TeX tree. | |||
138 | pages = {3--152} | 298 | pages = {3--152} |
139 | } | 299 | } |
140 | 300 | ||
141 | @software{usebib, | 301 | @Software{usebib, |
142 | title = {The Usebib package}, | 302 | title = {The Usebib package}, |
143 | subtitle = {A simple bibliography processor}, | 303 | subtitle = {A simple bibliography processor}, |
144 | author = {Gregorio, Enrico}, | 304 | author = {Gregorio, Enrico}, |
@@ -177,12 +337,21 @@ Running "make install" installs the files in the local TeX tree. | |||
177 | \CodelineIndex | 337 | \CodelineIndex |
178 | \usepackage[citecmd=autocite,defaultindex]{\jobname} | 338 | \usepackage[citecmd=autocite,defaultindex]{\jobname} |
179 | \usepackage{cleveref} | 339 | \usepackage{cleveref} |
340 | \IndexSubtypeAs{classical}{primary} | ||
180 | \bibinput{icite} | 341 | \bibinput{icite} |
181 | \usepackage[nonewpage,xindy]{imakeidx} | 342 | \usepackage[nonewpage,xindy]{imakeidx} |
182 | \indexsetup{level=\section} | 343 | \indexsetup{level=\subsubsection*} |
183 | \makeindex[columns=3] | 344 | \makeindex |
184 | \makeindex[columns=3,name=loccit, title=Index of Passages Cited | 345 | \makeindex[name=loccit, title=Index of Passages Cited (modern authors)] |
185 | (modern authors)\label{ind:loccit}] | 346 | \makeindex[name=primary, title=\emph{Index locorum citatorum}] |
347 | \usepackage{idxlayout} | ||
348 | \idxlayout{hangindent=3.5cm, subindent=1em, font=footnotesize, | ||
349 | totoc=true} | ||
350 | \usepackage{tabto} | ||
351 | \usepackage{classics} | ||
352 | \newclassic{iau}{\classicsRoman{#1}|, #1|.#1} | ||
353 | \newclassic{razi}{#1|.#1} | ||
354 | \newclassic{nadim}{\classicsRoman{#1}|.#1|, #1} | ||
186 | \usepackage[scale=1.5]{ccicons} | 355 | \usepackage[scale=1.5]{ccicons} |
187 | \usepackage{dox} | 356 | \usepackage{dox} |
188 | \doxitem{Option}{option}{options} | 357 | \doxitem{Option}{option}{options} |
@@ -563,23 +732,24 @@ Running "make install" installs the files in the local TeX tree. | |||
563 | \section*{\cs{icite} in action} | 732 | \section*{\cs{icite} in action} |
564 | Let us start with four citations of the same reference, to make sure | 733 | Let us start with four citations of the same reference, to make sure |
565 | that they are all indexed and sorted properly: | 734 | that they are all indexed and sorted properly: |
566 | one\icite[123]{Ullmann1970}, two,\icite[231]{Ullmann1970} | 735 | one\icite[123]{Ullmann1970}, two\icite[231]{Ullmann1970}, |
567 | three,\icite[81]{Ullmann1970} and four.\icite[18]{Ullmann1970} | 736 | three\icite[81]{Ullmann1970} and four\icite[18]{Ullmann1970}. |
568 | 737 | ||
569 | Let us continue with four other citations out of two other | 738 | Let us continue with four other citations out of two other |
570 | references: one,\icite[90]{Bürgel2016} two,\icite[370]{Dols1987} | 739 | references: one\icite[90]{Bürgel2016}, two\icite[370]{Dols1987}, |
571 | three,\icite[205]{Bürgel2016} and four.\icite[380]{Dols1987} | 740 | three\icite[205]{Bürgel2016} and four\icite[380]{Dols1987}. |
572 | 741 | ||
573 | Finally, let us have \cs{icite} use \cs{textcite} to cite | 742 | Finally, let us have \cs{icite} use \cs{textcite} to cite |
574 | \icite[123]{Endress1992}[textcite], and again, this time in a | 743 | \icite[123]{Endress1992}[textcite], and again, this time in a |
575 | footnote.\icite[86]{Endress1992} | 744 | footnote\icite[86]{Endress1992}. |
576 | \end{example} | 745 | \end{example} |
577 | % \iffalse | 746 | % \iffalse |
578 | %</example> | 747 | %</example> |
579 | % \fi | 748 | % \fi |
580 | % | 749 | % |
581 | % The resulting \emph{Index of passages cited} can be found below | 750 | % All indices and the contents of the \hologo{BibTeX} file that has |
582 | % (\vref{ind:loccit} \vpageref{ind:loccit}). As can be seen from the | 751 | % been used can be found below in the appendix (\vref{ref:indices} |
752 | % and \vref{ref:icite-bib} respectively). As can be seen from the | ||
583 | % bibliography generated in the footnotes, \package{icite} prints as | 753 | % bibliography generated in the footnotes, \package{icite} prints as |
584 | % expected the abbridged forms of the titles when they are | 754 | % expected the abbridged forms of the titles when they are |
585 | % available. Furthermore, as a default citation command set in the | 755 | % available. Furthermore, as a default citation command set in the |
@@ -590,10 +760,182 @@ Running "make install" installs the files in the local TeX tree. | |||
590 | % before 123. | 760 | % before 123. |
591 | % | 761 | % |
592 | % \section{Refined use} | 762 | % \section{Refined use} |
763 | % When references are made not only to modern authors but also to | ||
764 | % authors and works from classical antiquity or from the Middle Ages, | ||
765 | % it is commonly agreed that at least two separate indices of passages | ||
766 | % cited should be made. Another option is not to index passages cited | ||
767 | % from modern authors at all. | ||
768 | % | ||
769 | % \DescribeMacro{\IndexSubtypeAs} \package{icite} is able to | ||
770 | % differentiate between sources by drawing from the bibliographical | ||
771 | % database the exact string that may be found in the |entrysubtype| | ||
772 | % entry field. To that end, the \cs{IndexSubtypeAs} command is | ||
773 | % provided. It takes to madatory arguments, like so:--- % | ||
774 | % \iffalse | ||
775 | %<*example> | ||
776 | % \fi | ||
777 | \begin{code} | ||
778 | \IndexSubtypeAs{<subtype>}{<index_name>} | ||
779 | \end{code} | ||
780 | % \iffalse | ||
781 | %</example> | ||
782 | % \fi | ||
783 | % Where |<subtype>| is any given string used to specify an | ||
784 | % |entrysubtype| in the bibliographical database, and |<index_name>| | ||
785 | % the name of the index which the authors matching that subtype must | ||
786 | % go into. This command is to be found in the preamble only. | ||
787 | % | ||
788 | % Of course different subtypes can be associated with a single index | ||
789 | % or with different indices. That said, one should keep in mind that | ||
790 | % any entry the actual subtype of which is not associated with an | ||
791 | % index is processed as if it had no subtype at all. Examples | ||
792 | % follow:--- % | ||
793 | % \iffalse | ||
794 | %<*example> | ||
795 | % \fi | ||
796 | \begin{code} | ||
797 | % load icite, and have cited authors indexed in an index named | ||
798 | % 'secondary': | ||
799 | \usepackage[defaultindex=secondary]{icite} | ||
800 | % except for authors whose 'entrysubtype' field matches the string | ||
801 | % 'classical': have them indexed in an index named 'primary': | ||
802 | \IndexSubtypeAs{classical}{primary} | ||
803 | % authors whose 'entrysubtype' field matches the string 'medieval' | ||
804 | % should go into the same index: | ||
805 | \IndexSubtypeAs{medieval}{primary} | ||
806 | \end{code} | ||
807 | % \iffalse | ||
808 | %</example> | ||
809 | % \fi | ||
810 | % Or: | ||
811 | % \iffalse | ||
812 | %<*example> | ||
813 | % \fi | ||
814 | \begin{code} | ||
815 | % load icite, but do not index passages cited with \icite: | ||
816 | \usepackage[defaultindex=none]{icite} | ||
817 | % except for authors whose 'entrysubtype' field matches the string | ||
818 | % 'classical': have them indexed in an index named 'primary': | ||
819 | \IndexSubtypeAs{classical}{primary} | ||
820 | % authors whose 'entrysubtype' field matches the string 'medieval' | ||
821 | % should go into the same index: | ||
822 | \IndexSubtypeAs{medieval}{primary} | ||
823 | \end{code} | ||
824 | % \iffalse | ||
825 | %</example> | ||
826 | % \fi | ||
827 | % | ||
828 | % \paragraph{Example} In the following example, modern authors, namely | ||
829 | % those whose |entrysubtype| field does not match the string | ||
830 | % |classical| should go into the default |loccit| index. As for those | ||
831 | % whose |entrysubtype| matches |classical|, they should to into an | ||
832 | % index named |primary|. Furthermore, the \package{classics} package | ||
833 | % is used to format references in which a volume number is used. In | ||
834 | % this way, \package{xindy} only has numbers to handle:--- % | ||
835 | % \iffalse | ||
836 | %<*example> | ||
837 | % \fi | ||
838 | \begin{code} | ||
839 | % preamble | ||
840 | \usepackage[style=oxnotes]{biblatex} | ||
841 | \addbibresource{bibliography.bib} | ||
842 | |||
843 | \usepackage[xindy]{imakeidx} | ||
844 | \makeindex[name=loccit, title=Index of passages cited (modern | ||
845 | authors)] | ||
846 | \makeindex[name=primary, title=\emph{Index locorum citatorum}] | ||
847 | |||
848 | \usepackage{classics} | ||
849 | \newclassic{iau}{\classicsRoman{#1}|, #1|.#1} | ||
850 | \newclassic{razi}{#1|.#1} | ||
851 | \newclassic{nadim}{\classicsRoman{#1}|.#1|, #1} | ||
852 | |||
853 | \usepackage[citecmd=autocite,defaultindex]{icite} | ||
854 | \IndexSubtypeAs{classical}{primary} | ||
855 | \end{code} | ||
856 | % \iffalse | ||
857 | %</example> | ||
858 | % \fi | ||
859 | % | ||
860 | % Then \cs{icite} can be used like so:--- % | ||
861 | % \iffalse | ||
862 | %<*example> | ||
863 | % \fi | ||
864 | \begin{example} | ||
865 | \section*{\cs{icite} in action} | ||
866 | Let us start with four citations of the same reference, to make sure | ||
867 | that they are all indexed and sorted properly: | ||
868 | one\icite[123]{Ullmann1970}, two\icite[231]{Ullmann1970}, | ||
869 | three\icite[81]{Ullmann1970} and four\icite[18]{Ullmann1970}. | ||
870 | |||
871 | Let us continue with four other citations out of two other | ||
872 | references: one\icite[90]{Bürgel2016}, two\icite[370]{Dols1987}, | ||
873 | three\icite[205]{Bürgel2016} and four\icite[380]{Dols1987}. | ||
874 | |||
875 | Before concluding, let us insert a few references to medieval Arabic | ||
876 | authors: one\icite[\iau{1}[81][32]]{IAUMuller}, | ||
877 | two\icite[\razi{5}[7--10]]{RaziShukuk}, three\icite[133]{al-Qifti}, | ||
878 | four\icite[\nadim{3}[7][286]]{al-Nadim}, | ||
879 | five\icite[\iau{2}[214][20]]{IAUMuller}, | ||
880 | six\icite[\razi{1}[6--20]]{RaziShukuk}, | ||
881 | seven\icite[126.15--20]{al-Qifti} and | ||
882 | eight\icite[\nadim{3}[7][291]]{al-Nadim}. | ||
883 | |||
884 | Finally, let us have \cs{icite} use \cs{textcite} to cite | ||
885 | \icite[123]{Endress1992}[textcite], and again, this time in a | ||
886 | footnote\icite[86]{Endress1992}. | ||
887 | \end{example} | ||
888 | % \iffalse | ||
889 | %</example> | ||
890 | % \fi | ||
593 | % | 891 | % |
892 | % As already said above, all indices and the contents of the | ||
893 | % \hologo{BibTeX} file that has been used can be found below in the | ||
894 | % appendix (\vref{ref:indices} and \vref{ref:icite-bib} | ||
895 | % respectively). As one can see, \prname{ibn al-nadIm}, \prname{ibn | ||
896 | % al-qif.tiyy} and \prname{al-rAziyy} have been sorted under the | ||
897 | % letters N, Q and R respectively and references to classical works | ||
898 | % have been formatted properly. | ||
899 | % | ||
900 | % \section{Appendix} | ||
901 | % Designing the layout of indices is out of the scope of this | ||
902 | % documentation. For information, the \package{idxlayout} and | ||
903 | % \package{tabto} packages have been used in the preamble like | ||
904 | % so:--- % | ||
905 | % \iffalse | ||
906 | %<*example> | ||
907 | % \fi | ||
908 | \begin{code} | ||
909 | \usepackage{idxlayout} | ||
910 | \idxlayout{hangindent=3.5cm, subindent=1em, font=footnotesize, | ||
911 | totoc=true} | ||
912 | \usepackage{tabto} | ||
913 | \end{code} | ||
914 | % \iffalse | ||
915 | %</example> | ||
916 | % \fi | ||
917 | % In combination with the following |xindy| style file:--- | ||
918 | % \iffalse | ||
919 | %<*example> | ||
920 | % \fi | ||
921 | \begin{tcblisting}{minted language=lisp, listing only, title=icite.xdy} | ||
922 | (markup-locclass-list :open "\tabto{3.5cm}" :sep ", ") | ||
923 | \end{tcblisting} | ||
924 | % \iffalse | ||
925 | %</example> | ||
926 | % \fi | ||
594 | % | 927 | % |
928 | % \subsection{Indices} | ||
929 | % \label{ref:indices} | ||
595 | % \printindex[loccit] | 930 | % \printindex[loccit] |
931 | % \printindex[primary] | ||
596 | % | 932 | % |
933 | % \subsection{\texorpdfstring{\hologo{BibTeX} | ||
934 | % file used in this document}{BibTeX file used in this document}} | ||
935 | % \label{ref:icite-bib} | ||
936 | % \tcbinputlisting{minted options={linenos}, minted language=bibtex, | ||
937 | % listing file=icite.bib, listing only} | ||
938 | % | ||
597 | %\StopEventually{} | 939 | %\StopEventually{} |
598 | % | 940 | % |
599 | % \section{Implementation} | 941 | % \section{Implementation} |
@@ -651,7 +993,7 @@ Running "make install" installs the files in the local TeX tree. | |||
651 | % \DescribeMacro{\IndexSubtypeAs} \cs{IndexSubtypeAs} takes two | 993 | % \DescribeMacro{\IndexSubtypeAs} \cs{IndexSubtypeAs} takes two |
652 | % mandatory arguments: 1. Any given keyword used to specify an | 994 | % mandatory arguments: 1. Any given keyword used to specify an |
653 | % \enquote*{entrysubtype} in the bibliographical database and 2. The | 995 | % \enquote*{entrysubtype} in the bibliographical database and 2. The |
654 | % index in which the authors matching that subtype must go. This | 996 | % index which the authors matching that subtype must go into. This |
655 | % command is to be found in the preamble only. | 997 | % command is to be found in the preamble only. |
656 | % \begin{macrocode} | 998 | % \begin{macrocode} |
657 | \NewDocumentCommand{\IndexSubtypeAs}{m m}{% | 999 | \NewDocumentCommand{\IndexSubtypeAs}{m m}{% |