213 lines
7.3 KiB
Plaintext
213 lines
7.3 KiB
Plaintext
|
%%
|
||
|
%% This is file `verbatim.sty' generated
|
||
|
%% on <1991/9/3> with the docstrip utility (v1.1l test).
|
||
|
%%
|
||
|
%% The original source file was `verbatim.doc'.
|
||
|
%%
|
||
|
%%
|
||
|
%% Copyright (C) 1989,1990,1991 by Rainer Schoepf. All rights reserved.
|
||
|
%%
|
||
|
%% IMPORTANT NOTICE:
|
||
|
%%
|
||
|
%% You are not allowed to change this file. You may however copy this file
|
||
|
%% to a different name and then change this copy.
|
||
|
%%
|
||
|
%% You are allowed to distribute this file under the condition that it is
|
||
|
%% distributed together with all files mentioned in readme.mz4. If you
|
||
|
%% receive only some of these files from someone, complain!
|
||
|
%%
|
||
|
%% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
|
||
|
%% to take money for the distribution or use of this file (or a changed
|
||
|
%% version) except for some nominal charge for copying etc.
|
||
|
%%
|
||
|
%% Error Reports in case of UNCHANGED versions to
|
||
|
%%
|
||
|
%% Rainer Schoepf
|
||
|
%% Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
|
||
|
%% Heilbronner Str. 10
|
||
|
%% W-1000 Berlin 31
|
||
|
%% Federal Republic of Germany
|
||
|
%% Internet: <SCHOEPF@SC.ZIB-Berlin.DE>
|
||
|
%%
|
||
|
\def\fileversion{v1.4f}
|
||
|
\def\filedate{91/08/05}
|
||
|
\def\docdate{91/08/05}
|
||
|
|
||
|
%% \CheckSum{439}
|
||
|
%% \CharacterTable
|
||
|
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
|
||
|
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
|
||
|
%% Digits \0\1\2\3\4\5\6\7\8\9
|
||
|
%% Exclamation \! Double quote \" Hash (number) \#
|
||
|
%% Dollar \$ Percent \% Ampersand \&
|
||
|
%% Acute accent \' Left paren \( Right paren \)
|
||
|
%% Asterisk \* Plus \+ Comma \,
|
||
|
%% Minus \- Point \. Solidus \/
|
||
|
%% Colon \: Semicolon \; Less than \<
|
||
|
%% Equals \= Greater than \> Question mark \?
|
||
|
%% Commercial at \@ Left bracket \[ Backslash \\
|
||
|
%% Right bracket \] Circumflex \^ Underscore \_
|
||
|
%% Grave accent \` Left brace \{ Vertical bar \|
|
||
|
%% Right brace \} Tilde \~}
|
||
|
%%
|
||
|
%% Style-option `verbatim' to use with LaTeX v2.09
|
||
|
%% Copyright (C) 1989, 1990, 1991 by Rainer Sch\"opf, all rights reserved.
|
||
|
\@ifundefined{verbatim@@@}{}{\endinput}
|
||
|
\typeout{Style-Option: `verbatim'
|
||
|
\fileversion \space <\filedate> (RmS)}
|
||
|
\typeout{English Documentation
|
||
|
\@spaces \@spaces \space <\docdate> (RmS)}
|
||
|
\def\addto@hook#1#2{#1\expandafter{\the#1#2}}
|
||
|
\newtoks\every@verbatim
|
||
|
\every@verbatim={}
|
||
|
\def\@makeother#1{\catcode`#112\relax}
|
||
|
\begingroup
|
||
|
\catcode`\ =\active%
|
||
|
\gdef\@vobeyspaces{\catcode`\ \active\let \@xobeysp}%
|
||
|
\endgroup
|
||
|
\def\@xobeysp{\leavevmode\penalty\@M\ }
|
||
|
\newtoks\verbatim@line
|
||
|
\def\verbatim@startline{\verbatim@line{}}
|
||
|
\def\verbatim@addtoline#1{%
|
||
|
\verbatim@line\expandafter{\the\verbatim@line#1}}
|
||
|
\def\verbatim@processline{\the\verbatim@line\par}
|
||
|
\def\verbatim@finish{\ifcat$\the\verbatim@line$\else
|
||
|
\verbatim@processline\fi}
|
||
|
\begingroup
|
||
|
\catcode`\`=\active
|
||
|
\gdef\verbatim@font{\tt \catcode96\active
|
||
|
\def`{\leavevmode\kern\z@\char96 }}
|
||
|
\endgroup
|
||
|
\def\@verbatim{\the\every@verbatim
|
||
|
\trivlist \item[]%
|
||
|
\leftskip\@totalleftmargin\rightskip\z@
|
||
|
\parindent\z@\parfillskip\@flushglue\parskip\z@
|
||
|
\@@par
|
||
|
\def\par{\leavevmode\null\@@par\penalty\interlinepenalty}%
|
||
|
\obeylines
|
||
|
\verbatim@font
|
||
|
\let\do\@makeother \dospecials}
|
||
|
\def\verbatim{\@verbatim \frenchspacing\@vobeyspaces\verbatim@start}
|
||
|
\@namedef{verbatim*}{\@verbatim\verbatim@start}
|
||
|
\let\endverbatim=\endtrivlist
|
||
|
\expandafter\let\csname endverbatim*\endcsname =\endtrivlist
|
||
|
\def\comment{\@bsphack
|
||
|
\let\do\@makeother\dospecials\catcode`\^^M\active
|
||
|
\let\verbatim@startline\relax
|
||
|
\let\verbatim@addtoline\@gobble
|
||
|
\let\verbatim@processline\relax
|
||
|
\let\verbatim@finish\relax
|
||
|
\verbatim@}
|
||
|
\let\endcomment=\@esphack
|
||
|
\@ifundefined{vrb@catcodes}%
|
||
|
{\def\vrb@catcodes{%
|
||
|
\catcode`\!12\catcode`\[12\catcode`\]12}}{}
|
||
|
\begingroup
|
||
|
\vrb@catcodes
|
||
|
\lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
|
||
|
\catcode`\~=\active \lccode`\~=`\^^M
|
||
|
\lccode`\C=`\C
|
||
|
\lowercase{%
|
||
|
\gdef\verbatim@start#1{%
|
||
|
\verbatim@startline
|
||
|
\if\noexpand#1\noexpand~%
|
||
|
\let\next\verbatim@
|
||
|
\else \def\next{\verbatim@#1}\fi
|
||
|
\next}%
|
||
|
\gdef\verbatim@#1~{\verbatim@@#1!end\@nil}%
|
||
|
\gdef\verbatim@@#1!end{%
|
||
|
\verbatim@addtoline{#1}%
|
||
|
\futurelet\next\verbatim@@@}%
|
||
|
\gdef\verbatim@@@#1\@nil{%
|
||
|
\ifx\next\@nil
|
||
|
\verbatim@processline
|
||
|
\verbatim@startline
|
||
|
\let\next\verbatim@
|
||
|
\else
|
||
|
\def\@tempa##1!end\@nil{\toks@{##1}}%
|
||
|
\@tempa#1\@nil
|
||
|
\@temptokena{!end}%
|
||
|
\edef\next{\noexpand\verbatim@test\the\toks@\noexpand~}%
|
||
|
\fi \next}%
|
||
|
\gdef\verbatim@test#1{%
|
||
|
\let\next\verbatim@test
|
||
|
\if\noexpand#1\noexpand~%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\the\@temptokena}%
|
||
|
\verbatim@processline
|
||
|
\verbatim@startline
|
||
|
\let\next\verbatim@
|
||
|
\else \if\noexpand#1
|
||
|
\@temptokena\expandafter{\the\@temptokena#1}%
|
||
|
\else \if\noexpand#1\noexpand[%
|
||
|
\let\@tempc\@empty
|
||
|
\let\next\verbatim@testend
|
||
|
\else
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\the\@temptokena}%
|
||
|
\def\next{\verbatim@#1}%
|
||
|
\fi\fi\fi
|
||
|
\next}%
|
||
|
\gdef\verbatim@testend#1{%
|
||
|
\if\noexpand#1\noexpand~%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\the\@temptokena[}%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\@tempc}%
|
||
|
\verbatim@processline
|
||
|
\verbatim@startline
|
||
|
\let\next\verbatim@
|
||
|
\else\if\noexpand#1\noexpand]%
|
||
|
\let\next\verbatim@@testend
|
||
|
\else\if\noexpand#1\noexpand!%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\the\@temptokena[}%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\@tempc}%
|
||
|
\def\next{\verbatim@!}%
|
||
|
\else \expandafter\def\expandafter\@tempc\expandafter
|
||
|
{\@tempc#1}\fi\fi\fi
|
||
|
\next}%
|
||
|
\gdef\verbatim@@testend{%
|
||
|
\ifx\@tempc\@currenvir
|
||
|
\verbatim@finish
|
||
|
\edef\next{\noexpand\end{\@currenvir}%
|
||
|
\noexpand\verbatim@rescan{\@currenvir}}%
|
||
|
\else
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\the\@temptokena[}%
|
||
|
\expandafter\verbatim@addtoline
|
||
|
\expandafter{\@tempc]}%
|
||
|
\let\next\verbatim@
|
||
|
\fi
|
||
|
\next}%
|
||
|
\gdef\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
|
||
|
\@warning{Characters dropped after `\string\end{#1}'}\fi}}
|
||
|
\endgroup
|
||
|
\def\verbatiminput{\begingroup
|
||
|
\@ifstar\sverbatim@input\verbatim@input}
|
||
|
\def\sverbatim@input#1{\@verbatim
|
||
|
\@input{#1}\endtrivlist\endgroup\@doendpe}
|
||
|
\def\verbatim@input#1{\@verbatim
|
||
|
\frenchspacing \@vobeyspaces
|
||
|
\@input{#1}\endtrivlist\endgroup\@doendpe}
|
||
|
\begingroup
|
||
|
\lccode`\~=`\^^M
|
||
|
\lowercase{%
|
||
|
\gdef\verb{\begingroup
|
||
|
\verbatim@font
|
||
|
\catcode`\^^M\active
|
||
|
\def~{\endgroup\@latexerr{\string\verb\space command ended by
|
||
|
end of line.}\@ehc}%
|
||
|
\let\do\@makeother \dospecials
|
||
|
\@ifstar\@sverb{\@vobeyspaces \frenchspacing \@sverb}}}
|
||
|
\endgroup
|
||
|
\def\@sverb#1{%
|
||
|
\catcode`#1\active
|
||
|
\lccode`\~`#1%
|
||
|
\lowercase{\let~\endgroup}%
|
||
|
\leavevmode\null}
|
||
|
\endinput
|
||
|
%%
|
||
|
%% End of file `verbatim.sty'.
|