home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: texsys.cfg
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Dos Navigator 2 settings (other/dosNavigator2Settings)
| ext
| Unsupported |
1%
| dexvert
| Eureka/Mercury Configuration (other/eurekaMercuryConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Jeepers Configuration (other/jeepersConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Number Munchers Configuration (other/numberMunchersConfiguration)
| ext
| Unsupported |
1%
| dexvert
| OPTune Configuration (other/opTuneConfiguration)
| ext
| Unsupported |
1%
| dexvert
| PDC Prolog Configuration (other/pdcPrologConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Protext Configuration (other/protextConfiguration)
| ext
| Unsupported |
1%
| dexvert
| RAR Configuration (other/rarConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Sango Fighter Configuration (other/sangoFighterConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Stare-EO Workshop configuration (other/stareEOWorkshopConfig)
| ext
| Unsupported |
1%
| dexvert
| The Perfect General File (other/thePerfectGeneralFile)
| ext
| Unsupported |
1%
| dexvert
| Vortex ATonce Configuration (other/vortexATonceConfiguration)
| ext
| Unsupported |
1%
| dexvert
| West Adventure Configuration (other/westAdventureConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Wordsearch Mania! Configuration (other/wordsearchManiaConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Z.A.R. Navigator Configuration (other/zarNavigatorConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Zyclunt Configuration (other/zycluntConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Empire II: The Art of War Configuration (other/empire2TheArtOfWarConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Empire Deluxe Configuration (other/empireDeluxeConfig)
| ext
| Unsupported |
1%
| dexvert
| idMAS Configuration (other/idMASConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Inertia Player Configuration (other/inertiaPlayerConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Kasparov's Gambit Configuration (other/kasparovSGambitConfiguration)
| ext
| Unsupported |
1%
| dexvert
| PLBM Games Configuration (other/plbmGamesConfiguration)
| ext
| Unsupported |
1%
| dexvert
| VGA-Copy Configuration (other/vgaCopyConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX auxiliary file
| default
| |
99%
| file
| TeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 74 65 |% \subse|ction{te|
|00000010| 78 73 79 73 2e 63 66 67 | 7d 0a 25 0a 25 20 54 68 |xsys.cfg|}.%.% Th|
|00000020| 69 73 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |is file |contains|
|00000030| 20 74 68 65 20 73 69 74 | 65 20 73 70 65 63 69 66 | the sit|e specif|
|00000040| 69 63 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 6f |ic defin|itions o|
|00000050| 66 20 74 68 65 20 66 6f | 75 72 20 6d 61 63 72 6f |f the fo|ur macro|
|00000060| 73 5c 5c 0a 25 20 7c 5c | 40 63 75 72 72 64 69 72 |s\\.% |\|@currdir|
|00000070| 7c 2c 20 7c 5c 69 6e 70 | 75 74 40 70 61 74 68 7c ||, |\inp|ut@path||
|00000080| 2c 20 7c 5c 66 69 6c 65 | 6e 61 6d 65 40 70 61 72 |, |\file|name@par|
|00000090| 73 65 7c 20 61 6e 64 20 | 7c 5c 40 54 65 58 76 65 |se| and ||\@TeXve|
|000000a0| 72 73 69 6f 6e 7c 2e 0a | 25 0a 25 20 41 73 20 64 |rsion|..|%.% As d|
|000000b0| 69 73 74 72 69 62 75 74 | 65 64 20 69 74 20 6f 6e |istribut|ed it on|
|000000c0| 6c 79 20 63 6f 6e 74 61 | 69 6e 73 20 63 6f 6d 6d |ly conta|ins comm|
|000000d0| 65 6e 74 73 2c 20 68 6f | 77 65 76 65 72 20 74 68 |ents, ho|wever th|
|000000e0| 69 73 20 60 65 6d 70 74 | 79 27 0a 25 20 66 69 6c |is `empt|y'.% fil|
|000000f0| 65 20 77 69 6c 6c 20 77 | 6f 72 6b 20 6f 6e 20 6d |e will w|ork on m|
|00000100| 61 6e 79 20 73 79 73 74 | 65 6d 73 20 62 65 63 61 |any syst|ems beca|
|00000110| 75 73 65 20 6f 66 20 74 | 68 65 20 61 75 74 6f 6d |use of t|he autom|
|00000120| 61 74 69 63 20 74 65 73 | 74 73 20 62 75 69 6c 74 |atic tes|ts built|
|00000130| 0a 25 20 69 6e 74 6f 20 | 7c 64 69 72 63 68 65 63 |.% into ||dirchec|
|00000140| 6b 2e 64 74 78 7c 2e 20 | 59 6f 75 20 5c 65 6d 70 |k.dtx|. |You \emp|
|00000150| 68 7b 61 72 65 7d 20 61 | 6c 6c 6f 77 65 64 20 74 |h{are} a|llowed t|
|00000160| 6f 20 65 64 69 74 20 74 | 68 69 73 20 66 69 6c 65 |o edit t|his file|
|00000170| 20 74 6f 20 61 64 64 0a | 25 20 64 65 66 69 6e 69 | to add.|% defini|
|00000180| 74 69 6f 6e 73 20 6f 66 | 20 74 68 65 73 65 20 6d |tions of| these m|
|00000190| 61 63 72 6f 73 20 61 70 | 70 72 6f 70 72 69 61 74 |acros ap|propriat|
|000001a0| 65 20 74 6f 20 79 6f 75 | 72 20 73 79 73 74 65 6d |e to you|r system|
|000001b0| 2e 0a 25 0a 25 20 44 61 | 76 69 64 20 43 61 72 6c |..%.% Da|vid Carl|
|000001c0| 69 73 6c 65 20 31 39 39 | 34 2f 31 31 2f 31 37 0a |isle 199|4/11/17.|
|000001d0| 25 0a 25 0a 25 20 54 68 | 65 20 6d 61 63 72 6f 73 |%.%.% Th|e macros|
|000001e0| 20 74 68 61 74 20 6d 75 | 73 74 20 62 65 20 64 65 | that mu|st be de|
|000001f0| 66 69 6e 65 64 20 61 72 | 65 3a 0a 25 0a 25 20 5c |fined ar|e:.%.% \|
|00000200| 44 65 73 63 72 69 62 65 | 4d 61 63 72 6f 7b 5c 40 |Describe|Macro{\@|
|00000210| 63 75 72 72 64 69 72 7d | 0a 25 20 7c 5c 40 63 75 |currdir}|.% |\@cu|
|00000220| 72 72 64 69 72 7c 5c 6d | 65 74 61 7b 66 69 6c 65 |rrdir|\m|eta{file|
|00000230| 6e 61 6d 65 7d 5c 6d 65 | 74 61 7b 73 70 61 63 65 |name}\me|ta{space|
|00000240| 7d 20 73 68 6f 75 6c 64 | 20 65 78 70 61 6e 64 20 |} should| expand |
|00000250| 74 6f 20 61 20 66 6f 72 | 6d 20 6f 66 20 74 68 65 |to a for|m of the|
|00000260| 0a 25 20 66 69 6c 65 6e | 61 6d 65 20 74 68 61 74 |.% filen|ame that|
|00000270| 20 75 6e 69 71 75 65 6c | 79 20 72 65 66 65 72 73 | uniquel|y refers|
|00000280| 20 74 6f 20 74 68 65 20 | 60 63 75 72 72 65 6e 74 | to the |`current|
|00000290| 20 64 69 72 65 63 74 6f | 72 79 27 20 69 66 20 74 | directo|ry' if t|
|000002a0| 68 69 73 20 69 73 0a 25 | 20 70 6f 73 73 69 62 6c |his is.%| possibl|
|000002b0| 65 2e 20 28 54 68 65 20 | 65 78 70 61 6e 73 69 6f |e. (The |expansio|
|000002c0| 6e 20 73 68 6f 75 6c 64 | 20 61 6c 73 6f 20 65 6e |n should| also en|
|000002d0| 64 20 77 69 74 68 20 61 | 20 73 70 61 63 65 2e 29 |d with a| space.)|
|000002e0| 20 6f 6e 20 55 4e 49 58 | 2c 0a 25 20 74 68 69 73 | on UNIX|,.% this|
|000002f0| 20 69 73 20 7c 5c 64 65 | 66 5c 40 63 75 72 72 64 | is |\de|f\@currd|
|00000300| 69 72 7b 2e 2f 7d 7c 2e | 20 46 6f 72 20 6d 6f 72 |ir{./}|.| For mor|
|00000310| 65 20 65 78 6f 74 69 63 | 20 6f 70 65 72 61 74 69 |e exotic| operati|
|00000320| 6e 67 20 73 79 73 74 65 | 6d 73 20 79 6f 75 20 6d |ng syste|ms you m|
|00000330| 61 79 0a 25 20 77 61 6e | 74 20 74 6f 20 6d 61 6b |ay.% wan|t to mak|
|00000340| 65 20 7c 5c 40 63 75 72 | 72 64 69 72 7c 20 61 20 |e |\@cur|rdir| a |
|00000350| 6d 61 63 72 6f 20 77 69 | 74 68 20 61 72 67 75 6d |macro wi|th argum|
|00000360| 65 6e 74 73 20 64 65 6c | 69 6d 69 74 65 64 20 62 |ents del|imited b|
|00000370| 79 20 7c 2e 7c 0a 25 20 | 61 6e 64 2f 6f 72 20 5c |y |.|.% |and/or \|
|00000380| 6d 65 74 61 7b 73 70 61 | 63 65 7d 2e 20 49 66 20 |meta{spa|ce}. If |
|00000390| 74 68 65 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 |the oper|ating sy|
|000003a0| 73 74 65 6d 20 68 61 73 | 20 6e 6f 20 63 6f 6e 63 |stem has| no conc|
|000003b0| 65 70 74 20 6f 66 0a 25 | 20 64 69 72 65 63 74 6f |ept of.%| directo|
|000003c0| 72 79 20 73 74 72 75 63 | 74 75 72 65 2c 20 74 68 |ry struc|ture, th|
|000003d0| 69 73 20 6d 61 63 72 6f | 20 73 68 6f 75 6c 64 20 |is macro| should |
|000003e0| 62 65 20 64 65 66 69 6e | 65 64 20 74 6f 20 62 65 |be defin|ed to be|
|000003f0| 20 65 6d 70 74 79 2e 0a | 25 0a 25 0a 25 20 5c 44 | empty..|%.%.% \D|
|00000400| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 69 6e |escribeM|acro{\in|
|00000410| 70 75 74 40 70 61 74 68 | 7d 0a 25 20 49 66 20 74 |put@path|}.% If t|
|00000420| 68 65 20 70 72 69 6d 69 | 74 69 76 65 20 7c 5c 6f |he primi|tive |\o|
|00000430| 70 65 6e 69 6e 7c 20 73 | 65 61 72 63 68 65 73 20 |penin| s|earches |
|00000440| 74 68 65 20 73 61 6d 65 | 20 64 69 72 65 63 74 6f |the same| directo|
|00000450| 72 69 65 73 20 61 73 20 | 74 68 65 0a 25 20 70 72 |ries as |the.% pr|
|00000460| 69 6d 69 74 69 76 65 20 | 7c 5c 69 6e 70 75 74 7c |imitive ||\input||
|00000470| 2c 20 74 68 65 6e 20 69 | 74 20 69 73 20 70 6f 73 |, then i|t is pos|
|00000480| 73 69 62 6c 65 20 74 6f | 20 74 65 6c 6c 20 28 75 |sible to| tell (u|
|00000490| 73 69 6e 67 20 7c 5c 69 | 66 65 6f 66 7c 29 0a 25 |sing |\i|feof|).%|
|000004a0| 20 77 68 65 74 68 65 72 | 20 61 20 66 69 6c 65 20 | whether| a file |
|000004b0| 65 78 69 73 74 73 20 62 | 65 66 6f 72 65 20 74 72 |exists b|efore tr|
|000004c0| 79 69 6e 67 20 74 6f 20 | 69 6e 70 75 74 20 69 74 |ying to |input it|
|000004d0| 2e 20 46 6f 72 20 73 79 | 73 74 65 6d 73 20 6c 69 |. For sy|stems li|
|000004e0| 6b 65 0a 25 20 74 68 69 | 73 2c 20 7c 5c 69 6e 70 |ke.% thi|s, |\inp|
|000004f0| 75 74 40 70 61 74 68 7c | 20 73 68 6f 75 6c 64 20 |ut@path|| should |
|00000500| 62 65 20 6c 65 66 74 20 | 75 6e 64 65 66 69 6e 65 |be left |undefine|
|00000510| 64 2e 0a 25 0a 25 20 49 | 66 20 7c 5c 6f 70 65 6e |d..%.% I|f |\open|
|00000520| 69 6e 7c 20 64 6f 65 73 | 20 6e 6f 74 20 60 66 6f |in| does| not `fo|
|00000530| 6c 6c 6f 77 27 20 7c 5c | 69 6e 70 75 74 7c 20 74 |llow' |\|input| t|
|00000540| 68 65 6e 20 7c 5c 69 6e | 70 75 74 40 70 61 74 68 |hen |\in|put@path|
|00000550| 7c 20 6d 75 73 74 20 62 | 65 0a 25 20 64 65 66 69 || must b|e.% defi|
|00000560| 6e 65 64 20 74 6f 20 62 | 65 20 61 20 6c 69 73 74 |ned to b|e a list|
|00000570| 20 6f 66 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 | of dire|ctories |
|00000580| 74 6f 20 73 65 61 72 63 | 68 20 66 6f 72 20 69 6e |to searc|h for in|
|00000590| 70 75 74 20 66 69 6c 65 | 73 2e 20 54 68 65 0a 25 |put file|s. The.%|
|000005a0| 20 66 6f 72 6d 61 74 20 | 66 6f 72 20 65 61 63 68 | format |for each|
|000005b0| 20 64 69 72 65 63 74 6f | 72 79 20 69 73 20 61 73 | directo|ry is as|
|000005c0| 20 66 6f 72 20 7c 5c 40 | 63 75 72 72 64 69 72 7c | for |\@|currdir||
|000005d0| 2c 20 6e 6f 72 6d 61 6c | 6c 79 20 6a 75 73 74 20 |, normal|ly just |
|000005e0| 61 0a 25 20 70 72 65 66 | 69 78 20 69 73 20 72 65 |a.% pref|ix is re|
|000005f0| 71 75 69 72 65 64 2c 20 | 62 75 74 20 69 74 20 6d |quired, |but it m|
|00000600| 61 79 20 62 65 20 61 20 | 6d 61 63 72 6f 20 77 69 |ay be a |macro wi|
|00000610| 74 68 20 73 70 61 63 65 | 2d 64 65 6c 69 6d 69 74 |th space|-delimit|
|00000620| 65 64 0a 25 20 61 72 67 | 75 6d 65 6e 74 2e 20 54 |ed.% arg|ument. T|
|00000630| 68 61 74 20 69 73 2c 20 | 69 66 20 5c 6d 65 74 61 |hat is, |if \meta|
|00000640| 7b 64 69 72 7d 20 69 73 | 20 61 6e 20 65 6e 74 72 |{dir} is| an entr|
|00000650| 79 20 69 6e 20 74 68 65 | 20 69 6e 70 75 74 20 70 |y in the| input p|
|00000660| 61 74 68 2c 0a 25 20 5c | 54 65 58 20 77 69 6c 6c |ath,.% \|TeX will|
|00000670| 20 74 72 79 20 74 6f 20 | 6c 6f 61 64 20 74 68 65 | try to |load the|
|00000680| 20 65 78 70 61 6e 73 69 | 6f 6e 20 6f 66 0a 25 0a | expansi|on of.%.|
|00000690| 25 20 20 20 5c 6d 65 74 | 61 7b 64 69 72 7d 5c 6d |% \met|a{dir}\m|
|000006a0| 65 74 61 7b 66 69 6c 65 | 6e 61 6d 65 7d 5c 6d 65 |eta{file|name}\me|
|000006b0| 74 61 7b 73 70 61 63 65 | 7d 0a 25 0a 25 20 53 6f |ta{space|}.%.% So|
|000006c0| 20 65 69 74 68 65 72 20 | 5c 6d 65 74 61 7b 64 69 | either |\meta{di|
|000006d0| 72 7d 20 73 68 6f 75 6c | 64 20 62 65 20 64 65 66 |r} shoul|d be def|
|000006e0| 69 6e 65 64 20 61 73 20 | 61 20 6d 61 63 72 6f 20 |ined as |a macro |
|000006f0| 77 69 74 68 20 61 72 67 | 75 6d 65 6e 74 0a 25 20 |with arg|ument.% |
|00000700| 64 65 6c 69 6d 69 74 65 | 64 20 62 79 20 73 70 61 |delimite|d by spa|
|00000710| 63 65 2c 20 6f 72 20 69 | 74 20 73 68 6f 75 6c 64 |ce, or i|t should|
|00000720| 20 6a 75 73 74 20 65 78 | 70 61 6e 64 20 74 6f 20 | just ex|pand to |
|00000730| 61 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |a direct|ory name|
|00000740| 2c 0a 25 20 69 6e 63 6c | 75 64 69 6e 67 20 74 68 |,.% incl|uding th|
|00000750| 65 20 66 69 6e 61 6c 20 | 64 69 72 65 63 74 6f 72 |e final |director|
|00000760| 79 20 73 65 70 61 72 61 | 74 6f 72 2c 20 73 6f 20 |y separa|tor, so |
|00000770| 74 68 61 74 20 69 74 20 | 6d 61 79 20 62 65 0a 25 |that it |may be.%|
|00000780| 20 63 6f 6e 63 61 74 65 | 6e 61 74 65 64 20 77 69 | concate|nated wi|
|00000790| 74 68 20 74 68 65 20 5c | 6d 65 74 61 7b 66 69 6c |th the \|meta{fil|
|000007a0| 65 6e 61 6d 65 7d 2e 20 | 54 68 69 73 20 6d 65 61 |ename}. |This mea|
|000007b0| 6e 73 20 74 68 61 74 20 | 66 6f 72 20 55 4e 49 58 |ns that |for UNIX|
|000007c0| 2d 6c 69 6b 65 0a 25 20 | 73 79 6e 74 61 78 2c 20 |-like.% |syntax, |
|000007d0| 65 61 63 68 20 5c 6d 65 | 74 61 7b 64 69 72 7d 20 |each \me|ta{dir} |
|000007e0| 73 68 6f 75 6c 64 20 65 | 6e 64 20 77 69 74 68 20 |should e|nd with |
|000007f0| 61 20 73 6c 61 73 68 2c | 20 7c 2f 7c 2e 20 4f 6e |a slash,| |/|. On|
|00000800| 65 20 65 78 63 65 70 74 | 69 6f 6e 20 74 6f 0a 25 |e except|ion to.%|
|00000810| 20 74 68 69 73 20 72 75 | 6c 65 20 69 73 20 74 68 | this ru|le is th|
|00000820| 61 74 20 74 68 65 20 69 | 6e 70 75 74 20 70 61 74 |at the i|nput pat|
|00000830| 68 20 73 68 6f 75 6c 64 | 20 5c 65 6d 70 68 7b 61 |h should| \emph{a|
|00000840| 6c 77 61 79 73 7d 20 63 | 6f 6e 74 61 69 6e 20 74 |lways} c|ontain t|
|00000850| 68 65 0a 25 20 65 6d 70 | 74 79 20 64 69 72 65 63 |he.% emp|ty direc|
|00000860| 74 6f 72 79 20 7c 7b 7d | 7c 20 61 73 20 74 68 69 |tory |{}|| as thi|
|00000870| 73 20 77 69 6c 6c 20 61 | 6c 6c 6f 77 20 60 66 75 |s will a|llow `fu|
|00000880| 6c 6c 20 70 61 74 68 6e | 61 6d 65 73 27 20 74 6f |ll pathn|ames' to|
|00000890| 20 62 65 20 75 73 65 64 | 2c 0a 25 20 61 6e 64 20 | be used|,.% and |
|000008a0| 74 68 65 20 20 60 63 75 | 72 72 65 6e 74 20 64 69 |the `cu|rrent di|
|000008b0| 72 65 63 74 6f 72 79 27 | 20 74 6f 20 62 65 20 73 |rectory'| to be s|
|000008c0| 65 61 72 63 68 65 64 2e | 0a 25 0a 25 20 7c 5c 69 |earched.|.%.% |\i|
|000008d0| 6e 70 75 74 40 70 61 74 | 68 7c 20 73 68 6f 75 6c |nput@pat|h| shoul|
|000008e0| 64 20 65 78 70 61 6e 64 | 20 74 6f 20 61 20 6c 69 |d expand| to a li|
|000008f0| 73 74 20 6f 66 20 73 75 | 63 68 20 64 69 72 65 63 |st of su|ch direc|
|00000900| 74 6f 72 69 65 73 2c 20 | 65 61 63 68 20 69 6e 20 |tories, |each in |
|00000910| 61 0a 25 20 7c 7b 7d 7c | 20 67 72 6f 75 70 2e 0a |a.% |{}|| group..|
|00000920| 25 0a 25 0a 25 20 5c 44 | 65 73 63 72 69 62 65 4d |%.%.% \D|escribeM|
|00000930| 61 63 72 6f 7b 5c 66 69 | 6c 65 6e 61 6d 65 40 70 |acro{\fi|lename@p|
|00000940| 61 72 73 65 7d 0a 25 20 | 41 66 74 65 72 20 61 20 |arse}.% |After a |
|00000950| 63 61 6c 6c 20 6f 66 20 | 74 68 65 20 66 6f 72 6d |call of |the form|
|00000960| 3a 20 7c 5c 66 69 6c 65 | 6e 61 6d 65 40 70 61 72 |: |\file|name@par|
|00000970| 73 65 7b 7c 5c 6d 65 74 | 61 7b 66 69 6c 65 6e 61 |se{|\met|a{filena|
|00000980| 6d 65 7d 7c 7d 7c 2c 20 | 74 68 65 0a 25 20 74 68 |me}|}|, |the.% th|
|00000990| 72 65 65 20 6d 61 63 72 | 6f 73 20 7c 5c 66 69 6c |ree macr|os |\fil|
|000009a0| 65 6e 61 6d 65 40 61 72 | 65 61 7c 2c 7c 5c 66 69 |ename@ar|ea|,|\fi|
|000009b0| 6c 65 6e 61 6d 65 40 62 | 61 73 65 7c 2c 7c 5c 66 |lename@b|ase|,|\f|
|000009c0| 69 6c 65 6e 61 6d 65 40 | 65 78 74 7c 20 73 68 6f |ilename@|ext| sho|
|000009d0| 75 6c 64 0a 25 20 62 65 | 20 64 65 66 69 6e 65 64 |uld.% be| defined|
|000009e0| 20 74 6f 20 62 65 20 74 | 68 65 20 60 61 72 65 61 | to be t|he `area|
|000009f0| 27 20 28 6f 72 20 64 69 | 72 65 63 74 6f 72 79 29 |' (or di|rectory)|
|00000a00| 2c 20 62 61 73 65 6e 61 | 6d 65 20 61 6e 64 0a 25 |, basena|me and.%|
|00000a10| 20 65 78 74 65 6e 73 69 | 6f 6e 20 72 65 73 70 65 | extensi|on respe|
|00000a20| 63 74 69 76 65 6c 79 2e | 20 49 66 20 74 68 65 72 |ctively.| If ther|
|00000a30| 65 20 77 61 73 20 6e 6f | 20 65 78 74 65 6e 73 69 |e was no| extensi|
|00000a40| 6f 6e 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 0a |on speci|fied in.|
|00000a50| 25 20 5c 6d 65 74 61 7b | 66 69 6c 65 6e 61 6d 65 |% \meta{|filename|
|00000a60| 7d 2c 20 7c 5c 66 69 6c | 65 6e 61 6d 65 40 65 78 |}, |\fil|ename@ex|
|00000a70| 74 7c 20 73 68 6f 75 6c | 64 20 62 65 20 7c 5c 6c |t| shoul|d be |\l|
|00000a80| 65 74 7c 20 74 6f 20 7c | 5c 72 65 6c 61 78 7c 20 |et| to ||\relax| |
|00000a90| 28 73 6f 20 74 68 69 73 | 0a 25 20 63 61 73 65 20 |(so this|.% case |
|00000aa0| 6d 61 79 20 62 65 20 74 | 65 73 74 65 64 20 77 69 |may be t|ested wi|
|00000ab0| 74 68 20 7c 5c 40 69 66 | 75 6e 64 65 66 69 6e 65 |th |\@if|undefine|
|00000ac0| 64 7b 66 69 6c 65 6e 61 | 6d 65 40 65 78 74 7d 7c |d{filena|me@ext}||
|00000ad0| 20 61 6e 64 2c 20 70 65 | 72 68 61 70 73 20 61 0a | and, pe|rhaps a.|
|00000ae0| 25 20 64 65 66 61 75 6c | 74 20 65 78 74 65 6e 73 |% defaul|t extens|
|00000af0| 69 6f 6e 20 73 75 62 73 | 74 69 74 75 74 65 64 29 |ion subs|tituted)|
|00000b00| 2e 0a 25 0a 25 20 4e 6f | 72 6d 61 6c 6c 79 20 6f |..%.% No|rmally o|
|00000b10| 6e 65 20 77 6f 75 6c 64 | 20 6e 6f 74 20 6e 65 65 |ne would| not nee|
|00000b20| 64 20 74 6f 20 64 65 66 | 69 6e 65 20 74 68 69 73 |d to def|ine this|
|00000b30| 20 6d 61 63 72 6f 20 69 | 6e 20 7c 74 65 78 73 79 | macro i|n |texsy|
|00000b40| 73 2e 63 66 67 7c 20 61 | 73 0a 25 20 74 68 65 20 |s.cfg| a|s.% the |
|00000b50| 61 75 74 6f 6d 61 74 69 | 63 20 74 65 73 74 73 20 |automati|c tests |
|00000b60| 63 61 6e 20 73 75 70 70 | 6c 79 20 70 61 72 73 65 |can supp|ly parse|
|00000b70| 72 73 20 74 68 61 74 20 | 77 6f 72 6b 20 77 69 74 |rs that |work wit|
|00000b80| 68 20 55 4e 49 58 20 61 | 6e 64 20 56 4d 53 0a 25 |h UNIX a|nd VMS.%|
|00000b90| 20 73 79 6e 74 61 78 2c | 20 61 73 20 77 65 6c 6c | syntax,| as well|
|00000ba0| 20 61 73 20 61 20 62 61 | 73 69 63 20 70 61 72 73 | as a ba|sic pars|
|00000bb0| 65 72 20 74 68 61 74 20 | 77 69 6c 6c 63 6f 76 65 |er that |willcove|
|00000bc0| 72 20 6d 61 6e 79 20 6f | 74 68 65 72 20 63 61 73 |r many o|ther cas|
|00000bd0| 65 73 2e 0a 25 20 48 6f | 77 65 76 65 72 20 73 6f |es..% Ho|wever so|
|00000be0| 6d 65 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |me opera|ting sys|
|00000bf0| 74 65 6d 73 20 6d 61 79 | 20 6e 65 65 64 20 61 20 |tems may| need a |
|00000c00| 60 68 61 6e 64 20 70 72 | 6f 64 75 63 65 64 27 20 |`hand pr|oduced' |
|00000c10| 70 61 72 73 65 72 0a 25 | 20 69 6e 20 77 68 69 63 |parser.%| in whic|
|00000c20| 68 20 63 61 73 65 20 69 | 74 20 73 68 6f 75 6c 64 |h case i|t should|
|00000c30| 20 62 65 20 64 65 66 69 | 6e 65 64 20 69 6e 20 74 | be defi|ned in t|
|00000c40| 68 69 73 20 66 69 6c 65 | 2e 0a 25 0a 25 20 54 68 |his file|..%.% Th|
|00000c50| 65 20 55 4e 49 58 20 70 | 61 72 73 65 72 20 61 6c |e UNIX p|arser al|
|00000c60| 73 6f 20 77 6f 72 6b 73 | 20 66 6f 72 20 6d 6f 73 |so works| for mos|
|00000c70| 74 20 4d 53 44 4f 53 20 | 5c 54 65 58 5c 20 76 65 |t MSDOS |\TeX\ ve|
|00000c80| 72 73 69 6f 6e 73 2e 0a | 25 20 43 75 72 72 65 6e |rsions..|% Curren|
|00000c90| 74 6c 79 20 69 66 20 74 | 68 65 20 55 4e 49 58 20 |tly if t|he UNIX |
|00000ca0| 6f 72 20 56 4d 53 20 70 | 61 72 73 65 72 20 69 73 |or VMS p|arser is|
|00000cb0| 20 6e 6f 74 20 75 73 65 | 64 2c 20 7c 5c 66 69 6c | not use|d, |\fil|
|00000cc0| 65 6e 61 6d 65 40 70 61 | 72 73 65 7c 20 69 73 0a |ename@pa|rse| is.|
|00000cd0| 25 20 64 65 66 69 6e 65 | 64 20 74 6f 20 61 6c 77 |% define|d to alw|
|00000ce0| 61 79 73 20 72 65 74 75 | 72 6e 20 61 6e 20 65 6d |ays retu|rn an em|
|00000cf0| 70 74 79 20 61 72 65 61 | 2c 20 61 6e 64 20 74 6f |pty area|, and to|
|00000d00| 20 73 70 6c 69 74 20 74 | 68 65 20 61 72 67 75 6d | split t|he argum|
|00000d10| 65 6e 74 20 69 6e 74 6f | 0a 25 20 62 61 73 65 6e |ent into|.% basen|
|00000d20| 61 6d 65 20 61 6e 64 20 | 65 78 74 65 6e 73 69 6f |ame and |extensio|
|00000d30| 6e 20 61 74 20 74 68 65 | 20 66 69 72 73 74 20 60 |n at the| first `|
|00000d40| 7c 2e 7c 27 20 74 68 61 | 74 20 6f 63 63 75 72 73 ||.|' tha|t occurs|
|00000d50| 20 69 6e 20 74 68 65 20 | 6e 61 6d 65 2e 0a 25 20 | in the |name..% |
|00000d60| 50 61 72 73 65 72 73 20 | 66 6f 72 20 6f 74 68 65 |Parsers |for othe|
|00000d70| 72 20 66 6f 72 6d 61 74 | 73 20 6d 61 79 20 62 65 |r format|s may be|
|00000d80| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 7c 74 65 78 | defined| in |tex|
|00000d90| 73 79 73 2e 63 66 67 7c | 2c 0a 25 20 69 6e 20 77 |sys.cfg||,.% in w|
|00000da0| 68 69 63 68 20 63 61 73 | 65 20 74 68 65 79 20 77 |hich cas|e they w|
|00000db0| 69 6c 6c 20 62 65 20 75 | 73 65 64 20 69 6e 20 70 |ill be u|sed in p|
|00000dc0| 72 65 66 65 72 65 6e 63 | 65 20 74 6f 20 74 68 65 |referenc|e to the|
|00000dd0| 20 64 65 66 61 75 6c 74 | 0a 25 20 64 65 66 69 6e | default|.% defin|
|00000de0| 69 74 69 6f 6e 73 2e 0a | 25 0a 25 0a 25 20 5c 44 |itions..|%.%.% \D|
|00000df0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 40 54 |escribeM|acro{\@T|
|00000e00| 65 58 76 65 72 73 69 6f | 6e 7d 0a 25 20 59 6f 75 |eXversio|n}.% You|
|00000e10| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 6e 65 65 64 | should |not need|
|00000e20| 20 74 6f 20 73 65 74 20 | 74 68 69 73 20 6d 61 63 | to set |this mac|
|00000e30| 72 6f 20 69 6e 20 7c 74 | 65 78 73 79 73 2e 63 66 |ro in |t|exsys.cf|
|00000e40| 67 7c 2e 20 5c 4c 61 54 | 65 58 5c 0a 25 20 74 65 |g|. \LaT|eX\.% te|
|00000e50| 73 74 73 20 74 6f 20 73 | 65 74 20 74 68 69 73 20 |sts to s|et this |
|00000e60| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 2e 20 53 |automati|cally. S|
|00000e70| 65 65 20 74 68 65 20 63 | 6f 6d 6d 65 6e 74 73 20 |ee the c|omments |
|00000e80| 69 6e 20 74 68 65 20 6f | 70 65 6e 69 6e 67 0a 25 |in the o|pening.%|
|00000e90| 20 73 65 63 74 69 6f 6e | 20 6f 66 20 5c 74 65 78 | section| of \tex|
|00000ea0| 74 74 74 7b 6c 74 64 69 | 72 63 68 6b 2e 64 74 78 |ttt{ltdi|rchk.dtx|
|00000eb0| 7d 2e 0a 25 0a 25 0a 25 | 20 54 68 65 20 66 6f 6c |}..%.%.%| The fol|
|00000ec0| 6c 6f 77 69 6e 67 20 73 | 65 63 74 69 6f 6e 73 20 |lowing s|ections |
|00000ed0| 67 69 76 65 20 65 78 61 | 6d 70 6c 65 73 20 6f 66 |give exa|mples of|
|00000ee0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 77 68 69 | definit|ions whi|
|00000ef0| 63 68 20 6d 69 67 68 74 | 0a 25 20 77 6f 72 6b 20 |ch might|.% work |
|00000f00| 6f 6e 20 76 61 72 69 6f | 75 73 20 73 79 73 74 65 |on vario|us syste|
|00000f10| 6d 73 2e 20 54 68 65 73 | 65 20 61 72 65 20 63 75 |ms. Thes|e are cu|
|00000f20| 72 72 65 6e 74 6c 79 20 | 6d 61 69 6e 6c 79 20 75 |rrently |mainly u|
|00000f30| 6e 74 65 73 74 65 64 20 | 61 73 20 49 20 6f 6e 6c |ntested |as I onl|
|00000f40| 79 0a 25 20 68 61 76 65 | 20 61 63 63 65 73 73 20 |y.% have| access |
|00000f50| 74 6f 20 61 20 66 65 77 | 20 73 79 73 74 65 6d 73 |to a few| systems|
|00000f60| 2c 20 61 6c 6c 20 6f 66 | 20 77 68 69 63 68 20 64 |, all of| which d|
|00000f70| 6f 20 6e 6f 74 20 6e 65 | 65 64 20 74 68 69 73 20 |o not ne|ed this |
|00000f80| 66 69 6c 65 20 61 73 0a | 25 20 74 68 65 20 61 75 |file as.|% the au|
|00000f90| 74 6f 6d 61 74 69 63 20 | 74 65 73 74 73 20 77 6f |tomatic |tests wo|
|00000fa0| 72 6b 2e 20 41 6c 6c 20 | 74 68 65 20 63 6f 64 65 |rk. All |the code|
|00000fb0| 20 69 73 20 63 6f 6d 6d | 65 6e 74 65 64 20 6f 75 | is comm|ented ou|
|00000fc0| 74 2e 0a 25 0a 25 20 5c | 73 75 62 73 65 63 74 69 |t..%.% \|subsecti|
|00000fd0| 6f 6e 7b 55 4e 49 58 20 | 28 77 65 62 32 63 29 7d |on{UNIX |(web2c)}|
|00000fe0| 0a 25 20 54 68 69 73 20 | 69 6d 70 6c 65 6d 65 6e |.% This |implemen|
|00000ff0| 74 61 74 69 6f 6e 20 64 | 6f 65 73 20 6d 61 6b 65 |tation d|oes make|
|00001000| 20 7c 5c 6f 70 65 6e 69 | 6e 7c 20 61 6e 64 20 7c | |\openi|n| and ||
|00001010| 5c 69 6e 70 75 74 7c 20 | 6c 6f 6f 6b 20 69 6e 20 |\input| |look in |
|00001020| 74 68 65 20 73 61 6d 65 | 0a 25 20 70 6c 61 63 65 |the same|.% place|
|00001030| 73 2e 20 41 63 63 65 70 | 74 61 62 6c 65 20 73 65 |s. Accep|table se|
|00001040| 74 74 69 6e 67 73 20 61 | 72 65 20 6d 61 64 65 20 |ttings a|re made |
|00001050| 62 79 20 7c 64 69 72 63 | 68 65 63 6b 2e 64 74 78 |by |dirc|heck.dtx|
|00001060| 7c 2c 20 61 6e 64 20 73 | 6f 20 74 68 69 73 0a 25 ||, and s|o this.%|
|00001070| 20 66 69 6c 65 20 6d 61 | 79 20 62 65 20 65 6d 70 | file ma|y be emp|
|00001080| 74 79 2e 20 54 68 65 20 | 64 65 66 69 6e 69 74 69 |ty. The |definiti|
|00001090| 6f 6e 73 20 62 65 6c 6f | 77 20 61 72 65 20 74 68 |ons belo|w are th|
|000010a0| 65 72 65 66 6f 72 65 20 | 6a 75 73 74 20 66 6f 72 |erefore |just for|
|000010b0| 0a 25 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0a |.% infor|mation..|
|000010c0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|000010d0| 6f 63 6f 64 65 7d 0a 25 | 5c 64 65 66 5c 40 63 75 |ocode}.%|\def\@cu|
|000010e0| 72 72 64 69 72 7b 2e 2f | 7d 0a 25 5c 6c 65 74 5c |rrdir{./|}.%\let\|
|000010f0| 69 6e 70 75 74 40 70 61 | 74 68 5c 40 75 6e 64 65 |input@pa|th\@unde|
|00001100| 66 69 6e 65 64 0a 25 20 | 20 20 20 5c 65 6e 64 7b |fined.% | \end{|
|00001110| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 5c |macrocod|e}.%.% \|
|00001120| 73 75 62 73 65 63 74 69 | 6f 6e 7b 55 4e 49 58 20 |subsecti|on{UNIX |
|00001130| 28 6f 74 68 65 72 29 7d | 0a 25 20 41 70 70 61 72 |(other)}|.% Appar|
|00001140| 65 6e 74 6c 79 20 73 6f | 6d 65 20 63 6f 6d 6d 65 |ently so|me comme|
|00001150| 72 63 69 61 6c 20 55 4e | 49 58 20 69 6d 70 6c 65 |rcial UN|IX imple|
|00001160| 6d 65 6e 74 61 74 69 6f | 6e 73 20 68 61 76 65 20 |mentatio|ns have |
|00001170| 64 69 66 66 65 72 65 6e | 74 20 70 61 74 68 73 0a |differen|t paths.|
|00001180| 25 20 66 6f 72 20 7c 5c | 6f 70 65 6e 69 6e 7c 20 |% for |\|openin| |
|00001190| 61 6e 64 20 7c 5c 69 6e | 70 75 74 7c 2e 20 46 6f |and |\in|put|. Fo|
|000011a0| 72 20 74 68 65 73 65 20 | 6f 6e 65 20 63 6f 75 6c |r these |one coul|
|000011b0| 64 20 75 73 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |d use de|finition|
|000011c0| 73 20 6c 69 6b 65 0a 25 | 20 74 68 65 20 66 6f 6c |s like.%| the fol|
|000011d0| 6c 6f 77 69 6e 67 20 28 | 77 69 74 68 20 77 68 61 |lowing (|with wha|
|000011e0| 74 65 76 65 72 20 64 69 | 72 65 63 74 6f 72 69 65 |tever di|rectorie|
|000011f0| 73 20 61 72 65 20 75 73 | 65 64 20 61 74 20 79 6f |s are us|ed at yo|
|00001200| 75 72 20 73 69 74 65 29 | 3a 0a 25 20 6e 6f 74 65 |ur site)|:.% note|
|00001210| 20 74 68 61 74 20 74 68 | 65 20 64 69 72 65 63 74 | that th|e direct|
|00001220| 6f 72 79 20 6e 61 6d 65 | 73 20 73 68 6f 75 6c 64 |ory name|s should|
|00001230| 20 65 6e 64 20 77 69 74 | 68 20 7c 2f 7c 2e 0a 25 | end wit|h |/|..%|
|00001240| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00001250| 63 6f 64 65 7d 0a 25 20 | 5c 64 65 66 5c 40 63 75 |code}.% |\def\@cu|
|00001260| 72 72 64 69 72 7b 2e 2f | 7d 0a 25 20 5c 64 65 66 |rrdir{./|}.% \def|
|00001270| 5c 69 6e 70 75 74 40 70 | 61 74 68 7b 25 0a 25 20 |\input@p|ath{%.% |
|00001280| 20 20 7b 2f 75 73 72 2f | 6c 6f 63 61 6c 2f 6c 69 | {/usr/|local/li|
|00001290| 62 2f 74 65 78 2f 69 6e | 70 75 74 73 2f 64 69 73 |b/tex/in|puts/dis|
|000012a0| 74 72 69 62 2f 7d 25 0a | 25 20 20 20 7b 2f 75 73 |trib/}%.|% {/us|
|000012b0| 72 2f 6c 6f 63 61 6c 2f | 6c 69 62 2f 74 65 78 2f |r/local/|lib/tex/|
|000012c0| 69 6e 70 75 74 73 2f 63 | 6f 6e 74 72 69 62 2f 7d |inputs/c|ontrib/}|
|000012d0| 25 0a 25 20 20 20 7b 2f | 75 73 72 2f 6c 6f 63 61 |%.% {/|usr/loca|
|000012e0| 6c 2f 6c 69 62 2f 74 65 | 78 2f 69 6e 70 75 74 73 |l/lib/te|x/inputs|
|000012f0| 2f 6c 6f 63 61 6c 2f 7d | 25 0a 25 20 7d 0a 25 20 |/local/}|%.% }.% |
|00001300| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00001310| 65 7d 0a 25 0a 25 20 5c | 73 75 62 73 65 63 74 69 |e}.%.% \|subsecti|
|00001320| 6f 6e 7b 4d 53 44 4f 53 | 20 28 65 6d 74 65 78 29 |on{MSDOS| (emtex)|
|00001330| 7d 0a 25 20 54 68 69 73 | 20 69 6d 70 6c 65 6d 65 |}.% This| impleme|
|00001340| 6e 74 61 74 69 6f 6e 20 | 64 6f 65 73 20 6d 61 6b |ntation |does mak|
|00001350| 65 20 7c 5c 6f 70 65 6e | 69 6e 7c 20 61 6e 64 20 |e |\open|in| and |
|00001360| 7c 5c 69 6e 70 75 74 7c | 20 6c 6f 6f 6b 20 69 6e ||\input|| look in|
|00001370| 20 74 68 65 20 73 61 6d | 65 0a 25 20 70 6c 61 63 | the sam|e.% plac|
|00001380| 65 73 2e 20 41 63 63 65 | 70 74 61 62 6c 65 20 73 |es. Acce|ptable s|
|00001390| 65 74 74 69 6e 67 73 20 | 61 72 65 20 6d 61 64 65 |ettings |are made|
|000013a0| 20 62 79 20 7c 64 69 72 | 63 68 65 63 6b 2e 64 74 | by |dir|check.dt|
|000013b0| 78 7c 2c 20 61 6e 64 20 | 73 6f 20 74 68 69 73 0a |x|, and |so this.|
|000013c0| 25 20 66 69 6c 65 20 6d | 61 79 20 62 65 20 65 6d |% file m|ay be em|
|000013d0| 70 74 79 2e 20 54 68 65 | 20 64 65 66 69 6e 69 74 |pty. The| definit|
|000013e0| 69 6f 6e 73 20 62 65 6c | 6f 77 20 61 72 65 20 74 |ions bel|ow are t|
|000013f0| 68 65 72 65 66 6f 72 65 | 20 6a 75 73 74 20 66 6f |herefore| just fo|
|00001400| 72 0a 25 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2e |r.% info|rmation.|
|00001410| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00001420| 72 6f 63 6f 64 65 7d 0a | 25 20 5c 64 65 66 5c 40 |rocode}.|% \def\@|
|00001430| 63 75 72 72 64 69 72 7b | 2e 2f 7d 0a 25 20 5c 6c |currdir{|./}.% \l|
|00001440| 65 74 5c 69 6e 70 75 74 | 40 70 61 74 68 5c 40 75 |et\input|@path\@u|
|00001450| 6e 64 65 66 69 6e 65 64 | 0a 25 20 20 20 20 5c 65 |ndefined|.% \e|
|00001460| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00001470| 25 20 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 4d 53 |% \subse|ction{MS|
|00001480| 44 4f 53 20 28 6f 74 68 | 65 72 29 7d 0a 25 20 53 |DOS (oth|er)}.% S|
|00001490| 6f 6d 65 20 50 43 20 69 | 6d 70 6c 65 6d 65 6e 74 |ome PC i|mplement|
|000014a0| 61 74 69 6f 6e 73 20 68 | 61 76 65 20 64 69 66 66 |ations h|ave diff|
|000014b0| 65 72 65 6e 74 20 70 61 | 74 68 73 0a 25 20 66 6f |erent pa|ths.% fo|
|000014c0| 72 20 7c 5c 6f 70 65 6e | 69 6e 7c 20 61 6e 64 20 |r |\open|in| and |
|000014d0| 7c 5c 69 6e 70 75 74 7c | 2e 20 46 6f 72 20 74 68 ||\input||. For th|
|000014e0| 65 73 65 20 6f 6e 65 20 | 63 6f 75 6c 64 20 75 73 |ese one |could us|
|000014f0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 6c 69 |e defini|tions li|
|00001500| 6b 65 0a 25 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ke.% the| followi|
|00001510| 6e 67 20 28 77 69 74 68 | 20 77 68 61 74 65 76 65 |ng (with| whateve|
|00001520| 72 20 64 69 72 65 63 74 | 6f 72 69 65 73 20 61 72 |r direct|ories ar|
|00001530| 65 20 75 73 65 64 20 61 | 74 20 79 6f 75 72 20 73 |e used a|t your s|
|00001540| 69 74 65 29 3a 0a 25 20 | 6e 6f 74 65 20 74 68 61 |ite):.% |note tha|
|00001550| 74 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |t the di|rectory |
|00001560| 6e 61 6d 65 73 20 73 68 | 6f 75 6c 64 20 65 6e 64 |names sh|ould end|
|00001570| 20 77 69 74 68 20 7c 2f | 7c 2e 0a 25 20 54 68 69 | with |/||..% Thi|
|00001580| 73 20 61 73 73 75 6d 65 | 73 20 74 68 65 20 69 6d |s assume|s the im|
|00001590| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 75 73 65 |plementa|tion use|
|000015a0| 73 20 55 4e 49 58 20 73 | 74 79 6c 65 20 7c 2f 7c |s UNIX s|tyle |/||
|000015b0| 20 61 73 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | as the |director|
|000015c0| 79 0a 25 20 73 65 70 61 | 72 61 74 6f 72 2e 0a 25 |y.% sepa|rator..%|
|000015d0| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|000015e0| 63 6f 64 65 7d 0a 25 20 | 5c 64 65 66 5c 40 63 75 |code}.% |\def\@cu|
|000015f0| 72 72 64 69 72 7b 2e 2f | 7d 0a 25 20 5c 64 65 66 |rrdir{./|}.% \def|
|00001600| 5c 69 6e 70 75 74 40 70 | 61 74 68 7b 25 0a 25 20 |\input@p|ath{%.% |
|00001610| 20 20 7b 63 3a 2f 74 65 | 78 2f 69 6e 70 75 74 73 | {c:/te|x/inputs|
|00001620| 2f 64 69 73 74 72 69 62 | 2f 7d 25 0a 25 20 20 20 |/distrib|/}%.% |
|00001630| 7b 63 3a 2f 74 65 78 2f | 69 6e 70 75 74 73 2f 63 |{c:/tex/|inputs/c|
|00001640| 6f 6e 74 72 69 62 2f 7d | 25 0a 25 20 20 20 7b 63 |ontrib/}|%.% {c|
|00001650| 3a 2f 74 65 78 2f 69 6e | 70 75 74 73 2f 6c 6f 63 |:/tex/in|puts/loc|
|00001660| 61 6c 2f 7d 25 0a 25 20 | 7d 0a 25 20 20 20 20 5c |al/}%.% |}.% \|
|00001670| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00001680| 0a 25 20 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 56 |.% \subs|ection{V|
|00001690| 4d 53 20 28 3f 3f 3f 29 | 7d 0a 25 20 54 68 69 73 |MS (???)|}.% This|
|000016a0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000016b0| 64 6f 65 73 20 6d 61 6b | 65 20 7c 5c 6f 70 65 6e |does mak|e |\open|
|000016c0| 69 6e 7c 20 61 6e 64 20 | 7c 5c 69 6e 70 75 74 7c |in| and ||\input||
|000016d0| 20 6c 6f 6f 6b 20 69 6e | 20 74 68 65 20 73 61 6d | look in| the sam|
|000016e0| 65 0a 25 20 70 6c 61 63 | 65 73 2e 20 41 63 63 65 |e.% plac|es. Acce|
|000016f0| 70 74 61 62 6c 65 20 73 | 65 74 74 69 6e 67 73 20 |ptable s|ettings |
|00001700| 61 72 65 20 6d 61 64 65 | 20 62 79 20 7c 64 69 72 |are made| by |dir|
|00001710| 63 68 65 63 6b 2e 64 74 | 78 7c 2c 20 61 6e 64 20 |check.dt|x|, and |
|00001720| 73 6f 20 74 68 69 73 0a | 25 20 66 69 6c 65 20 6d |so this.|% file m|
|00001730| 61 79 20 62 65 20 65 6d | 70 74 79 2e 20 54 68 65 |ay be em|pty. The|
|00001740| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 62 65 6c | definit|ions bel|
|00001750| 6f 77 20 61 72 65 20 74 | 68 65 72 65 66 6f 72 65 |ow are t|herefore|
|00001760| 20 6a 75 73 74 20 66 6f | 72 0a 25 20 69 6e 66 6f | just fo|r.% info|
|00001770| 72 6d 61 74 69 6f 6e 2e | 0a 25 20 20 20 20 5c 62 |rmation.|.% \b|
|00001780| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00001790| 25 20 5c 64 65 66 5c 40 | 63 75 72 72 64 69 72 7b |% \def\@|currdir{|
|000017a0| 5b 5d 7d 0a 25 20 5c 6c | 65 74 5c 69 6e 70 75 74 |[]}.% \l|et\input|
|000017b0| 40 70 61 74 68 5c 40 75 | 6e 64 65 66 69 6e 65 64 |@path\@u|ndefined|
|000017c0| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|000017d0| 63 6f 64 65 7d 0a 25 0a | 25 20 5c 73 75 62 73 65 |code}.%.|% \subse|
|000017e0| 63 74 69 6f 6e 7b 56 4d | 53 20 28 3f 3f 3f 29 7d |ction{VM|S (???)}|
|000017f0| 0a 25 20 53 6f 6d 65 20 | 56 4d 53 20 69 6d 70 6c |.% Some |VMS impl|
|00001800| 65 6d 65 6e 74 61 74 69 | 6f 6e 73 20 68 61 76 65 |ementati|ons have|
|00001810| 20 64 69 66 66 65 72 65 | 6e 74 20 70 61 74 68 73 | differe|nt paths|
|00001820| 0a 25 20 66 6f 72 20 7c | 5c 6f 70 65 6e 69 6e 7c |.% for ||\openin||
|00001830| 20 61 6e 64 20 7c 5c 69 | 6e 70 75 74 7c 2e 20 46 | and |\i|nput|. F|
|00001840| 6f 72 20 74 68 65 73 65 | 20 6f 6e 65 20 63 6f 75 |or these| one cou|
|00001850| 6c 64 20 75 73 65 20 64 | 65 66 69 6e 69 74 69 6f |ld use d|efinitio|
|00001860| 6e 73 20 6c 69 6b 65 0a | 25 20 74 68 65 20 66 6f |ns like.|% the fo|
|00001870| 6c 6c 6f 77 69 6e 67 3a | 0a 25 20 20 20 20 5c 62 |llowing:|.% \b|
|00001880| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00001890| 25 20 5c 64 65 66 5c 40 | 63 75 72 72 64 69 72 7b |% \def\@|currdir{|
|000018a0| 5b 5d 7d 0a 25 20 5c 64 | 65 66 5c 69 6e 70 75 74 |[]}.% \d|ef\input|
|000018b0| 40 70 61 74 68 7b 25 0a | 25 20 20 20 7b 74 65 78 |@path{%.|% {tex|
|000018c0| 69 6e 70 75 74 73 3a 7d | 25 0a 25 20 20 20 7b 5b |inputs:}|%.% {[|
|000018d0| 53 4f 4d 45 2e 54 45 58 | 2e 44 49 52 45 43 54 4f |SOME.TEX|.DIRECTO|
|000018e0| 52 59 5d 7d 25 0a 25 20 | 7d 0a 25 20 20 20 20 5c |RY]}%.% |}.% \|
|000018f0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00001900| 0a 25 20 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 4d |.% \subs|ection{M|
|00001910| 41 43 49 4e 54 4f 53 48 | 20 28 4f 7a 54 65 58 20 |ACINTOSH| (OzTeX |
|00001920| 31 2e 36 29 7d 0a 25 20 | 54 68 69 73 20 69 6d 70 |1.6)}.% |This imp|
|00001930| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 64 6f 65 73 |lementat|ion does|
|00001940| 20 6d 61 6b 65 20 7c 5c | 6f 70 65 6e 69 6e 7c 20 | make |\|openin| |
|00001950| 61 6e 64 20 7c 5c 69 6e | 70 75 74 7c 20 6c 6f 6f |and |\in|put| loo|
|00001960| 6b 20 69 6e 20 74 68 65 | 20 73 61 6d 65 0a 25 20 |k in the| same.% |
|00001970| 70 6c 61 63 65 73 2e 20 | 41 63 63 65 70 74 61 62 |places. |Acceptab|
|00001980| 6c 65 20 73 65 74 74 69 | 6e 67 73 20 61 72 65 20 |le setti|ngs are |
|00001990| 6d 61 64 65 20 62 79 20 | 7c 64 69 72 63 68 65 63 |made by ||dirchec|
|000019a0| 6b 2e 64 74 78 7c 2c 20 | 61 6e 64 20 73 6f 20 74 |k.dtx|, |and so t|
|000019b0| 68 69 73 0a 25 20 66 69 | 6c 65 20 6d 61 79 20 62 |his.% fi|le may b|
|000019c0| 65 20 65 6d 70 74 79 2e | 20 54 68 65 20 64 65 66 |e empty.| The def|
|000019d0| 69 6e 69 74 69 6f 6e 73 | 20 62 65 6c 6f 77 20 61 |initions| below a|
|000019e0| 72 65 20 74 68 65 72 65 | 66 6f 72 65 20 6a 75 73 |re there|fore jus|
|000019f0| 74 20 66 6f 72 0a 25 20 | 69 6e 66 6f 72 6d 61 74 |t for.% |informat|
|00001a00| 69 6f 6e 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ion..% | \begin|
|00001a10| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 64 |{macroco|de}.% \d|
|00001a20| 65 66 5c 40 63 75 72 72 | 64 69 72 7b 3a 7d 0a 25 |ef\@curr|dir{:}.%|
|00001a30| 20 5c 6c 65 74 5c 69 6e | 70 75 74 40 70 61 74 68 | \let\in|put@path|
|00001a40| 5c 40 75 6e 64 65 66 69 | 6e 65 64 0a 25 20 20 20 |\@undefi|ned.% |
|00001a50| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00001a60| 0a 25 0a 25 20 5c 73 75 | 62 73 65 63 74 69 6f 6e |.%.% \su|bsection|
|00001a70| 7b 4d 41 43 49 4e 54 4f | 53 48 20 28 6f 74 68 65 |{MACINTO|SH (othe|
|00001a80| 72 29 7d 0a 25 20 53 6f | 6d 65 20 4d 61 63 69 6e |r)}.% So|me Macin|
|00001a90| 74 6f 73 68 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |tosh imp|lementat|
|00001aa0| 69 6f 6e 73 20 68 61 76 | 65 20 64 69 66 66 65 72 |ions hav|e differ|
|00001ab0| 65 6e 74 20 70 61 74 68 | 73 0a 25 20 66 6f 72 20 |ent path|s.% for |
|00001ac0| 7c 5c 6f 70 65 6e 69 6e | 7c 20 61 6e 64 20 7c 5c ||\openin|| and |\|
|00001ad0| 69 6e 70 75 74 7c 2e 20 | 46 6f 72 20 74 68 65 73 |input|. |For thes|
|00001ae0| 65 20 6f 6e 65 20 63 6f | 75 6c 64 20 75 73 65 20 |e one co|uld use |
|00001af0| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 6c 69 6b 65 |definiti|ons like|
|00001b00| 0a 25 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |.% the f|ollowing|
|00001b10| 20 28 77 69 74 68 20 77 | 68 61 74 65 76 65 72 20 | (with w|hatever |
|00001b20| 66 6f 6c 64 65 72 73 20 | 61 72 65 20 75 73 65 64 |folders |are used|
|00001b30| 20 6f 6e 20 79 6f 75 72 | 20 6d 61 63 68 69 6e 65 | on your| machine|
|00001b40| 29 3a 0a 25 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |):.% not|e that t|
|00001b50| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |he direc|tory nam|
|00001b60| 65 73 20 73 68 6f 75 6c | 64 20 65 6e 64 20 77 69 |es shoul|d end wi|
|00001b70| 74 68 20 7c 3a 7c 2c 20 | 61 6e 64 20 74 68 65 79 |th |:|, |and they|
|00001b80| 20 73 68 6f 75 6c 64 0a | 25 20 63 6f 6e 74 61 69 | should.|% contai|
|00001b90| 6e 20 7b 5c 65 6d 20 6e | 6f 5c 2f 7d 20 73 70 61 |n {\em n|o\/} spa|
|00001ba0| 63 65 73 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ces..% | \begin|
|00001bb0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 64 |{macroco|de}.% \d|
|00001bc0| 65 66 5c 40 63 75 72 72 | 64 69 72 7b 3a 7d 0a 25 |ef\@curr|dir{:}.%|
|00001bd0| 20 5c 64 65 66 5c 69 6e | 70 75 74 40 70 61 74 68 | \def\in|put@path|
|00001be0| 7b 25 0a 25 20 20 20 7b | 48 61 72 64 2d 44 69 73 |{%.% {|Hard-Dis|
|00001bf0| 6b 3a 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 3a 54 |k:Applic|ations:T|
|00001c00| 65 58 3a 54 65 58 2d 69 | 6e 70 75 74 73 3a 7d 25 |eX:TeX-i|nputs:}%|
|00001c10| 0a 25 20 20 20 7b 48 61 | 72 64 2d 44 69 73 6b 3a |.% {Ha|rd-Disk:|
|00001c20| 41 70 70 6c 69 63 61 74 | 69 6f 6e 73 3a 54 65 58 |Applicat|ions:TeX|
|00001c30| 3a 4d 79 2d 69 6e 70 75 | 74 73 3a 7d 25 0a 25 20 |:My-inpu|ts:}%.% |
|00001c40| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00001c50| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 5c 73 75 62 73 |ocode}.%|.% \subs|
|00001c60| 65 63 74 69 6f 6e 7b 46 | 41 4b 45 20 45 58 41 4d |ection{F|AKE EXAM|
|00001c70| 50 4c 45 7d 0a 25 20 20 | 54 68 69 73 20 65 78 61 |PLE}.% |This exa|
|00001c80| 6d 70 6c 65 20 69 73 20 | 66 6f 72 20 61 6e 20 6f |mple is |for an o|
|00001c90| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |perating| system |
|00001ca0| 74 68 61 74 20 68 61 73 | 20 66 69 6c 65 6e 61 6d |that has| filenam|
|00001cb0| 65 73 20 6f 66 20 74 68 | 65 0a 25 20 20 66 6f 72 |es of th|e.% for|
|00001cc0| 6d 20 7c 3c 61 72 65 61 | 3e 6e 61 6d 65 7c 20 20 |m |<area|>name| |
|00001cd0| 46 6f 72 20 6d 61 78 69 | 6d 75 6d 20 63 6f 6d 70 |For maxi|mum comp|
|00001ce0| 61 74 61 62 69 6c 69 74 | 79 20 77 69 74 68 20 6d |atabilit|y with m|
|00001cf0| 61 63 72 6f 20 73 65 74 | 73 2c 0a 25 20 20 79 6f |acro set|s,.% yo|
|00001d00| 75 20 77 61 6e 74 20 7c | 6e 61 6d 65 2e 65 78 74 |u want ||name.ext|
|00001d10| 7c 20 74 6f 20 62 65 20 | 6d 61 70 70 65 64 20 74 || to be |mapped t|
|00001d20| 6f 20 7c 3c 65 78 74 3e | 6e 61 6d 65 7c 2e 0a 25 |o |<ext>|name|..%|
|00001d30| 20 20 61 6e 64 20 7c 3c | 61 72 65 61 3e 6e 61 6d | and |<|area>nam|
|00001d40| 65 2e 65 78 74 7c 20 74 | 6f 20 62 65 20 6d 61 70 |e.ext| t|o be map|
|00001d50| 70 65 64 20 74 6f 20 7c | 3c 61 72 65 61 2e 65 78 |ped to ||<area.ex|
|00001d60| 74 3e 6e 61 6d 65 7c 2e | 0a 25 20 20 7c 5c 69 6e |t>name|.|.% |\in|
|00001d70| 70 75 74 7c 20 64 6f 65 | 73 20 74 68 69 73 20 6d |put| doe|s this m|
|00001d80| 61 70 70 69 6e 67 20 61 | 75 74 6f 6d 61 74 69 63 |apping a|utomatic|
|00001d90| 61 6c 6c 79 2c 20 62 75 | 74 20 7c 5c 6f 70 65 6e |ally, bu|t |\open|
|00001da0| 69 6e 7c 20 64 6f 65 73 | 20 6e 6f 74 2c 20 61 6e |in| does| not, an|
|00001db0| 64 0a 25 20 20 64 6f 65 | 73 20 6e 6f 74 20 6c 6f |d.% doe|s not lo|
|00001dc0| 6f 6b 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 70 |ok in th|e same p|
|00001dd0| 6c 61 63 65 73 20 61 73 | 20 7c 5c 69 6e 70 75 74 |laces as| |\input|
|00001de0| 7c 2e 0a 25 20 20 7c 3c | 3e 6e 61 6d 65 7c 20 69 ||..% |<|>name| i|
|00001df0| 73 20 74 68 65 20 64 65 | 73 69 72 65 64 20 60 63 |s the de|sired `c|
|00001e00| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|00001e10| 27 20 73 79 6e 74 61 78 | 2e 0a 25 0a 25 20 74 68 |' syntax|..%.% th|
|00001e20| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 64 65 |e follow|ing code|
|00001e30| 20 77 6f 75 6c 64 20 70 | 6f 73 73 69 62 6c 79 20 | would p|ossibly |
|00001e40| 77 6f 72 6b 3a 0a 25 20 | 20 20 20 5c 62 65 67 69 |work:.% | \begi|
|00001e50| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |n{macroc|ode}.% \|
|00001e60| 64 65 66 5c 40 64 69 72 | 23 31 23 32 20 7b 25 0a |def\@dir|#1#2 {%.|
|00001e70| 25 20 20 20 5c 40 64 40 | 72 7b 23 31 7d 23 32 2e |% \@d@|r{#1}#2.|
|00001e80| 2e 5c 40 6e 69 6c 7d 0a | 25 20 5c 64 65 66 5c 40 |.\@nil}.|% \def\@|
|00001e90| 64 40 72 23 31 23 32 2e | 23 33 2e 23 34 5c 40 6e |d@r#1#2.|#3.#4\@n|
|00001ea0| 69 6c 7b 25 0a 25 20 20 | 20 3c 5c 69 66 78 5c 40 |il{%.% | <\ifx\@|
|00001eb0| 64 69 72 23 31 5c 40 64 | 69 72 5c 65 6c 73 65 23 |dir#1\@d|ir\else#|
|00001ec0| 31 5c 69 66 78 5c 40 64 | 69 72 23 33 5c 40 64 69 |1\ifx\@d|ir#3\@di|
|00001ed0| 72 5c 65 6c 73 65 2e 5c | 66 69 5c 66 69 23 33 3e |r\else.\|fi\fi#3>|
|00001ee0| 23 32 20 7d 0a 25 0a 25 | 20 5c 64 65 66 5c 40 63 |#2 }.%.%| \def\@c|
|00001ef0| 75 72 72 64 69 72 7b 5c | 40 64 69 72 7b 7d 7d 0a |urrdir{\|@dir{}}.|
|00001f00| 25 20 5c 64 65 66 5c 69 | 6e 70 75 74 40 70 61 74 |% \def\i|nput@pat|
|00001f10| 68 7b 25 0a 25 20 20 20 | 7b 5c 40 64 69 72 7b 61 |h{%.% |{\@dir{a|
|00001f20| 72 65 61 2e 6f 6e 65 7d | 7d 25 0a 25 20 20 20 7b |rea.one}|}%.% {|
|00001f30| 5c 40 64 69 72 7b 61 72 | 65 61 2e 74 77 6f 7d 7d |\@dir{ar|ea.two}}|
|00001f40| 25 0a 25 20 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |%.% }.% | \end{|
|00001f50| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a |macrocod|e}. |
+--------+-------------------------+-------------------------+--------+--------+