summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pbox/pbox.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-11-25 23:25:24 +0000
committerKarl Berry <karl@freefriends.org>2011-11-25 23:25:24 +0000
commita0f3f9a256d2ffc50ee165b8ca1da44e59bfc7ff (patch)
tree7e29ff18ae9b1c22e88705db2b5f6450be366dd5 /Master/texmf-dist/source/latex/pbox/pbox.dtx
parentb12eb2487db744627b0577ce2daa4a7335973ddb (diff)
pbox (25nov11)
git-svn-id: svn://tug.org/texlive/trunk@24664 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pbox/pbox.dtx')
-rw-r--r--Master/texmf-dist/source/latex/pbox/pbox.dtx24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/pbox/pbox.dtx b/Master/texmf-dist/source/latex/pbox/pbox.dtx
index a4861115c3b..6094487c2b5 100644
--- a/Master/texmf-dist/source/latex/pbox/pbox.dtx
+++ b/Master/texmf-dist/source/latex/pbox/pbox.dtx
@@ -1,25 +1,24 @@
% \iffalse meta-comment
% pbox.dtx - DocStrip source code for the pbox package
-% Copyright (C) 2003 Simon Law
+% Copyright (C) 2003,2011 Simon Law
%
-% This program is free software; you can redistribute it and/or modify
+% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
-% the Free Software Foundation; either version 2 of the License, or
+% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
-%
+%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
-% along with this program; if not, write to the Free Software
-% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+% along with this program. If not, see <http://www.gnu.org/licenses/>.
%
% \fi
% \iffalse
%<style>\NeedsTeXFormat{LaTeX2e}
-%<style>\ProvidesPackage{pbox}[2003/04/06 v1.0 Dynamic parboxes]
+%<style>\ProvidesPackage{pbox}[2011/11/24 v1.1 Dynamic parboxes]
%<*driver>
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\documentclass{ltxdoc}
@@ -47,7 +46,7 @@
% \fi
%
% \StopEventually{\PrintIndex \PrintChanges}
-% \CheckSum{77}
+% \CheckSum{78}
%
% \DoNotIndex{\begin}
% \DoNotIndex{\columnwidth}
@@ -78,13 +77,14 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
+% \changes{v1.1}{2011/11/24}{Switch to GPLv3.}
% \changes{v1.0}{2003/03/19}{Initial release.}
%
% \GetFileInfo{pbox.sty}
%
% \title{The \textsf{pbox} package\thanks{Version \fileversion,
% last revised \filedate}}
-% \author{Simon Law \\ \url{sfllaw@engmail.uwaterloo.ca}}
+% \author{Simon Law \\ \url{sfllaw@sfllaw.ca}}
% \maketitle
%^^A \tableofcontents
%
@@ -223,6 +223,7 @@
% Alas, I have also discovered that certain uses of |\widthof| and
% |\widthofpbox| do not work within the \textsf{docstrip} environment.
%
+% \newpage
% \section{Implementation}
% \iffalse
%<*style>
@@ -243,6 +244,7 @@
% \end{macrocode}
%
% \begin{macro}{\settominwidth}
+% \changes{v1.1}{2011/11/24}{Always return a robust value.}
% The minimum length is determined by the clever use of the
% \textbf{tabular} environment. It knows how to calculate the minimum
% requisite width for a column, and the way determines the end of a
@@ -266,7 +268,7 @@
% Finally, I wish to make sure that the length I have set in |#2| is
% not larger than the maximum stored in |#1|.
% \begin{macrocode}
- \ifthenelse{\lengthtest{#1<#2}}{\setlength{#2}{#1}}}
+ \ifthenelse{\lengthtest{#1<#2}}{\setlength{#2}{\protect{#1}}}}
% \end{macrocode}
% \end{macro}
%