| 1 |
|
| 2 |
% Converts qwertz files to html files ready for fixref and html2html. |
| 3 |
% |
| 4 |
% This file is R-Rated because of uglyness. |
| 5 |
% |
| 6 |
% -Magnus <[email protected]> |
| 7 |
|
| 8 |
<qwertz> |
| 9 |
</qwertz> + "<@@enddoc>" + |
| 10 |
|
| 11 |
<article> |
| 12 |
</article> + "<@@enddoc>" + |
| 13 |
|
| 14 |
<report> |
| 15 |
</report> + "<@@enddoc>" + |
| 16 |
|
| 17 |
<book> |
| 18 |
</book> + "<@@enddoc>" + |
| 19 |
|
| 20 |
<notes> |
| 21 |
</notes> + "<@@enddoc>" + |
| 22 |
|
| 23 |
% Manual Pages are expected to be formatted using nroff (or groff), unless |
| 24 |
% they are included as sections of other qwertz documents. |
| 25 |
|
| 26 |
<manpage> |
| 27 |
</manpage> |
| 28 |
|
| 29 |
<progdoc> |
| 30 |
</progdoc> |
| 31 |
|
| 32 |
<titlepag> |
| 33 |
</titlepag> |
| 34 |
|
| 35 |
<title> + "<@@title>" |
| 36 |
</title> |
| 37 |
|
| 38 |
<subtitle> + "<H2>" |
| 39 |
</subtitle> "</H2>" + |
| 40 |
|
| 41 |
<author> |
| 42 |
</author> |
| 43 |
|
| 44 |
<date> |
| 45 |
</date> |
| 46 |
|
| 47 |
<documentid> |
| 48 |
</documentid> |
| 49 |
|
| 50 |
<name> + "<H2>" |
| 51 |
</name> "</H2>" |
| 52 |
|
| 53 |
<and> " and " |
| 54 |
</and> |
| 55 |
|
| 56 |
<thanks> + "Thanks " |
| 57 |
</thanks> |
| 58 |
|
| 59 |
<inst> + "<H3>" |
| 60 |
</inst> "</H3>" + |
| 61 |
|
| 62 |
<newline> "<BR>" |
| 63 |
|
| 64 |
<label> + "<@@label>[ID]" + |
| 65 |
</label> |
| 66 |
|
| 67 |
<header> |
| 68 |
</header> |
| 69 |
|
| 70 |
<lhead> + "<!-- " |
| 71 |
</lhead> " -->" + |
| 72 |
|
| 73 |
<rhead> + "<!-- " |
| 74 |
</rhead> " -->" + |
| 75 |
|
| 76 |
<comment> + "<H4>Comment</H4>" + |
| 77 |
</comment> |
| 78 |
|
| 79 |
<abstract> + "<P><HR>\n<EM>" |
| 80 |
</abstract> "</EM>\n<HR>" + |
| 81 |
|
| 82 |
<appendix> + "<H2>Appendix</H2>" + |
| 83 |
</appendix> |
| 84 |
|
| 85 |
<toc> |
| 86 |
</toc> |
| 87 |
|
| 88 |
<lof> |
| 89 |
</lof> |
| 90 |
|
| 91 |
<lot> |
| 92 |
</lot> |
| 93 |
|
| 94 |
<chapt> + "<@@chapt>" |
| 95 |
</chapt> + "<@@endchapt>" + |
| 96 |
|
| 97 |
<sect> + "<@@sect>" |
| 98 |
</sect> + "<@@endsect>" + |
| 99 |
|
| 100 |
<sect1> + "<@@ssect>" |
| 101 |
</sect1> + "<@@endssect>" + |
| 102 |
|
| 103 |
<sect2> + "<@@head>" |
| 104 |
</sect2> |
| 105 |
|
| 106 |
<sect3> + "<@@head>" |
| 107 |
</sect3> |
| 108 |
|
| 109 |
<sect4> + "<@@head>" |
| 110 |
</sect4> |
| 111 |
|
| 112 |
<heading> |
| 113 |
</heading> + "<@@endhead>" + |
| 114 |
|
| 115 |
<p> "<P>" |
| 116 |
</p> "" + |
| 117 |
|
| 118 |
<hrule> "<HR>" |
| 119 |
|
| 120 |
<itemize> + "<UL>" + |
| 121 |
</itemize> + "</UL>" + |
| 122 |
|
| 123 |
<enum> + "<OL>" + |
| 124 |
</enum> + "</OL>" + |
| 125 |
|
| 126 |
<descrip> + "<DL>" + |
| 127 |
</descrip> + "</DL>" + |
| 128 |
|
| 129 |
<item> + "<LI>" |
| 130 |
</item> "</LI>" + |
| 131 |
|
| 132 |
<tag> "<DT><CODE>" |
| 133 |
</tag> "</CODE><DD>" |
| 134 |
|
| 135 |
<tagp> "<DT>" |
| 136 |
</tagp> "<DD>" |
| 137 |
|
| 138 |
<cite> "[<I>[ID]</I>]" |
| 139 |
</cite> |
| 140 |
|
| 141 |
<ncite> "[<I>[NOTE] ([ID])</I>]" |
| 142 |
</ncite> |
| 143 |
|
| 144 |
<file> "<CODE>" |
| 145 |
</file> "</CODE>" |
| 146 |
|
| 147 |
<footnote> + "<BLOCKQUOTE>" |
| 148 |
</footnote> "</BLOCKQUOTE>" + |
| 149 |
|
| 150 |
<sq> "\"" |
| 151 |
</sq> "\"" |
| 152 |
|
| 153 |
<lq> + "<LQ>" + |
| 154 |
</lq> + "</LQ>" + |
| 155 |
|
| 156 |
<em> "<EM>" |
| 157 |
</em> "</EM>" |
| 158 |
|
| 159 |
<bf> "<B>" |
| 160 |
</bf> "</B>" |
| 161 |
|
| 162 |
<it> "<I>" |
| 163 |
</it> "</I>" |
| 164 |
|
| 165 |
<sf> "<SF>" |
| 166 |
</sf> "</SF>" |
| 167 |
|
| 168 |
<sl> "<I>" |
| 169 |
</sl> "</I>" |
| 170 |
|
| 171 |
<tt> "<CODE>" |
| 172 |
</tt> "</CODE>" |
| 173 |
|
| 174 |
<cf> "<CODE>" |
| 175 |
</cf> "</CODE>" |
| 176 |
|
| 177 |
<m> "<I>" |
| 178 |
</m> "</I>" |
| 179 |
|
| 180 |
<const> "<I>" |
| 181 |
</const> "</I>" |
| 182 |
|
| 183 |
<func> "<B>" |
| 184 |
</func> "</B>" |
| 185 |
|
| 186 |
<struct> "<I>" |
| 187 |
</struct> "</I>" |
| 188 |
|
| 189 |
<param> "<B>" |
| 190 |
</param> "</B>" |
| 191 |
|
| 192 |
<type> "<I>" |
| 193 |
</type> "</I>" |
| 194 |
|
| 195 |
<funcdef> "<B>" |
| 196 |
</funcdef> "</B>" |
| 197 |
|
| 198 |
<function> "<HR><H3>Function</H3>\n" |
| 199 |
</function> "\n" |
| 200 |
|
| 201 |
<funcsect> "<H3>" |
| 202 |
</funcsect> "</H3>\n" |
| 203 |
|
| 204 |
% url support by HG |
| 205 |
|
| 206 |
<url> + "<@@url>[URL]\n" |
| 207 |
"[NAME]</A>\n" |
| 208 |
"<@@endurl>" + |
| 209 |
</url> |
| 210 |
|
| 211 |
<htmlurl> "<A HREF=\"[URL]\">[NAME]</A>" |
| 212 |
</htmlurl> |
| 213 |
|
| 214 |
<rfc> "<A HREF=\"http://www.rfc-editor.org/info/rfc[ID]\">RFC [ID]</A>" |
| 215 |
</rfc> |
| 216 |
|
| 217 |
|
| 218 |
% ref modified to have an optional name field |
| 219 |
<ref> + "<@@ref>[ID]\n" |
| 220 |
"[NAME]</A>\n" |
| 221 |
"<@@endref>" + |
| 222 |
</ref> |
| 223 |
|
| 224 |
<href> + "<@@ref>[ID]" + |
| 225 |
</href> |
| 226 |
|
| 227 |
<pageref> + "<@@ref>[ID]" + |
| 228 |
</pageref> |
| 229 |
|
| 230 |
<nidx> + "<!--" + |
| 231 |
</nidx> + "-->" + |
| 232 |
|
| 233 |
<ncdx> + "<!--" + |
| 234 |
</ncdx> + "-->" + |
| 235 |
|
| 236 |
<x> |
| 237 |
</x> |
| 238 |
|
| 239 |
<mc> "<MC>" |
| 240 |
</mc> "</MC>" |
| 241 |
|
| 242 |
<biblio> + "<BIBLIO STYLE=\"[STYLE]\" FILES=\"[FILES]\">" + |
| 243 |
</biblio> |
| 244 |
|
| 245 |
<code> + "<HR>\n<PRE>" + |
| 246 |
</code> + "</PRE>\n<HR>" + |
| 247 |
|
| 248 |
<verb> + "<PRE>" + |
| 249 |
</verb> + "</PRE>" + |
| 250 |
|
| 251 |
<tscreen> + "<BLOCKQUOTE><CODE>" + |
| 252 |
</tscreen> + "</CODE></BLOCKQUOTE>" + |
| 253 |
|
| 254 |
<quote> + "<BLOCKQUOTE>" + |
| 255 |
</quote> + "</BLOCKQUOTE>" + |
| 256 |
|
| 257 |
% theorems and such |
| 258 |
|
| 259 |
<def> + "<DEF>" |
| 260 |
</def> + "</DEF>" + |
| 261 |
|
| 262 |
<prop> + "<PROP>" |
| 263 |
</prop> + "</PROP>" + |
| 264 |
|
| 265 |
<lemma> + "<LEMMA>" |
| 266 |
</lemma> + "</LEMMA>" + |
| 267 |
|
| 268 |
<coroll> + "<COROLL>" |
| 269 |
</coroll> + "</COROLL>" + |
| 270 |
|
| 271 |
<proof> + "<PROOF>" |
| 272 |
</proof> + "</PROOF>" + |
| 273 |
|
| 274 |
<theorem> + "<THEOREM>" |
| 275 |
</theorem> + "</THEOREM>" + |
| 276 |
|
| 277 |
<thtag> "<THTAG>" |
| 278 |
</thtag> "</THTAG>" |
| 279 |
|
| 280 |
% mathematics |
| 281 |
|
| 282 |
<f> |
| 283 |
</f> |
| 284 |
|
| 285 |
<dm> + "<DM>" + |
| 286 |
</dm> + "</DM>" + |
| 287 |
|
| 288 |
<eq> + "<EQ>" + |
| 289 |
</eq> + "</EQ>" + |
| 290 |
|
| 291 |
<fr> "<FR>" |
| 292 |
</fr> "</FR>" |
| 293 |
|
| 294 |
<nu> "<NU>" |
| 295 |
</nu> "</NU>" |
| 296 |
|
| 297 |
<de> "<DE>" |
| 298 |
</de> "</DE>" |
| 299 |
|
| 300 |
<lim> "<LIM>" |
| 301 |
</lim> "</LIM>" |
| 302 |
|
| 303 |
<op> "<OP>" |
| 304 |
</op> "</OP>" |
| 305 |
|
| 306 |
<ll> "<LL>" |
| 307 |
</ll> "</LL>" |
| 308 |
|
| 309 |
<ul> "<UL>" |
| 310 |
</ul> "</UL>" |
| 311 |
|
| 312 |
<opd> "<OPD>" |
| 313 |
</opd> "</OPD>" |
| 314 |
|
| 315 |
<pr> "<PR>" |
| 316 |
</pr> "</PR>" |
| 317 |
|
| 318 |
<in> "<INT>" |
| 319 |
</in> "</INT>" |
| 320 |
|
| 321 |
<sum> "<SUM>" |
| 322 |
</sum> "</SUM>" |
| 323 |
|
| 324 |
<root> "<ROOT>" |
| 325 |
</root> "</ROOT>" |
| 326 |
|
| 327 |
<ar> "<AR>" |
| 328 |
</ar> "</AR>" |
| 329 |
|
| 330 |
<arr> "<ARR>" |
| 331 |
</arr> |
| 332 |
|
| 333 |
<arc> "<ARC>" |
| 334 |
</arc> |
| 335 |
|
| 336 |
<sup> "<SUP>" |
| 337 |
</sup> "</SUP>" |
| 338 |
|
| 339 |
<inf> "<SUB>" |
| 340 |
</inf> "</SUB>" |
| 341 |
|
| 342 |
<unl> "<UNL>" |
| 343 |
</unl> "</UNL>" |
| 344 |
|
| 345 |
<ovl> "<OVL>" |
| 346 |
</ovl> "</OVL>" |
| 347 |
|
| 348 |
<rf> "<RF>" |
| 349 |
</rf> "</RF>" |
| 350 |
|
| 351 |
<v> "<V>" |
| 352 |
</v> "</V>" |
| 353 |
|
| 354 |
<fi> "<FI>" |
| 355 |
</fi> "</FI>" |
| 356 |
|
| 357 |
<phr> "<PHR>" |
| 358 |
</phr> "</PHR>" |
| 359 |
|
| 360 |
<tu> "<TU>" |
| 361 |
</tu> |
| 362 |
|
| 363 |
% figures |
| 364 |
|
| 365 |
<figure> + "<FIGURE>" + |
| 366 |
</figure> + "</FIGURE>" + |
| 367 |
|
| 368 |
<eps> + "<EPS FILE=\"[FILE]\">" + |
| 369 |
</eps> |
| 370 |
|
| 371 |
<img> + "<IMG SRC=\"[SRC]\">" + |
| 372 |
</img> |
| 373 |
|
| 374 |
<ph> + "<PH VSPACE=\"[VSPACE]\">" + |
| 375 |
</ph> |
| 376 |
|
| 377 |
<caption> + "<CAPTION>" |
| 378 |
</caption> "</CAPTION>" + |
| 379 |
|
| 380 |
% tables |
| 381 |
|
| 382 |
<table> + "<CENTER><TABLE BORDER><TR><TD>\n" + |
| 383 |
</table> + "</TD></TR></TABLE></CENTER>\n" + |
| 384 |
|
| 385 |
<tabular> + "<BR>\n" + |
| 386 |
</tabular> + "\n" + |
| 387 |
|
| 388 |
<rowsep> "</TD></TR><TR><TD>" + |
| 389 |
</rowsep> |
| 390 |
|
| 391 |
<colsep> "</TD><TD>" |
| 392 |
</colsep> |
| 393 |
|
| 394 |
<hline> + "" + |
| 395 |
</hline> |
| 396 |
|
| 397 |
% slides |
| 398 |
|
| 399 |
<slides> + "<SLIDES>" + |
| 400 |
</slides> + "</SLIDES>" + |
| 401 |
|
| 402 |
<slide> + "<SLIDE>" + |
| 403 |
</slide> + "</SLIDE>" + |
| 404 |
|
| 405 |
% letters |
| 406 |
|
| 407 |
|
| 408 |
<letter> + "<LETTER OPTS=\"[OPTS]\">" + |
| 409 |
</letter> + "</LETTER>" + |
| 410 |
|
| 411 |
<telefax> + "<TELEFAX OPTS=\"[OPTS]\">" + |
| 412 |
</telefax> + "</TELEFAX>" + |
| 413 |
|
| 414 |
<opening> + "<OPENING>" |
| 415 |
</opening> "</OPENING>" + |
| 416 |
|
| 417 |
|
| 418 |
<from> + "<FROM>" |
| 419 |
</from> + "</FROM>" + |
| 420 |
|
| 421 |
|
| 422 |
<to> + "<TO>" |
| 423 |
|
| 424 |
</to> + "</TO>" + |
| 425 |
|
| 426 |
% first end definition of name |
| 427 |
|
| 428 |
<address> + "<ADDRESS>" + |
| 429 |
</address> + "</ADDRESS>" + |
| 430 |
|
| 431 |
<email> + "<EMAIL>" |
| 432 |
</email> "</EMAIL>" + |
| 433 |
|
| 434 |
<phone> + "<PHONE>" |
| 435 |
</phone> "</PHONE>" + |
| 436 |
|
| 437 |
|
| 438 |
<fax> + "<FAX>" |
| 439 |
</fax> "</FAX>" + |
| 440 |
|
| 441 |
<subject> + "<SUBJECT>" |
| 442 |
</subject> "</SUBJECT>" + |
| 443 |
|
| 444 |
|
| 445 |
<sref> + "<SREF>" |
| 446 |
</sref> "</SREF>" + |
| 447 |
|
| 448 |
<rref> + "<RREF>" |
| 449 |
</rref> "</RREF>" + |
| 450 |
|
| 451 |
<rdate> + "<RDATE>" |
| 452 |
</rdate> "</RDATE>" + |
| 453 |
|
| 454 |
<closing> + "<CLOSING>" |
| 455 |
</closing> "</CLOSING>" + |
| 456 |
|
| 457 |
<cc> + "<CC>" |
| 458 |
</cc> "</CC>" + |
| 459 |
|
| 460 |
<encl> + "<ENCL>" |
| 461 |
</encl> "</ENCL>" + |
| 462 |
|
| 463 |
<ps> + "<PS>" + |
| 464 |
</ps> + "</PS>" + |
| 465 |
|
| 466 |
% end of html replacement file |