diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-16 21:46:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-16 21:46:44 +0000 |
commit | c1dca19fae789b12bc5c86cfe9cea55c0e7b3a8f (patch) | |
tree | e996608b89dd069ad4709bfc56a3a1a51cb96f08 /Master/texmf-dist/source | |
parent | 3286b394ea5b172fa004ffedbdec32df377a09d7 (diff) |
tocdata (16mar19)
git-svn-id: svn://tug.org/texlive/trunk@50416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/tocdata/tocdata.dtx | 20 |
1 files changed, 18 insertions, 2 deletions
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} % |