summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tocdata
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-01-04 03:02:24 +0000
committerNorbert Preining <norbert@preining.info>2023-01-04 03:02:24 +0000
commitb2ede2da5ece936a9be421f2b6fbdb6c65cb225a (patch)
tree52e56df44d458efa71d7de971f576d61dbdb2123 /macros/latex/contrib/tocdata
parent660cf44d2a0aee74bd6e69615fedfc57c966a260 (diff)
CTAN sync 202301040302
Diffstat (limited to 'macros/latex/contrib/tocdata')
-rw-r--r--macros/latex/contrib/tocdata/README.txt4
-rw-r--r--macros/latex/contrib/tocdata/tocdata.dtx72
-rw-r--r--macros/latex/contrib/tocdata/tocdata.pdfbin922715 -> 958628 bytes
3 files changed, 43 insertions, 33 deletions
diff --git a/macros/latex/contrib/tocdata/README.txt b/macros/latex/contrib/tocdata/README.txt
index 9207bb067b..d06abf087d 100644
--- a/macros/latex/contrib/tocdata/README.txt
+++ b/macros/latex/contrib/tocdata/README.txt
@@ -1,8 +1,8 @@
The tocdata package.
Adds names to table of contents / list of figures entries.
-v2.02 — 2019/03/21
-Copyright 2016–2019 Brian Dunn — www.BDTechConcepts.com
+v2.05 — 2023/01/03
+Copyright 2016–2023 Brian Dunn — www.BDTechConcepts.com
LaTeX Project Public License, version 1.3
diff --git a/macros/latex/contrib/tocdata/tocdata.dtx b/macros/latex/contrib/tocdata/tocdata.dtx
index ebdbf21c51..ed7ef2b84f 100644
--- a/macros/latex/contrib/tocdata/tocdata.dtx
+++ b/macros/latex/contrib/tocdata/tocdata.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 2016--2020 Brian Dunn
+% Copyright 2016--2023 Brian Dunn
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -15,7 +15,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{tocdata}
-%<package> [2020/07/15 v2.04 Adds author/artist to TOC entries.]
+%<package> [2023/01/03 v2.05 Adds author/artist to TOC entries.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -85,7 +85,7 @@ of the \acro{TOC}\Slash\acro{LOF}.
\definecolor{codecolor}{rgb}{0,.4,.2}
\definecolor{overviewcolor}{rgb}{0,.2,.4}
-\usepackage{dtxdescribe}[2019/07/16]
+\usepackage{dtxdescribe}[2023/01/03]
\usepackage{graphicx}
\graphicspath{{images/}}
@@ -142,23 +142,46 @@ of the \acro{TOC}\Slash\acro{LOF}.
\pagestyle{pageheadfoot}
+\usepackage{needspace}
-\usepackage[pdftex,bookmarks=true,hidelinks,%
-colorlinks,linkcolor=mylinkcolor,urlcolor=myurlcolor,%
-pageanchor=true,hyperindex=false,
-]{hyperref}
+\AtBeginDocument{
\hypersetup{%
pdfinfo={%
Title={LaTeX \mypackagename{} package},%
Author={Brian Dunn},%
Subject={LaTeX tocdata package},%
-Keywords={LaTeX, tocdata, contents}%
+Keywords={LaTeX, tocdata, contents},%
+colorlinks,%
+linkcolor=mylinkcolor,%
+urlcolor=myurlcolor,%
+pageanchor=true,
}}
+\pdfstringdefDisableCommands{
+\def\quad{ }
+\def\\{ }
+\def\pkg#1{#1}
+\def\cs#1{\textbackslash#1}
+\def\env#1{#1}
+\def\,{ }
+\def\prog#1{#1}
+\def\LuaLaTeX{LuaLaTeX}
+\def\XeLaTeX{XeLaTeX}
+\def\TeX{TeX}
+\def\LaTeX{LaTeX}
+\def\Dash{ --- }
+\def\dash{ -- }
+\def\element#1{#1}
+\def\attribute#1{#1}
+}
+
+}% AtBeginDocument
-\usepackage{cleveref}
+\AddToHook{begindocument/before}{% Before .aux file is loaded.
+ \usepackage{cleveref}% If needed.
+}
% from dtxdescribe:
@@ -186,23 +209,6 @@ Keywords={LaTeX, tocdata, contents}%
%</driver>
% \fi
%
-% \CheckSum{521}
-%
-% \CharacterTable
-% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-% Digits \0\1\2\3\4\5\6\7\8\9
-% Exclamation \! Double quote \" Hash (number) \#
-% Dollar \$ Percent \% Ampersand \&
-% Acute accent \' Left paren \( Right paren \)
-% Asterisk \* Plus \+ Comma \,
-% Minus \- Point \. Solidus \/
-% Colon \: Semicolon \; Less than \<
-% Equals \= Greater than \> Question mark \?
-% Commercial at \@ Left bracket \[ Backslash \\
-% Right bracket \] Circumflex \^ Underscore \_
-% Grave accent \` Left brace \{ Vertical bar \|
-% Right brace \} Tilde \~}
% \changes{v0.10}{2016/05/05}{\ 2016/05/05 Initial ver.}
% \changes{v0.11}{2016/07/11}{\ 2016/07/11}
@@ -218,6 +224,8 @@ Keywords={LaTeX, tocdata, contents}%
% \changes{v2.02}{2019/03/21}{\ 2019/03/21}
% \changes{v2.03}{2019/07/06}{\ 2019/07/06}
% \changes{v2.04}{2020/07/15}{\ 2020/07/15}
+% \changes{v2.05}{2023/01/03}{Docs updated for \pkg{dtxdescribe}.}
+% \changes{v2.05}{2023/01/03}{\ 2023/01/03}
@@ -241,7 +249,7 @@ Keywords={LaTeX, tocdata, contents}%
%
% \bigskip
%
-% {\small\textcopyright{} 2016--2020} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2023} Brian Dunn\\ \small \texttt{bd@BDTechConcepts.com}
%
% \vspace{.5in}
%
@@ -274,7 +282,10 @@ Keywords={LaTeX, tocdata, contents}%
% ^^A \clearpage
% \listoffigures
% ^^A \listoftables
+
+% \needspace{6\baselineskip}
% \listofillustrations
+
% \listofaquotes
%
%
@@ -616,7 +627,7 @@ Keywords={LaTeX, tocdata, contents}%
%
% \clearpage
%
-% \sectionauthor{Implementation}{Brian}{Dunn}
+% \sectionauthor{Code}{Brian}{Dunn}
%
% \begin{figure}
% \centering
@@ -1639,9 +1650,8 @@ Keywords={LaTeX, tocdata, contents}%
% \marg{1: "artist" or "author"}
% *
% \oarg{3: \LOF\ entry} \marg{4: title}
-% \oarg{5: supplemental text}
-% \oarg{6: prefix} \marg{7: first} \\
-% \marg{8: last} \oarg{9: suffix}
+% \oarg{5: supplemental text} \\
+% \oarg{6: prefix} \marg{7: first} \marg{8: last} \oarg{9: suffix}
%
% Factored from \cs{captionartist} and \cs{captionauthor}, below.
%
diff --git a/macros/latex/contrib/tocdata/tocdata.pdf b/macros/latex/contrib/tocdata/tocdata.pdf
index d43b057eed..e297bebb13 100644
--- a/macros/latex/contrib/tocdata/tocdata.pdf
+++ b/macros/latex/contrib/tocdata/tocdata.pdf
Binary files differ