From 215971f360ada9c3e366466566c635e6388c28e2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 Jan 2023 20:49:06 +0000 Subject: tocdata (3jan23) git-svn-id: svn://tug.org/texlive/trunk@65451 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tocdata/README.txt | 4 +- Master/texmf-dist/doc/latex/tocdata/tocdata.pdf | Bin 922715 -> 958628 bytes Master/texmf-dist/source/latex/tocdata/tocdata.dtx | 72 ++++++++++++--------- Master/texmf-dist/tex/latex/tocdata/tocdata.sty | 4 +- 4 files changed, 46 insertions(+), 34 deletions(-) diff --git a/Master/texmf-dist/doc/latex/tocdata/README.txt b/Master/texmf-dist/doc/latex/tocdata/README.txt index 9207bb067bd..d06abf087de 100644 --- a/Master/texmf-dist/doc/latex/tocdata/README.txt +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf b/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf index d43b057eed5..e297bebb130 100644 Binary files a/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf and b/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf differ diff --git a/Master/texmf-dist/source/latex/tocdata/tocdata.dtx b/Master/texmf-dist/source/latex/tocdata/tocdata.dtx index ebdbf21c518..ed7ef2b84f0 100644 --- a/Master/texmf-dist/source/latex/tocdata/tocdata.dtx +++ b/Master/texmf-dist/source/latex/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 %\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.] % %<*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}% % % \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/Master/texmf-dist/tex/latex/tocdata/tocdata.sty b/Master/texmf-dist/tex/latex/tocdata/tocdata.sty index 4cd4b2256bd..3f5dddd4cac 100644 --- a/Master/texmf-dist/tex/latex/tocdata/tocdata.sty +++ b/Master/texmf-dist/tex/latex/tocdata/tocdata.sty @@ -17,7 +17,9 @@ %% 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} -- cgit v1.2.3