aboutsummaryrefslogtreecommitdiff
path: root/icite.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'icite.dtx')
-rw-r--r--icite.dtx59
1 files changed, 52 insertions, 7 deletions
diff --git a/icite.dtx b/icite.dtx
index 57a8bd4..3202594 100644
--- a/icite.dtx
+++ b/icite.dtx
@@ -349,10 +349,10 @@ Running "make install" installs the files in the local TeX tree.
349\newunicodechar{Ǧ}{Ǧ} % 349\newunicodechar{Ǧ}{Ǧ} %
350\usepackage{arabluatex} 350\usepackage{arabluatex}
351\SetTranslitConvention{loc} 351\SetTranslitConvention{loc}
352\usepackage{varioref}
353\usepackage{xurl} 352\usepackage{xurl}
354\usepackage{uri} 353\usepackage{uri}
355\usepackage{hyperxmp} 354\usepackage{hyperxmp}
355\usepackage{varioref}
356\usepackage[numbered]{hypdoc} 356\usepackage[numbered]{hypdoc}
357\hypersetup{unicode=true, colorlinks, allcolors=blue, 357\hypersetup{unicode=true, colorlinks, allcolors=blue,
358 linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The 358 linktocpage=true, pdfauthor={Robert Alessi}, pdftitle={The
@@ -367,9 +367,10 @@ Running "make install" installs the files in the local TeX tree.
367 pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/legalcode}, 367 pdflicenseurl={https://creativecommons.org/licenses/by-sa/4.0/legalcode},
368 pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={bibtex, biblatex, 368 pdfmetalang={en-US}, pdftype={Text}, pdfkeywords={bibtex, biblatex,
369 indexing}} 369 indexing}}
370\usepackage{amsmath}
371\usepackage{cleveref}
370\CodelineIndex 372\CodelineIndex
371\usepackage[citecmd=autocite,defaultindex]{\jobname} 373\usepackage[citecmd=autocite,defaultindex]{\jobname}
372\usepackage{cleveref}
373\IndexSubtypeAs{classical}{primary} 374\IndexSubtypeAs{classical}{primary}
374\bibinput{icite} 375\bibinput{icite}
375\usepackage[nonewpage,xindy]{imakeidx} 376\usepackage[nonewpage,xindy]{imakeidx}
@@ -670,6 +671,8 @@ Running "make install" installs the files in the local TeX tree.
670%</example> 671%</example>
671% \fi 672% \fi
672% 673%
674% \subsection{Preamble-only commands}
675% The following commands may be found in the preamble only.
673% \paragraph{Styling the titles} 676% \paragraph{Styling the titles}
674% \DescribeMacro{\SetTitleStyle} By default, \package{icite} prints 677% \DescribeMacro{\SetTitleStyle} By default, \package{icite} prints
675% the titles of the works cited in italics.\\ 678% the titles of the works cited in italics.\\
@@ -688,6 +691,21 @@ Running "make install" installs the files in the local TeX tree.
688% As this example shows, |#1| is the token that is replaced with the 691% As this example shows, |#1| is the token that is replaced with the
689% actual title in the formatting directives of the \cs{SetTitleStyle} 692% actual title in the formatting directives of the \cs{SetTitleStyle}
690% command. 693% command.
694%
695% \paragraph{Delimiters}
696% \NEWfeature{v1.2}\DescribeMacro{\AuthorTitleDelim}
697% \cs{AuthorTitleDelim}\marg{delimiter} sets the delimiter between
698% authors and titles in the body text when the |nobibengine| option is
699% set to |true|. The default delimiter is a comma and a space.
700%
701% \DescribeMacro{\TitlePageDelim}
702% \cs{TitlePageDelim}\marg{delimiter} sets the delimiter between
703% titles and pages in the body text when the |nobibengine| option is
704% set to |true|. The default delimiter is a comma and a space.
705%
706% \subsection[\textsf{icite} for the Impatient]%
707% {\package{icite} for the Impatient}
708% Read \href{samples/icite-minimal.pdf}{\texttt{icite-minimal.pdf}}.
691% 709%
692% \subsection{Entry fields} 710% \subsection{Entry fields}
693% \label{sec:entry-fields} 711% \label{sec:entry-fields}
@@ -1004,7 +1022,7 @@ Running "make install" installs the files in the local TeX tree.
1004% \subsection[The \textsf{classics} package]% 1022% \subsection[The \textsf{classics} package]%
1005% {The \package{classics} package} % 1023% {The \package{classics} package} %
1006% \label{sec:classics-usage} 1024% \label{sec:classics-usage}
1007% As said above on \cpageref{ref:classics-pkg}, it is advisable to use 1025% As said above \vpageref{ref:classics-pkg}, it is advisable to use
1008% the \package{classics} package to format volume, page, column, line 1026% the \package{classics} package to format volume, page, column, line
1009% numbers and the like which are inserted in the \meta{post} optional 1027% numbers and the like which are inserted in the \meta{post} optional
1010% argument of the \cs{icite} command\autocite{classics}. An example of 1028% argument of the \cs{icite} command\autocite{classics}. An example of
@@ -1219,7 +1237,32 @@ Running "make install" installs the files in the local TeX tree.
1219} 1237}
1220\@onlypreamble\SetTitleStyle 1238\@onlypreamble\SetTitleStyle
1221% \end{macrocode} 1239% \end{macrocode}
1222% 1240% \DescribeMacro{\AuthorTitleDelim}
1241% \changes{v1.2}{2019/03/16}{\cs{AuthorTitleDelim}: delimiter
1242% between authors and titles}\cs{AuthorTitleDelim}\marg{delimiter}
1243% sets the delimiter between authors and titles in the body text when
1244% the |nobibengine| option is set to |true|. The default delimiter is
1245% a comma.
1246% \begin{macrocode}
1247\def\ic@authtitdelim{, }
1248\NewDocumentCommand{\AuthorTitleDelim}{m}{%
1249 \def\ic@authtitdelim{#1}
1250}
1251\@onlypreamble\AuthorTitleDelim
1252% \end{macrocode}
1253% \DescribeMacro{\TitlePageDelim}
1254% \changes{v1.2}{2019/03/16}{\cs{TitlePageDelim}: the delimiter
1255% between titles and pages}\cs{TitlePageDelim}\marg{delimiter} sets
1256% the delimiter between titles and pages in the body text when the
1257% |nobibengine| option is set to |true|. The default delimiter is a
1258% comma.
1259% \begin{macrocode}
1260\def\ic@titpgdelim{, }
1261\NewDocumentCommand{\TitlePageDelim}{m}{%
1262 \def\ic@titpgdelim{#1}
1263}
1264\@onlypreamble\TitlePageDelim
1265% \end{macrocode}
1223% \DescribeMacro{\icite} \cs{icite} both inserts a formatted citation 1266% \DescribeMacro{\icite} \cs{icite} both inserts a formatted citation
1224% and an entry in the \emph{index locorum citatorum}. It is to be used 1267% and an entry in the \emph{index locorum citatorum}. It is to be used
1225% in place of any \hologo{BibTeX} or Bib\LaTeX\ citation command the 1268% in place of any \hologo{BibTeX} or Bib\LaTeX\ citation command the
@@ -1292,7 +1335,7 @@ Running "make install" installs the files in the local TeX tree.
1292 \fi}} 1335 \fi}}
1293 \ifno@bibengine 1336 \ifno@bibengine
1294 \ifx\@shorthand\empty% 1337 \ifx\@shorthand\empty%
1295 \@useauthor, \TitleStyle{\@usetitle}% 1338 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}%
1296 \else% 1339 \else%
1297 \@shorthand% 1340 \@shorthand%
1298 \fi% 1341 \fi%
@@ -1324,7 +1367,8 @@ Running "make install" installs the files in the local TeX tree.
1324 \fi}}% 1367 \fi}}%
1325 \ifno@bibengine 1368 \ifno@bibengine
1326 \ifx\@shorthand\empty% 1369 \ifx\@shorthand\empty%
1327 \@useauthor, \TitleStyle{\@usetitle}, {#1}% 1370 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}%
1371 \ic@titpgdelim{#1}%
1328 \else% 1372 \else%
1329 \@shorthand, {#1}% 1373 \@shorthand, {#1}%
1330 \fi% 1374 \fi%
@@ -1355,7 +1399,8 @@ Running "make install" installs the files in the local TeX tree.
1355 \fi}}% 1399 \fi}}%
1356 \ifno@bibengine 1400 \ifno@bibengine
1357 \ifx\@shorthand\empty% 1401 \ifx\@shorthand\empty%
1358 #1 \@useauthor, \TitleStyle{\@usetitle}, {#2}% 1402 #1 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}%
1403 \ic@titpgdelim{#2}%
1359 \else% 1404 \else%
1360 #1 \@shorthand, {#2}% 1405 #1 \@shorthand, {#2}%
1361 \fi 1406 \fi