diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-18 00:38:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-18 00:38:20 +0000 |
commit | 8b9caf2ada7ba9a0b6fbdaf7503c2d61091c988b (patch) | |
tree | dcdcdec3c24c862007af7a574a790c989e76ac15 /Master/texmf-dist/source/latex/interfaces | |
parent | df742541d9218f6e4d6263236726bdea7e0f0c0e (diff) |
interfaces 2.8 (17jan11)
git-svn-id: svn://tug.org/texlive/trunk@21106 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/interfaces')
3 files changed, 169 insertions, 55 deletions
diff --git a/Master/texmf-dist/source/latex/interfaces/interfaces.drv b/Master/texmf-dist/source/latex/interfaces/interfaces.drv index fac10e7ed89..499c5d4e086 100644 --- a/Master/texmf-dist/source/latex/interfaces/interfaces.drv +++ b/Master/texmf-dist/source/latex/interfaces/interfaces.drv @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2011/01/17 v2.8 - 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 @@ -21,7 +21,6 @@ %% interfaces.sty, interfaces.pdf, interfaces.ins, %% interfaces-base.sty, %% interfaces-LaTeX.sty, -%% interfaces-graphics.sty, %% interfaces-tikz.sty, %% interfaces-titlesec.sty, %% interfaces-hyperref.sty, @@ -44,10 +43,11 @@ %% interfaces: interfaces with keys for other packages (FC) %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% +\let\CTANLinks=y \edef\thisfile{\jobname} \def\thisinfo{interfaces with keys for other packages} -\def\thisdate{2010/12/27} -\def\thisversion{2.6} +\def\thisdate{2011/01/17} +\def\thisversion{2.8} \def\thisVersion{\thisversion\,\textendash\,release} \def\CTANbaseurl{http://www.ctan.org/tex-archive/} \def\LocalOrCTAN#1#2{\ifx y\CTANLinks#2\else#1\fi} @@ -60,7 +60,8 @@ \usepackage[american]{babel} \usepackage[T1]{fontenc} \usepackage{txfonts,times,marvosym,wasysym,nicefrac,numprint,hologo} -%%\usepackage[expansion=all,protrusion=none,shrink=50,stretch=20]{microtype} +\usepackage[scaled=.9]{helvet} +\usepackage[expansion=all,protrusion=none,shrink=50,stretch=20]{microtype} \PassOptionsToPackage{svgnames}{xcolor} \usepackage{etoolbox,atveryend,calc} \usepackage{graphicx,xspace,xcolor,framed} diff --git a/Master/texmf-dist/source/latex/interfaces/interfaces.dtx b/Master/texmf-dist/source/latex/interfaces/interfaces.dtx index 4ed97dd7cb4..0d118f8d988 100644 --- a/Master/texmf-dist/source/latex/interfaces/interfaces.dtx +++ b/Master/texmf-dist/source/latex/interfaces/interfaces.dtx @@ -1,5 +1,6 @@ +\let\CTANLinks=y % \iffalse meta-comment -% interfaces : 2010/12/27 v2.6 - interfaces with keys for other packages (FC) +% interfaces : 2011/01/17 v2.8 - 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 @@ -56,19 +57,18 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/12/27 v2.6 - interfaces: interfaces with keys for other packages (FC)} +\Msg{* Package: 2011/01/17 v2.8 - interfaces: interfaces with keys for other packages (FC)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse \let\MetaPrefix \relax -\let\CTANLinks=y \preamble This is a generated file. -interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) +interfaces : 2011/01/17 v2.8 - 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 @@ -159,8 +159,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %<*driver> \edef\thisfile{\jobname} \def\thisinfo{interfaces with keys for other packages} -\def\thisdate{2010/12/27} -\def\thisversion{2.6} +\def\thisdate{2011/01/17} +\def\thisversion{2.8} \def\thisVersion{\thisversion\,\textendash\,release} \def\CTANbaseurl{http://www.ctan.org/tex-archive/} \def\LocalOrCTAN#1#2{\ifx y\CTANLinks#2\else#1\fi} @@ -173,7 +173,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \usepackage[american]{babel} \usepackage[T1]{fontenc} \usepackage{txfonts,times,marvosym,wasysym,nicefrac,numprint,hologo} -%%\usepackage[expansion=all,protrusion=none,shrink=50,stretch=20]{microtype} +\usepackage[scaled=.9]{helvet} +\usepackage[expansion=all,protrusion=none,shrink=50,stretch=20]{microtype} \PassOptionsToPackage{svgnames}{xcolor} \usepackage{etoolbox,atveryend,calc} \usepackage{graphicx,xspace,xcolor,framed} @@ -217,7 +218,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %</driver> % \fi % -% \CheckSum{-0} +% \CheckSum{6001} % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -312,7 +313,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \pretocmd\oldstylenums{\fontfamily{cmr}}{}{} % \newrobustcmd*\thisyear{\begingroup % \def\thisyear##1/##2\@nil{\endgroup -% \oldstylenums{##1\ifnum##1=\year\else\,\textendash\,\the\year\fi}% +% \oldstylenums{2010\ifnum##1=2010\else\,\textendash\,##1\fi}% % }\expandafter\thisyear\thisdate\@nil % } % ^^A---------------------------------------------------------------------------- @@ -442,16 +443,17 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \pagesetup[corpus]{% % head/rule/width=.1pt,head/rule/color=LightSteelBlue, % left/offset=1cm, -% font=\scriptsize\color[gray]{.35},% -% foot/left/font+=\ssmall\tiny,% -% head/left=The \thispackage package -- \thisinfo,% -% head/right=\hyperref{}{}{\thefirstmarks{sectionanchor}}{\thefirstmarks{section}},% +% font=\scriptsize\color[gray]{.35}, +% foot/left/font+=\tiny, +% foot/right/font+=\smaller, +% head/left=The \thispackage\ package -- \thisinfo, +% head/right=\hyperref{}{}{\thefirstmarks{sectionanchor}}{\thefirstmarks{section}}, % foot/left/offset=.7in, % foot/left=\vbox to\baselineskip{\vss{{\rotatebox[origin=l]{90}{\thispackage\,[rev.\thisVersion]\,\copyright\,\thisyear\,\lower.4ex\hbox{\pkgcolor\NibRight}\,\FC}}}}, -% foot/right=\oldstylenums{\arabic{page}} / \oldstylenums{\pageref{LastPage}},% +% foot/right=\oldstylenums{\arabic{page}} / \oldstylenums{\pageref{LastPage}}, % } % \pagestyle{corpus} -% \pagesetup[plain]{% +% \pagesetup[plain]{ % pagestyle=corpus, % norules, % head=, @@ -571,6 +573,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % and\, \thispackage[interfaces-pgfkeys]: those are the \emph{system-layer} of \thispackage. % % \end{abstract} +% % \medskip % \centerline{\lk % \tikz\draw [decoration=snake,decorate,thick] (0,1) -- ++(5,0); @@ -765,6 +768,39 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % % {\scriptsize\raggedleft sorry for the blank cell, but I didn't get out with \xpackage{colortbl} and the \cs{multicolumn} entry...\par} % +% \begin{declcs}{papergraduate}\M*[options] \M*(coordinate) - \M*(coordinate); +% \end{declcs} +% +% \cs{papergraduates} is a bit like \xpackage{TikZ} \textt{grid} path and displays a real graduated paper. +% +% Moreover, when used \emph{outside} a \textt{tikzpicture} environment, \cs{papergraduate} alone draws a graduated paper +% as a wallpaper on the current page background. +% +% The code is fast because based on \TeX{} primitive \cs{leaders} (faster than \textt{grid}). +% +% Examples: +% +% \begin{multicols}{2} +% \begin{Verb} +% \tikz{ +% \coordinate (A) at (0,0); +% \coordinate (B) at (8cm,3.5cm); +% \papergraduate (A) - (B); } +% \end{Verb} +% \columnbreak +% \tikz{ +% \coordinate (A) at (0,0); +% \coordinate (B) at (8cm,3.5cm); +% \papergraduate (A) - (B); } +% \end{multicols} +% +% As for now (\thispackage \hyperref[v\thisversion]{version 2.8}, there is no option ! +% +% But the optional argument is there for a future release... +% +% +% +% \clearpage % \sectionformat\section{bookmark={color=db,bold}} % \Section[titlesec]({\cs{sectionformat} (titlesec)})[{Interface titlesec: \cs[\red]{sectionformat}}]{\sectitle{titlesec}: \cs[\mdseries\red]{sectionformat}} % @@ -2445,7 +2481,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %<*package> \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{interfaces} - [2010/12/27 v2.6 - pgfkeys interfaces - pgf 2.0 et 2.1 (FC)] + [2011/01/17 v2.8 - pgfkeys interfaces - pgf 2.0 et 2.1 (FC)] % \end{macrocode} % % \subsubsection{Requirements} @@ -2486,7 +2522,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \begin{macrocode} %<*base> \ProvidesPackage{interfaces-base} - [2010/12/27 v2.6 Interfaces core system layer (FC)] + [2011/01/17 v2.8 Interfaces core system layer (FC)] \RequirePackage{etex,ltxcmds,etoolbox,pgfkeys,scrlfile,infwarerr} \AtEndOfPackage{% \RequirePackage{interfaces-etoolbox}% @@ -2902,7 +2938,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \begin{macrocode} %<*LaTeX> \ProvidesPackage{interfaces-LaTeX} - [2010/12/27 v2.6 pgfkeys macros for LaTeX (FC)] + [2011/01/17 v2.8 pgfkeys macros for LaTeX (FC)] \RequirePackage{interfaces-base} \itf@pgfkeys % \end{macrocode} @@ -2980,7 +3016,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \begin{macrocode} %<*tikz> \ProvidesPackage{interfaces-tikz} - [2010/12/27 v2.6 load tikz libraries easily (FC)] + [2011/01/17 v2.8 load tikz libraries easily (FC)] \RequirePackage{interfaces-base} \itf@pgfkeys % \end{macrocode} @@ -3181,6 +3217,58 @@ turtle% % \end{macrocode} % \end{macro} % +% \subsubsection{\cs{papergraduate}} +% +% \begin{macro}{\papergraduate} +% \begin{macrocode} +\newrobustcmd*\papergraduate[1][]{% + \ifpgfpicture \expandafter \itf@papergraduate + \else \expandafter \itf@wallpapergraduate + \fi{#1}% +}% \papergraduate +\def\itf@graduation@vert[#1]#2#3#4#5{% + \node at (0,0) [{inner sep=0pt,outer sep=0pt,anchor=south west,#1}] {% + \rlap{\hbox to#2{\leaders\hbox to#4{\kern-\dimexpr#5/2\relax\vrule height#3 depth\z@ width#5}\hss}}}} +\def\itf@graduation@horiz[#1]#2#3#4#5{ + \node at (0,0) [{inner sep=0pt,outer sep=0pt,anchor=north west,yscale=-1,#1}] {% + \rlap{\vbox to#3{\leaders\vbox to#4{\kern-\dimexpr#5/2\relax\hrule width#2 depth0pt height#5}\vss}}}} +\def\itf@wallpapergraduate #1{% + \tikz[remember picture,overlay]{ + \itf@papergraduate {#1} (current page.south west) - (current page.north east);} +}% \itf@wallpapergraduate +\def\itf@papergraduate #1#2-#3;{% + \path let \p1 = ($#2-#3$) + in node {\global\@tempdima\x1 \global\@tempdimb\y1}; + \@tempdima \ifdim\@tempdima<\z@-\fi\dimexpr\@tempdima*2540/7227\relax + \@tempdimb \ifdim\@tempdimb<\z@-\fi\dimexpr\@tempdimb*2540/7227\relax + \begin{scope}[shift={#2}] + \@expandtwoargs\itf@paper@graduate{\strip@pt\@tempdima}{\strip@pt\@tempdimb}% + \end{scope} +}% \paper@graduate +\def\itf@paper@graduate#1#2{{\hfuzz\maxdimen\vfuzz\hfuzz\hbadness\@M\vbadness\hbadness + \itf@graduation@horiz [magenta,very nearly transparent] {#1mm}{#2mm}{1mm}{.1pt}; + \itf@graduation@horiz [magenta,nearly transparent] {#1mm}{#2mm}{5mm}{.1pt}; + \itf@graduation@horiz [magenta,nearly transparent] {#1mm}{#2mm}{10mm}{.2pt}; + \itf@graduation@horiz [black,nearly opaque] {1mm}{#2mm}{1mm}{.1pt}; + \itf@graduation@horiz [black,nearly opaque] {1.5mm}{#2mm}{5mm}{.1pt}; + \itf@graduation@horiz [black,opaque] {2mm}{#2mm}{10mm}{.1pt}; + \foreach \y in {0,10,...,#2} + \node [inner sep=0pt,outer sep=0pt,font=\tiny,yshift=\y mm,xshift=3mm] at (0,0) {\y}; + \itf@graduation@vert [cyan,very nearly transparent] {#1mm}{#2mm}{1mm}{.1pt}; + \itf@graduation@vert [cyan,nearly transparent] {#1mm}{#2mm}{5mm}{.1pt}; + \itf@graduation@vert [cyan,nearly transparent] {#1mm}{#2mm}{10mm}{.2pt}; + \itf@graduation@vert [black,nearly opaque] {#1mm}{1mm}{1mm}{.1pt}; + \itf@graduation@vert [black,nearly opaque] {#1mm}{1.5mm}{5mm}{.1pt}; + \itf@graduation@vert [black,opaque] {#1mm}{2mm}{10mm}{.1pt}; + \foreach \x in {0,10,...,#1} + \node [inner sep=0pt,outer sep=0pt,font=\tiny,xshift=\x mm,yshift=3mm] at (0,0) {\x}; +}}% \itf@paper@graduate +% \end{macrocode} +% \end{macro} +% +% +% +% % \begin{macrocode} %</tikz> % \end{macrocode} @@ -3191,7 +3279,7 @@ turtle% % \begin{macrocode} %<*titlesec> \ProvidesPackage{interfaces-titlesec} - [2010/12/27 v2.6 pgfkeys macros for titlesec (FC)] + [2011/01/17 v2.8 pgfkeys macros for titlesec (FC)] \RequirePackage{interfaces-base} \RequirePackage{auxhook}% <fix for \ttlp@append (odd/even pages)> \RequirePackage{gettitlestring} @@ -3649,7 +3737,7 @@ turtle% % \begin{macrocode} %<*hyperref> \ProvidesPackage{interfaces-hyperref} - [2010/12/27 v2.6 provides raised hyperdef (FC)] + [2011/01/17 v2.8 provides raised hyperdef (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{hyperref} % \end{macrocode} @@ -3689,7 +3777,7 @@ turtle% % \begin{macrocode} %<*bookmark> \ProvidesPackage{interfaces-bookmark} - [2010/12/27 v2.6 more control on bookmarks (FC)] + [2011/01/17 v2.8 more control on bookmarks (FC)] \RequirePackage{interfaces-base} \RequirePackage{interfaces-hyperref} \RequirePackage{refcount} @@ -3902,7 +3990,7 @@ turtle% % \begin{macrocode} %<*hypbmsec> \ProvidesPackage{interfaces-hypbmsec} - [2010/12/27 v2.6 lastsection,title,anchor, etc. (FC)] + [2011/01/17 v2.8 lastsection,title,anchor, etc. (FC)] \RequirePackage{interfaces-base} \RequirePackage{gettitlestring} \itf@Check@Package{hypbmsec} @@ -4129,7 +4217,7 @@ turtle% % \begin{macrocode} %<*fancyhdr> \ProvidesPackage{interfaces-fancyhdr} - [2010/12/27 v2.6 pgfkeys macros for fancyhdr (FC)] + [2011/01/17 v2.8 pgfkeys macros for fancyhdr (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{fancyhdr} \robustify\fancyhf @@ -5014,7 +5102,7 @@ turtle% % \begin{macrocode} %<*marks> \ProvidesPackage{interfaces-marks} - [2010/12/27 v2.6 easier use of e-TeX marks (FC)] + [2011/01/17 v2.8 easier use of e-TeX marks (FC)] \RequirePackage{interfaces-base} % \end{macrocode} % @@ -5134,7 +5222,7 @@ turtle% % \begin{macrocode} %<*tocloft> \ProvidesPackage{interfaces-tocloft} - [2010/12/27 v2.6 pgfkeys macros for tocloft (FC)] + [2011/01/17 v2.8 pgfkeys macros for tocloft (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{tocloft} % \end{macrocode} @@ -5612,7 +5700,7 @@ turtle% % \begin{macrocode} %<*makecell> \ProvidesPackage{interfaces-makecell} - [2010/12/27 v2.6 repeatcell to fill in tabulars (FC)] + [2011/01/17 v2.8 repeatcell to fill in tabulars (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{makecell} \edef\itf@AtEnd{\catcode126 \the\catcode126}% 126 = ~ @@ -5748,7 +5836,7 @@ turtle% % % \begin{macro}{\itf@message} % \begin{macrocode} -\let\itf@message\@gobble +\let\itf@message \@gobble % \end{macrocode} % \end{macro} % @@ -5777,7 +5865,8 @@ turtle% text/.default=\ifdefined\C\C\column\fi,% text/.unknown/.code=\itf@cell@rowcolkey,% cr/.initial=\\,% - cr/.default=\crcr,cr/.blank=\\,end/.alias=cr,% + cr/.default=\crcr,cr/.blank=\\,% + end/.alias=cr,% cr/.unknown/.code=\itf@cell@rowcolkey,% rows/.code=\itf@number\itf@row#1\relax\@nnil {\ifnum\itf@row<\z@\itf@row\@ne\fi} @@ -5890,11 +5979,12 @@ turtle% }% \itf@cell@pgfcalc \protected\def\itf@cell@FPcalc#1#2{% \begingroup + \hfuzz\maxdimen \vfuzz\hfuzz \hbadness\@M \vbadness\hbadness + \everypar{}\tracinglostchars\z@ \setbox\z@\vbox{%\FPeval introduces some weird code, hence the calculation in a \vbox \FPeval\FPresult{#1}% - \global\let\FPresult\FPresult}% - \endgroup - \itf@cell@calc#2\FPresult + \expandafter}\expandafter\endgroup + \expandafter\itf@cell@calc\expandafter#2\expandafter{\FPresult}% }% \itf@cell@FPcalc % \end{macrocode} % \end{macro} @@ -5941,11 +6031,11 @@ turtle% \else \itf@cell{}% \ifitf@celltranspose - \edef\itf@tp{\noexpand\itf@diaghead(-2,1) + \edef\itf@tp{\noexpand\itf@diaghead(-2,1)% {\expandonce\itf@cellfontrow\expandonce\itf@cellrow} {\expandonce\itf@cellfontcol\expandonce\itf@cellcol}}% \else - \edef\itf@tp{\noexpand\itf@diaghead(-2,1) + \edef\itf@tp{\noexpand\itf@diaghead(-2,1)% {\expandonce\itf@cellfontcol\expandonce\itf@cellcol} {\expandonce\itf@cellfontrow\expandonce\itf@cellrow}}% \fi @@ -5963,11 +6053,11 @@ turtle% % \begin{macrocode} \def\itf@diaghead(#1)#2#3{% \begingroup - \edef\itf@tp{% + \edef\itf@tp{\endgroup \noexpand\diaghead({#1}){\unexpanded{#2 #3}}% {\unexpanded{#2}} - {\unexpanded{#3}}}% - \expandafter\endgroup\itf@tp + {\unexpanded{#3}}% + }\itf@tp }% \itf@diaghead % \end{macrocode} % \end{macro} @@ -5996,7 +6086,7 @@ turtle% % \begin{macrocode} %<*enumitem> \ProvidesPackage{interfaces-enumitem} - [2010/12/27 v2.6 more control on lists (FC)] + [2011/01/17 v2.8 more control on lists (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{enumitem} % \end{macrocode} @@ -6189,7 +6279,7 @@ turtle% % \begin{macrocode} %<*appendix> \ProvidesPackage{interfaces-appendix} - [2010/12/27 v2.6 easy control of appendices environment (FC)] + [2011/01/17 v2.8 easy control of appendices environment (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{appendix} % \end{macrocode} @@ -6242,7 +6332,7 @@ turtle% % \begin{macrocode} %<*embedfile> \ProvidesPackage{interfaces-embedfile} - [2010/12/27 v2.6 easy macros to embed files into pdf (FC)] + [2011/01/17 v2.8 easy macros to embed files into pdf (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{embedfile} \newrobustcmd*\embedthisfile{\@ifstar @@ -6279,7 +6369,7 @@ turtle% % \begin{macrocode} %<*environ> \ProvidesPackage{interfaces-environ} - [2010/12/27 v2.6 ReNewEnviron = RenewEnviron (FC)] + [2011/01/17 v2.8 ReNewEnviron = RenewEnviron (FC)] \RequirePackage{interfaces-base} \AfterPackage{environ}{ \ifundef\ReNewEnviron @@ -6295,7 +6385,7 @@ turtle% % \begin{macrocode} %<*umrand> \ProvidesPackage{interfaces-umrand} - [2010/12/27 v2.6 patch for umrand.sty ifnotempty (FC)] + [2011/01/17 v2.8 patch for umrand.sty ifnotempty (FC)] \RequirePackage{interfaces-base} \BeforePackage{umrand}{% \let\itf@newif\newif @@ -6316,7 +6406,7 @@ turtle% % \begin{macrocode} %<*scrlfile> \ProvidesPackage{interfaces-scrlfile} - [2010/12/27 v2.6 scrlfile hooks improved (FC)] + [2011/01/17 v2.8 scrlfile hooks improved (FC)] \RequirePackage{interfaces-base} % \end{macrocode} % @@ -6405,7 +6495,7 @@ turtle% % \begin{macrocode} %<*pgfkeys> \ProvidesPackage{interfaces-pgfkeys} - [2010/12/27 v2.6 pgfkeys handlers definitions (FC)] + [2011/01/17 v2.8 pgfkeys handlers definitions (FC)] \RequirePackage{interfaces-base} \ifdefined\pgfkeys@ifexecutehandler % pgf version 2.1 \def\itf@pgfkeys{% @@ -6911,6 +7001,8 @@ turtle% % % \paragraph(/.store in counter cs){Handler definition: \handler/.store in counter cs/} % +% \handler/.store in count cs/ is exactly the same. +% % \begin{macrocode} \pgfkeys{% /handlers/.store in counter cs/.code={% @@ -6930,6 +7022,24 @@ turtle% }},% /handlers/.store in counter cs/.value required,% }% /.store in counter cs +\pgfkeys{% + /handlers/.store in count cs/.code={% + \pgfkeysdef\pgfkeyscurrentpath{% + \ifx\pgfkeyscurrentvalue\pgfkeysnovalue@text + \else\csname#1\endcsname\numexpr##1\relax\fi}% + \pgfkeyslet{\pgfkeyscurrentpath/.@blank}\z@ + \@tfor\x:=+-*\do{% + \pgfkeysedef{\pgfkeyscurrentpath\x}{% + \noexpand\pgfkeysalso{\pgfkeyscurrentpath=% + \noexpand\csname\noexpand\ifcsname#1\endcsname + #1\noexpand\else\if*\x @ne\else z@\fi\noexpand\fi\endcsname + \x + \numexpr##1\relax}}% + \pgfkeysEsetvalue{\pgfkeyscurrentpath\x/.@def}{\if*\x\@ne\else\z@\fi}% + \pgfkeysEsetvalue{\pgfkeyscurrentpath\x/.@blank}{\if*\@ne\else\z@\fi}% + }},% + /handlers/.store in count cs/.value required,% +}% /.store in count cs % \end{macrocode} % % \paragraph(/.store as glue){Handlers definition: \handler/.store as glue/} @@ -7240,7 +7350,7 @@ turtle% % \begin{macrocode} %<*etoolbox> \ProvidesPackage{interfaces-etoolbox} - [2010/12/27 v2.6 more etoolbox-like commands (FC)] + [2011/01/17 v2.8 more etoolbox-like commands (FC)] \RequirePackage{interfaces-base} \begingroup\catcode`\&=3 \long\gdef\etb@doitem#1&{\do{#1}} @@ -7387,6 +7497,10 @@ turtle% % % \sectionformat\subsection[hang]{format=\large\bfseries} % +% \begin{Version}{2011/01/17 v2.8}\HistLabel{v2.8} +% \item New: \csref{papergraduate} in \thispackage[interfaces-TikZ]. +% \end{Version} +% % \begin{Version}{2010/12/27 v2.6}\HistLabel{v2.6} % \item \csref{tocsetup}:\\ % A few new aliases for keys. \\ diff --git a/Master/texmf-dist/source/latex/interfaces/interfaces.ins b/Master/texmf-dist/source/latex/interfaces/interfaces.ins index 56099153406..d1007f240ac 100644 --- a/Master/texmf-dist/source/latex/interfaces/interfaces.ins +++ b/Master/texmf-dist/source/latex/interfaces/interfaces.ins @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2011/01/17 v2.8 - 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 @@ -21,7 +21,6 @@ %% interfaces.sty, interfaces.pdf, interfaces.ins, %% interfaces-base.sty, %% interfaces-LaTeX.sty, -%% interfaces-graphics.sty, %% interfaces-tikz.sty, %% interfaces-titlesec.sty, %% interfaces-hyperref.sty, @@ -44,22 +43,22 @@ %% interfaces: interfaces with keys for other packages (FC) %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% +\let\CTANLinks=y \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/12/27 v2.6 - interfaces: interfaces with keys for other packages (FC)} +\Msg{* Package: 2011/01/17 v2.8 - interfaces: interfaces with keys for other packages (FC)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse \let\MetaPrefix \relax -\let\CTANLinks=y \preamble This is a generated file. -interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) +interfaces : 2011/01/17 v2.8 - 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 |