diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-26 23:34:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-26 23:34:28 +0000 |
commit | fe6482d3468ca040e53f8e5347548495db754e98 (patch) | |
tree | 316b38cc413c275b5bd568b1d95a68bbda85f5ea /Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty | |
parent | 4ccf49d7715d013e1de70c6a44384aeb940c1589 (diff) |
interfaces 2.4 (25nov10)
git-svn-id: svn://tug.org/texlive/trunk@20577 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.sty | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty index e6824ec351f..cd69680eb70 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/21 v2.3 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2010/11/26 v2.4 - 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 @@ -44,7 +44,7 @@ %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% \ProvidesPackage{interfaces-tocloft} - [2010/11/21 v2.3 pgfkeys macros for tocloft (FC)] + [2010/11/26 v2.4 pgfkeys macros for tocloft (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{tocloft} \itf@pgfkeys @@ -274,50 +274,51 @@ /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 = toc | lof | lot - \pgfqkeys{/itf/tocloft/#2/#1}{% - skip/.cft@length=before.#1.skip,% +\def\itf@cft@newsection{\itf@cft@new@section{/itf/tocloft}} +\def\itf@cft@new@section#1#2#3{% #2=part / chap / sec / subsec etc., #3 = toc | lof | lot + \pgfqkeys{#1/#3/#2}{% + skip/.cft@length=before.#2.skip,% beforeskip/.alias*=skip,% top/.alias*=skip,% - indent/.cft@length=.#1.indent,% - font/.cft@code=.#1.font,% - font/.append code={\pgfkeysalso{/itf/tocloft/#2/#1/pagenumber/font={##1}}},% + indent/.cft@length=.#2.indent,% + font/.cft@code=.#2.font,% + font/.append code={\pgfkeysalso{/itf/tocloft/#3/#2/pagenumber/font={##1}}},% format/.alias*=font,% - number/width/.cft@length=.#1.numwidth,% + number/width/.cft@length=.#2.numwidth,% numwidth/.alias*=number/width,% - presnum/.cft@code=.#1.presnum,% + presnum/.cft@code=.#2.presnum,% number/before/.alias*=presnum,% - aftersnum/.cft@code=.#1.aftersnum,% + aftersnum/.cft@code=.#2.aftersnum,% number/after/.alias*=aftersnum,% - aftersnumb/.cft@code=.#1.aftersnumb,% + aftersnumb/.cft@code=.#2.aftersnumb,% title/before/.alias*=aftersnumb,% - leader/.cft@def=.#1.leader,% - leader/.default=\cftdotfill{\csname\itf@cft@name.#1.dotsep\@nil\endcsname},% + leader/.cft@def=.#2.leader,% + leader/.default=\cftdotfill{\csname\itf@cft@name.#2.dotsep\@nil\endcsname},% leaders/.alias=leader,% dotsep/.code={\ifx\pgfkeyscurrentvalue\pgfkeysnovalue@text - \csdef{\itf@cft@name.#1.dotsep\@nil}{\cftdotsep}% + \csdef{\itf@cft@name.#2.dotsep\@nil}{\cftdotsep}% \else \itf@units@mu\itf@musk{##1}% - \csedef{\itf@cft@name.#1.dotsep\@nil}{\itf@strip@mu\itf@musk}% + \csedef{\itf@cft@name.#2.dotsep\@nil}{\itf@strip@mu\itf@musk}% \fi},% dotsep/.blank=\cftnodots,% - nodots/.code=\csdef{\itf@cft@name.#1.dotsep\@nil}{\cftnodots},% + nodots/.code=\csdef{\itf@cft@name.#2.dotsep\@nil}{\cftnodots},% nodots/.value forbidden,% - pagefont/.cft@code=.#1.pagefont,% + pagefont/.cft@code=.#2.pagefont,% page/font/.alias*=pagefont,% pagenumber/font/.alias*=pagefont,% - afterpnum/.cft@code=.#1.afterpnum,% + afterpnum/.cft@code=.#2.afterpnum,% page/after/.alias*=afterpnum,% pagenumber/after/.alias*=afterpnum,% - pagenumbers/.on=\@cftpnumon{\itf@cft@secname{#1}},% - pagenumbers/.off=\@cftpnumoff{\itf@cft@secname{#1}},% + pagenumbers/.on=\@cftpnumon{\itf@cft@secname{#2}},% + pagenumbers/.off=\@cftpnumoff{\itf@cft@secname{#2}},% pagenumber/.alias=pagenumbers,% }% \pgfqkeys -}% \itf@cft@newsection +}% \itf@cft@new@section \@for\itf@tp:=part,chap,chapter,sec,section,subsec,subsection,% - subsubsec,subsubsection,para,paragraph,subpara,subparagraph% + subsubsec,subsubsection,para,paragraph,subpara,subparagraph% \do{\expandafter\itf@cft@newsection\expandafter{\itf@tp}{toc}}% -\if@cftsubfigopt % \@ifpackagewith{tocloft}{subfig} ?? +\if@cftsubfigopt \@for\itf@tp:=fig,figure,subfig,subfigure% \do{\expandafter\itf@cft@newsection\expandafter{\itf@tp}{lof}}% \@for\itf@tp:=tab,table,subtab,subtable% |