texlive[65451] Master/texmf-dist: tocdata (3jan23)
commits+karl at tug.org
commits+karl at tug.org
Tue Jan 3 21:49:06 CET 2023
Revision: 65451
http://tug.org/svn/texlive?view=revision&revision=65451
Author: karl
Date: 2023-01-03 21:49:06 +0100 (Tue, 03 Jan 2023)
Log Message:
-----------
tocdata (3jan23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tocdata/README.txt
trunk/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf
trunk/Master/texmf-dist/source/latex/tocdata/tocdata.dtx
trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
Modified: trunk/Master/texmf-dist/doc/latex/tocdata/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tocdata/README.txt 2023-01-03 20:48:54 UTC (rev 65450)
+++ trunk/Master/texmf-dist/doc/latex/tocdata/README.txt 2023-01-03 20:49:06 UTC (rev 65451)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/tocdata/tocdata.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/tocdata/tocdata.dtx 2023-01-03 20:48:54 UTC (rev 65450)
+++ trunk/Master/texmf-dist/source/latex/tocdata/tocdata.dtx 2023-01-03 20:49:06 UTC (rev 65451)
@@ -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 @@
\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,25 +142,48 @@
\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}
+}
-\usepackage{cleveref}
+}% AtBeginDocument
+\AddToHook{begindocument/before}{% Before .aux file is loaded.
+ \usepackage{cleveref}% If needed.
+}
+
% from dtxdescribe:
\setlength{\marginparsep}{1em}
\setlength{\marginparpush}{.7ex}
@@ -186,23 +209,6 @@
%</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 @@
% \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 @@
%
% \bigskip
%
-% {\small\textcopyright{} 2016--2020} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2023} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
%
% \vspace{.5in}
%
@@ -274,7 +282,10 @@
% ^^A \clearpage
% \listoffigures
% ^^A \listoftables
+
+% \needspace{6\baselineskip}
% \listofillustrations
+
% \listofaquotes
%
%
@@ -616,7 +627,7 @@
%
% \clearpage
%
-% \sectionauthor{Implementation}{Brian}{Dunn}
+% \sectionauthor{Code}{Brian}{Dunn}
%
% \begin{figure}
% \centering
@@ -1639,9 +1650,8 @@
% \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.
%
Modified: trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty 2023-01-03 20:48:54 UTC (rev 65450)
+++ trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty 2023-01-03 20:49:06 UTC (rev 65451)
@@ -17,9 +17,11 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{tocdata}
- [2020/07/15 v2.04 Adds author/artist to TOC entries.]
+ [2023/01/03 v2.05 Adds author/artist to TOC entries.]
+
+
\RequirePackage{xparse}
\RequirePackage{etoolbox}
\RequirePackage{xpatch}
More information about the tex-live-commits
mailing list.