summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/titlesec/titlesec.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-09 21:20:00 +0000
committerKarl Berry <karl@freefriends.org>2019-09-09 21:20:00 +0000
commiteee2451718ac90a84e576225ad73094dcddc93af (patch)
treed635e5f0e0906808b62d99d198e9064178398218 /Master/texmf-dist/tex/latex/titlesec/titlesec.sty
parent8e6b9e924a8f4e18f88dcb5a01658fc1175159df (diff)
titlesec (9sep19)
git-svn-id: svn://tug.org/texlive/trunk@52065 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/titlesec/titlesec.sty')
-rw-r--r--Master/texmf-dist/tex/latex/titlesec/titlesec.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/titlesec/titlesec.sty b/Master/texmf-dist/tex/latex/titlesec/titlesec.sty
index f1f943fd211..caf149e0dad 100644
--- a/Master/texmf-dist/tex/latex/titlesec/titlesec.sty
+++ b/Master/texmf-dist/tex/latex/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}