summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polytable
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-18 23:30:13 +0000
committerKarl Berry <karl@freefriends.org>2013-07-18 23:30:13 +0000
commit1528453c520d52522feb93806d5afe1a7da34db8 (patch)
tree898654784b5f8feca981941b4ea12bcdf4157952 /Master/texmf-dist/tex/latex/polytable
parent13ba7aa7d47c053a1bbd749c9b753d084895fed1 (diff)
polytable (18jul13)
git-svn-id: svn://tug.org/texlive/trunk@31235 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polytable')
-rw-r--r--Master/texmf-dist/tex/latex/polytable/polytable.sty18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/polytable/polytable.sty b/Master/texmf-dist/tex/latex/polytable/polytable.sty
index d5b0685cedd..f31d3d3a497 100644
--- a/Master/texmf-dist/tex/latex/polytable/polytable.sty
+++ b/Master/texmf-dist/tex/latex/polytable/polytable.sty
@@ -9,14 +9,18 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{polytable}%
- [2005/04/26 v0.8.2 `polytable' package (Andres Loeh)]
+ [2013/07/18 v0.8.5 `polytable' package (Andres Loeh)]
\let\PT@original@And\And
+\let\PT@original@Not\Not
\RequirePackage{lazylist}
\let\PT@And\And
+\let\PT@Not\Not
\def\PT@prelazylist
- {\let\And\PT@And}
+ {\let\And\PT@And
+ \let\Not\PT@Not}
\def\PT@postlazylist
- {\let\And\PT@original@And}
+ {\let\And\PT@original@And
+ \let\Not\PT@original@Not}
\PT@postlazylist
\RequirePackage{array}
\DeclareOption{debug} {\AtEndOfPackage\PT@debug}
@@ -507,7 +511,7 @@
\def\PT@gobblefalse\else\relax\gobbletrue\fi #1#2%
{\fi #1}
\def\PT@ltmax #1#2%
- {\PT@TeXif{\ifdim\csname #1.max\endcsname<\csname #2.max\endcsname}}
+ {\Not{\PT@TeXif{\ifdim\csname #1.max\endcsname>\csname #2.max\endcsname}}}
\def\PT@numbercol #1%
{%\PT@typeout@{numbering #1 as \the\PT@cols}%
\PT@enamedef{#1.num}{\the\PT@cols}%
@@ -639,10 +643,10 @@
\PT@expanded{\def\PT@temp}%
{\csname PT@restore@\romannumeral\PT@temp\endcsname}%
\expandafter\gdef\PT@temp{}% start empty
- % this is: \PT@Execute{\Map{\PT@savecolumn{\PT@temp}}\PT@sortedlist}
+ % this is: \PT@Execute{\Map{\PT@savecolumn{\PT@temp}}{\Reverse\PT@allcols}}
\expandafter\PT@Execute\expandafter{\expandafter
\Map\expandafter{\expandafter\PT@savecolumn
- \expandafter{\PT@temp}}\PT@sortedlist}}
+ \expandafter{\PT@temp}}{\Reverse\PT@allcols}}}
\def\PT@savecolumn#1#2% #1 macro name, #2 column name
{\PT@typeout@{saving column #2 in \string #1 ...}%
\def\PT@temp{#2}%
@@ -739,7 +743,7 @@
{\immediate\write\@auxout{%
\gdef\expandafter\noexpand
\csname PT@restore@\romannumeral\PT@table\endcsname
- {\PT@Execute{\Map{\PT@write@column{#1}}\PT@allcols}}}}%
+ {\PT@Execute{\Map{\PT@write@column{#1}}{\Reverse\PT@allcols}}}}}%
\PT@postlazylist
\fi}
\def\PT@write@column #1#2%