From 41fc46498c18de8f5db569c57cd9e918b6b6281d Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 21 Nov 2010 23:50:35 +0000
Subject: interfaces (20nov10)

git-svn-id: svn://tug.org/texlive/trunk@20518 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/interfaces/interfaces-tocloft.sty    | 49 ++++++++++++----------
 1 file changed, 26 insertions(+), 23 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty')

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,%
-- 
cgit v1.2.3

