summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/collectbox/collectbox.pdfbin490831 -> 174737 bytes
-rw-r--r--Master/texmf-dist/source/latex/collectbox/collectbox.dtx9
-rw-r--r--Master/texmf-dist/tex/latex/collectbox/collectbox.sty4
3 files changed, 9 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/collectbox/collectbox.pdf b/Master/texmf-dist/doc/latex/collectbox/collectbox.pdf
index 72089e272eb..16df2b1f655 100644
--- a/Master/texmf-dist/doc/latex/collectbox/collectbox.pdf
+++ b/Master/texmf-dist/doc/latex/collectbox/collectbox.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/collectbox/collectbox.dtx b/Master/texmf-dist/source/latex/collectbox/collectbox.dtx
index a87ed38f16b..9d6946a9f7a 100644
--- a/Master/texmf-dist/source/latex/collectbox/collectbox.dtx
+++ b/Master/texmf-dist/source/latex/collectbox/collectbox.dtx
@@ -21,9 +21,9 @@
%
% \iffalse
%<*driver>
-\ProvidesFile{collectbox.dtx}[2011/08/06 v0.3 DTX File of collectbox]
+\ProvidesFile{collectbox.dtx}[2011/08/11 v0.3a DTX File of collectbox]
\documentclass{ydoc}
-\usepackage{collectbox}[2011/08/06]
+\usepackage{collectbox}[2011/08/11]
\EnableCrossrefs
\CodelineIndex
\RecordChanges
@@ -60,6 +60,7 @@
% \changes{v0.2}{2011/07/23}{Added \cs{collectboxcheckenv}.}
% \changes{v0.2a}{2011/07/30}{Small bugfix.}
% \changes{v0.3}{2011/08/06}{Some internal modifications required by related packages.}
+% \changes{v0.3a}{2011/08/11}{Fixed issue with collectbox macros in the end-code of a collectbox environment.}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
@@ -279,7 +280,7 @@
% \fi
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{collectbox}[2011/08/06 v0.3 Collect macro arguments as boxes]
+\ProvidesPackage{collectbox}[2011/08/11 v0.3a Collect macro arguments as boxes]
% \end{macrocode}
%
% \begin{macro}{\collectedbox}
@@ -458,6 +459,8 @@
\collectbox@protecteddef\totalheight{\@ovri}%
\totalheight\height
\advance\totalheight\depth
+ \let\collectbox@endcode\relax
+ \let\collectbox@bgroup\collectbox@macro@bgroup
}
% \end{macrocode}
% \end{macro}
diff --git a/Master/texmf-dist/tex/latex/collectbox/collectbox.sty b/Master/texmf-dist/tex/latex/collectbox/collectbox.sty
index f9981471f67..373b59e25ab 100644
--- a/Master/texmf-dist/tex/latex/collectbox/collectbox.sty
+++ b/Master/texmf-dist/tex/latex/collectbox/collectbox.sty
@@ -26,7 +26,7 @@
%% and the derived file collectbox.sty.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{collectbox}[2011/08/06 v0.3 Collect macro arguments as boxes]
+\ProvidesPackage{collectbox}[2011/08/11 v0.3a Collect macro arguments as boxes]
\newsavebox\collectedbox
\newcommand*\collectbox{%
\@ifstar
@@ -101,6 +101,8 @@
\collectbox@protecteddef\totalheight{\@ovri}%
\totalheight\height
\advance\totalheight\depth
+ \let\collectbox@endcode\relax
+ \let\collectbox@bgroup\collectbox@macro@bgroup
}
\begingroup
\expandafter\ifx\csname protected\endcsname\relax