summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-21 23:50:35 +0000
committerKarl Berry <karl@freefriends.org>2010-11-21 23:50:35 +0000
commit41fc46498c18de8f5db569c57cd9e918b6b6281d (patch)
treee55e68a2525586ff517282594b21f2a3b205f880 /Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty
parent8d4f9772f3f51150aebafbbb1863d8064a94f502 (diff)
interfaces (20nov10)
git-svn-id: svn://tug.org/texlive/trunk@20518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty')
-rw-r--r--Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty49
1 files changed, 26 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty
index dc1b8441563..e6824ec351f 100644
--- a/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty
+++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.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,14 +38,13 @@
%% 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>
%%
\ProvidesPackage{interfaces-tocloft}
- [2010/11/16 v2.2 pgfkeys macros for tocloft (FC)]
+ [2010/11/21 v2.3 pgfkeys macros for tocloft (FC)]
\RequirePackage{interfaces-base}
\itf@Check@Package{tocloft}
\itf@pgfkeys
@@ -152,22 +151,24 @@
\itf@AfterPackage{interfaces-bookmark}{%
\pgfqkeys{/itf/tocloft/#1}{%
bookmark/.is multiple choice,%
- bookmark/bold/.true=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,bold=true},%
- bookmark/bold/.false=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,bold=false},%
- bookmark/italic/.true=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,italic=true},%
- bookmark/italic/.false=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,italic=false},%
- bookmark/color/.code=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,color={##1}},%
- bookmark/level/.code=\pgfkeysEaddvalue{/itf/tocloft/#1/bookmark}{}{level={%
- \ifcsname toclevel@##1\endcsname
- \csname toclevel@##1\endcsname
- \else##1\fi}},%
- bookmark/text/.store as code,%
- bookmark/text/.default=\contentsname,%
- bookmark/.unknown/.code=\pgfkeysEaddvalue{/itf/tocloft/#1/bookmark}{}{\pgfkeyscurrentname={##1}},%
+ bookmark/bold/.true=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,bold=true},%
+ bookmark/bold/.false=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,bold=false},%
+ bookmark/italic/.true=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,italic=true},%
+ bookmark/italic/.false=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,italic=false},%
+ bookmark/color/.code=\pgfkeysaddvalue{/itf/tocloft/#1/bookmark}{}{,color={##1}},%
+ bookmark/level/.code=\pgfkeysEaddvalue{/itf/tocloft/#1/bookmark}{}{level={%
+ \ifcsname toclevel@##1\endcsname
+ \csname toclevel@##1\endcsname
+ \else##1\fi}},%
+ bookmark/text/.store as code,%
+ bookmark/text/.default=\contentsname,%
+ bookmark/.unknown/.code=\pgfkeysEaddvalue{/itf/tocloft/#1/bookmark}
+ {}{\pgfkeyscurrentname={##1}},%
bookmark/.initial=,%
}% \pgfkeys
}% AfterPackage interfaces-bookmark
- %% while making a format \jobname is expanded to the name of the format... Therefore, the following commands must be expanded \AtEndPreamble
+ %% while making a format \jobname is expanded to the name of the format...
+ %% Therefore, the following commands must be expanded \AtEndPreamble
\AtEndPreamble{%
\BeforeFile{\jobname.#1}{%
\pgfkeysvalueof{/itf/tocloft/#1/before}%
@@ -233,11 +234,13 @@
lof/pagenumbers/.style={figure/pagenumbers={#1},subfigure/pagenumbers={#1}},%
lof/pagenumber/.alias=lof/pagenumbers,%
lof/depth/.store in counter cs=c@lofdepth,%
- lof/depth/.append code=\global\c@lofdepth\c@lofdepth\addtocontents{lof}{\c@lofdepth\the\c@lofdepth\relax},%
+ lof/depth/.append code=\global\c@lofdepth\c@lofdepth
+ \addtocontents{lof}{\c@lofdepth\the\c@lofdepth\relax},%
lot/pagenumbers/.style={figure/pagenumbers={#1},subfigure/pagenumbers={#1}},%
lot/pagenumber/.alias=lot/pagenumbers,%
lot/depth/.store in counter cs=c@lotdepth,%
- lot/depth/.append code=\global\c@lotdepth\c@lotdepth\addtocontents{lot}{\c@lotdepth\the\c@lotdepth\relax},%
+ lot/depth/.append code=\global\c@lotdepth\c@lotdepth
+ \addtocontents{lot}{\c@lotdepth\the\c@lotdepth\relax},%
}%
\else
\pgfqkeys{/itf/tocloft}{%
@@ -267,11 +270,11 @@
}% \itf@cft@section@name
%% tocloft setup for tables sections :
\pgfkeys{%
- /handlers/.cft@def/.style={\pgfkeyscurrentpath/.store in cs=\itf@cft@name #1\@nil},%
- /handlers/.cft@code/.style={\pgfkeyscurrentpath/.store as code in cs=\itf@cft@name #1\@nil},%
- /handlers/.cft@length/.style={\pgfkeyscurrentpath/.store in skip cs=\itf@cft@name #1\@nil},%
+/handlers/.cft@def/.style={\pgfkeyscurrentpath/.store in cs=\itf@cft@name #1\@nil},%
+/handlers/.cft@code/.style={\pgfkeyscurrentpath/.store as code in cs=\itf@cft@name #1\@nil},%
+/handlers/.cft@length/.style={\pgfkeyscurrentpath/.store in skip cs=\itf@cft@name #1\@nil},%
}
-\def\itf@cft@newsection#1#2{% #1=part / chap / sec / subsec etc., #2 = #1 = toc | lof | lot
+\def\itf@cft@newsection#1#2{% #1=part / chap / sec / subsec etc., #2 = toc | lof | lot
\pgfqkeys{/itf/tocloft/#2/#1}{%
skip/.cft@length=before.#1.skip,%
beforeskip/.alias*=skip,%