summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-30 00:35:24 +0000
committerKarl Berry <karl@freefriends.org>2012-01-30 00:35:24 +0000
commitda5a8ebcbef768e7565429bb04feb998d3da0869 (patch)
treed0a4f21e3f06e7f992142562b06c201ab6750f6d /Master/texmf-dist
parentf60c2c93c50a174b6f9fb879c7363038a97fa6fe (diff)
docmute (28jan12)
git-svn-id: svn://tug.org/texlive/trunk@25230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/docmute/docmute.pdfbin92811 -> 147848 bytes
-rw-r--r--Master/texmf-dist/source/latex/docmute/docmute.dtx13
-rw-r--r--Master/texmf-dist/tex/latex/docmute/docmute.sty4
3 files changed, 7 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/docmute/docmute.pdf b/Master/texmf-dist/doc/latex/docmute/docmute.pdf
index 0540bfcfa2f..ec4bc9dbffb 100644
--- a/Master/texmf-dist/doc/latex/docmute/docmute.pdf
+++ b/Master/texmf-dist/doc/latex/docmute/docmute.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/docmute/docmute.dtx b/Master/texmf-dist/source/latex/docmute/docmute.dtx
index 720b52c54d2..6af608a2702 100644
--- a/Master/texmf-dist/source/latex/docmute/docmute.dtx
+++ b/Master/texmf-dist/source/latex/docmute/docmute.dtx
@@ -119,7 +119,7 @@ The |\documentclass| and/or |\csname docmute\endcsname| command has to be in th
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{docmute}[2010/04/12 v1.2 Input stand-alone documents]
+\ProvidesPackage{docmute}[2012/01/28 v1.3 Input stand-alone documents]
% \end{macrocode}
%
% Macro used for comparison to see if we already reached
@@ -165,7 +165,7 @@ The |\documentclass| and/or |\csname docmute\endcsname| command has to be in th
%
% Redefine the |\documentclass| command and |document|
% environment at the beginning of the document.
-% |\AtBeginDocument| happens to early to be used for that,
+% |\AtBeginDocument| happens to early to be useful for that,
% so we need to append directly to the |\document|.
%
% \begin{macrocode}
@@ -176,11 +176,8 @@ The |\documentclass| and/or |\csname docmute\endcsname| command has to be in th
\renewenvironment{document}{%
% \end{macrocode}
%
-% Avoid grouping coming from the environment, store definition
-% of |\@currenvir| at current nesting level and redefine it
-% as |document| to keep check at |\end{document}| happy.
-% Keep track of document nesting level and take care of excess
-% spaces.
+% Avoid grouping coming from the environment, keep track
+% of document nesting level and take care of excess spaces.
%
% \begin{macrocode}
\endgroup
@@ -198,7 +195,7 @@ The |\documentclass| and/or |\csname docmute\endcsname| command has to be in th
%
% \begin{macrocode}
\ifnum\docmute@nestinglevel=0
- \docmute@enddocument
+ \expandafter\docmute@enddocument
\else
\begingroup
\@ignoretrue
diff --git a/Master/texmf-dist/tex/latex/docmute/docmute.sty b/Master/texmf-dist/tex/latex/docmute/docmute.sty
index 5bbaf7cd1a4..10fd1764050 100644
--- a/Master/texmf-dist/tex/latex/docmute/docmute.sty
+++ b/Master/texmf-dist/tex/latex/docmute/docmute.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{docmute}[2010/04/12 v1.2 Input stand-alone documents]
+\ProvidesPackage{docmute}[2012/01/28 v1.3 Input stand-alone documents]
\def\docmute@docenv{document}
\long\def\docmute@gobblepreamble#1\begin#2{%
\def\docmute@thisenv{#2}%
@@ -23,7 +23,7 @@
}{%
\advance \docmute@nestinglevel -1%
\ifnum\docmute@nestinglevel=0
- \docmute@enddocument
+ \expandafter\docmute@enddocument
\else
\begingroup
\@ignoretrue