]> git.saurik.com Git - wxWidgets.git/blame - utils/tex2rtf/docs/verbatim.sty
New way to grey out disabled toolbar icons.
[wxWidgets.git] / utils / tex2rtf / docs / verbatim.sty
CommitLineData
9a29912f
JS
1%%
2%% This is file `verbatim.sty' generated
3%% on <1991/9/3> with the docstrip utility (v1.1l test).
4%%
5%% The original source file was `verbatim.doc'.
6%%
7%%
8%% Copyright (C) 1989,1990,1991 by Rainer Schoepf. All rights reserved.
9%%
10%% IMPORTANT NOTICE:
11%%
12%% You are not allowed to change this file. You may however copy this file
13%% to a different name and then change this copy.
14%%
15%% You are allowed to distribute this file under the condition that it is
16%% distributed together with all files mentioned in readme.mz4. If you
17%% receive only some of these files from someone, complain!
18%%
19%% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED
20%% to take money for the distribution or use of this file (or a changed
21%% version) except for some nominal charge for copying etc.
22%%
23%% Error Reports in case of UNCHANGED versions to
24%%
25%% Rainer Schoepf
26%% Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
27%% Heilbronner Str. 10
28%% W-1000 Berlin 31
29%% Federal Republic of Germany
30%% Internet: <SCHOEPF@SC.ZIB-Berlin.DE>
31%%
32\def\fileversion{v1.4f}
33\def\filedate{91/08/05}
34\def\docdate{91/08/05}
35
36%% \CheckSum{439}
37%% \CharacterTable
38%% {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
39%% 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
40%% Digits \0\1\2\3\4\5\6\7\8\9
41%% Exclamation \! Double quote \" Hash (number) \#
42%% Dollar \$ Percent \% Ampersand \&
43%% Acute accent \' Left paren \( Right paren \)
44%% Asterisk \* Plus \+ Comma \,
45%% Minus \- Point \. Solidus \/
46%% Colon \: Semicolon \; Less than \<
47%% Equals \= Greater than \> Question mark \?
48%% Commercial at \@ Left bracket \[ Backslash \\
49%% Right bracket \] Circumflex \^ Underscore \_
50%% Grave accent \` Left brace \{ Vertical bar \|
51%% Right brace \} Tilde \~}
52%%
53%% Style-option `verbatim' to use with LaTeX v2.09
54%% Copyright (C) 1989, 1990, 1991 by Rainer Sch\"opf, all rights reserved.
55\@ifundefined{verbatim@@@}{}{\endinput}
56\typeout{Style-Option: `verbatim'
57 \fileversion \space <\filedate> (RmS)}
58\typeout{English Documentation
59 \@spaces \@spaces \space <\docdate> (RmS)}
60\def\addto@hook#1#2{#1\expandafter{\the#1#2}}
61\newtoks\every@verbatim
62\every@verbatim={}
63\def\@makeother#1{\catcode`#112\relax}
64\begingroup
65 \catcode`\ =\active%
66\gdef\@vobeyspaces{\catcode`\ \active\let \@xobeysp}%
67\endgroup
68\def\@xobeysp{\leavevmode\penalty\@M\ }
69\newtoks\verbatim@line
70\def\verbatim@startline{\verbatim@line{}}
71\def\verbatim@addtoline#1{%
72 \verbatim@line\expandafter{\the\verbatim@line#1}}
73\def\verbatim@processline{\the\verbatim@line\par}
74\def\verbatim@finish{\ifcat$\the\verbatim@line$\else
75 \verbatim@processline\fi}
76\begingroup
77 \catcode`\`=\active
78 \gdef\verbatim@font{\tt \catcode96\active
79 \def`{\leavevmode\kern\z@\char96 }}
80\endgroup
81\def\@verbatim{\the\every@verbatim
82 \trivlist \item[]%
83 \leftskip\@totalleftmargin\rightskip\z@
84 \parindent\z@\parfillskip\@flushglue\parskip\z@
85 \@@par
86 \def\par{\leavevmode\null\@@par\penalty\interlinepenalty}%
87 \obeylines
88 \verbatim@font
89 \let\do\@makeother \dospecials}
90\def\verbatim{\@verbatim \frenchspacing\@vobeyspaces\verbatim@start}
91\@namedef{verbatim*}{\@verbatim\verbatim@start}
92\let\endverbatim=\endtrivlist
93\expandafter\let\csname endverbatim*\endcsname =\endtrivlist
94\def\comment{\@bsphack
95 \let\do\@makeother\dospecials\catcode`\^^M\active
96 \let\verbatim@startline\relax
97 \let\verbatim@addtoline\@gobble
98 \let\verbatim@processline\relax
99 \let\verbatim@finish\relax
100 \verbatim@}
101\let\endcomment=\@esphack
102\@ifundefined{vrb@catcodes}%
103 {\def\vrb@catcodes{%
104 \catcode`\!12\catcode`\[12\catcode`\]12}}{}
105\begingroup
106 \vrb@catcodes
107 \lccode`\!=`\\ \lccode`\[=`\{ \lccode`\]=`\}
108 \catcode`\~=\active \lccode`\~=`\^^M
109 \lccode`\C=`\C
110 \lowercase{%
111 \gdef\verbatim@start#1{%
112 \verbatim@startline
113 \if\noexpand#1\noexpand~%
114 \let\next\verbatim@
115 \else \def\next{\verbatim@#1}\fi
116 \next}%
117 \gdef\verbatim@#1~{\verbatim@@#1!end\@nil}%
118 \gdef\verbatim@@#1!end{%
119 \verbatim@addtoline{#1}%
120 \futurelet\next\verbatim@@@}%
121 \gdef\verbatim@@@#1\@nil{%
122 \ifx\next\@nil
123 \verbatim@processline
124 \verbatim@startline
125 \let\next\verbatim@
126 \else
127 \def\@tempa##1!end\@nil{\toks@{##1}}%
128 \@tempa#1\@nil
129 \@temptokena{!end}%
130 \edef\next{\noexpand\verbatim@test\the\toks@\noexpand~}%
131 \fi \next}%
132 \gdef\verbatim@test#1{%
133 \let\next\verbatim@test
134 \if\noexpand#1\noexpand~%
135 \expandafter\verbatim@addtoline
136 \expandafter{\the\@temptokena}%
137 \verbatim@processline
138 \verbatim@startline
139 \let\next\verbatim@
140 \else \if\noexpand#1
141 \@temptokena\expandafter{\the\@temptokena#1}%
142 \else \if\noexpand#1\noexpand[%
143 \let\@tempc\@empty
144 \let\next\verbatim@testend
145 \else
146 \expandafter\verbatim@addtoline
147 \expandafter{\the\@temptokena}%
148 \def\next{\verbatim@#1}%
149 \fi\fi\fi
150 \next}%
151 \gdef\verbatim@testend#1{%
152 \if\noexpand#1\noexpand~%
153 \expandafter\verbatim@addtoline
154 \expandafter{\the\@temptokena[}%
155 \expandafter\verbatim@addtoline
156 \expandafter{\@tempc}%
157 \verbatim@processline
158 \verbatim@startline
159 \let\next\verbatim@
160 \else\if\noexpand#1\noexpand]%
161 \let\next\verbatim@@testend
162 \else\if\noexpand#1\noexpand!%
163 \expandafter\verbatim@addtoline
164 \expandafter{\the\@temptokena[}%
165 \expandafter\verbatim@addtoline
166 \expandafter{\@tempc}%
167 \def\next{\verbatim@!}%
168 \else \expandafter\def\expandafter\@tempc\expandafter
169 {\@tempc#1}\fi\fi\fi
170 \next}%
171 \gdef\verbatim@@testend{%
172 \ifx\@tempc\@currenvir
173 \verbatim@finish
174 \edef\next{\noexpand\end{\@currenvir}%
175 \noexpand\verbatim@rescan{\@currenvir}}%
176 \else
177 \expandafter\verbatim@addtoline
178 \expandafter{\the\@temptokena[}%
179 \expandafter\verbatim@addtoline
180 \expandafter{\@tempc]}%
181 \let\next\verbatim@
182 \fi
183 \next}%
184 \gdef\verbatim@rescan#1#2~{\if\noexpand~\noexpand#2~\else
185 \@warning{Characters dropped after `\string\end{#1}'}\fi}}
186\endgroup
187\def\verbatiminput{\begingroup
188 \@ifstar\sverbatim@input\verbatim@input}
189\def\sverbatim@input#1{\@verbatim
190 \@input{#1}\endtrivlist\endgroup\@doendpe}
191\def\verbatim@input#1{\@verbatim
192 \frenchspacing \@vobeyspaces
193 \@input{#1}\endtrivlist\endgroup\@doendpe}
194\begingroup
195 \lccode`\~=`\^^M
196 \lowercase{%
197 \gdef\verb{\begingroup
198 \verbatim@font
199 \catcode`\^^M\active
200 \def~{\endgroup\@latexerr{\string\verb\space command ended by
201 end of line.}\@ehc}%
202 \let\do\@makeother \dospecials
203 \@ifstar\@sverb{\@vobeyspaces \frenchspacing \@sverb}}}
204\endgroup
205\def\@sverb#1{%
206 \catcode`#1\active
207 \lccode`\~`#1%
208 \lowercase{\let~\endgroup}%
209 \leavevmode\null}
210\endinput
211%%
212%% End of file `verbatim.sty'.