texlive[50416] Master/texmf-dist: tocdata (16mar19)

commits+karl at tug.org commits+karl at tug.org
Sat Mar 16 22:46:44 CET 2019


Revision: 50416
          http://tug.org/svn/texlive?view=revision&revision=50416
Author:   karl
Date:     2019-03-16 22:46:44 +0100 (Sat, 16 Mar 2019)
Log Message:
-----------
tocdata (16mar19)

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	2019-03-16 21:46:33 UTC (rev 50415)
+++ trunk/Master/texmf-dist/doc/latex/tocdata/README.txt	2019-03-16 21:46:44 UTC (rev 50416)
@@ -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
 

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	2019-03-16 21:46:33 UTC (rev 50415)
+++ trunk/Master/texmf-dist/source/latex/tocdata/tocdata.dtx	2019-03-16 21:46:44 UTC (rev 50416)
@@ -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 @@
 %</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 @@
 % \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,7 +800,22 @@
 %    \end{macrocode}
 % \end{macro}
 
+% \begin{macro}{\l at section}    Patched for \pkg{tocdata}.
+% \changes{v2.01}{2019/03/15}{Fix for \LaTeX\ core section \TOC\ entry.}
+%    \begin{macrocode}
+\xpatchcmd{\l at section}
+    {\hfil\nobreak}
+    {\hfil\TD at usetocdata\nobreak}
+    {}%
+    {%
+        \PackageWarningNoLine{tocdata}{%
+            Could not patch LaTeX core \protect\l at section.\MessageBreak
+            Authors will not appear in TOC sections}
+    }%
+%    \end{macrocode}
+% \end{macro}
 
+
 % \subsection{\pkg{titletoc} support}
 %
 % \begin{figure}

Modified: trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty	2019-03-16 21:46:33 UTC (rev 50415)
+++ trunk/Master/texmf-dist/tex/latex/tocdata/tocdata.sty	2019-03-16 21:46:44 UTC (rev 50416)
@@ -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 at section}
+    {\hfil\nobreak}
+    {\hfil\TD at usetocdata\nobreak}
+    {}%
+    {%
+        \PackageWarningNoLine{tocdata}{%
+            Could not patch LaTeX core \protect\l at section.\MessageBreak
+            Authors will not appear in TOC sections}
+    }%
+
 \AtBeginDocument{
 \@ifpackageloaded{titletoc}{
 



More information about the tex-live-commits mailing list