<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{docmute}[2012/03/22 v1.4 Input stand-alone documents]
\def\docmute@docenv{document}
\long\def\docmute@gobblepreamble#1\begin#2{%
  \def\docmute@thisenv{#2}%
  \ifx\docmute@thisenv\docmute@docenv
    \begin{document}%
  \else
    \expandafter\docmute@gobblepreamble
  \fi
}
\let\docmute@document=\document
\let\docmute@enddocument=\enddocument
\let\docmute=\docmute@gobblepreamble
\def\document{%
  \docmute@document
  \newcount\docmute@nestinglevel
  \docmute@nestinglevel=0\relax
  \let\documentclass=\docmute
  \renewenvironment{document}{%
    \endgroup
    \advance \docmute@nestinglevel 1\relax
    \ignorespaces
  }{%
    \ifnum\docmute@nestinglevel=0
      \expandafter\docmute@enddocument
    \else
      \advance \docmute@nestinglevel -1\relax
      \begingroup
      \@ignoretrue
      \def\@currenvir{document}%
      \endinput
    \fi
  }%
  \ignorespaces
}
\DeclareOption{nested}{}% for backwards compatibility only
\ProcessOptions

</pre></body></html>