summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-16 21:46:44 +0000
committerKarl Berry <karl@freefriends.org>2019-03-16 21:46:44 +0000
commitc1dca19fae789b12bc5c86cfe9cea55c0e7b3a8f (patch)
treee996608b89dd069ad4709bfc56a3a1a51cb96f08
parent3286b394ea5b172fa004ffedbdec32df377a09d7 (diff)
tocdata (16mar19)
git-svn-id: svn://tug.org/texlive/trunk@50416 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/tocdata/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/tocdata/tocdata.pdfbin920673 -> 920915 bytes
-rw-r--r--Master/texmf-dist/source/latex/tocdata/tocdata.dtx20
-rw-r--r--Master/texmf-dist/tex/latex/tocdata/tocdata.sty12
4 files changed, 30 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tocdata/README.txt b/Master/texmf-dist/doc/latex/tocdata/README.txt
index 0083b1a5ea4..fbf53b5f320 100644
--- a/Master/texmf-dist/doc/latex/tocdata/README.txt
+++ b/Master/texmf-dist/doc/latex/tocdata/README.txt
@@ -1,7 +1,7 @@
The tocdata package.
Adds names to table of contents / list of figures entries.
-v2.00 — 2019/03/15
+v2.01 — 2019/03/15
Copyright 2016–2019 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 53232f90f8f..35233d5040f 100644
--- a/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf
+++ b/Master/texmf-dist/doc/latex/tocdata/tocdata.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/tocdata/tocdata.dtx b/Master/texmf-dist/source/latex/tocdata/tocdata.dtx
index 25f73bfb69a..3857ee5f3d0 100644
--- a/Master/texmf-dist/source/latex/tocdata/tocdata.dtx
+++ b/Master/texmf-dist/source/latex/tocdata/tocdata.dtx
@@ -15,7 +15,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{tocdata}
-%<package> [2019/03/15 v2.00 Adds author/artist to TOC entries.]
+%<package> [2019/03/15 v2.01 Adds author/artist to TOC entries.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -186,7 +186,7 @@ Keywords={LaTeX, tocdata, contents}%
%</driver>
% \fi
%
-% \CheckSum{363}
+% \CheckSum{374}
%
% \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
@@ -214,6 +214,7 @@ Keywords={LaTeX, tocdata, contents}%
% \changes{v2.00}{2019/03/15}{Added caption authors.}
% \changes{v2.00}{2019/03/15}{Added support for new float types.}
% \changes{v2.00}{2019/03/15}{\ 2019/03/15}
+% \changes{v2.01}{2019/03/15}{\ 2019/03/15}
@@ -799,6 +800,21 @@ Keywords={LaTeX, tocdata, contents}%
% \end{macrocode}
% \end{macro}
+% \begin{macro}{\l@section} Patched for \pkg{tocdata}.
+% \changes{v2.01}{2019/03/15}{Fix for \LaTeX\ core section \TOC\ entry.}
+% \begin{macrocode}
+\xpatchcmd{\l@section}
+ {\hfil\nobreak}
+ {\hfil\TD@usetocdata\nobreak}
+ {}%
+ {%
+ \PackageWarningNoLine{tocdata}{%
+ Could not patch LaTeX core \protect\l@section.\MessageBreak
+ Authors will not appear in TOC sections}
+ }%
+% \end{macrocode}
+% \end{macro}
+
% \subsection{\pkg{titletoc} support}
%
diff --git a/Master/texmf-dist/tex/latex/tocdata/tocdata.sty b/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
index 6bc4e76600a..6c74de24c37 100644
--- a/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
+++ b/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{tocdata}
- [2019/03/15 v2.00 Adds author/artist to TOC entries.]
+ [2019/03/15 v2.01 Adds author/artist to TOC entries.]
\RequirePackage{xparse}
@@ -106,6 +106,16 @@
}%
}
+\xpatchcmd{\l@section}
+ {\hfil\nobreak}
+ {\hfil\TD@usetocdata\nobreak}
+ {}%
+ {%
+ \PackageWarningNoLine{tocdata}{%
+ Could not patch LaTeX core \protect\l@section.\MessageBreak
+ Authors will not appear in TOC sections}
+ }%
+
\AtBeginDocument{
\@ifpackageloaded{titletoc}{