home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / packages / tools / fileerr.dtx < prev    next >
LaTeX Document  |  1995-03-15  |  4.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file LaTeX document, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 64 65 66 5c 66 | 69 6c 65 76 65 72 73 69 |% \def\f|ileversi|
|00000010| 6f 6e 7b 76 31 2e 30 64 | 7d 20 5c 64 65 66 5c 66 |on{v1.0d|} \def\f|
|00000020| 69 6c 65 64 61 74 65 7b | 31 39 39 34 2f 31 32 2f |iledate{|1994/12/|
|00000030| 30 31 7d 0a 25 20 5c 43 | 68 65 63 6b 53 75 6d 7b |01}.% \C|heckSum{|
|00000040| 31 35 7d 0a 25 20 5c 69 | 66 66 61 6c 73 65 20 20 |15}.% \i|ffalse |
|00000050| 20 20 54 68 69 73 20 69 | 73 20 61 20 4d 45 54 41 | This i|s a META|
|00000060| 43 4f 4d 4d 45 4e 54 0a | 25 20 44 6f 63 2d 53 6f |COMMENT.|% Doc-So|
|00000070| 75 72 63 65 20 66 69 6c | 65 20 74 6f 20 75 73 65 |urce fil|e to use|
|00000080| 20 77 69 74 68 20 4c 61 | 54 65 58 32 65 0a 25 20 | with La|TeX2e.% |
|00000090| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 31 39 |Copyrigh|t (C) 19|
|000000a0| 39 33 2d 39 34 20 46 72 | 61 6e 6b 20 4d 69 74 74 |93-94 Fr|ank Mitt|
|000000b0| 65 6c 62 61 63 68 2c 20 | 61 6c 6c 20 72 69 67 68 |elbach, |all righ|
|000000c0| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0a 25 20 5c |ts reser|ved..% \|
|000000d0| 66 69 0a 25 20 5c 74 69 | 74 6c 65 7b 46 69 6c 65 |fi.% \ti|tle{File|
|000000e0| 20 6e 6f 74 20 66 6f 75 | 6e 64 20 65 72 72 6f 72 | not fou|nd error|
|000000f0| 5c 74 68 61 6e 6b 73 7b | 54 68 69 73 20 66 69 6c |\thanks{|This fil|
|00000100| 65 20 68 61 73 20 76 65 | 72 73 69 6f 6e 0a 25 20 |e has ve|rsion.% |
|00000110| 5c 66 69 6c 65 76 65 72 | 73 69 6f 6e 5c 20 6c 61 |\filever|sion\ la|
|00000120| 73 74 20 72 65 76 69 73 | 65 64 20 5c 66 69 6c 65 |st revis|ed \file|
|00000130| 64 61 74 65 7d 7d 0a 25 | 20 5c 61 75 74 68 6f 72 |date}}.%| \author|
|00000140| 7b 46 72 61 6e 6b 20 4d | 69 74 74 65 6c 62 61 63 |{Frank M|ittelbac|
|00000150| 68 7d 0a 25 20 5c 6d 61 | 6b 65 74 69 74 6c 65 0a |h}.% \ma|ketitle.|
|00000160| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 49 6e 74 |%.% \sec|tion{Int|
|00000170| 72 6f 64 75 63 74 69 6f | 6e 7d 0a 25 20 20 20 20 |roductio|n}.% |
|00000180| 57 68 65 6e 20 5c 4c 61 | 54 65 58 65 7b 7d 20 69 |When \La|TeXe{} i|
|00000190| 73 20 75 6e 61 62 6c 65 | 20 74 6f 20 66 69 6e 64 |s unable| to find|
|000001a0| 20 61 20 66 69 6c 65 20 | 69 74 20 77 69 6c 6c 20 | a file |it will |
|000001b0| 61 73 6b 20 66 6f 72 20 | 61 6e 0a 25 20 20 20 20 |ask for |an.% |
|000001c0| 61 6c 74 65 72 6e 61 74 | 69 76 65 20 66 69 6c 65 |alternat|ive file|
|000001d0| 20 6e 61 6d 65 2e 20 48 | 6f 77 65 76 65 72 2c 20 | name. H|owever, |
|000001e0| 73 6f 6d 65 74 69 6d 65 | 73 20 74 68 65 20 70 72 |sometime|s the pr|
|000001f0| 6f 62 6c 65 6d 20 69 73 | 0a 25 20 20 20 20 6f 6e |oblem is|.% on|
|00000200| 6c 79 20 6e 6f 74 69 63 | 65 64 20 62 79 20 5c 54 |ly notic|ed by \T|
|00000210| 65 58 7b 7d 2c 20 61 6e | 64 20 69 6e 20 74 68 61 |eX{}, an|d in tha|
|00000220| 74 20 63 61 73 65 20 5c | 54 65 58 7b 7d 20 69 6e |t case \|TeX{} in|
|00000230| 73 69 73 74 73 20 6f 6e | 0a 25 20 20 20 20 67 65 |sists on|.% ge|
|00000240| 74 74 69 6e 67 20 61 20 | 76 61 6c 69 64 20 66 69 |tting a |valid fi|
|00000250| 6c 65 20 6e 61 6d 65 3b | 20 61 6e 79 20 6f 74 68 |le name;| any oth|
|00000260| 65 72 20 61 74 74 65 6d | 70 74 20 74 6f 20 6c 65 |er attem|pt to le|
|00000270| 61 76 65 20 74 68 69 73 | 0a 25 20 20 20 20 65 72 |ave this|.% er|
|00000280| 72 6f 72 20 6c 6f 6f 70 | 20 77 69 6c 6c 20 66 61 |ror loop| will fa|
|00000290| 69 6c 2e 5c 66 6f 6f 74 | 6e 6f 74 65 7b 4f 6e 20 |il.\foot|note{On |
|000002a0| 73 6f 6d 65 20 73 79 73 | 74 65 6d 73 2c 20 5c 54 |some sys|tems, \T|
|000002b0| 65 58 7b 7d 0a 25 20 20 | 20 20 61 63 63 65 70 74 |eX{}.% | accept|
|000002c0| 73 20 61 20 73 70 65 63 | 69 61 6c 20 63 68 61 72 |s a spec|ial char|
|000002d0| 61 63 74 65 72 20 64 65 | 6e 6f 74 69 6e 67 20 74 |acter de|noting t|
|000002e0| 68 65 20 65 6e 64 20 6f | 66 20 66 69 6c 65 20 74 |he end o|f file t|
|000002f0| 6f 0a 25 20 20 20 20 72 | 65 74 75 72 6e 20 66 72 |o.% r|eturn fr|
|00000300| 6f 6d 20 74 68 69 73 20 | 6c 6f 6f 70 2c 20 65 2e |om this |loop, e.|
|00000310| 67 2e 5c 20 43 6f 6e 74 | 72 6f 6c 2d 44 20 6f 6e |g.\ Cont|rol-D on|
|00000320| 20 55 4e 49 58 20 6f 72 | 20 43 6f 6e 74 72 6f 6c | UNIX or| Control|
|00000330| 2d 5a 0a 25 20 20 20 20 | 6f 6e 20 44 4f 53 2e 7d |-Z.% |on DOS.}|
|00000340| 20 4d 61 6e 79 20 75 73 | 65 72 73 20 74 72 79 20 | Many us|ers try |
|00000350| 74 6f 20 72 65 73 70 6f | 6e 64 20 69 6e 20 74 68 |to respo|nd in th|
|00000360| 65 20 73 61 6d 65 20 77 | 61 79 20 61 73 20 74 6f |e same w|ay as to|
|00000370| 0a 25 20 20 20 20 6e 6f | 72 6d 61 6c 20 65 72 72 |.% no|rmal err|
|00000380| 6f 72 20 6d 65 73 73 61 | 67 65 73 2c 20 65 2e 67 |or messa|ges, e.g|
|00000390| 2e 5c 20 62 79 20 74 79 | 70 69 6e 67 20 5c 6d 65 |.\ by ty|ping \me|
|000003a0| 74 61 7b 72 65 74 75 72 | 6e 7d 2c 20 6f 72 20 7c |ta{retur|n}, or ||
|000003b0| 73 7c 0a 25 20 20 20 20 | 6f 72 20 7c 78 7c 2c 20 |s|.% |or |x|, |
|000003c0| 62 75 74 20 5c 54 65 58 | 7b 7d 20 77 69 6c 6c 20 |but \TeX|{} will |
|000003d0| 69 6e 74 65 72 70 72 65 | 74 20 74 68 69 73 20 61 |interpre|t this a|
|000003e0| 73 20 61 20 66 69 6c 65 | 20 6e 61 6d 65 20 61 6e |s a file| name an|
|000003f0| 64 0a 25 20 20 20 20 77 | 69 6c 6c 20 61 73 6b 20 |d.% w|ill ask |
|00000400| 61 67 61 69 6e 2e 0a 25 | 20 20 20 20 5c 70 61 72 |again..%| \par|
|00000410| 20 54 6f 20 70 72 6f 76 | 69 64 65 20 61 20 67 72 | To prov|ide a gr|
|00000420| 61 63 65 66 75 6c 20 65 | 78 69 74 20 6f 75 74 20 |aceful e|xit out |
|00000430| 6f 66 20 74 68 69 73 20 | 6c 6f 6f 70 2c 20 77 65 |of this |loop, we|
|00000440| 20 64 65 66 69 6e 65 0a | 25 20 20 20 20 61 20 6e | define.|% a n|
|00000450| 75 6d 62 65 72 20 6f 66 | 20 66 69 6c 65 73 20 77 |umber of| files w|
|00000460| 68 69 63 68 20 65 6d 75 | 6c 61 74 65 20 74 68 65 |hich emu|late the|
|00000470| 20 6e 6f 72 6d 61 6c 20 | 62 65 68 61 76 69 6f 72 | normal |behavior|
|00000480| 20 6f 66 0a 25 20 20 20 | 20 5c 54 65 58 7b 7d 20 | of.% | \TeX{} |
|00000490| 69 6e 20 74 68 65 20 65 | 72 72 6f 72 20 6c 6f 6f |in the e|rror loo|
|000004a0| 70 20 61 73 20 66 61 72 | 20 61 73 20 70 6f 73 73 |p as far| as poss|
|000004b0| 69 62 6c 65 2e 0a 25 20 | 20 20 20 5c 70 61 72 20 |ible..% | \par |
|000004c0| 41 66 74 65 72 20 69 6e | 73 74 61 6c 6c 69 6e 67 |After in|stalling|
|000004d0| 20 74 68 65 73 65 20 66 | 69 6c 65 73 20 74 68 65 | these f|iles the|
|000004e0| 20 75 73 65 72 20 63 61 | 6e 20 72 65 73 70 6f 6e | user ca|n respon|
|000004f0| 64 20 77 69 74 68 0a 25 | 20 20 20 20 7c 68 7c 2c |d with.%| |h|,|
|00000500| 20 7c 73 7c 2c 20 7c 65 | 7c 2c 20 7c 78 7c 2c 20 | |s|, |e||, |x|, |
|00000510| 61 6e 64 20 6f 6e 20 73 | 6f 6d 65 20 73 79 73 74 |and on s|ome syst|
|00000520| 65 6d 73 20 61 6c 73 6f | 20 77 69 74 68 0a 25 20 |ems also| with.% |
|00000530| 20 20 20 5c 6d 65 74 61 | 7b 72 65 74 75 72 6e 7d | \meta|{return}|
|00000540| 20 74 6f 20 5c 54 65 58 | 27 73 20 6d 69 73 73 69 | to \TeX|'s missi|
|00000550| 6e 67 20 66 69 6c 65 20 | 6e 61 6d 65 20 71 75 65 |ng file |name que|
|00000560| 73 74 69 6f 6e 2e 0a 25 | 20 5c 53 74 6f 70 45 76 |stion..%| \StopEv|
|00000570| 65 6e 74 75 61 6c 6c 79 | 7b 7d 0a 25 0a 25 20 5c |entually|{}.%.% \|
|00000580| 73 65 63 74 69 6f 6e 7b | 54 68 65 20 64 6f 63 75 |section{|The docu|
|00000590| 6d 65 6e 74 61 74 69 6f | 6e 20 64 72 69 76 65 72 |mentatio|n driver|
|000005a0| 7d 0a 25 20 20 20 20 54 | 68 69 73 20 63 6f 64 65 |}.% T|his code|
|000005b0| 20 77 69 6c 6c 20 67 65 | 6e 65 72 61 74 65 20 74 | will ge|nerate t|
|000005c0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|000005d0| 2e 20 53 69 6e 63 65 20 | 69 74 20 69 73 20 74 68 |. Since |it is th|
|000005e0| 65 0a 25 20 20 20 20 66 | 69 72 73 74 20 70 69 65 |e.% f|irst pie|
|000005f0| 63 65 20 6f 66 20 63 6f | 64 65 20 69 6e 20 74 68 |ce of co|de in th|
|00000600| 65 20 66 69 6c 65 2c 20 | 74 68 65 20 64 6f 63 75 |e file, |the docu|
|00000610| 6d 65 6e 74 61 74 69 6f | 6e 20 63 61 6e 20 62 65 |mentatio|n can be|
|00000620| 0a 25 20 20 20 20 6f 62 | 74 61 69 6e 65 64 20 62 |.% ob|tained b|
|00000630| 79 20 73 69 6d 70 6c 79 | 20 70 72 6f 63 65 73 73 |y simply| process|
|00000640| 69 6e 67 20 74 68 69 73 | 20 66 69 6c 65 20 77 69 |ing this| file wi|
|00000650| 74 68 20 5c 4c 61 54 65 | 58 65 2e 0a 25 20 20 20 |th \LaTe|Xe..% |
|00000660| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00000670| 65 7d 0a 25 3c 2a 64 72 | 69 76 65 72 3e 0a 5c 64 |e}.%<*dr|iver>.\d|
|00000680| 6f 63 75 6d 65 6e 74 63 | 6c 61 73 73 7b 6c 74 78 |ocumentc|lass{ltx|
|00000690| 64 6f 63 7d 0a 5c 62 65 | 67 69 6e 7b 64 6f 63 75 |doc}.\be|gin{docu|
|000006a0| 6d 65 6e 74 7d 20 20 5c | 44 6f 63 49 6e 70 75 74 |ment} \|DocInput|
|000006b0| 7b 66 69 6c 65 65 72 72 | 2e 64 74 78 7d 20 20 5c |{fileerr|.dtx} \|
|000006c0| 65 6e 64 7b 64 6f 63 75 | 6d 65 6e 74 7d 0a 25 3c |end{docu|ment}.%<|
|000006d0| 2f 64 72 69 76 65 72 3e | 0a 25 20 20 20 20 5c 65 |/driver>|.% \e|
|000006e0| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|000006f0| 5c 73 65 63 74 69 6f 6e | 7b 54 68 65 20 66 69 6c |\section|{The fil|
|00000700| 65 73 7d 0a 25 0a 25 20 | 5c 73 75 62 73 65 63 74 |es}.%.% |\subsect|
|00000710| 69 6f 6e 7b 41 73 6b 69 | 6e 67 20 66 6f 72 20 68 |ion{Aski|ng for h|
|00000720| 65 6c 70 20 77 69 74 68 | 20 7b 5c 74 74 20 68 7d |elp with| {\tt h}|
|00000730| 7d 0a 25 20 20 20 20 57 | 68 65 6e 20 74 68 65 20 |}.% W|hen the |
|00000740| 75 73 65 72 20 74 79 70 | 65 73 20 7c 68 7c 20 69 |user typ|es |h| i|
|00000750| 6e 20 74 68 65 20 66 69 | 6c 65 20 65 72 72 6f 72 |n the fi|le error|
|00000760| 20 6c 6f 6f 70 20 5c 54 | 65 58 7b 7d 20 77 69 6c | loop \T|eX{} wil|
|00000770| 6c 0a 25 20 20 20 20 6c | 6f 6f 6b 20 66 6f 72 20 |l.% l|ook for |
|00000780| 74 68 65 20 66 69 6c 65 | 20 7c 68 2e 74 65 78 7c |the file| |h.tex||
|00000790| 2e 20 49 6e 20 74 68 69 | 73 20 66 69 6c 65 20 77 |. In thi|s file w|
|000007a0| 65 20 70 75 74 20 61 20 | 6d 65 73 73 61 67 65 0a |e put a |message.|
|000007b0| 25 20 20 20 20 69 6e 66 | 6f 72 6d 69 6e 67 20 74 |% inf|orming t|
|000007c0| 68 65 20 75 73 65 72 20 | 61 62 6f 75 74 20 74 68 |he user |about th|
|000007d0| 65 20 73 69 74 75 61 74 | 69 6f 6e 20 28 77 65 20 |e situat|ion (we |
|000007e0| 75 73 65 20 7c 5e 5e 4a | 7c 20 74 6f 0a 25 20 20 |use |^^J|| to.% |
|000007f0| 20 20 73 74 61 72 74 20 | 6e 65 77 20 6c 69 6e 65 | start |new line|
|00000800| 73 20 69 6e 20 74 68 65 | 20 6d 65 73 73 61 67 65 |s in the| message|
|00000810| 29 20 61 6e 64 20 74 68 | 65 6e 20 66 69 6e 69 73 |) and th|en finis|
|00000820| 68 20 77 69 74 68 20 61 | 0a 25 20 20 20 20 6e 6f |h with a|.% no|
|00000830| 72 6d 61 6c 20 7c 5c 65 | 72 72 6d 65 73 73 61 67 |rmal |\e|rrmessag|
|00000840| 65 7c 20 63 6f 6d 6d 61 | 6e 64 20 74 68 65 72 65 |e| comma|nd there|
|00000850| 62 79 20 62 72 69 6e 67 | 69 6e 67 20 75 70 20 5c |by bring|ing up \|
|00000860| 54 65 58 27 73 0a 25 20 | 20 20 20 6e 6f 72 6d 61 |TeX's.% | norma|
|00000870| 6c 20 65 72 72 6f 72 20 | 6d 65 63 68 61 6e 69 73 |l error |mechanis|
|00000880| 6d 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |m..% |\begin{m|
|00000890| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 3c 2a 68 65 6c |acrocode|}.%<*hel|
|000008a0| 70 3e 0a 5c 6e 65 77 6c | 69 6e 65 63 68 61 72 3d |p>.\newl|inechar=|
|000008b0| 60 5c 5e 5e 4a 0a 5c 6d | 65 73 73 61 67 65 7b 21 |`\^^J.\m|essage{!|
|000008c0| 54 68 65 20 66 69 6c 65 | 20 6e 61 6d 65 20 70 72 |The file| name pr|
|000008d0| 6f 76 69 64 65 64 20 63 | 6f 75 6c 64 20 6e 6f 74 |ovided c|ould not|
|000008e0| 20 62 65 20 66 6f 75 6e | 64 2e 5e 5e 4a 25 0a 55 | be foun|d.^^J%.U|
|000008f0| 73 65 20 60 3c 65 6e 74 | 65 72 3e 27 20 74 6f 20 |se `<ent|er>' to |
|00000900| 63 6f 6e 74 69 6e 75 65 | 20 70 72 6f 63 65 73 73 |continue| process|
|00000910| 69 6e 67 2c 5e 5e 4a 25 | 0a 60 53 27 20 74 6f 20 |ing,^^J%|.`S' to |
|00000920| 73 63 72 6f 6c 6c 20 66 | 75 72 74 68 65 72 20 65 |scroll f|urther e|
|00000930| 72 72 6f 72 73 5e 5e 4a | 25 0a 6f 72 20 60 58 27 |rrors^^J|%.or `X'|
|00000940| 20 74 6f 20 74 65 72 6d | 69 6e 61 74 65 20 54 65 | to term|inate Te|
|00000950| 58 7d 0a 5c 65 72 72 6d | 65 73 73 61 67 65 7b 7d |X}.\errm|essage{}|
|00000960| 0a 25 3c 2f 68 65 6c 70 | 3e 0a 25 20 20 20 20 5c |.%</help|>.% \|
|00000970| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00000980| 0a 25 20 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 53 |.% \subs|ection{S|
|00000990| 63 72 6f 6c 6c 69 6e 67 | 20 74 68 69 73 20 61 6e |crolling| this an|
|000009a0| 64 20 66 75 72 74 68 65 | 72 20 65 72 72 6f 72 73 |d furthe|r errors|
|000009b0| 20 77 69 74 68 20 7b 5c | 74 74 20 73 7d 7d 0a 25 | with {\|tt s}}.%|
|000009c0| 20 20 20 20 46 6f 72 20 | 74 68 65 20 72 65 73 70 | For |the resp|
|000009d0| 6f 6e 73 65 20 7c 73 7c | 20 77 65 20 70 75 74 20 |onse |s|| we put |
|000009e0| 61 20 6d 65 73 73 61 67 | 65 20 69 6e 74 6f 20 74 |a messag|e into t|
|000009f0| 68 65 20 66 69 6c 65 20 | 7c 73 2e 74 65 78 7c 0a |he file ||s.tex|.|
|00000a00| 25 20 20 20 20 61 6e 64 | 20 73 74 61 72 74 20 7c |% and| start ||
|00000a10| 5c 73 63 72 6f 6c 6c 6d | 6f 64 65 7c 20 74 6f 20 |\scrollm|ode| to |
|00000a20| 73 63 72 6f 6c 6c 20 66 | 75 72 74 68 65 72 20 65 |scroll f|urther e|
|00000a30| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 73 20 69 6e |rror mes|sages in|
|00000a40| 0a 25 20 20 20 20 74 68 | 69 73 20 72 75 6e 2e 20 |.% th|is run. |
|00000a50| 20 4f 6e 20 73 79 73 74 | 65 6d 73 20 74 68 61 74 | On syst|ems that|
|00000a60| 20 61 6c 6c 6f 77 20 7c | 2e 74 65 78 7c 20 61 73 | allow ||.tex| as|
|00000a70| 20 61 20 66 69 6c 65 20 | 6e 61 6d 65 20 77 65 0a | a file |name we.|
|00000a80| 25 20 20 20 20 63 61 6e | 20 61 6c 73 6f 20 74 72 |% can| also tr|
|00000a90| 61 70 20 61 20 73 69 6e | 67 6c 65 20 5c 6d 65 74 |ap a sin|gle \met|
|00000aa0| 61 7b 72 65 74 75 72 6e | 7d 20 66 72 6f 6d 20 74 |a{return|} from t|
|00000ab0| 68 65 20 75 73 65 72 2e | 0a 25 20 20 20 20 5c 62 |he user.|.% \b|
|00000ac0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00000ad0| 25 3c 2b 73 63 72 6f 6c | 6c 7c 72 65 74 75 72 6e |%<+scrol|l|return|
|00000ae0| 3e 20 5c 6d 65 73 73 61 | 67 65 7b 46 69 6c 65 20 |> \messa|ge{File |
|00000af0| 69 67 6e 6f 72 65 64 7d | 0a 25 3c 2b 73 63 72 6f |ignored}|.%<+scro|
|00000b00| 6c 6c 3e 20 20 20 20 20 | 20 20 20 5c 73 63 72 6f |ll> | \scro|
|00000b10| 6c 6c 6d 6f 64 65 0a 25 | 20 20 20 20 5c 65 6e 64 |llmode.%| \end|
|00000b20| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00000b30| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 45 78 69 74 |\subsect|ion{Exit|
|00000b40| 69 6e 67 20 74 68 65 20 | 72 75 6e 20 77 69 74 68 |ing the |run with|
|00000b50| 20 7b 5c 74 74 20 78 7d | 20 6f 72 20 7b 5c 74 74 | {\tt x}| or {\tt|
|00000b60| 20 65 7d 7d 0a 25 20 20 | 20 20 49 66 20 74 68 65 | e}}.% | If the|
|00000b70| 20 75 73 65 72 20 65 6e | 74 65 72 73 20 7c 78 7c | user en|ters |x||
|00000b80| 20 6f 72 20 7c 65 7c 20 | 74 6f 20 73 74 6f 70 20 | or |e| |to stop |
|00000b90| 5c 54 65 58 7b 7d 2c 20 | 77 65 20 6e 65 65 64 20 |\TeX{}, |we need |
|00000ba0| 74 6f 0a 25 20 20 20 20 | 70 75 74 20 73 6f 6d 65 |to.% |put some|
|00000bb0| 74 68 69 6e 67 20 69 6e | 74 6f 20 74 68 65 20 63 |thing in|to the c|
|00000bc0| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 66 69 6c |orrespon|ding fil|
|00000bd0| 65 20 77 68 69 63 68 20 | 77 69 6c 6c 20 66 6f 72 |e which |will for|
|00000be0| 63 65 0a 25 20 20 20 20 | 5c 54 65 58 7b 7d 20 74 |ce.% |\TeX{} t|
|00000bf0| 6f 20 67 69 76 65 20 75 | 70 2e 20 20 57 65 20 61 |o give u|p. We a|
|00000c00| 63 68 69 65 76 65 20 74 | 68 69 73 20 62 79 20 74 |chieve t|his by t|
|00000c10| 75 72 6e 69 6e 67 20 6f | 66 66 20 74 65 72 6d 69 |urning o|ff termi|
|00000c20| 6e 61 6c 0a 25 20 20 20 | 20 6f 75 74 70 75 74 20 |nal.% | output |
|00000c30| 61 6e 64 20 74 68 65 6e | 20 61 73 6b 69 6e 67 20 |and then| asking |
|00000c40| 5c 54 65 58 7b 7d 20 74 | 6f 20 73 74 6f 70 3a 20 |\TeX{} t|o stop: |
|00000c50| 66 69 72 73 74 20 62 79 | 20 75 73 69 6e 67 20 74 |first by| using t|
|00000c60| 68 65 0a 25 20 20 20 20 | 69 6e 74 65 72 6e 61 6c |he.% |internal|
|00000c70| 20 5c 4c 61 54 65 58 7b | 7d 20 6e 61 6d 65 20 7c | \LaTeX{|} name ||
|00000c80| 5c 40 40 65 6e 64 7c 2c | 20 61 6e 64 20 69 66 20 |\@@end|,| and if |
|00000c90| 74 68 61 74 20 64 6f 65 | 73 6e 27 74 20 77 6f 72 |that doe|sn't wor|
|00000ca0| 6b 0a 25 20 20 20 20 62 | 65 63 61 75 73 65 20 73 |k.% b|ecause s|
|00000cb0| 6f 6d 65 74 68 69 6e 67 | 20 6f 74 68 65 72 20 74 |omething| other t|
|00000cc0| 68 61 6e 20 5c 4c 61 54 | 65 58 7b 7d 20 69 73 20 |han \LaT|eX{} is |
|00000cd0| 75 73 65 64 2c 20 62 79 | 20 74 72 79 69 6e 67 20 |used, by| trying |
|00000ce0| 74 68 65 0a 25 20 20 20 | 20 5c 54 65 58 7b 7d 20 |the.% | \TeX{} |
|00000cf0| 70 72 69 6d 69 74 69 76 | 65 20 7c 5c 65 6e 64 7c |primitiv|e |\end||
|00000d00| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00000d10| 63 72 6f 63 6f 64 65 7d | 0a 25 3c 2b 65 64 69 74 |crocode}|.%<+edit|
|00000d20| 7c 65 78 69 74 3e 20 20 | 5c 62 61 74 63 68 6d 6f ||exit> |\batchmo|
|00000d30| 64 65 20 5c 63 73 6e 61 | 6d 65 20 40 40 65 6e 64 |de \csna|me @@end|
|00000d40| 5c 65 6e 64 63 73 6e 61 | 6d 65 20 5c 65 6e 64 0a |\endcsna|me \end.|
|00000d50| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00000d60| 6f 64 65 7d 0a 25 20 20 | 20 20 57 65 20 65 6e 64 |ode}.% | We end|
|00000d70| 20 65 76 65 72 79 20 66 | 69 6c 65 20 77 69 74 68 | every f|ile with|
|00000d80| 20 61 6e 20 65 78 70 6c | 69 63 69 74 20 7c 5c 65 | an expl|icit |\e|
|00000d90| 6e 64 69 6e 70 75 74 7c | 20 77 68 69 63 68 20 70 |ndinput|| which p|
|00000da0| 72 65 76 65 6e 74 73 0a | 25 20 20 20 20 74 68 65 |revents.|% the|
|00000db0| 20 64 6f 63 73 74 72 69 | 70 20 70 72 6f 67 72 61 | docstri|p progra|
|00000dc0| 6d 20 66 72 6f 6d 20 70 | 75 74 74 69 6e 67 20 74 |m from p|utting t|
|00000dd0| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 74 61 62 |he chara|cter tab|
|00000de0| 6c 65 20 69 6e 74 6f 0a | 25 20 20 20 20 74 68 65 |le into.|% the|
|00000df0| 20 67 65 6e 65 72 61 74 | 65 64 20 66 69 6c 65 73 | generat|ed files|
|00000e00| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00000e10| 63 72 6f 63 6f 64 65 7d | 0a 5c 65 6e 64 69 6e 70 |crocode}|.\endinp|
|00000e20| 75 74 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |ut.% |\end{mac|
|00000e30| 72 6f 63 6f 64 65 7d 0a | 25 25 20 5c 43 68 61 72 |rocode}.|%% \Char|
|00000e40| 61 63 74 65 72 54 61 62 | 6c 65 0a 25 25 20 20 7b |acterTab|le.%% {|
|00000e50| 55 70 70 65 72 2d 63 61 | 73 65 20 20 20 20 5c 41 |Upper-ca|se \A|
|00000e60| 5c 42 5c 43 5c 44 5c 45 | 5c 46 5c 47 5c 48 5c 49 |\B\C\D\E|\F\G\H\I|
|00000e70| 5c 4a 5c 4b 5c 4c 5c 4d | 5c 4e 5c 4f 5c 50 5c 51 |\J\K\L\M|\N\O\P\Q|
|00000e80| 5c 52 5c 53 5c 54 5c 55 | 5c 56 5c 57 5c 58 5c 59 |\R\S\T\U|\V\W\X\Y|
|00000e90| 5c 5a 0a 25 25 20 20 20 | 4c 6f 77 65 72 2d 63 61 |\Z.%% |Lower-ca|
|00000ea0| 73 65 20 20 20 20 5c 61 | 5c 62 5c 63 5c 64 5c 65 |se \a|\b\c\d\e|
|00000eb0| 5c 66 5c 67 5c 68 5c 69 | 5c 6a 5c 6b 5c 6c 5c 6d |\f\g\h\i|\j\k\l\m|
|00000ec0| 5c 6e 5c 6f 5c 70 5c 71 | 5c 72 5c 73 5c 74 5c 75 |\n\o\p\q|\r\s\t\u|
|00000ed0| 5c 76 5c 77 5c 78 5c 79 | 5c 7a 0a 25 25 20 20 20 |\v\w\x\y|\z.%% |
|00000ee0| 44 69 67 69 74 73 20 20 | 20 20 20 20 20 20 5c 30 |Digits | \0|
|00000ef0| 5c 31 5c 32 5c 33 5c 34 | 5c 35 5c 36 5c 37 5c 38 |\1\2\3\4|\5\6\7\8|
|00000f00| 5c 39 0a 25 25 20 20 20 | 45 78 63 6c 61 6d 61 74 |\9.%% |Exclamat|
|00000f10| 69 6f 6e 20 20 20 5c 21 | 20 20 20 20 20 44 6f 75 |ion \!| Dou|
|00000f20| 62 6c 65 20 71 75 6f 74 | 65 20 20 5c 22 20 20 20 |ble quot|e \" |
|00000f30| 20 20 48 61 73 68 20 28 | 6e 75 6d 62 65 72 29 20 | Hash (|number) |
|00000f40| 5c 23 0a 25 25 20 20 20 | 44 6f 6c 6c 61 72 20 20 |\#.%% |Dollar |
|00000f50| 20 20 20 20 20 20 5c 24 | 20 20 20 20 20 50 65 72 | \$| Per|
|00000f60| 63 65 6e 74 20 20 20 20 | 20 20 20 5c 25 20 20 20 |cent | \% |
|00000f70| 20 20 41 6d 70 65 72 73 | 61 6e 64 20 20 20 20 20 | Ampers|and |
|00000f80| 5c 26 0a 25 25 20 20 20 | 41 63 75 74 65 20 61 63 |\&.%% |Acute ac|
|00000f90| 63 65 6e 74 20 20 5c 27 | 20 20 20 20 20 4c 65 66 |cent \'| Lef|
|00000fa0| 74 20 70 61 72 65 6e 20 | 20 20 20 5c 28 20 20 20 |t paren | \( |
|00000fb0| 20 20 52 69 67 68 74 20 | 70 61 72 65 6e 20 20 20 | Right |paren |
|00000fc0| 5c 29 0a 25 25 20 20 20 | 41 73 74 65 72 69 73 6b |\).%% |Asterisk|
|00000fd0| 20 20 20 20 20 20 5c 2a | 20 20 20 20 20 50 6c 75 | \*| Plu|
|00000fe0| 73 20 20 20 20 20 20 20 | 20 20 20 5c 2b 20 20 20 |s | \+ |
|00000ff0| 20 20 43 6f 6d 6d 61 20 | 20 20 20 20 20 20 20 20 | Comma | |
|00001000| 5c 2c 0a 25 25 20 20 20 | 4d 69 6e 75 73 20 20 20 |\,.%% |Minus |
|00001010| 20 20 20 20 20 20 5c 2d | 20 20 20 20 20 50 6f 69 | \-| Poi|
|00001020| 6e 74 20 20 20 20 20 20 | 20 20 20 5c 2e 20 20 20 |nt | \. |
|00001030| 20 20 53 6f 6c 69 64 75 | 73 20 20 20 20 20 20 20 | Solidu|s |
|00001040| 5c 2f 0a 25 25 20 20 20 | 43 6f 6c 6f 6e 20 20 20 |\/.%% |Colon |
|00001050| 20 20 20 20 20 20 5c 3a | 20 20 20 20 20 53 65 6d | \:| Sem|
|00001060| 69 63 6f 6c 6f 6e 20 20 | 20 20 20 5c 3b 20 20 20 |icolon | \; |
|00001070| 20 20 4c 65 73 73 20 74 | 68 61 6e 20 20 20 20 20 | Less t|han |
|00001080| 5c 3c 0a 25 25 20 20 20 | 45 71 75 61 6c 73 20 20 |\<.%% |Equals |
|00001090| 20 20 20 20 20 20 5c 3d | 20 20 20 20 20 47 72 65 | \=| Gre|
|000010a0| 61 74 65 72 20 74 68 61 | 6e 20 20 5c 3e 20 20 20 |ater tha|n \> |
|000010b0| 20 20 51 75 65 73 74 69 | 6f 6e 20 6d 61 72 6b 20 | Questi|on mark |
|000010c0| 5c 3f 0a 25 25 20 20 20 | 43 6f 6d 6d 65 72 63 69 |\?.%% |Commerci|
|000010d0| 61 6c 20 61 74 20 5c 40 | 20 20 20 20 20 4c 65 66 |al at \@| Lef|
|000010e0| 74 20 62 72 61 63 6b 65 | 74 20 20 5c 5b 20 20 20 |t bracke|t \[ |
|000010f0| 20 20 42 61 63 6b 73 6c | 61 73 68 20 20 20 20 20 | Backsl|ash |
|00001100| 5c 5c 0a 25 25 20 20 20 | 52 69 67 68 74 20 62 72 |\\.%% |Right br|
|00001110| 61 63 6b 65 74 20 5c 5d | 20 20 20 20 20 43 69 72 |acket \]| Cir|
|00001120| 63 75 6d 66 6c 65 78 20 | 20 20 20 5c 5e 20 20 20 |cumflex | \^ |
|00001130| 20 20 55 6e 64 65 72 73 | 63 6f 72 65 20 20 20 20 | Unders|core |
|00001140| 5c 5f 0a 25 25 20 20 20 | 47 72 61 76 65 20 61 63 |\_.%% |Grave ac|
|00001150| 63 65 6e 74 20 20 5c 60 | 20 20 20 20 20 4c 65 66 |cent \`| Lef|
|00001160| 74 20 62 72 61 63 65 20 | 20 20 20 5c 7b 20 20 20 |t brace | \{ |
|00001170| 20 20 56 65 72 74 69 63 | 61 6c 20 62 61 72 20 20 | Vertic|al bar |
|00001180| 5c 7c 0a 25 25 20 20 20 | 52 69 67 68 74 20 62 72 |\|.%% |Right br|
|00001190| 61 63 65 20 20 20 5c 7d | 20 20 20 20 20 54 69 6c |ace \}| Til|
|000011a0| 64 65 20 20 20 20 20 20 | 20 20 20 5c 7e 7d 0a 25 |de | \~}.%|
|000011b0| 25 0a 25 20 5c 46 69 6e | 61 6c 65 0a |%.% \Fin|ale. |
+--------+-------------------------+-------------------------+--------+--------+