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.sty122
1 files changed, 61 insertions, 61 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-titlesec.sty
index dcdd33ea818..d9635f400d1 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/11/16 v2.2 - interfaces : interfaces with keys for other packages (FC)
+%% interfaces : 2010/11/21 v2.3 - 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
@@ -38,8 +38,7 @@
%% interfaces-umrand.sty,
%% interfaces-scrlfile.sty,
%% interfaces-pgfkeys.sty,
-%% interfaces-etoolbox.sty,
-%% interfaces-fancyvrb.sty
+%% interfaces-etoolbox.sty
%%
%% interfaces: interfaces with keys for other packages (FC)
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
@@ -47,7 +46,7 @@
\ProvidesPackage{interfaces-titlesec}
[2010/11/15 v2.1 pgfkeys macros for titlesec (FC)]
\RequirePackage{interfaces-base}
-\RequirePackage{auxhook}% for fix for \ttlp@append (odd/even pages, not implemented in interfaces)
+\RequirePackage{auxhook}% <fix for \ttlp@append (odd/even pages)>
\itf@Check@Package{titlesec}
\itf@pgfkeys
%% t i t l e s e c "p a t c h e s"
@@ -76,12 +75,11 @@
{\expandafter\expandafter\expandafter%
\itf@sectionf@rmat\expandafter\@gobble\string#1\@nil{#2}}{}%
}% \sectionformat
-\def\itf@sectionf@rmat#1\@nil#2[#3]#4{\itf@pgfkeys
- \ifblank{#3}
- {\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},#4,shape={#3},/itf/titlesec/@update={#1}{#2}}}%
+\def\itf@sectionf@rmat#1\@nil#2[#3]#4{\itf@pgfkeys\ifblank{#3}
+ {\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},#4,shape={#3},/itf/titlesec/@update={#1}{#2}}}%
}% \itf@ttl@sectionformat
%% private keys @setup and @update
\pgfqkeys{/itf/titlesec}{%
@@ -172,7 +170,7 @@
\expandafter\titleclass\csname#2\endcsname{#3}[{#4}]% #4 = sup-level
\if\relax#1\relax % not starred
\expandafter\expandafter\expandafter%
- \itf@ttl@titleclass@ii\expandafter\@gobble\string#4\relax{#2}% subsection\relax{article} => \@addtoreset{article}{subsection}
+ \itf@ttl@titleclass@ii\expandafter\@gobble\string#4\relax{#2}% \@addtoreset...
\fi
}%
\expandafter\providecommand\csname l@#2\endcsname[2]{}% no entry in toc
@@ -217,7 +215,7 @@
{\itf@ttl@createsection{#1}}
{}%
\ifblank{#2}{%
- \pgfqkeys{/itf/titlesec/#1}{% these keys do not exist for starred/numberless sections
+ \pgfqkeys{/itf/titlesec/#1}{% these keys do not exist for starred sections
class/.code=\itf@ttl@titleclass{#1}##1[]\@nil,% with \@addtoreset
class/.value required,% if sup-level is given
class*/.code=\itf@ttl@titleclass*{#1}##1[]\@nil,% without \@addtoreset
@@ -226,9 +224,9 @@
the#1/.store in cs=the#1,%
the#1/.default=\pgfkeysvalueof{/itf/titlesec/#1/label},%
}}
- {% starred (numberless) unless titlesec, we do not put the default shape to hang,
- \pgfkeysifdefined{/itf/titlesec/#1/shape}% but to the shape of the not starred
- {\pgfkeysgetvalue{/itf/titlesec/#1/shape}\itf@tp}% sectionning command
+ {% starred section: unless titlesec, we do not put the default shape to hang,
+ \pgfkeysifdefined{/itf/titlesec/#1/shape}%but to the shape of the not starred
+ {\pgfkeysgetvalue{/itf/titlesec/#1/shape}\itf@tp}% sectionning command
{\def\itf@tp{hang}}%
\pgfkeyslet{/itf/titlesec/#1#2/shape}\itf@tp%
}%
@@ -270,52 +268,54 @@
\itf@AfterPackage{interfaces-bookmark}{% requires interfaces-bookmark
\pgfqkeys{/itf/titlesec/#1}{% does not exist for starred sections
bookmark/.is multiple choice,%
- bookmark/level/.estore in cs=toclevel@#1,% depth of the bookmark
- bookmark/level/.default=\ifcsvoid{ttll@#1}{99}{\csuse{ttll@#1}},%
- bookmark/level/.blank=\ifcsvoid{toclevel@#1}{\ifcsvoid{ttll@#1}{99}{\csuse{ttll@#1}}}{\csuse{toclevel@#1}},%
- bookmark/toclevel/.alias=bookmark/level,%
- bookmark/bold/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/bold}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/bold}{bold=##1,}},%
- bookmark/bold/.default=true,%
- bookmark/bold*/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/bold*}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/bold*}{bold*=##1,}},%
- bookmark/bold*/.default=true,%
- bookmark/italic/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/italic}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/italic}{italic=##1,}},%
- bookmark/italic/.default=true,%
- bookmark/italic*/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/italic*}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/italic}{italic*=##1,}},%
- bookmark/italic*/.default=true,%
- bookmark/color/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/color}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/color}{color=##1,}},%
- bookmark/color/.default=,%
- bookmark/color*/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/color*}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/color*}{color*=##1,}},%
- bookmark/color*/.default=,%
- bookmark/on/.code=\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/on}{disable=false,},%
- bookmark/on/.value forbidden,%
- bookmark/off/.code=\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/on}{disable=true,},%
- bookmark/off/.value forbidden,%
- bookmark/none/.alias=bookmark/off,%
- bookmark/style/.code=\ifblank{##1}
- {\pgfkeyslet{/itf/titlesec/#1/bookmark/style}\@empty}
- {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/style}{style=##1,}},%
- bookmark/style/.default=,%
- bookmark/.unknown/.code=\pgfkeysEsetvalue{/itf/titlesec/#1/bookmark/other}{\pgfkeyscurrentname={##1}},%
- bookmark/bold/.initial=,%
- bookmark/bold*/.initial=,%
- bookmark/italic/.initial=,%
- bookmark/italic*/.initial=,%
- bookmark/color/.initial=,%
- bookmark/color*/.initial=,%
- bookmark/on/.initial=,%
- bookmark/style/.initial=,%
+ bookmark/level/.estore in cs=toclevel@#1,% depth of the bookmark
+ bookmark/level/.default=\ifcsvoid{ttll@#1}{99}{\csuse{ttll@#1}},%
+ bookmark/level/.blank=\ifcsvoid{toclevel@#1}
+ {\ifcsvoid{ttll@#1}{99}{\csuse{ttll@#1}}}{\csuse{toclevel@#1}},%
+ bookmark/toclevel/.alias=bookmark/level,%
+ bookmark/bold/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/bold}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/bold}{bold=##1,}},%
+ bookmark/bold/.default=true,%
+ bookmark/bold*/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/bold*}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/bold*}{bold*=##1,}},%
+ bookmark/bold*/.default=true,%
+ bookmark/italic/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/italic}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/italic}{italic=##1,}},%
+ bookmark/italic/.default=true,%
+ bookmark/italic*/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/italic*}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/italic}{italic*=##1,}},%
+ bookmark/italic*/.default=true,%
+ bookmark/color/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/color}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/color}{color=##1,}},%
+ bookmark/color/.default=,%
+ bookmark/color*/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/color*}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/color*}{color*=##1,}},%
+ bookmark/color*/.default=,%
+ bookmark/on/.code=\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/on}{disable=false,},%
+ bookmark/on/.value forbidden,%
+ bookmark/off/.code=\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/on}{disable=true,},%
+ bookmark/off/.value forbidden,%
+ bookmark/none/.alias=bookmark/off,%
+ bookmark/style/.code=\ifblank{##1}
+ {\pgfkeyslet{/itf/titlesec/#1/bookmark/style}\@empty}
+ {\pgfkeyssetvalue{/itf/titlesec/#1/bookmark/style}{style=##1,}},%
+ bookmark/style/.default=,%
+ bookmark/.unknown/.code=\pgfkeysEsetvalue{/itf/titlesec/#1/bookmark/other}
+ {\pgfkeyscurrentname={##1}},%
+ bookmark/bold/.initial=,%
+ bookmark/bold*/.initial=,%
+ bookmark/italic/.initial=,%
+ bookmark/italic*/.initial=,%
+ bookmark/color/.initial=,%
+ bookmark/color*/.initial=,%
+ bookmark/on/.initial=,%
+ bookmark/style/.initial=,%
}}% \AfterPackage*{interfaces-bookmark}
}% not starred (numberless) \section
{}% starred/numberless \section*: do not create the keys