diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-10 00:33:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-10 00:33:32 +0000 |
commit | 6a43749c68fb713c7747927e2dbce5fecebeef41 (patch) | |
tree | 34f43407f72e4b10c32d13b2b54c57d891472171 /Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty | |
parent | 6c695847dd86eb6feee74b5f466414efa62ca037 (diff) |
interfaces 2.0 (9nov10)
git-svn-id: svn://tug.org/texlive/trunk@20388 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 | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-tocloft.sty index e69fdb47ef1..814ec117f6f 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/10/20 v1.1 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2010/10/31 v2.0 - 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 @@ -82,6 +82,7 @@ title/font/.store as code in cs=cft#1titlefont,% title/format/.alias*=title/font,% title/after/.store as code in cs=cftafter#1title,% + title/command/.code=\csdef{@cftmake#1title}####1{##1},% dotsep/.code=\itf@units@mu\itf@musk{##1}% converts to mu \edef\cftdotsep{\itf@strip@mu\itf@musk},% dotsep/.default=4.5mu,% @@ -199,8 +200,10 @@ \itf@cft@newlistof{lot} %% Specific to toc only ------------------------------------------------------- \pgfqkeys{/itf/tocloft/toc}{% - depth/.defcounter=tocdepth,% - depth/.value required,% + depth/.store in counter cs=c@tocdepth,% + depth/.append code= + \global\c@tocdepth\c@tocdepth + \addtocontents{toc}{\c@tocdepth\the\c@tocdepth\relax},% tocdepth/.alias=depth,% title/.store as code in cs=contentsname,% contentsname/.alias=title,% @@ -229,8 +232,12 @@ \pgfqkeys{/itf/tocloft}{% 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},% 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},% }% \else \pgfqkeys{/itf/tocloft}{% @@ -284,9 +291,12 @@ leader/.cft@def=.#1.leader,% leader/.default=\cftdotfill{\csname\itf@cft@name.#1.dotsep\@nil\endcsname},% leaders/.alias=leader,% - dotsep/.code={\itf@units@mu\itf@musk{##1}% - \csedef{\itf@cft@name.#1.dotsep\@nil}{\itf@strip@mu\itf@musk}},% - dotsep/.default=\cftdotsep,% + dotsep/.code={\ifx\pgfkeyscurrentvalue\pgfkeysnovalue@text + \csdef{\itf@cft@name.#1.dotsep\@nil}{\cftdotsep}% + \else + \itf@units@mu\itf@musk{##1}% + \csedef{\itf@cft@name.#1.dotsep\@nil}{\itf@strip@mu\itf@musk}} + \fi,% dotsep/.blank=\cftnodots,% nodots/.code=\csdef{\itf@cft@name.#1.dotsep\@nil}{\cftnodots},% nodots/.value forbidden,% |