summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty')
-rw-r--r--Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty
index 4ac65b17da9..2dc5fd60f5f 100644
--- a/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty
+++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% interfaces : 2010/10/20 v1.0 - interfaces : interfaces with keys for other packages (FC)
+%% interfaces : 2010/10/20 v1.1 - interfaces : interfaces with keys for other packages (FC)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -45,7 +45,7 @@
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%%
\ProvidesPackage{interfaces-titlesec}
- [2010/10/20 v1.0 pgfkeys macros for titlesec (FC)]
+ [2010/10/27 v1.2 pgfkeys macros for titlesec (FC)]
\RequirePackage{interfaces-base}
\RequirePackage{auxhook}% for fix for \ttlp@append (odd/even pages, not implemented in interfaces)
\itf@Check@Package{titlesec}
@@ -81,7 +81,7 @@
{\pgfqkeys{/itf/titlesec/#1#2}
{/itf/titlesec/@setup={#1}{#2},#4,/itf/titlesec/@update={#1}{#2}}}
{\pgfqkeys{/itf/titlesec/#1#2}
- {/itf/titlesec/@setup={#1}{#2},shape={#3},#4,/itf/titlesec/@update={#1}{#2}}}%
+ {/itf/titlesec/@setup={#1}{#2},#4,shape={#3},/itf/titlesec/@update={#1}{#2}}}%
}% \itf@ttl@sectionformat
%% private keys @setup and @update
\pgfqkeys{/itf/titlesec}{%
@@ -196,7 +196,7 @@
\def\itf@ttl@createsection#1{% sectionning command undefined: temporarily defined
\expandafter\titleclass\csname#1\endcsname{straight}[*]% in straight class
\itf@AfterPackage{hypbmsec}{%
- \AtBeginDocument{%
+ \AfterPreamble{%
\csletcs{hbs@#1}{#1}%
\csxdef{#1}{\noexpand\hbs@do\expandafter\noexpand\csname hbs@#1\endcsname}%
}%
@@ -205,9 +205,9 @@
\itf@cft@newsection{#1}{toc}%
}%
\itf@AfterPackage{interfaces-hypbmsec}{%
- \cslet{last#1title}\@empty
- \cslet{last#1bookmark}\@empty
- \cslet{last#1toc}\@empty
+ \expandafter\let\csname last#1title\endcsname\relax
+ \expandafter\let\csname last#1bookmark\endcsname\relax
+ \expandafter\let\csname last#1toc\endcsname\relax
}%
}% \itf@ttl@createsection
%%-----------------------------------------------------------------------------
@@ -234,7 +234,9 @@
}%
\pgfqkeys{/itf/titlesec/#1#2}{%
shape/.value required,%
- shape@cs/.initial=\csname ttlh@\pgfkeysvalueof{/itf/titlesec/#1#2/shape}\endcsname,% constant
+ shape@cs/.initial=
+ \ifdefined\itf@last@from@next\itf@last@from@next{#1}\fi % interfaces-hypbmsec
+ \csname ttlh@\pgfkeysvalueof{/itf/titlesec/#1#2/shape}\endcsname,% constant
shape@cs/.is private=interface-titlesec,% constant
font/.store as code,%
format/.alias*=font,%