From ed74a8842dbbe9c47599815fbe999e7b78f4270c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Jul 2021 20:54:50 +0000 Subject: titlesec (5jul21) git-svn-id: svn://tug.org/texlive/trunk@59845 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/titlesec/titleps.sty | 4 ++-- Master/texmf-dist/tex/latex/titlesec/titlesec.sty | 11 ++++++++--- Master/texmf-dist/tex/latex/titlesec/titletoc.sty | 6 +++--- 3 files changed, 13 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/titlesec') diff --git a/Master/texmf-dist/tex/latex/titlesec/titleps.sty b/Master/texmf-dist/tex/latex/titlesec/titleps.sty index 73f7f872158..a5d995f265d 100644 --- a/Master/texmf-dist/tex/latex/titlesec/titleps.sty +++ b/Master/texmf-dist/tex/latex/titlesec/titleps.sty @@ -1,5 +1,5 @@ % -% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com +% Copyright (C) 1998-2021 Javier Bezos http://www.texnia.com % % This file may be distributed and/or modified under the conditions of % the MIT License. A version can be found at the end of this file. @@ -13,7 +13,7 @@ \ifx\ttl@coreps\@empty\else % START code for package \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{titleps}[2019/10/16 v2.13 Page styles] +\ProvidesPackage{titleps}[2021/07/05 v2.14 Page styles] % This package is mainly a wrapper for the pagestyle macros provided % by titlesec, so that they can be used without it. Functionality is diff --git a/Master/texmf-dist/tex/latex/titlesec/titlesec.sty b/Master/texmf-dist/tex/latex/titlesec/titlesec.sty index e99e0b09d31..f4aa050b799 100644 --- a/Master/texmf-dist/tex/latex/titlesec/titlesec.sty +++ b/Master/texmf-dist/tex/latex/titlesec/titlesec.sty @@ -1,5 +1,5 @@ % -% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com +% Copyright (C) 1998-2021 Javier Bezos http://www.texnia.com % % This file may be distributed and/or modified under the conditions of % the MIT License. A version can be found at the end of this file. @@ -34,7 +34,7 @@ % ~~~~~~~ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{titlesec}[2019/10/16 v2.13 Sectioning titles] +\ProvidesPackage{titlesec}[2021/07/05 v2.14 Sectioning titles] % Initialization % ~~~~~~~~~~~~~~ @@ -289,8 +289,13 @@ \def\ttl@b{ttlf@#1}% \def\ttl@a##1{\csname ttl@key@##1\endcsname}% Used as elt in try \ttl@trylist + \ifx\ttl@c\@empty + \PackageError{titlesec}{No format for this command}% + {If you (re)set the class of a sectioning command, you may\MessageBreak + you may need to (re)define its format with \string\titleformat}% + \fi \ifttl@explicit - \def\ttl@passexplicit{\ttl@case{#4}}% + \def\ttl@passexplicit{\ttl@case{#4}}% \ttl@c{#4}{#2}{#3}{}% ttl@c is returned by ttl@try with ttlf@... \else \let\ttl@passexplicit\ttl@case diff --git a/Master/texmf-dist/tex/latex/titlesec/titletoc.sty b/Master/texmf-dist/tex/latex/titlesec/titletoc.sty index e7a5b6e5187..99164ae1d79 100644 --- a/Master/texmf-dist/tex/latex/titlesec/titletoc.sty +++ b/Master/texmf-dist/tex/latex/titlesec/titletoc.sty @@ -1,5 +1,5 @@ % -% Copyright (C) 1998-2019 Javier Bezos http://www.texnia.com +% Copyright (C) 1998-2021 Javier Bezos http://www.texnia.com % % This file may be distributed and/or modified under the conditions of % the MIT License. A version can be found at the end of this file. @@ -7,7 +7,7 @@ % Repository: https://github.com/jbezos/titlesec % -\ProvidesPackage{titletoc}[2019/10/16 v2.13 TOC entries] +\ProvidesPackage{titletoc}[2021/07/05 v2.14 TOC entries] % The following tags are used: % ttl@ : the generic one, shared with titlesec @@ -531,7 +531,7 @@ \AtBeginDocument{% \ifx\ttl@gobblecontents\@undefined - \def\ttl@gobblecontents#1#2#3{\ignorespaces}% + \def\ttl@gobblecontents#1#2#3#4{\ignorespaces}% \fi} \def\ttl@toctop{-1000} -- cgit v1.2.3