summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tocdata
diff options
context:
space:
mode:
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}{