diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-18 23:30:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-18 23:30:13 +0000 |
commit | 1528453c520d52522feb93806d5afe1a7da34db8 (patch) | |
tree | 898654784b5f8feca981941b4ea12bcdf4157952 /Master/texmf-dist/source/latex/polytable | |
parent | 13ba7aa7d47c053a1bbd749c9b753d084895fed1 (diff) |
polytable (18jul13)
git-svn-id: svn://tug.org/texlive/trunk@31235 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/polytable')
-rw-r--r-- | Master/texmf-dist/source/latex/polytable/polytable.dtx | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/polytable/polytable.dtx b/Master/texmf-dist/source/latex/polytable/polytable.dtx index 6f8601b7e09..fb9219492bf 100644 --- a/Master/texmf-dist/source/latex/polytable/polytable.dtx +++ b/Master/texmf-dist/source/latex/polytable/polytable.dtx @@ -8,12 +8,12 @@ \end{document} %</driver> % -% Copyright (C) 2003--2005 by Andres Loeh +% Copyright (C) 2003--2013 by Andres Loeh % % \fi % % \ProvidesFile{polytable.dtx} -% [2005/04/26 v0.8.2 `polytable' package (Andres Loeh)] +% [2013/07/08 v0.8.5 `polytable' package (Andres Loeh)] % \GetFileInfo{polytable.dtx} % % \title{The \textsf{polytable} package} @@ -49,6 +49,10 @@ % interface, added the external (disk) queue.} % \changes{v0.8.2}{2005/04/26}{New interface command. % Minor beautifications.} +% \changes{v0.8.3}{2009/04/28}{Make sorting algorithm stable.} +% \changes{v0.8.4}{2009/11/01}{Make ptb output more stable.} +% \changes{v0.8.5}{2013/07/18}{Work around lazylist name clash +% with unicode-math.} % % \section{Introduction} % @@ -570,7 +574,7 @@ % \subsection{A warning} % % The contents of the table are processed multiple times because -% the widths of the entries are measured. Global assigments that +% the widths of the entries are measured. Global assignments that % modify registers and similar things can thus result in unexpected % behaviour. % New in v0.7: \LaTeX\ counters (i.e., counters defined by @@ -745,7 +749,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{polytable}% - [2005/04/26 v0.8.2 `polytable' package (Andres Loeh)] + [2013/07/18 v0.8.5 `polytable' package (Andres Loeh)] % \end{macrocode} % New in v0.7.2: % The \textsf{amsmath} package clashes with \textsf{lazylist}: @@ -756,12 +760,16 @@ % our problem \dots % \begin{macrocode} \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} % \end{macrocode} @@ -1821,7 +1829,7 @@ % the order on their (untrusted) widths. % \begin{macrocode} \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}}} % \end{macrocode} % \end{macro} % @@ -2135,10 +2143,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}}} % \end{macrocode} % \end{macro} % @@ -2296,7 +2304,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} % \end{macrocode} |