summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tocdata
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 /Master/texmf-dist/tex/latex/tocdata
parent3286b394ea5b172fa004ffedbdec32df377a09d7 (diff)
tocdata (16mar19)
git-svn-id: svn://tug.org/texlive/trunk@50416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tocdata')
-rw-r--r--Master/texmf-dist/tex/latex/tocdata/tocdata.sty12
1 files changed, 11 insertions, 1 deletions
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}{