diff options
Diffstat (limited to 'macros/latex/contrib/titlesec/titlesec.sty')
-rw-r--r-- | macros/latex/contrib/titlesec/titlesec.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/latex/contrib/titlesec/titlesec.sty b/macros/latex/contrib/titlesec/titlesec.sty index f1f943fd21..caf149e0da 100644 --- a/macros/latex/contrib/titlesec/titlesec.sty +++ b/macros/latex/contrib/titlesec/titlesec.sty @@ -34,7 +34,7 @@ % ~~~~~~~ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{titlesec}[2019/07/16 v2.11 Sectioning titles] +\ProvidesPackage{titlesec}[2019/09/09 v2.12 Sectioning titles] % Initialization % ~~~~~~~~~~~~~~ @@ -1572,13 +1572,16 @@ \ttl@a} \def\ttl@extract#1{% + \ifx#1\@undefined + \let#1\relax % Avoid error if undefined + \fi \expandafter\in@\expandafter\@startsection\expandafter{#1}% \ifin@ \expandafter\ttl@@extract#1#1% \else \PackageWarningNoLine{titlesec}% - {Non standard sectioning command detected\MessageBreak - Using default spacing and no format} + {Non standard sectioning command \string#1\MessageBreak + detected. Using default spacing and no format}% \titlespacing*#1{\z@}{*3}{*2}% \fi} |