diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-10-07 20:37:29 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-10-07 20:37:29 +0200 |
commit | fea986eee7a737ed91cc45d1fe664dcb0b00207b (patch) | |
tree | 7647361583e116b72c4b4db1bab99af8e7f8acb0 | |
parent | 8f50d644a374e60cc5eec78f1b35051e5d51e51f (diff) | |
download | icite-fea986eee7a737ed91cc45d1fe664dcb0b00207b.tar.gz |
-rw-r--r-- | icite.dtx | 10 | ||||
-rw-r--r-- | samples/icite-minimal.tex | 2 |
2 files changed, 7 insertions, 5 deletions
@@ -25,7 +25,7 @@ | |||
25 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] | 25 | %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
26 | %<package>\ProvidesPackage{icite} | 26 | %<package>\ProvidesPackage{icite} |
27 | %<*package> | 27 | %<*package> |
28 | [2024/06/17 v1.4-dev Make Indices locorum citatorum] | 28 | [2024/10/07 v1.4-dev Make Indices locorum citatorum] |
29 | %</package> | 29 | %</package> |
30 | %<*driver> | 30 | %<*driver> |
31 | \documentclass{ltxdoc} | 31 | \documentclass{ltxdoc} |
@@ -298,7 +298,7 @@ | |||
298 | \usepackage{hologo,metalogox} | 298 | \usepackage{hologo,metalogox} |
299 | \usepackage{relsize} | 299 | \usepackage{relsize} |
300 | \usepackage{units} | 300 | \usepackage{units} |
301 | \usepackage{minted} | 301 | \usepackage{minted2} |
302 | \usepackage[contents]{colordoc} | 302 | \usepackage[contents]{colordoc} |
303 | \newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}} | 303 | \newcommand{\pkg}[1]{\textsf{#1}\index{#1=#1 (package)}} |
304 | \usepackage{tikz} | 304 | \usepackage{tikz} |
@@ -685,7 +685,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |||
685 | % option.\footnote{See above, \vref{ref:citecmd}.} | 685 | % option.\footnote{See above, \vref{ref:citecmd}.} |
686 | % | 686 | % |
687 | % \paragraph{List of References} \newfeature[v1.4] | 687 | % \paragraph{List of References} \newfeature[v1.4] |
688 | % \changes{v1.4}{2024/06/17}{\textsf{icite} now indexes separately | 688 | % \changes{v1.4}{2024/10/07}{\textsf{icite} now indexes separately |
689 | % lists of references} The references inserted in the \meta{post} | 689 | % lists of references} The references inserted in the \meta{post} |
690 | % argument of \cs{icite} may consist of single numbers\---as in |25|, | 690 | % argument of \cs{icite} may consist of single numbers\---as in |25|, |
691 | % |vii| or |XIV|\---ranges of numbers\---as in |34--38| or | 691 | % |vii| or |XIV|\---ranges of numbers\---as in |34--38| or |
@@ -1127,6 +1127,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |||
1127 | % \begin{macrocode} | 1127 | % \begin{macrocode} |
1128 | \def\get@bibentry#1#2{\@ifundefined{reuse@#1@#2}{} | 1128 | \def\get@bibentry#1#2{\@ifundefined{reuse@#1@#2}{} |
1129 | {\expandonce{\@nameuse{reuse@#1@#2}}}} | 1129 | {\expandonce{\@nameuse{reuse@#1@#2}}}} |
1130 | \def\get@expanded@bibentry#1#2{\@ifundefined{reuse@#1@#2}{} | ||
1131 | {\@nameuse{reuse@#1@#2}}} | ||
1130 | % \end{macrocode} | 1132 | % \end{macrocode} |
1131 | % Create a new database which \pkg{icite} will use to connect | 1133 | % Create a new database which \pkg{icite} will use to connect |
1132 | % Bib\LaTeX\ \enquote*{subtypes} to indices. | 1134 | % Bib\LaTeX\ \enquote*{subtypes} to indices. |
@@ -1230,7 +1232,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |||
1230 | \edef\ic@null{ic@nullcmd}% | 1232 | \edef\ic@null{ic@nullcmd}% |
1231 | \ifno@bibengine\let\ic@argiv\ic@null\else\fi% | 1233 | \ifno@bibengine\let\ic@argiv\ic@null\else\fi% |
1232 | \edef\@shorthand{\get@bibentry{#3}{shorthand}}% | 1234 | \edef\@shorthand{\get@bibentry{#3}{shorthand}}% |
1233 | \edef\@subtype{\get@bibentry{#3}{entrysubtype}}% | 1235 | \edef\@subtype{\get@expanded@bibentry{#3}{entrysubtype}}% |
1234 | \edef\@author{\get@bibentry{#3}{author}}% | 1236 | \edef\@author{\get@bibentry{#3}{author}}% |
1235 | \edef\@indexauthor{\get@bibentry{#3}{indexauthor}}% | 1237 | \edef\@indexauthor{\get@bibentry{#3}{indexauthor}}% |
1236 | \edef\@sortname{\get@bibentry{#3}{sortname}}% | 1238 | \edef\@sortname{\get@bibentry{#3}{sortname}}% |
diff --git a/samples/icite-minimal.tex b/samples/icite-minimal.tex index 32bb4a2..2ceafd2 100644 --- a/samples/icite-minimal.tex +++ b/samples/icite-minimal.tex | |||
@@ -4,7 +4,7 @@ | |||
4 | \usepackage[small]{titlesec} | 4 | \usepackage[small]{titlesec} |
5 | 5 | ||
6 | \usepackage{latexcolors} | 6 | \usepackage{latexcolors} |
7 | \usepackage[outputdir=TMP/]{minted} | 7 | \usepackage[outputdir=TMP/]{minted2} |
8 | \setminted{bgcolor=lavendermist} | 8 | \setminted{bgcolor=lavendermist} |
9 | 9 | ||
10 | \usepackage{ccicons} | 10 | \usepackage{ccicons} |