diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty index a60e07e5781..0ae8cf9d05a 100644 --- a/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty +++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.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-makecell} - [2010/11/21 v2.3 repeatcell to fill in tabulars (FC)] + [2010/11/26 v2.4 repeatcell to fill in tabulars (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{makecell} \edef\itf@AtEnd{\catcode126 \the\catcode126}% 126 = ~ @@ -74,15 +74,7 @@ \fi\fi{#1+1}#3\@nil#4\@nnil }% \itf@getv@lue \newif\ifitf@celltranspose -\def\itf@ampactive{% - \def\tab{&}% - \lccode`\~=38\lowercase{\def~{&}}% -}% \itf@ampactive -\newrobustcmd*\repeatcell{\begingroup - \let\tab\relax - \catcode38\active - \itf@repeatcell -}% \repeatcell +\newrobustcmd*\repeatcell{\begingroup \iffalse{\fi \ifnum0=`}\fi \itf@repeatcell} \newrobustcmd*\itf@repeatcell[3][]{% \ifblank{#1}% alignment option ? {\let\itf@makecell\@firstofone} @@ -93,7 +85,7 @@ \toksdef\itf@cell=1% local \itf@pgfkeys \pgfqkeys{/itf/makecell/repeatcell}{@reset={#2},#3}% - \toks@{}% local + \toks@{\ifnum0=`{\fi \iffalse}\fi \endgroup}% local \ifnum\itf@row>\z@ % number \edef\itf@rowloop{\noexpand\@whilenum\itf@row<\the\itf@row}% \def\itf@cell@init{\def\r{\row}\let\R\@empty}% @@ -125,7 +117,7 @@ {\pgfkeysgetvalue{/itf/makecell/repeatcell/cr/row\the\itf@col}\itf@thecr} {\pgfkeysgetvalue{/itf/makecell/repeatcell/cr}\itf@thecr}% \toks@\expandafter\expandafter\expandafter{% - \expandafter\the\expandafter\toks@\itf@thecr}% + \expandafter\the\expandafter\toks@ \itf@thecr}% \fi \advance\itf@col\@ne \itf@row\z@ @@ -136,9 +128,9 @@ \fi \toks@\expandafter\expandafter\expandafter{% \expandafter\the\expandafter\toks@ - \itf@cell@init\itf@ampactive}% - \itf@cell@insert}% - }% + \itf@cell@init}% + \itf@cell@insert}% rows loop + }% cols loop \else \itf@row\z@ \itf@rowloop\do{% @@ -147,7 +139,7 @@ {\pgfkeysgetvalue{/itf/makecell/repeatcell/cr/row\the\itf@row}\itf@thecr} {\pgfkeysgetvalue{/itf/makecell/repeatcell/cr}\itf@thecr}% \toks@\expandafter\expandafter\expandafter{% - \expandafter\the\expandafter\toks@\itf@thecr}% + \expandafter\the\expandafter\toks@ \itf@thecr}% \fi \advance\itf@row\@ne \itf@col\z@ @@ -158,14 +150,13 @@ \fi \toks@\expandafter\expandafter\expandafter{% \expandafter\the\expandafter\toks@ - \itf@cell@init\itf@ampactive}% - \itf@cell@insert}% - }% + \itf@cell@init}% + \itf@cell@insert}% cols loop + }% rows loop \fi \itf@message{Code introduced by repeatcell in the \@currenvir:^^J \the\toks@}% (to see the code...) - \expandafter\endgroup\the\toks@ - \ignorespaces + \the\toks@ \ignorespaces }% \itf@repeatcell \let\itf@message\@gobble \def\itf@cell@rowcolkey{% |