home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / inputs / latex / unpacked / ltclass.dtx < prev    next >
LaTeX Document  |  1995-06-21  |  48.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 document text default
99% file LaTeX 2e 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)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 20 6d 65 74 61 2d |% \iffal|se meta-|
|00000010| 63 6f 6d 6d 65 6e 74 0a | 25 0a 25 20 43 6f 70 79 |comment.|%.% Copy|
|00000020| 72 69 67 68 74 20 31 39 | 39 33 2d 31 39 39 35 20 |right 19|93-1995 |
|00000030| 74 68 65 20 4c 61 54 65 | 58 33 20 70 72 6f 6a 65 |the LaTe|X3 proje|
|00000040| 63 74 20 61 6e 64 20 61 | 6e 79 20 69 6e 64 69 76 |ct and a|ny indiv|
|00000050| 69 64 75 61 6c 20 61 75 | 74 68 6f 72 73 0a 25 20 |idual au|thors.% |
|00000060| 6c 69 73 74 65 64 20 65 | 6c 73 65 77 68 65 72 65 |listed e|lsewhere|
|00000070| 20 69 6e 20 74 68 69 73 | 20 66 69 6c 65 2e 20 20 | in this| file. |
|00000080| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000090| 76 65 64 2e 0a 25 20 0a | 25 20 46 6f 72 20 66 75 |ved..% .|% For fu|
|000000a0| 72 74 68 65 72 20 63 6f | 70 79 72 69 67 68 74 20 |rther co|pyright |
|000000b0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 73 65 65 20 |informat|ion see |
|000000c0| 74 68 65 20 66 69 6c 65 | 20 6c 65 67 61 6c 2e 74 |the file| legal.t|
|000000d0| 78 74 2c 20 61 6e 64 20 | 61 6e 79 0a 25 20 6f 74 |xt, and |any.% ot|
|000000e0| 68 65 72 20 63 6f 70 79 | 72 69 67 68 74 20 6e 6f |her copy|right no|
|000000f0| 74 69 63 65 73 20 69 6e | 20 74 68 69 73 20 66 69 |tices in| this fi|
|00000100| 6c 65 2e 0a 25 20 0a 25 | 20 54 68 69 73 20 66 69 |le..% .%| This fi|
|00000110| 6c 65 20 69 73 20 70 61 | 72 74 20 6f 66 20 74 68 |le is pa|rt of th|
|00000120| 65 20 4c 61 54 65 58 32 | 65 20 73 79 73 74 65 6d |e LaTeX2|e system|
|00000130| 2e 0a 25 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..% ----|--------|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 25 20 20 |--------|----.% |
|00000160| 20 54 68 69 73 20 73 79 | 73 74 65 6d 20 69 73 20 | This sy|stem is |
|00000170| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|00000180| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|00000190| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 0a |will be |useful,.|
|000001a0| 25 20 20 20 62 75 74 20 | 57 49 54 48 4f 55 54 20 |% but |WITHOUT |
|000001b0| 41 4e 59 20 57 41 52 52 | 41 4e 54 59 3b 20 77 69 |ANY WARR|ANTY; wi|
|000001c0| 74 68 6f 75 74 20 65 76 | 65 6e 20 74 68 65 20 69 |thout ev|en the i|
|000001d0| 6d 70 6c 69 65 64 20 77 | 61 72 72 61 6e 74 79 20 |mplied w|arranty |
|000001e0| 6f 66 0a 25 20 20 20 4d | 45 52 43 48 41 4e 54 41 |of.% M|ERCHANTA|
|000001f0| 42 49 4c 49 54 59 20 6f | 72 20 46 49 54 4e 45 53 |BILITY o|r FITNES|
|00000200| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00000210| 41 52 20 50 55 52 50 4f | 53 45 2e 0a 25 20 0a 25 |AR PURPO|SE..% .%|
|00000220| 20 20 20 46 6f 72 20 65 | 72 72 6f 72 20 72 65 70 | For e|rror rep|
|00000230| 6f 72 74 73 20 63 6f 6e | 63 65 72 6e 69 6e 67 20 |orts con|cerning |
|00000240| 55 4e 43 48 41 4e 47 45 | 44 20 76 65 72 73 69 6f |UNCHANGE|D versio|
|00000250| 6e 73 20 6f 66 20 74 68 | 69 73 20 66 69 6c 65 20 |ns of th|is file |
|00000260| 6e 6f 20 6d 6f 72 65 0a | 25 20 20 20 74 68 61 6e |no more.|% than|
|00000270| 20 6f 6e 65 20 79 65 61 | 72 20 6f 6c 64 2c 20 73 | one yea|r old, s|
|00000280| 65 65 20 62 75 67 73 2e | 74 78 74 2e 0a 25 20 0a |ee bugs.|txt..% .|
|00000290| 25 20 20 20 50 6c 65 61 | 73 65 20 64 6f 20 6e 6f |% Plea|se do no|
|000002a0| 74 20 72 65 71 75 65 73 | 74 20 75 70 64 61 74 65 |t reques|t update|
|000002b0| 73 20 66 72 6f 6d 20 75 | 73 20 64 69 72 65 63 74 |s from u|s direct|
|000002c0| 6c 79 2e 20 20 50 72 69 | 6d 61 72 79 0a 25 20 20 |ly. Pri|mary.% |
|000002d0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 69 73 | distrib|ution is|
|000002e0| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 43 54 41 | through| the CTA|
|000002f0| 4e 20 61 72 63 68 69 76 | 65 73 2e 0a 25 20 0a 25 |N archiv|es..% .%|
|00000300| 20 0a 25 20 49 4d 50 4f | 52 54 41 4e 54 20 43 4f | .% IMPO|RTANT CO|
|00000310| 50 59 52 49 47 48 54 20 | 4e 4f 54 49 43 45 3a 0a |PYRIGHT |NOTICE:.|
|00000320| 25 20 0a 25 20 59 6f 75 | 20 61 72 65 20 4e 4f 54 |% .% You| are NOT|
|00000330| 20 41 4c 4c 4f 57 45 44 | 20 74 6f 20 64 69 73 74 | ALLOWED| to dist|
|00000340| 72 69 62 75 74 65 20 74 | 68 69 73 20 66 69 6c 65 |ribute t|his file|
|00000350| 20 61 6c 6f 6e 65 2e 0a | 25 20 0a 25 20 59 6f 75 | alone..|% .% You|
|00000360| 20 61 72 65 20 61 6c 6c | 6f 77 65 64 20 74 6f 20 | are all|owed to |
|00000370| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 69 73 20 |distribu|te this |
|00000380| 66 69 6c 65 20 75 6e 64 | 65 72 20 74 68 65 20 63 |file und|er the c|
|00000390| 6f 6e 64 69 74 69 6f 6e | 20 74 68 61 74 20 69 74 |ondition| that it|
|000003a0| 20 69 73 0a 25 20 64 69 | 73 74 72 69 62 75 74 65 | is.% di|stribute|
|000003b0| 64 20 74 6f 67 65 74 68 | 65 72 20 77 69 74 68 20 |d togeth|er with |
|000003c0| 61 6c 6c 20 74 68 65 20 | 66 69 6c 65 73 20 6c 69 |all the |files li|
|000003d0| 73 74 65 64 20 69 6e 20 | 6d 61 6e 69 66 65 73 74 |sted in |manifest|
|000003e0| 2e 74 78 74 2e 0a 25 20 | 0a 25 20 49 66 20 79 6f |.txt..% |.% If yo|
|000003f0| 75 20 72 65 63 65 69 76 | 65 20 6f 6e 6c 79 20 73 |u receiv|e only s|
|00000400| 6f 6d 65 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ome of t|hese fil|
|00000410| 65 73 20 66 72 6f 6d 20 | 73 6f 6d 65 6f 6e 65 2c |es from |someone,|
|00000420| 20 63 6f 6d 70 6c 61 69 | 6e 21 0a 25 20 0a 25 20 | complai|n!.% .% |
|00000430| 50 65 72 6d 69 73 73 69 | 6f 6e 20 69 73 20 67 72 |Permissi|on is gr|
|00000440| 61 6e 74 65 64 20 74 6f | 20 63 6f 70 79 20 74 68 |anted to| copy th|
|00000450| 69 73 20 66 69 6c 65 20 | 74 6f 20 61 6e 6f 74 68 |is file |to anoth|
|00000460| 65 72 20 66 69 6c 65 20 | 77 69 74 68 20 61 20 63 |er file |with a c|
|00000470| 6c 65 61 72 6c 79 0a 25 | 20 64 69 66 66 65 72 65 |learly.%| differe|
|00000480| 6e 74 20 6e 61 6d 65 20 | 61 6e 64 20 74 6f 20 63 |nt name |and to c|
|00000490| 75 73 74 6f 6d 69 7a 65 | 20 74 68 65 20 64 65 63 |ustomize| the dec|
|000004a0| 6c 61 72 61 74 69 6f 6e | 73 20 69 6e 20 74 68 61 |laration|s in tha|
|000004b0| 74 20 63 6f 70 79 20 74 | 6f 20 73 65 72 76 65 0a |t copy t|o serve.|
|000004c0| 25 20 74 68 65 20 6e 65 | 65 64 73 20 6f 66 20 79 |% the ne|eds of y|
|000004d0| 6f 75 72 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |our inst|allation|
|000004e0| 2c 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |, provid|ed that |
|000004f0| 79 6f 75 20 63 6f 6d 70 | 6c 79 20 77 69 74 68 0a |you comp|ly with.|
|00000500| 25 20 74 68 65 20 63 6f | 6e 64 69 74 69 6f 6e 73 |% the co|nditions|
|00000510| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 6c 65 67 | in the |file leg|
|00000520| 61 6c 2e 74 78 74 2e 0a | 25 20 0a 25 20 48 6f 77 |al.txt..|% .% How|
|00000530| 65 76 65 72 2c 20 4e 4f | 20 50 45 52 4d 49 53 53 |ever, NO| PERMISS|
|00000540| 49 4f 4e 20 69 73 20 67 | 72 61 6e 74 65 64 20 74 |ION is g|ranted t|
|00000550| 6f 20 70 72 6f 64 75 63 | 65 20 6f 72 20 74 6f 20 |o produc|e or to |
|00000560| 64 69 73 74 72 69 62 75 | 74 65 20 61 0a 25 20 6d |distribu|te a.% m|
|00000570| 6f 64 69 66 69 65 64 20 | 76 65 72 73 69 6f 6e 20 |odified |version |
|00000580| 6f 66 20 74 68 69 73 20 | 66 69 6c 65 20 75 6e 64 |of this |file und|
|00000590| 65 72 20 69 74 73 20 6f | 72 69 67 69 6e 61 6c 20 |er its o|riginal |
|000005a0| 6e 61 6d 65 2e 0a 25 20 | 20 0a 25 20 59 6f 75 20 |name..% | .% You |
|000005b0| 61 72 65 20 4e 4f 54 20 | 41 4c 4c 4f 57 45 44 20 |are NOT |ALLOWED |
|000005c0| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 69 73 20 66 |to chang|e this f|
|000005d0| 69 6c 65 2e 0a 25 20 0a | 25 20 0a 25 20 5c 66 69 |ile..% .|% .% \fi|
|000005e0| 0a 25 0a 25 20 5c 69 66 | 66 61 6c 73 65 0a 25 25 |.%.% \if|false.%%|
|000005f0| 25 20 46 69 6c 65 3a 20 | 6c 74 63 6c 61 73 73 0a |% File: |ltclass.|
|00000600| 25 0a 25 3c 2a 64 72 69 | 76 65 72 3e 0a 25 20 5c |%.%<*dri|ver>.% \|
|00000610| 66 69 0a 5c 50 72 6f 76 | 69 64 65 73 46 69 6c 65 |fi.\Prov|idesFile|
|00000620| 7b 6c 74 63 6c 61 73 73 | 2e 64 74 78 7d 0a 20 20 |{ltclass|.dtx}. |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 5b 31 39 39 35 | | [1995|
|00000640| 2f 30 36 2f 31 39 20 76 | 31 2e 30 71 20 4c 61 54 |/06/19 v|1.0q LaT|
|00000650| 65 58 20 4b 65 72 6e 65 | 6c 20 28 43 6c 61 73 73 |eX Kerne|l (Class|
|00000660| 20 26 20 50 61 63 6b 61 | 67 65 20 49 6e 74 65 72 | & Packa|ge Inter|
|00000670| 66 61 63 65 29 5d 0a 25 | 20 5c 69 66 66 61 6c 73 |face)].%| \iffals|
|00000680| 65 0a 5c 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 |e.\docum|entclass|
|00000690| 7b 6c 74 78 64 6f 63 7d | 0a 5c 47 65 74 46 69 6c |{ltxdoc}|.\GetFil|
|000006a0| 65 49 6e 66 6f 7b 6c 74 | 63 6c 61 73 73 2e 64 74 |eInfo{lt|class.dt|
|000006b0| 78 7d 0a 5c 62 65 67 69 | 6e 7b 64 6f 63 75 6d 65 |x}.\begi|n{docume|
|000006c0| 6e 74 7d 0a 5c 74 69 74 | 6c 65 7b 54 68 65 20 6d |nt}.\tit|le{The m|
|000006d0| 61 69 6e 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |ain stru|cture of|
|000006e0| 20 64 6f 63 75 6d 65 6e | 74 73 7d 0a 5c 61 75 74 | documen|ts}.\aut|
|000006f0| 68 6f 72 7b 46 72 61 6e | 6b 20 4d 69 74 74 65 6c |hor{Fran|k Mittel|
|00000700| 62 61 63 68 5c 61 6e 64 | 20 43 68 72 69 73 20 52 |bach\and| Chris R|
|00000710| 6f 77 6c 65 79 5c 61 6e | 64 20 41 6c 61 6e 20 4a |owley\an|d Alan J|
|00000720| 65 66 66 72 65 79 5c 61 | 6e 64 0a 20 20 20 20 20 |effrey\a|nd. |
|00000730| 20 20 20 44 61 76 69 64 | 20 43 61 72 6c 69 73 6c | David| Carlisl|
|00000740| 65 7d 0a 5c 64 61 74 65 | 7b 5c 66 69 6c 65 64 61 |e}.\date|{\fileda|
|00000750| 74 65 7d 0a 5c 6d 61 6b | 65 74 69 74 6c 65 0a 20 |te}.\mak|etitle. |
|00000760| 5c 44 6f 63 49 6e 70 75 | 74 7b 5c 66 69 6c 65 6e |\DocInpu|t{\filen|
|00000770| 61 6d 65 7d 0a 5c 65 6e | 64 7b 64 6f 63 75 6d 65 |ame}.\en|d{docume|
|00000780| 6e 74 7d 0a 25 3c 2f 64 | 72 69 76 65 72 3e 0a 25 |nt}.%</d|river>.%|
|00000790| 20 5c 66 69 0a 25 0a 25 | 20 5c 69 66 66 61 6c 73 | \fi.%.%| \iffals|
|000007a0| 65 0a 25 20 28 43 29 20 | 43 6f 70 79 72 69 67 68 |e.% (C) |Copyrigh|
|000007b0| 74 20 46 72 61 6e 6b 20 | 4d 69 74 74 65 6c 62 61 |t Frank |Mittelba|
|000007c0| 63 68 2c 20 43 68 72 69 | 73 20 52 6f 77 6c 65 79 |ch, Chri|s Rowley|
|000007d0| 2c 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,.% | |
|000007e0| 20 20 41 6c 61 6e 20 4a | 65 66 66 72 65 79 20 61 | Alan J|effrey a|
|000007f0| 6e 64 20 44 61 76 69 64 | 20 43 61 72 6c 69 73 6c |nd David| Carlisl|
|00000800| 65 20 31 39 39 33 2d 31 | 39 39 34 2e 0a 25 20 41 |e 1993-1|994..% A|
|00000810| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|00000820| 65 64 2e 0a 25 20 5c 66 | 69 0a 25 0a 25 20 5c 43 |ed..% \f|i.%.% \C|
|00000830| 68 65 63 6b 53 75 6d 7b | 31 30 36 35 7d 0a 25 0a |heckSum{|1065}.%.|
|00000840| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 31 2e 30 66 |% \chang|es{v1.0f|
|00000850| 7d 7b 31 39 39 34 2f 30 | 35 2f 32 32 7d 7b 55 73 |}{1994/0|5/22}{Us|
|00000860| 65 20 6e 65 77 20 77 61 | 72 6e 69 6e 67 20 61 6e |e new wa|rning an|
|00000870| 64 20 65 72 72 6f 72 20 | 63 6f 6d 6d 61 6e 64 73 |d error |commands|
|00000880| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 31 2e |}.% \cha|nges{v1.|
|00000890| 30 6c 7d 7b 31 39 39 34 | 2f 31 31 2f 31 37 7d 0a |0l}{1994|/11/17}.|
|000008a0| 25 20 20 20 20 20 20 20 | 20 20 7b 5c 63 73 7b 40 |% | {\cs{@|
|000008b0| 74 65 6d 70 61 7d 20 74 | 6f 20 5c 63 73 7b 72 65 |tempa} t|o \cs{re|
|000008c0| 73 65 72 76 65 64 40 61 | 7d 7d 0a 25 0a 25 20 5c |served@a|}}.%.% \|
|000008d0| 73 65 63 74 69 6f 6e 7b | 49 6e 74 72 6f 64 75 63 |section{|Introduc|
|000008e0| 74 69 6f 6e 7d 0a 25 0a | 25 20 54 68 69 73 20 66 |tion}.%.|% This f|
|000008f0| 69 6c 65 20 69 6d 70 6c | 65 6d 65 6e 74 73 20 74 |ile impl|ements t|
|00000900| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 64 65 63 |he follo|wing dec|
|00000910| 6c 61 72 61 74 69 6f 6e | 73 2c 20 77 68 69 63 68 |laration|s, which|
|00000920| 20 72 65 70 6c 61 63 65 | 0a 25 20 7c 5c 64 6f 63 | replace|.% |\doc|
|00000930| 75 6d 65 6e 74 73 74 79 | 6c 65 7c 20 69 6e 20 20 |umentsty|le| in |
|00000940| 5c 4c 61 54 65 58 65 5c | 20 64 6f 63 75 6d 65 6e |\LaTeXe\| documen|
|00000950| 74 73 2e 0a 25 0a 25 20 | 4e 6f 74 65 20 74 68 61 |ts..%.% |Note tha|
|00000960| 74 20 6f 6c 64 20 64 6f | 63 75 6d 65 6e 74 73 20 |t old do|cuments |
|00000970| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 7c 5c 64 6f 63 |containi|ng |\doc|
|00000980| 75 6d 65 6e 74 73 74 79 | 6c 65 7c 20 77 69 6c 6c |umentsty|le| will|
|00000990| 20 62 65 20 72 75 6e 20 | 75 73 69 6e 67 0a 25 20 | be run |using.% |
|000009a0| 61 20 63 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |a compat|ibility |
|000009b0| 6f 70 74 69 6f 6e 2d 2d | 2d 74 68 75 73 20 6b 65 |option--|-thus ke|
|000009c0| 65 70 69 6e 67 20 65 76 | 65 72 79 6f 6e 65 20 68 |eping ev|eryone h|
|000009d0| 61 70 70 79 2c 20 77 65 | 20 68 6f 70 65 21 0a 25 |appy, we| hope!.%|
|000009e0| 0a 25 20 54 68 65 20 6f | 76 65 72 61 6c 6c 20 69 |.% The o|verall i|
|000009f0| 64 65 61 20 69 73 20 74 | 68 61 74 20 74 68 65 72 |dea is t|hat ther|
|00000a00| 65 20 61 72 65 20 74 77 | 6f 20 74 79 70 65 73 20 |e are tw|o types |
|00000a10| 6f 66 20 60 73 74 79 6c | 65 20 66 69 6c 65 73 27 |of `styl|e files'|
|00000a20| 3a 0a 25 20 60 63 6c 61 | 73 73 20 66 69 6c 65 73 |:.% `cla|ss files|
|00000a30| 27 20 77 68 69 63 68 20 | 64 65 66 69 6e 65 20 65 |' which |define e|
|00000a40| 6c 65 6d 65 6e 74 73 20 | 61 6e 64 20 70 72 6f 76 |lements |and prov|
|00000a50| 69 64 65 20 61 20 64 65 | 66 61 75 6c 74 20 66 6f |ide a de|fault fo|
|00000a60| 72 6d 61 74 74 69 6e 67 | 0a 25 20 66 6f 72 20 74 |rmatting|.% for t|
|00000a70| 68 65 6d 3b 20 20 61 6e | 64 20 60 70 61 63 6b 61 |hem; an|d `packa|
|00000a80| 67 65 73 27 20 77 68 69 | 63 68 20 70 72 6f 76 69 |ges' whi|ch provi|
|00000a90| 64 65 20 65 78 74 72 61 | 20 66 75 6e 63 74 69 6f |de extra| functio|
|00000aa0| 6e 61 6c 69 74 79 2e 20 | 20 4f 6e 65 0a 25 20 64 |nality. | One.% d|
|00000ab0| 69 66 66 65 72 65 6e 63 | 65 20 62 65 74 77 65 65 |ifferenc|e betwee|
|00000ac0| 6e 20 5c 4c 61 54 65 58 | 65 5c 20 61 6e 64 20 5c |n \LaTeX|e\ and \|
|00000ad0| 4c 61 54 65 58 32 2e 30 | 39 20 69 73 20 74 68 61 |LaTeX2.0|9 is tha|
|00000ae0| 74 20 5c 4c 61 54 65 58 | 65 5c 20 70 61 63 6b 61 |t \LaTeX|e\ packa|
|00000af0| 67 65 73 0a 25 20 6d 61 | 79 20 68 61 76 65 20 6f |ges.% ma|y have o|
|00000b00| 70 74 69 6f 6e 73 2e 20 | 4e 6f 74 65 20 74 68 61 |ptions. |Note tha|
|00000b10| 74 20 6f 70 74 69 6f 6e | 73 20 74 6f 20 63 6c 61 |t option|s to cla|
|00000b20| 73 73 65 73 20 70 61 63 | 6b 61 67 65 73 20 6d 61 |sses pac|kages ma|
|00000b30| 79 20 62 65 0a 25 20 69 | 6d 70 6c 65 6d 65 6e 74 |y be.% i|mplement|
|00000b40| 65 64 20 73 75 63 68 20 | 74 68 61 74 20 74 68 65 |ed such |that the|
|00000b50| 79 20 69 6e 70 75 74 20 | 66 69 6c 65 73 2c 20 62 |y input |files, b|
|00000b60| 75 74 20 74 68 65 73 65 | 20 66 69 6c 65 20 6e 61 |ut these| file na|
|00000b70| 6d 65 73 20 61 72 65 20 | 6e 6f 74 0a 25 20 6e 65 |mes are |not.% ne|
|00000b80| 63 65 73 73 61 72 69 6c | 79 20 64 69 72 65 63 74 |cessaril|y direct|
|00000b90| 6c 79 20 72 65 6c 61 74 | 65 64 20 74 6f 20 74 68 |ly relat|ed to th|
|00000ba0| 65 20 6f 70 74 69 6f 6e | 20 6e 61 6d 65 2e 0a 25 |e option| name..%|
|00000bb0| 0a 25 20 5c 73 65 63 74 | 69 6f 6e 7b 55 73 65 72 |.% \sect|ion{User|
|00000bc0| 20 69 6e 74 65 72 66 61 | 63 65 7d 0a 25 0a 25 20 | interfa|ce}.%.% |
|00000bd0| 7c 5c 64 6f 63 75 6d 65 | 6e 74 63 6c 61 73 73 5b ||\docume|ntclass[|
|00000be0| 7c 5c 6d 65 74 61 7b 6d | 61 69 6e 2d 6f 70 74 69 ||\meta{m|ain-opti|
|00000bf0| 6f 6e 2d 6c 69 73 74 7d | 7c 5d 7b 7c 5e 5e 41 0a |on-list}||]{|^^A.|
|00000c00| 25 20 20 20 5c 6d 65 74 | 61 7b 63 6c 61 73 73 7d |% \met|a{class}|
|00000c10| 7c 7d 5b 7c 5c 6d 65 74 | 61 7b 76 65 72 73 69 6f ||}[|\met|a{versio|
|00000c20| 6e 7d 7c 5d 7c 0a 25 0a | 25 20 54 68 65 72 65 20 |n}|]|.%.|% There |
|00000c30| 6d 75 73 74 20 62 65 20 | 65 78 61 63 74 6c 79 20 |must be |exactly |
|00000c40| 6f 6e 65 20 73 75 63 68 | 20 64 65 63 6c 61 72 61 |one such| declara|
|00000c50| 74 69 6f 6e 2c 20 61 6e | 64 20 69 74 20 6d 75 73 |tion, an|d it mus|
|00000c60| 74 20 63 6f 6d 65 20 66 | 69 72 73 74 2e 0a 25 20 |t come f|irst..% |
|00000c70| 54 68 65 20 5c 6d 65 74 | 61 7b 6d 61 69 6e 2d 6f |The \met|a{main-o|
|00000c80| 70 74 69 6f 6e 2d 6c 69 | 73 74 7d 20 69 73 20 61 |ption-li|st} is a|
|00000c90| 20 6c 69 73 74 20 6f 66 | 20 6f 70 74 69 6f 6e 73 | list of| options|
|00000ca0| 20 77 68 69 63 68 20 63 | 61 6e 20 6d 6f 64 69 66 | which c|an modif|
|00000cb0| 79 20 74 68 65 0a 25 20 | 66 6f 72 6d 61 74 74 69 |y the.% |formatti|
|00000cc0| 6e 67 20 6f 66 20 65 6c | 65 6d 65 6e 74 73 20 77 |ng of el|ements w|
|00000cd0| 68 69 63 68 20 61 72 65 | 20 64 65 66 69 6e 65 64 |hich are| defined|
|00000ce0| 20 69 6e 20 74 68 65 20 | 5c 6d 65 74 61 7b 63 6c | in the |\meta{cl|
|00000cf0| 61 73 73 7d 20 66 69 6c | 65 0a 25 20 61 73 20 77 |ass} fil|e.% as w|
|00000d00| 65 6c 6c 20 61 73 20 69 | 6e 20 61 6c 6c 20 66 6f |ell as i|n all fo|
|00000d10| 6c 6c 6f 77 69 6e 67 20 | 7c 5c 75 73 65 70 61 63 |llowing ||\usepac|
|00000d20| 6b 61 67 65 7c 20 64 65 | 63 6c 61 72 61 74 69 6f |kage| de|claratio|
|00000d30| 6e 73 20 28 73 65 65 20 | 62 65 6c 6f 77 29 2e 20 |ns (see |below). |
|00000d40| 0a 25 20 54 68 65 20 5c | 6d 65 74 61 7b 76 65 72 |.% The \|meta{ver|
|00000d50| 73 69 6f 6e 7d 20 69 73 | 20 61 20 76 65 72 73 69 |sion} is| a versi|
|00000d60| 6f 6e 20 6e 75 6d 62 65 | 72 2c 20 62 65 67 69 6e |on numbe|r, begin|
|00000d70| 6e 69 6e 67 20 77 69 74 | 68 20 61 20 64 61 74 65 |ning wit|h a date|
|00000d80| 20 69 6e 20 74 68 65 0a | 25 20 66 6f 72 6d 61 74 | in the.|% format|
|00000d90| 20 7c 59 59 59 59 2f 4d | 4d 2f 44 44 7c 2e 20 20 | |YYYY/M|M/DD|. |
|00000da0| 49 66 20 61 6e 20 6f 6c | 64 65 72 20 76 65 72 73 |If an ol|der vers|
|00000db0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 6c 61 73 73 |ion of t|he class|
|00000dc0| 20 69 73 20 66 6f 75 6e | 64 2c 20 61 0a 25 20 77 | is foun|d, a.% w|
|00000dd0| 61 72 6e 69 6e 67 20 69 | 73 20 69 73 73 75 65 64 |arning i|s issued|
|00000de0| 2e 0a 25 0a 25 20 5c 62 | 69 67 73 6b 69 70 0a 25 |..%.% \b|igskip.%|
|00000df0| 0a 25 20 7c 5c 64 6f 63 | 75 6d 65 6e 74 73 74 79 |.% |\doc|umentsty|
|00000e00| 6c 65 5b 7c 5c 6d 65 74 | 61 7b 6d 61 69 6e 2d 6f |le[|\met|a{main-o|
|00000e10| 70 74 69 6f 6e 2d 6c 69 | 73 74 7d 7c 5d 7b 7c 5e |ption-li|st}|]{|^|
|00000e20| 5e 41 0a 25 20 20 20 5c | 6d 65 74 61 7b 63 6c 61 |^A.% \|meta{cla|
|00000e30| 73 73 7d 7c 7d 5b 7c 5c | 6d 65 74 61 7b 76 65 72 |ss}|}[|\|meta{ver|
|00000e40| 73 69 6f 6e 7d 7c 5d 7c | 0a 25 0a 25 20 54 68 65 |sion}|]||.%.% The|
|00000e50| 20 7c 5c 64 6f 63 75 6d | 65 6e 74 73 74 79 6c 65 | |\docum|entstyle|
|00000e60| 7c 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 69 73 || declar|ation is|
|00000e70| 20 6b 65 70 74 20 69 6e | 20 6f 72 64 65 72 20 74 | kept in| order t|
|00000e80| 6f 20 6d 61 69 6e 74 61 | 69 6e 20 75 70 77 61 72 |o mainta|in upwar|
|00000e90| 64 0a 25 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |d.% comp|atibilit|
|00000ea0| 79 20 77 69 74 68 20 5c | 4c 61 54 65 58 32 2e 30 |y with \|LaTeX2.0|
|00000eb0| 39 20 64 6f 63 75 6d 65 | 6e 74 73 2e 20 20 49 74 |9 docume|nts. It|
|00000ec0| 20 69 73 20 73 69 6d 69 | 6c 61 72 20 74 6f 0a 25 | is simi|lar to.%|
|00000ed0| 20 7c 5c 64 6f 63 75 6d | 65 6e 74 63 6c 61 73 73 | |\docum|entclass|
|00000ee0| 7c 2c 20 62 75 74 20 69 | 74 20 63 61 75 73 65 73 ||, but i|t causes|
|00000ef0| 20 61 6c 6c 20 6f 70 74 | 69 6f 6e 73 20 69 6e 0a | all opt|ions in.|
|00000f00| 25 20 5c 6d 65 74 61 7b | 6d 61 69 6e 2d 6f 70 74 |% \meta{|main-opt|
|00000f10| 69 6f 6e 2d 6c 69 73 74 | 7d 20 74 68 61 74 20 74 |ion-list|} that t|
|00000f20| 68 65 20 5c 6d 65 74 61 | 7b 63 6c 61 73 73 7d 20 |he \meta|{class} |
|00000f30| 64 6f 65 73 20 6e 6f 74 | 20 75 73 65 20 74 6f 20 |does not| use to |
|00000f40| 62 65 0a 25 20 70 61 73 | 73 65 64 20 74 6f 20 7c |be.% pas|sed to ||
|00000f50| 5c 52 65 71 75 69 72 65 | 50 61 63 6b 61 67 65 7c |\Require|Package||
|00000f60| 20 61 66 74 65 72 20 74 | 68 65 20 6f 70 74 69 6f | after t|he optio|
|00000f70| 6e 73 20 68 61 76 65 20 | 62 65 65 6e 20 70 72 6f |ns have |been pro|
|00000f80| 63 65 73 73 65 64 2e 0a | 25 20 54 68 69 73 20 6d |cessed..|% This m|
|00000f90| 61 69 6e 74 61 69 6e 73 | 20 63 6f 6d 70 61 74 69 |aintains| compati|
|00000fa0| 62 69 6c 69 74 79 20 77 | 69 74 68 20 74 68 65 20 |bility w|ith the |
|00000fb0| 32 2e 30 39 20 62 65 68 | 61 76 69 6f 75 72 2e 20 |2.09 beh|aviour. |
|00000fc0| 41 6c 73 6f 20 61 20 66 | 6c 61 67 20 69 73 0a 25 |Also a f|lag is.%|
|00000fd0| 20 73 65 74 20 74 6f 20 | 69 6e 64 69 63 61 74 65 | set to |indicate|
|00000fe0| 20 74 68 61 74 20 74 68 | 65 20 64 6f 63 75 6d 65 | that th|e docume|
|00000ff0| 6e 74 20 69 73 20 74 6f | 20 62 65 20 70 72 6f 63 |nt is to| be proc|
|00001000| 65 73 73 65 64 20 69 6e | 20 5c 4c 61 54 65 58 32 |essed in| \LaTeX2|
|00001010| 2e 30 39 0a 25 20 63 6f | 6d 70 61 74 69 62 69 6c |.09.% co|mpatibil|
|00001020| 69 74 79 20 6d 6f 64 65 | 2e 20 20 41 73 20 66 61 |ity mode|. As fa|
|00001030| 72 20 61 73 20 6d 6f 73 | 74 20 70 61 63 6b 61 67 |r as mos|t packag|
|00001040| 65 73 20 61 72 65 20 63 | 6f 6e 63 65 72 6e 65 64 |es are c|oncerned|
|00001050| 2c 20 74 68 69 73 0a 25 | 20 6f 6e 6c 79 20 61 66 |, this.%| only af|
|00001060| 66 65 63 74 73 20 74 68 | 65 20 77 61 72 6e 69 6e |fects th|e warnin|
|00001070| 67 73 20 61 6e 64 20 65 | 72 72 6f 72 73 20 5c 4c |gs and e|rrors \L|
|00001080| 61 54 65 58 5c 20 67 65 | 6e 65 72 61 74 65 73 2e |aTeX\ ge|nerates.|
|00001090| 20 54 68 69 73 20 66 6c | 61 67 0a 25 20 64 6f 65 | This fl|ag.% doe|
|000010a0| 73 20 61 66 66 65 63 74 | 20 74 68 65 20 64 65 66 |s affect| the def|
|000010b0| 69 6e 69 74 69 6f 6e 20 | 6f 66 20 66 6f 6e 74 20 |inition |of font |
|000010c0| 63 6f 6d 6d 61 6e 64 73 | 2c 20 61 6e 64 20 7c 5c |commands|, and |\|
|000010d0| 73 6c 6f 70 70 79 7c 2e | 0a 25 0a 25 20 5c 62 69 |sloppy|.|.%.% \bi|
|000010e0| 67 73 6b 69 70 0a 25 0a | 25 20 7c 5c 75 73 65 70 |gskip.%.|% |\usep|
|000010f0| 61 63 6b 61 67 65 5b 7c | 5c 6d 65 74 61 7b 70 61 |ackage[||\meta{pa|
|00001100| 63 6b 61 67 65 2d 6f 70 | 74 69 6f 6e 2d 6c 69 73 |ckage-op|tion-lis|
|00001110| 74 7d 7c 5d 7b 7c 5e 5e | 41 0a 25 20 20 20 20 5c |t}|]{|^^|A.% \|
|00001120| 6d 65 74 61 7b 70 61 63 | 6b 61 67 65 2d 6c 69 73 |meta{pac|kage-lis|
|00001130| 74 7d 7c 7d 5b 7c 5c 6d | 65 74 61 7b 76 65 72 73 |t}|}[|\m|eta{vers|
|00001140| 69 6f 6e 7d 7c 5d 7c 0a | 25 0a 25 20 54 68 65 72 |ion}|]|.|%.% Ther|
|00001150| 65 20 63 61 6e 20 62 65 | 20 61 6e 79 20 6e 75 6d |e can be| any num|
|00001160| 62 65 72 20 6f 66 20 74 | 68 65 73 65 20 64 65 63 |ber of t|hese dec|
|00001170| 6c 61 72 61 74 69 6f 6e | 73 2e 20 41 6c 6c 20 70 |laration|s. All p|
|00001180| 61 63 6b 61 67 65 73 20 | 69 6e 0a 25 20 5c 6d 65 |ackages |in.% \me|
|00001190| 74 61 7b 70 61 63 6b 61 | 67 65 2d 6c 69 73 74 7d |ta{packa|ge-list}|
|000011a0| 20 61 72 65 20 63 61 6c | 6c 65 64 20 77 69 74 68 | are cal|led with|
|000011b0| 20 74 68 65 20 73 61 6d | 65 20 6f 70 74 69 6f 6e | the sam|e option|
|000011c0| 73 2e 0a 25 0a 25 20 45 | 61 63 68 20 5c 6d 65 74 |s..%.% E|ach \met|
|000011d0| 61 7b 70 61 63 6b 61 67 | 65 7d 20 66 69 6c 65 20 |a{packag|e} file |
|000011e0| 64 65 66 69 6e 65 73 20 | 6e 65 77 20 65 6c 65 6d |defines |new elem|
|000011f0| 65 6e 74 73 20 28 6f 72 | 20 6d 6f 64 69 66 69 65 |ents (or| modifie|
|00001200| 73 20 74 68 6f 73 65 0a | 25 20 64 65 66 69 6e 65 |s those.|% define|
|00001210| 64 20 69 6e 20 74 68 65 | 20 5c 6d 65 74 61 7b 63 |d in the| \meta{c|
|00001220| 6c 61 73 73 7d 29 2c 20 | 61 6e 64 20 74 68 75 73 |lass}), |and thus|
|00001230| 20 65 78 74 65 6e 64 73 | 20 74 68 65 20 72 61 6e | extends| the ran|
|00001240| 67 65 20 6f 66 20 64 6f | 63 75 6d 65 6e 74 73 0a |ge of do|cuments.|
|00001250| 25 20 77 68 69 63 68 20 | 63 61 6e 20 62 65 20 70 |% which |can be p|
|00001260| 72 6f 63 65 73 73 65 64 | 2e 0a 25 20 54 68 65 20 |rocessed|..% The |
|00001270| 5c 6d 65 74 61 7b 70 61 | 63 6b 61 67 65 2d 6f 70 |\meta{pa|ckage-op|
|00001280| 74 69 6f 6e 2d 6c 69 73 | 74 7d 20 69 73 20 61 20 |tion-lis|t} is a |
|00001290| 6c 69 73 74 20 6f 66 20 | 6f 70 74 69 6f 6e 73 20 |list of |options |
|000012a0| 77 68 69 63 68 20 63 61 | 6e 20 6d 6f 64 69 66 79 |which ca|n modify|
|000012b0| 0a 25 20 74 68 65 20 66 | 6f 72 6d 61 74 74 69 6e |.% the f|ormattin|
|000012c0| 67 20 6f 66 20 65 6c 65 | 6d 65 6e 74 73 20 64 65 |g of ele|ments de|
|000012d0| 66 69 6e 65 64 20 69 6e | 20 74 68 65 20 5c 6d 65 |fined in| the \me|
|000012e0| 74 61 7b 70 61 63 6b 61 | 67 65 7d 20 66 69 6c 65 |ta{packa|ge} file|
|000012f0| 2e 0a 25 20 54 68 65 20 | 5c 6d 65 74 61 7b 76 65 |..% The |\meta{ve|
|00001300| 72 73 69 6f 6e 7d 20 69 | 73 20 61 20 76 65 72 73 |rsion} i|s a vers|
|00001310| 69 6f 6e 20 6e 75 6d 62 | 65 72 2c 20 62 65 67 69 |ion numb|er, begi|
|00001320| 6e 6e 69 6e 67 20 77 69 | 74 68 20 61 20 64 61 74 |nning wi|th a dat|
|00001330| 65 20 69 6e 20 74 68 65 | 0a 25 20 66 6f 72 6d 61 |e in the|.% forma|
|00001340| 74 20 7c 59 59 59 59 2f | 4d 4d 2f 44 44 7c 2e 20 |t |YYYY/|MM/DD|. |
|00001350| 20 49 66 20 61 6e 20 6f | 6c 64 65 72 20 76 65 72 | If an o|lder ver|
|00001360| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 70 61 63 6b |sion of |the pack|
|00001370| 61 67 65 20 69 73 20 66 | 6f 75 6e 64 2c 20 61 0a |age is f|ound, a.|
|00001380| 25 20 77 61 72 6e 69 6e | 67 20 69 73 20 69 73 73 |% warnin|g is iss|
|00001390| 75 65 64 2e 0a 25 0a 25 | 20 45 61 63 68 20 70 61 |ued..%.%| Each pa|
|000013a0| 63 6b 61 67 65 20 69 73 | 20 6c 6f 61 64 65 64 20 |ckage is| loaded |
|000013b0| 6f 6e 6c 79 20 6f 6e 63 | 65 2e 20 20 49 66 20 74 |only onc|e. If t|
|000013c0| 68 65 20 73 61 6d 65 20 | 70 61 63 6b 61 67 65 20 |he same |package |
|000013d0| 69 73 20 72 65 71 75 65 | 73 74 65 64 0a 25 20 6d |is reque|sted.% m|
|000013e0| 6f 72 65 20 74 68 61 6e | 20 6f 6e 63 65 2c 20 6e |ore than| once, n|
|000013f0| 6f 74 68 69 6e 67 20 68 | 61 70 70 65 6e 73 2c 20 |othing h|appens, |
|00001400| 75 6e 6c 65 73 73 20 74 | 68 65 20 70 61 63 6b 61 |unless t|he packa|
|00001410| 67 65 20 68 61 73 20 62 | 65 65 6e 20 72 65 71 75 |ge has b|een requ|
|00001420| 65 73 74 65 64 0a 25 20 | 77 69 74 68 20 6f 70 74 |ested.% |with opt|
|00001430| 69 6f 6e 73 20 74 68 61 | 74 20 77 65 72 65 20 6e |ions tha|t were n|
|00001440| 6f 74 20 67 69 76 65 6e | 20 74 68 65 20 66 69 72 |ot given| the fir|
|00001450| 73 74 20 74 69 6d 65 20 | 69 74 20 77 61 73 20 6c |st time |it was l|
|00001460| 6f 61 64 65 64 2c 20 69 | 6e 0a 25 20 77 68 69 63 |oaded, i|n.% whic|
|00001470| 68 20 63 61 73 65 20 61 | 6e 20 65 72 72 6f 72 20 |h case a|n error |
|00001480| 69 73 20 70 72 6f 64 75 | 63 65 64 2e 0a 25 0a 25 |is produ|ced..%.%|
|00001490| 20 41 73 20 77 65 6c 6c | 20 61 73 20 70 72 6f 63 | As well| as proc|
|000014a0| 65 73 73 69 6e 67 20 74 | 68 65 20 6f 70 74 69 6f |essing t|he optio|
|000014b0| 6e 73 20 67 69 76 65 6e | 20 69 6e 20 74 68 65 0a |ns given| in the.|
|000014c0| 25 20 5c 6d 65 74 61 7b | 70 61 63 6b 61 67 65 2d |% \meta{|package-|
|000014d0| 6f 70 74 69 6f 6e 2d 6c | 69 73 74 7d 2c 20 65 61 |option-l|ist}, ea|
|000014e0| 63 68 20 70 61 63 6b 61 | 67 65 20 70 72 6f 63 65 |ch packa|ge proce|
|000014f0| 73 73 65 73 20 74 68 65 | 0a 25 20 5c 6d 65 74 61 |sses the|.% \meta|
|00001500| 7b 6d 61 69 6e 2d 6f 70 | 74 69 6f 6e 2d 6c 69 73 |{main-op|tion-lis|
|00001510| 74 7d 2e 20 20 54 68 69 | 73 20 6d 65 61 6e 73 20 |t}. Thi|s means |
|00001520| 74 68 61 74 20 6f 70 74 | 69 6f 6e 73 20 74 68 61 |that opt|ions tha|
|00001530| 74 20 61 66 66 65 63 74 | 20 61 6c 6c 0a 25 20 6f |t affect| all.% o|
|00001540| 66 20 74 68 65 20 70 61 | 63 6b 61 67 65 73 20 63 |f the pa|ckages c|
|00001550| 61 6e 20 62 65 20 67 69 | 76 65 6e 20 67 6c 6f 62 |an be gi|ven glob|
|00001560| 61 6c 6c 79 2c 20 72 61 | 74 68 65 72 20 74 68 61 |ally, ra|ther tha|
|00001570| 6e 20 72 65 70 65 61 74 | 65 64 20 66 6f 72 20 65 |n repeat|ed for e|
|00001580| 76 65 72 79 0a 25 20 70 | 61 63 6b 61 67 65 2e 0a |very.% p|ackage..|
|00001590| 25 0a 25 20 4e 6f 74 65 | 20 74 68 61 74 20 63 6c |%.% Note| that cl|
|000015a0| 61 73 73 20 66 69 6c 65 | 73 20 68 61 76 65 20 74 |ass file|s have t|
|000015b0| 68 65 20 65 78 74 65 6e | 73 69 6f 6e 20 7c 2e 63 |he exten|sion |.c|
|000015c0| 6c 73 7c 2c 20 70 61 63 | 6b 61 67 65 73 20 68 61 |ls|, pac|kages ha|
|000015d0| 76 65 20 74 68 65 0a 25 | 20 65 78 74 65 6e 73 69 |ve the.%| extensi|
|000015e0| 6f 6e 20 7c 2e 73 74 79 | 7c 2e 0a 25 0a 25 20 5c |on |.sty||..%.% \|
|000015f0| 44 65 73 63 72 69 62 65 | 45 6e 76 7b 66 69 6c 65 |Describe|Env{file|
|00001600| 63 6f 6e 74 65 6e 74 73 | 7d 0a 25 20 54 68 65 20 |contents|}.% The |
|00001610| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 7c 66 69 6c |environm|ent |fil|
|00001620| 65 63 6f 6e 74 65 6e 74 | 73 7c 20 69 73 20 69 6e |econtent|s| is in|
|00001630| 74 65 6e 64 65 64 20 66 | 6f 72 20 70 61 73 73 69 |tended f|or passi|
|00001640| 6e 67 20 74 68 65 20 63 | 6f 6e 74 65 6e 74 73 0a |ng the c|ontents.|
|00001650| 25 20 6f 66 20 70 61 63 | 6b 61 67 65 73 2c 20 6f |% of pac|kages, o|
|00001660| 70 74 69 6f 6e 73 2c 20 | 6f 72 20 6f 74 68 65 72 |ptions, |or other|
|00001670| 20 66 69 6c 65 73 20 61 | 6c 6f 6e 67 20 77 69 74 | files a|long wit|
|00001680| 68 20 61 20 64 6f 63 75 | 6d 65 6e 74 20 69 6e 20 |h a docu|ment in |
|00001690| 61 0a 25 20 73 69 6e 67 | 6c 65 20 66 69 6c 65 2e |a.% sing|le file.|
|000016a0| 0a 25 20 49 74 20 68 61 | 73 20 6f 6e 65 20 61 72 |.% It ha|s one ar|
|000016b0| 67 75 6d 65 6e 74 2c 20 | 77 68 69 63 68 20 69 73 |gument, |which is|
|000016c0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|000016d0| 20 66 69 6c 65 20 74 6f | 20 63 72 65 61 74 65 2e | file to| create.|
|000016e0| 20 49 66 20 74 68 61 74 | 0a 25 20 66 69 6c 65 20 | If that|.% file |
|000016f0| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 20 28 |already |exists (|
|00001700| 6d 61 79 62 65 20 6f 6e | 6c 79 20 69 6e 20 74 68 |maybe on|ly in th|
|00001710| 65 20 63 75 72 72 65 6e | 74 20 64 69 72 65 63 74 |e curren|t direct|
|00001720| 6f 72 79 20 69 66 20 74 | 68 65 20 4f 53 0a 25 20 |ory if t|he OS.% |
|00001730| 73 75 70 70 6f 72 74 73 | 20 61 20 6e 6f 74 69 6f |supports| a notio|
|00001740| 6e 20 6f 66 20 61 20 60 | 63 75 72 72 65 6e 74 20 |n of a `|current |
|00001750| 64 69 72 65 63 74 6f 72 | 79 27 20 6f 72 20 60 64 |director|y' or `d|
|00001760| 65 66 61 75 6c 74 20 64 | 69 72 65 63 74 6f 72 79 |efault d|irectory|
|00001770| 27 29 0a 25 20 74 68 65 | 6e 20 6e 6f 74 68 69 6e |').% the|n nothin|
|00001780| 67 20 68 61 70 70 65 6e | 73 0a 25 20 28 65 78 63 |g happen|s.% (exc|
|00001790| 65 70 74 20 66 6f 72 20 | 61 6e 20 69 6e 66 6f 72 |ept for |an infor|
|000017a0| 6d 61 74 69 6f 6e 20 6d | 65 73 73 61 67 65 29 20 |mation m|essage) |
|000017b0| 61 6e 64 20 74 68 65 20 | 62 6f 64 79 20 6f 66 20 |and the |body of |
|000017c0| 74 68 65 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 0a |the envi|ronment.|
|000017d0| 25 20 69 73 20 62 79 70 | 61 73 73 65 64 2e 20 4f |% is byp|assed. O|
|000017e0| 74 68 65 72 77 69 73 65 | 2c 20 74 68 65 20 62 6f |therwise|, the bo|
|000017f0| 64 79 20 6f 66 20 74 68 | 65 20 65 6e 76 69 72 6f |dy of th|e enviro|
|00001800| 6e 6d 65 6e 74 20 69 73 | 20 77 72 69 74 74 65 6e |nment is| written|
|00001810| 0a 25 20 76 65 72 62 61 | 74 69 6d 20 74 6f 20 74 |.% verba|tim to t|
|00001820| 68 65 20 66 69 6c 65 20 | 6e 61 6d 65 20 67 69 76 |he file |name giv|
|00001830| 65 6e 20 61 73 20 74 68 | 65 20 66 69 72 73 74 20 |en as th|e first |
|00001840| 61 72 67 75 6d 65 6e 74 | 2e 0a 25 0a 25 20 54 68 |argument|..%.% Th|
|00001850| 65 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 69 73 |e enviro|nment is|
|00001860| 20 61 6c 6c 6f 77 65 64 | 20 6f 6e 6c 79 20 62 65 | allowed| only be|
|00001870| 66 6f 72 65 20 7c 5c 64 | 6f 63 75 6d 65 6e 74 63 |fore |\d|ocumentc|
|00001880| 6c 61 73 73 7c 20 74 6f | 20 65 6e 73 75 72 65 0a |lass| to| ensure.|
|00001890| 25 20 74 68 61 74 20 61 | 6c 6c 20 70 61 63 6b 61 |% that a|ll packa|
|000018a0| 67 65 73 20 6f 72 20 6f | 70 74 69 6f 6e 73 20 6e |ges or o|ptions n|
|000018b0| 65 63 65 73 73 61 72 79 | 20 66 6f 72 20 74 68 69 |ecessary| for thi|
|000018c0| 73 20 70 61 72 74 69 63 | 75 6c 61 72 20 72 75 6e |s partic|ular run|
|000018d0| 20 61 72 65 0a 25 20 70 | 72 65 73 65 6e 74 20 77 | are.% p|resent w|
|000018e0| 68 65 6e 20 6e 65 65 64 | 65 64 2e 0a 25 0a 25 20 |hen need|ed..%.% |
|000018f0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 4f 70 74 69 |\subsect|ion{Opti|
|00001900| 6f 6e 20 70 72 6f 63 65 | 73 73 69 6e 67 7d 0a 25 |on proce|ssing}.%|
|00001910| 0a 25 20 57 68 65 6e 20 | 74 68 65 20 6f 70 74 69 |.% When |the opti|
|00001920| 6f 6e 73 20 61 72 65 20 | 70 72 6f 63 65 73 73 65 |ons are |processe|
|00001930| 64 2c 20 74 68 65 79 20 | 61 72 65 20 64 69 76 69 |d, they |are divi|
|00001940| 64 65 64 20 69 6e 74 6f | 20 74 77 6f 20 74 79 70 |ded into| two typ|
|00001950| 65 73 3a 20 7b 5c 65 6d | 0a 25 20 6c 6f 63 61 6c |es: {\em|.% local|
|00001960| 5c 2f 7d 20 61 6e 64 20 | 7b 5c 65 6d 20 67 6c 6f |\/} and |{\em glo|
|00001970| 62 61 6c 7d 3a 0a 25 20 | 5c 62 65 67 69 6e 7b 69 |bal}:.% |\begin{i|
|00001980| 74 65 6d 69 7a 65 7d 0a | 25 0a 25 20 5c 69 74 65 |temize}.|%.% \ite|
|00001990| 6d 20 46 6f 72 20 61 20 | 63 6c 61 73 73 2c 20 74 |m For a |class, t|
|000019a0| 68 65 20 6f 70 74 69 6f | 6e 73 20 69 6e 20 74 68 |he optio|ns in th|
|000019b0| 65 20 7c 5c 64 6f 63 75 | 6d 65 6e 74 63 6c 61 73 |e |\docu|mentclas|
|000019c0| 73 7c 20 63 6f 6d 6d 61 | 6e 64 20 61 72 65 0a 25 |s| comma|nd are.%|
|000019d0| 20 20 20 20 6c 6f 63 61 | 6c 2e 0a 25 0a 25 20 5c | loca|l..%.% \|
|000019e0| 69 74 65 6d 20 46 6f 72 | 20 61 20 70 61 63 6b 61 |item For| a packa|
|000019f0| 67 65 2c 20 74 68 65 20 | 6f 70 74 69 6f 6e 73 20 |ge, the |options |
|00001a00| 69 6e 20 74 68 65 20 7c | 5c 75 73 65 70 61 63 6b |in the ||\usepack|
|00001a10| 61 67 65 7c 20 63 6f 6d | 6d 61 6e 64 20 61 72 65 |age| com|mand are|
|00001a20| 0a 25 20 20 20 20 6c 6f | 63 61 6c 2c 20 61 6e 64 |.% lo|cal, and|
|00001a30| 20 74 68 65 20 6f 70 74 | 69 6f 6e 73 20 69 6e 20 | the opt|ions in |
|00001a40| 74 68 65 20 7c 5c 64 6f | 63 75 6d 65 6e 74 63 6c |the |\do|cumentcl|
|00001a50| 61 73 73 7c 20 63 6f 6d | 6d 61 6e 64 20 61 72 65 |ass| com|mand are|
|00001a60| 20 67 6c 6f 62 61 6c 2e | 0a 25 0a 25 20 5c 65 6e | global.|.%.% \en|
|00001a70| 64 7b 69 74 65 6d 69 7a | 65 7d 0a 25 20 54 68 65 |d{itemiz|e}.% The|
|00001a80| 20 6f 70 74 69 6f 6e 73 | 20 66 6f 72 20 7c 5c 64 | options| for |\d|
|00001a90| 6f 63 75 6d 65 6e 74 63 | 6c 61 73 73 7c 20 61 6e |ocumentc|lass| an|
|00001aa0| 64 20 7c 5c 75 73 65 70 | 61 63 6b 61 67 65 7c 0a |d |\usep|ackage|.|
|00001ab0| 25 20 61 72 65 20 70 72 | 6f 63 65 73 73 65 64 20 |% are pr|ocessed |
|00001ac0| 69 6e 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |in the f|ollowing|
|00001ad0| 20 77 61 79 3a 0a 25 20 | 5c 62 65 67 69 6e 7b 65 | way:.% |\begin{e|
|00001ae0| 6e 75 6d 65 72 61 74 65 | 7d 0a 25 0a 25 20 5c 69 |numerate|}.%.% \i|
|00001af0| 74 65 6d 20 54 68 65 20 | 6c 6f 63 61 6c 20 61 6e |tem The |local an|
|00001b00| 64 20 67 6c 6f 62 61 6c | 20 6f 70 74 69 6f 6e 73 |d global| options|
|00001b10| 20 74 68 61 74 20 68 61 | 76 65 20 62 65 65 6e 20 | that ha|ve been |
|00001b20| 64 65 63 6c 61 72 65 64 | 0a 25 20 20 20 28 75 73 |declared|.% (us|
|00001b30| 69 6e 67 20 7c 5c 44 65 | 63 6c 61 72 65 4f 70 74 |ing |\De|clareOpt|
|00001b40| 69 6f 6e 7c 20 61 73 20 | 20 64 65 73 63 72 69 62 |ion| as | describ|
|00001b50| 65 64 20 62 65 6c 6f 77 | 29 20 61 72 65 20 70 72 |ed below|) are pr|
|00001b60| 6f 63 65 73 73 65 64 0a | 25 20 20 20 66 69 72 73 |ocessed.|% firs|
|00001b70| 74 2e 0a 25 0a 25 20 20 | 49 6e 20 74 68 65 20 63 |t..%.% |In the c|
|00001b80| 61 73 65 20 6f 66 20 7c | 5c 50 72 6f 63 65 73 73 |ase of ||\Process|
|00001b90| 4f 70 74 69 6f 6e 73 7c | 2c 20 74 68 65 79 20 61 |Options||, they a|
|00001ba0| 72 65 20 70 72 6f 63 65 | 73 73 65 64 20 69 6e 20 |re proce|ssed in |
|00001bb0| 74 68 65 20 6f 72 64 65 | 72 0a 25 20 20 74 68 61 |the orde|r.% tha|
|00001bc0| 74 20 74 68 65 79 20 77 | 65 72 65 20 64 65 63 6c |t they w|ere decl|
|00001bd0| 61 72 65 64 20 69 6e 20 | 74 68 65 20 63 6c 61 73 |ared in |the clas|
|00001be0| 73 20 6f 72 20 70 61 63 | 6b 61 67 65 2e 0a 25 0a |s or pac|kage..%.|
|00001bf0| 25 20 20 49 6e 20 74 68 | 65 20 63 61 73 65 20 6f |% In th|e case o|
|00001c00| 66 20 7c 5c 50 72 6f 63 | 65 73 73 4f 70 74 69 6f |f |\Proc|essOptio|
|00001c10| 6e 73 2a 7c 2c 20 74 68 | 65 79 20 61 72 65 20 70 |ns*|, th|ey are p|
|00001c20| 72 6f 63 65 73 73 65 64 | 20 69 6e 20 74 68 65 20 |rocessed| in the |
|00001c30| 6f 72 64 65 72 0a 25 20 | 20 74 68 61 74 20 74 68 |order.% | that th|
|00001c40| 65 79 20 61 70 70 65 61 | 72 20 69 6e 20 74 68 65 |ey appea|r in the|
|00001c50| 20 6f 70 74 69 6f 6e 2d | 6c 69 73 74 73 2e 20 46 | option-|lists. F|
|00001c60| 69 72 73 74 20 74 68 65 | 20 67 6c 6f 62 61 6c 20 |irst the| global |
|00001c70| 6f 70 74 69 6f 6e 73 2c | 20 61 6e 64 0a 25 20 20 |options,| and.% |
|00001c80| 74 68 65 6e 20 74 68 65 | 20 6c 6f 63 61 6c 20 6f |then the| local o|
|00001c90| 6e 65 73 2e 0a 25 0a 25 | 20 5c 69 74 65 6d 20 41 |nes..%.%| \item A|
|00001ca0| 6e 79 20 72 65 6d 61 69 | 6e 69 6e 67 20 6c 6f 63 |ny remai|ning loc|
|00001cb0| 61 6c 20 6f 70 74 69 6f | 6e 73 20 61 72 65 20 64 |al optio|ns are d|
|00001cc0| 65 61 6c 74 20 77 69 74 | 68 20 75 73 69 6e 67 20 |ealt wit|h using |
|00001cd0| 74 68 65 20 64 65 66 61 | 75 6c 74 0a 25 20 20 20 |the defa|ult.% |
|00001ce0| 6f 70 74 69 6f 6e 20 28 | 64 65 63 6c 61 72 65 64 |option (|declared|
|00001cf0| 20 75 73 69 6e 67 20 74 | 68 65 20 7c 5c 44 65 63 | using t|he |\Dec|
|00001d00| 6c 61 72 65 4f 70 74 69 | 6f 6e 2a 7c 20 64 65 63 |lareOpti|on*| dec|
|00001d10| 6c 61 72 61 74 69 6f 6e | 20 64 65 73 63 72 69 62 |laration| describ|
|00001d20| 65 64 0a 25 20 20 20 62 | 65 6c 6f 77 29 2e 20 20 |ed.% b|elow). |
|00001d30| 46 6f 72 20 64 6f 63 75 | 6d 65 6e 74 20 63 6c 61 |For docu|ment cla|
|00001d40| 73 73 65 73 2c 20 74 68 | 69 73 20 75 73 75 61 6c |sses, th|is usual|
|00001d50| 6c 79 20 64 6f 65 73 20 | 6e 6f 74 68 69 6e 67 2c |ly does |nothing,|
|00001d60| 20 62 75 74 0a 25 20 20 | 20 72 65 63 6f 72 64 73 | but.% | records|
|00001d70| 20 74 68 65 20 6f 70 74 | 69 6f 6e 20 6f 6e 20 61 | the opt|ion on a|
|00001d80| 20 6c 69 73 74 20 6f 66 | 20 75 6e 75 73 65 64 20 | list of| unused |
|00001d90| 6f 70 74 69 6f 6e 73 2e | 0a 25 20 20 20 46 6f 72 |options.|.% For|
|00001da0| 20 70 61 63 6b 61 67 65 | 73 2c 20 74 68 69 73 20 | package|s, this |
|00001db0| 75 73 75 61 6c 6c 79 20 | 70 72 6f 64 75 63 65 73 |usually |produces|
|00001dc0| 20 61 6e 20 65 72 72 6f | 72 2e 0a 25 0a 25 20 5c | an erro|r..%.% \|
|00001dd0| 65 6e 64 7b 65 6e 75 6d | 65 72 61 74 65 7d 0a 25 |end{enum|erate}.%|
|00001de0| 20 46 69 6e 61 6c 6c 79 | 2c 20 77 68 65 6e 20 7c | Finally|, when ||
|00001df0| 5c 62 65 67 69 6e 7b 64 | 6f 63 75 6d 65 6e 74 7d |\begin{d|ocument}|
|00001e00| 7c 20 69 73 20 72 65 61 | 63 68 65 64 2c 20 69 66 || is rea|ched, if|
|00001e10| 20 74 68 65 72 65 20 61 | 72 65 20 61 6e 79 20 67 | there a|re any g|
|00001e20| 6c 6f 62 61 6c 0a 25 20 | 6f 70 74 69 6f 6e 73 20 |lobal.% |options |
|00001e30| 77 68 69 63 68 20 68 61 | 76 65 20 6e 6f 74 20 62 |which ha|ve not b|
|00001e40| 65 65 6e 20 75 73 65 64 | 20 62 79 20 65 69 74 68 |een used| by eith|
|00001e50| 65 72 20 74 68 65 20 63 | 6c 61 73 73 20 6f 72 20 |er the c|lass or |
|00001e60| 61 6e 79 20 70 61 63 6b | 61 67 65 2c 0a 25 20 74 |any pack|age,.% t|
|00001e70| 68 65 20 73 79 73 74 65 | 6d 20 77 69 6c 6c 20 70 |he syste|m will p|
|00001e80| 72 6f 64 75 63 65 20 61 | 20 77 61 72 6e 69 6e 67 |roduce a| warning|
|00001e90| 2e 0a 25 0a 25 0a 25 20 | 5c 73 65 63 74 69 6f 6e |..%.%.% |\section|
|00001ea0| 7b 43 6c 61 73 73 20 61 | 6e 64 20 50 61 63 6b 61 |{Class a|nd Packa|
|00001eb0| 67 65 20 69 6e 74 65 72 | 66 61 63 65 7d 0a 25 0a |ge inter|face}.%.|
|00001ec0| 25 20 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 43 6c |% \subse|ction{Cl|
|00001ed0| 61 73 73 20 6e 61 6d 65 | 20 61 6e 64 20 76 65 72 |ass name| and ver|
|00001ee0| 73 69 6f 6e 7d 0a 25 0a | 25 20 5c 44 65 73 63 72 |sion}.%.|% \Descr|
|00001ef0| 69 62 65 4d 61 63 72 6f | 5c 50 72 6f 76 69 64 65 |ibeMacro|\Provide|
|00001f00| 73 43 6c 61 73 73 0a 25 | 20 41 20 63 6c 61 73 73 |sClass.%| A class|
|00001f10| 20 63 61 6e 20 69 64 65 | 6e 74 69 66 79 20 69 74 | can ide|ntify it|
|00001f20| 73 65 6c 66 20 77 69 74 | 68 20 74 68 65 0a 25 20 |self wit|h the.% |
|00001f30| 7c 5c 50 72 6f 76 69 64 | 65 73 43 6c 61 73 73 7b ||\Provid|esClass{|
|00001f40| 7c 5c 6d 65 74 61 7b 6e | 61 6d 65 7d 7c 7d 5b 7c ||\meta{n|ame}|}[||
|00001f50| 5c 6d 65 74 61 7b 76 65 | 72 73 69 6f 6e 7d 7c 5d |\meta{ve|rsion}|]|
|00001f60| 7c 20 63 6f 6d 6d 61 6e | 64 2e 20 20 54 68 65 0a || comman|d. The.|
|00001f70| 25 20 5c 6d 65 74 61 7b | 76 65 72 73 69 6f 6e 7d |% \meta{|version}|
|00001f80| 20 73 68 6f 75 6c 64 20 | 62 65 67 69 6e 20 77 69 | should |begin wi|
|00001f90| 74 68 20 61 20 64 61 74 | 65 20 69 6e 20 74 68 65 |th a dat|e in the|
|00001fa0| 20 66 6f 72 6d 61 74 20 | 7c 59 59 59 59 2f 4d 4d | format ||YYYY/MM|
|00001fb0| 2f 44 44 7c 2e 0a 25 0a | 25 20 5c 73 75 62 73 65 |/DD|..%.|% \subse|
|00001fc0| 63 74 69 6f 6e 7b 50 61 | 63 6b 61 67 65 20 6e 61 |ction{Pa|ckage na|
|00001fd0| 6d 65 20 61 6e 64 20 76 | 65 72 73 69 6f 6e 7d 0a |me and v|ersion}.|
|00001fe0| 25 0a 25 20 5c 44 65 73 | 63 72 69 62 65 4d 61 63 |%.% \Des|cribeMac|
|00001ff0| 72 6f 5c 50 72 6f 76 69 | 64 65 73 50 61 63 6b 61 |ro\Provi|desPacka|
|00002000| 67 65 0a 25 20 41 20 70 | 61 63 6b 61 67 65 20 63 |ge.% A p|ackage c|
|00002010| 61 6e 20 69 64 65 6e 74 | 69 66 79 20 69 74 73 65 |an ident|ify itse|
|00002020| 6c 66 20 77 69 74 68 20 | 74 68 65 0a 25 20 7c 5c |lf with |the.% |\|
|00002030| 50 72 6f 76 69 64 65 73 | 50 61 63 6b 61 67 65 7b |Provides|Package{|
|00002040| 7c 5c 6d 65 74 61 7b 6e | 61 6d 65 7d 7c 7d 5b 7c ||\meta{n|ame}|}[||
|00002050| 5c 6d 65 74 61 7b 76 65 | 72 73 69 6f 6e 7d 7c 5d |\meta{ve|rsion}|]|
|00002060| 7c 20 63 6f 6d 6d 61 6e | 64 2e 20 20 54 68 65 0a || comman|d. The.|
|00002070| 25 20 5c 6d 65 74 61 7b | 76 65 72 73 69 6f 6e 7d |% \meta{|version}|
|00002080| 20 73 68 6f 75 6c 64 20 | 62 65 67 69 6e 20 77 69 | should |begin wi|
|00002090| 74 68 20 61 20 64 61 74 | 65 20 69 6e 20 74 68 65 |th a dat|e in the|
|000020a0| 20 66 6f 72 6d 61 74 20 | 7c 59 59 59 59 2f 4d 4d | format ||YYYY/MM|
|000020b0| 2f 44 44 7c 2e 0a 25 0a | 25 20 5c 73 75 62 73 65 |/DD|..%.|% \subse|
|000020c0| 63 74 69 6f 6e 7b 52 65 | 71 75 69 72 69 6e 67 20 |ction{Re|quiring |
|000020d0| 6f 74 68 65 72 20 70 61 | 63 6b 61 67 65 73 7d 0a |other pa|ckages}.|
|000020e0| 25 0a 25 20 5c 44 65 73 | 63 72 69 62 65 4d 61 63 |%.% \Des|cribeMac|
|000020f0| 72 6f 5c 52 65 71 75 69 | 72 65 50 61 63 6b 61 67 |ro\Requi|rePackag|
|00002100| 65 0a 25 20 50 61 63 6b | 61 67 65 73 20 6f 72 20 |e.% Pack|ages or |
|00002110| 63 6c 61 73 73 65 73 20 | 63 61 6e 20 6c 6f 61 64 |classes |can load|
|00002120| 20 6f 74 68 65 72 20 70 | 61 63 6b 61 67 65 73 20 | other p|ackages |
|00002130| 75 73 69 6e 67 5c 5c 0a | 25 20 7c 5c 52 65 71 75 |using\\.|% |\Requ|
|00002140| 69 72 65 50 61 63 6b 61 | 67 65 5b 7c 5c 6d 65 74 |irePacka|ge[|\met|
|00002150| 61 7b 6f 70 74 69 6f 6e | 73 7d 7c 5d 7b 7c 5c 6d |a{option|s}|]{|\m|
|00002160| 65 74 61 7b 6e 61 6d 65 | 7d 7c 7d 5b 7c 5e 5e 41 |eta{name|}|}[|^^A|
|00002170| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|00002180| 20 20 20 20 20 20 5c 6d | 65 74 61 7b 76 65 72 73 | \m|eta{vers|
|00002190| 69 6f 6e 7d 7c 5d 7c 2e | 5c 5c 0a 25 20 49 66 20 |ion}|]|.|\\.% If |
|000021a0| 74 68 65 20 70 61 63 6b | 61 67 65 20 68 61 73 20 |the pack|age has |
|000021b0| 61 6c 72 65 61 64 79 20 | 62 65 65 6e 20 6c 6f 61 |already |been loa|
|000021c0| 64 65 64 2c 20 74 68 65 | 6e 20 6e 6f 74 68 69 6e |ded, the|n nothin|
|000021d0| 67 20 68 61 70 70 65 6e | 73 20 75 6e 6c 65 73 73 |g happen|s unless|
|000021e0| 0a 25 20 74 68 65 20 72 | 65 71 75 65 73 74 65 64 |.% the r|equested|
|000021f0| 20 6f 70 74 69 6f 6e 73 | 20 61 72 65 20 6e 6f 74 | options| are not|
|00002200| 20 61 20 73 75 62 73 65 | 74 20 6f 66 20 74 68 65 | a subse|t of the|
|00002210| 20 6f 70 74 69 6f 6e 73 | 20 77 69 74 68 20 77 68 | options| with wh|
|00002220| 69 63 68 20 69 74 0a 25 | 20 77 61 73 20 6c 6f 61 |ich it.%| was loa|
|00002230| 64 65 64 2c 20 69 6e 20 | 77 68 69 63 68 20 63 61 |ded, in |which ca|
|00002240| 73 65 20 61 6e 20 65 72 | 72 6f 72 20 69 73 20 63 |se an er|ror is c|
|00002250| 61 6c 6c 65 64 2e 0a 25 | 0a 25 20 5c 44 65 73 63 |alled..%|.% \Desc|
|00002260| 72 69 62 65 4d 61 63 72 | 6f 5c 4c 6f 61 64 43 6c |ribeMacr|o\LoadCl|
|00002270| 61 73 73 0a 25 20 20 53 | 69 6d 69 6c 61 72 20 74 |ass.% S|imilar t|
|00002280| 6f 20 7c 5c 52 65 71 75 | 69 72 65 50 61 63 6b 61 |o |\Requ|irePacka|
|00002290| 67 65 7c 2c 20 62 75 74 | 20 66 6f 72 20 63 6c 61 |ge|, but| for cla|
|000022a0| 73 73 65 73 2c 20 6d 61 | 79 20 6e 6f 74 20 62 65 |sses, ma|y not be|
|000022b0| 20 75 73 65 64 20 69 6e | 0a 25 20 20 70 61 63 6b | used in|.% pack|
|000022c0| 61 67 65 20 66 69 6c 65 | 73 2e 0a 25 0a 25 20 5c |age file|s..%.% \|
|000022d0| 44 65 73 63 72 69 62 65 | 4d 61 63 72 6f 5c 50 61 |Describe|Macro\Pa|
|000022e0| 73 73 4f 70 74 69 6f 6e | 73 54 6f 50 61 63 6b 61 |ssOption|sToPacka|
|000022f0| 67 65 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |ge.% \De|scribeMa|
|00002300| 63 72 6f 5c 50 61 73 73 | 4f 70 74 69 6f 6e 73 54 |cro\Pass|OptionsT|
|00002310| 6f 43 6c 61 73 73 0a 25 | 20 50 61 63 6b 61 67 65 |oClass.%| Package|
|00002320| 73 20 63 61 6e 20 70 61 | 73 73 20 6f 70 74 69 6f |s can pa|ss optio|
|00002330| 6e 73 20 74 6f 20 6f 74 | 68 65 72 20 70 61 63 6b |ns to ot|her pack|
|00002340| 61 67 65 73 20 75 73 69 | 6e 67 3a 5c 5c 0a 25 20 |ages usi|ng:\\.% |
|00002350| 7c 5c 50 61 73 73 4f 70 | 74 69 6f 6e 73 54 6f 50 ||\PassOp|tionsToP|
|00002360| 61 63 6b 61 67 65 7b 7c | 5c 6d 65 74 61 7b 6f 70 |ackage{||\meta{op|
|00002370| 74 69 6f 6e 73 7d 7c 7d | 7b 7c 5c 6d 65 74 61 7b |tions}|}|{|\meta{|
|00002380| 70 61 63 6b 61 67 65 7d | 7c 7d 7c 2e 5c 5c 20 20 |package}||}|.\\ |
|00002390| 54 68 69 73 0a 25 20 61 | 64 64 73 20 74 68 65 20 |This.% a|dds the |
|000023a0| 5c 6d 65 74 61 7b 6f 70 | 74 69 6f 6e 73 7d 20 74 |\meta{op|tions} t|
|000023b0| 6f 20 74 68 65 20 6f 70 | 74 69 6f 6e 73 20 6c 69 |o the op|tions li|
|000023c0| 73 74 20 6f 66 20 61 6e | 79 20 66 75 74 75 72 65 |st of an|y future|
|000023d0| 0a 25 20 7c 5c 52 65 71 | 75 69 72 65 50 61 63 6b |.% |\Req|uirePack|
|000023e0| 61 67 65 7c 20 6f 72 20 | 7c 5c 75 73 65 70 61 63 |age| or ||\usepac|
|000023f0| 6b 61 67 65 7c 20 63 6f | 6d 6d 61 6e 64 2e 20 20 |kage| co|mmand. |
|00002400| 46 6f 72 20 65 78 61 6d | 70 6c 65 3a 0a 25 20 5c |For exam|ple:.% \|
|00002410| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00002420| 25 20 20 20 20 5c 50 61 | 73 73 4f 70 74 69 6f 6e |% \Pa|ssOption|
|00002430| 73 54 6f 50 61 63 6b 61 | 67 65 7b 66 6f 6f 2c 62 |sToPacka|ge{foo,b|
|00002440| 61 72 7d 7b 66 72 65 64 | 7d 0a 25 20 20 20 20 5c |ar}{fred|}.% \|
|00002450| 52 65 71 75 69 72 65 50 | 61 63 6b 61 67 65 5b 62 |RequireP|ackage[b|
|00002460| 61 7a 5d 7b 66 72 65 64 | 7d 5c 65 6e 64 7b 76 65 |az]{fred|}\end{ve|
|00002470| 72 62 61 74 69 6d 7d 0a | 25 20 69 73 20 74 68 65 |rbatim}.|% is the|
|00002480| 20 73 61 6d 65 20 61 73 | 3a 0a 25 20 5c 62 65 67 | same as|:.% \beg|
|00002490| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 20 20 |in{verba|tim}.% |
|000024a0| 20 20 5c 52 65 71 75 69 | 72 65 50 61 63 6b 61 67 | \Requi|rePackag|
|000024b0| 65 5b 66 6f 6f 2c 62 61 | 72 2c 62 61 7a 5d 7b 66 |e[foo,ba|r,baz]{f|
|000024c0| 72 65 64 7d 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |red}\end|{verbati|
|000024d0| 6d 7d 0a 25 0a 25 20 5c | 44 65 73 63 72 69 62 65 |m}.%.% \|Describe|
|000024e0| 4d 61 63 72 6f 5c 40 69 | 66 70 61 63 6b 61 67 65 |Macro\@i|fpackage|
|000024f0| 6c 6f 61 64 65 64 0a 25 | 20 5c 44 65 73 63 72 69 |loaded.%| \Descri|
|00002500| 62 65 4d 61 63 72 6f 5c | 40 69 66 63 6c 61 73 73 |beMacro\|@ifclass|
|00002510| 6c 6f 61 64 65 64 0a 25 | 20 54 6f 20 66 69 6e 64 |loaded.%| To find|
|00002520| 20 6f 75 74 20 69 66 20 | 61 20 70 61 63 6b 61 67 | out if |a packag|
|00002530| 65 20 68 61 73 20 61 6c | 72 65 61 64 79 20 62 65 |e has al|ready be|
|00002540| 65 6e 20 6c 6f 61 64 65 | 64 2c 20 75 73 65 5c 5c |en loade|d, use\\|
|00002550| 0a 25 20 7c 5c 40 69 66 | 70 61 63 6b 61 67 65 6c |.% |\@if|packagel|
|00002560| 6f 61 64 65 64 7b 7c 5c | 6d 65 74 61 7b 70 61 63 |oaded{|\|meta{pac|
|00002570| 6b 61 67 65 7d 7c 7d 7b | 7c 5c 6d 65 74 61 7b 74 |kage}|}{||\meta{t|
|00002580| 72 75 65 7d 7c 7d 7b 7c | 5c 6d 65 74 61 7b 66 61 |rue}|}{||\meta{fa|
|00002590| 6c 73 65 7d 7c 7d 7c 2e | 0a 25 0a 25 20 5c 44 65 |lse}|}|.|.%.% \De|
|000025a0| 73 63 72 69 62 65 4d 61 | 63 72 6f 5c 40 69 66 70 |scribeMa|cro\@ifp|
|000025b0| 61 63 6b 61 67 65 6c 61 | 74 65 72 0a 25 20 5c 44 |ackagela|ter.% \D|
|000025c0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 5c 40 69 66 |escribeM|acro\@if|
|000025d0| 63 6c 61 73 73 6c 61 74 | 65 72 0a 25 20 54 6f 20 |classlat|er.% To |
|000025e0| 66 69 6e 64 20 6f 75 74 | 20 69 66 20 61 20 70 61 |find out| if a pa|
|000025f0| 63 6b 61 67 65 20 68 61 | 73 20 61 6c 72 65 61 64 |ckage ha|s alread|
|00002600| 79 20 62 65 65 6e 20 6c | 6f 61 64 65 64 20 77 69 |y been l|oaded wi|
|00002610| 74 68 20 61 20 76 65 72 | 73 69 6f 6e 20 6d 6f 72 |th a ver|sion mor|
|00002620| 65 0a 25 20 72 65 63 65 | 6e 74 20 74 68 61 6e 20 |e.% rece|nt than |
|00002630| 5c 6d 65 74 61 7b 76 65 | 72 73 69 6f 6e 7d 2c 20 |\meta{ve|rsion}, |
|00002640| 75 73 65 0a 25 20 7c 5c | 40 69 66 70 61 63 6b 61 |use.% |\|@ifpacka|
|00002650| 67 65 6c 61 74 65 72 7b | 7c 5c 6d 65 74 61 7b 70 |gelater{||\meta{p|
|00002660| 61 63 6b 61 67 65 7d 7c | 7d 7b 7c 5c 6d 65 74 61 |ackage}||}{|\meta|
|00002670| 7b 76 65 72 73 69 6f 6e | 7d 7c 7d 7b 7c 5e 5e 41 |{version|}|}{|^^A|
|00002680| 0a 25 20 5c 6d 65 74 61 | 7b 74 72 75 65 7d 7c 7d |.% \meta|{true}|}|
|00002690| 7b 7c 5c 6d 65 74 61 7b | 66 61 6c 73 65 7d 7c 7d |{|\meta{|false}|}|
|000026a0| 7c 2e 0a 25 0a 25 20 5c | 44 65 73 63 72 69 62 65 ||..%.% \|Describe|
|000026b0| 4d 61 63 72 6f 5c 40 69 | 66 70 61 63 6b 61 67 65 |Macro\@i|fpackage|
|000026c0| 77 69 74 68 0a 25 20 5c | 44 65 73 63 72 69 62 65 |with.% \|Describe|
|000026d0| 4d 61 63 72 6f 5c 40 69 | 66 63 6c 61 73 73 77 69 |Macro\@i|fclasswi|
|000026e0| 74 68 0a 25 20 54 6f 20 | 66 69 6e 64 20 6f 75 74 |th.% To |find out|
|000026f0| 20 69 66 20 61 20 70 61 | 63 6b 61 67 65 20 68 61 | if a pa|ckage ha|
|00002700| 73 20 61 6c 72 65 61 64 | 79 20 62 65 65 6e 20 6c |s alread|y been l|
|00002710| 6f 61 64 65 64 20 77 69 | 74 68 20 61 74 20 6c 65 |oaded wi|th at le|
|00002720| 61 73 74 20 74 68 65 0a | 25 20 6f 70 74 69 6f 6e |ast the.|% option|
|00002730| 73 20 5c 6d 65 74 61 7b | 6f 70 74 69 6f 6e 73 7d |s \meta{|options}|
|00002740| 2c 20 75 73 65 0a 25 20 | 7c 5c 40 69 66 70 61 63 |, use.% ||\@ifpac|
|00002750| 6b 61 67 65 77 69 74 68 | 7b 7c 5c 6d 65 74 61 7b |kagewith|{|\meta{|
|00002760| 70 61 63 6b 61 67 65 7d | 7c 7d 7b 7c 5c 6d 65 74 |package}||}{|\met|
|00002770| 61 7b 6f 70 74 69 6f 6e | 73 7d 7c 7d 7b 7c 5e 5e |a{option|s}|}{|^^|
|00002780| 41 0a 25 20 5c 6d 65 74 | 61 7b 74 72 75 65 7d 7c |A.% \met|a{true}||
|00002790| 7d 7b 7c 5c 6d 65 74 61 | 7b 66 61 6c 73 65 7d 7c |}{|\meta|{false}||
|000027a0| 7d 7c 2e 0a 25 0a 25 20 | 5c 73 75 62 73 65 63 74 |}|..%.% |\subsect|
|000027b0| 69 6f 6e 7b 44 65 63 6c | 61 72 69 6e 67 20 6e 65 |ion{Decl|aring ne|
|000027c0| 77 20 6f 70 74 69 6f 6e | 73 7d 0a 25 0a 25 20 4f |w option|s}.%.% O|
|000027d0| 70 74 69 6f 6e 73 20 66 | 6f 72 20 63 6c 61 73 73 |ptions f|or class|
|000027e0| 65 73 20 61 6e 64 20 70 | 61 63 6b 61 67 65 73 20 |es and p|ackages |
|000027f0| 61 72 65 20 62 75 69 6c | 74 20 75 73 69 6e 67 20 |are buil|t using |
|00002800| 74 68 65 20 73 61 6d 65 | 20 6d 61 63 72 6f 73 2e |the same| macros.|
|00002810| 0a 25 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |.%.% \De|scribeMa|
|00002820| 63 72 6f 5c 44 65 63 6c | 61 72 65 4f 70 74 69 6f |cro\Decl|areOptio|
|00002830| 6e 20 54 6f 20 64 65 66 | 69 6e 65 20 61 20 62 75 |n To def|ine a bu|
|00002840| 69 6c 74 69 6e 20 6f 70 | 74 69 6f 6e 2c 20 75 73 |iltin op|tion, us|
|00002850| 65 0a 25 20 7c 5c 44 65 | 63 6c 61 72 65 4f 70 74 |e.% |\De|clareOpt|
|00002860| 69 6f 6e 7b 7c 5c 6d 65 | 74 61 7b 6e 61 6d 65 7d |ion{|\me|ta{name}|
|00002870| 7c 7d 7b 7c 5c 6d 65 74 | 61 7b 63 6f 64 65 7d 7c ||}{|\met|a{code}||
|00002880| 7d 7c 2e 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |}|..%.% |\Describ|
|00002890| 65 4d 61 63 72 6f 7b 5c | 44 65 63 6c 61 72 65 4f |eMacro{\|DeclareO|
|000028a0| 70 74 69 6f 6e 2a 7d 20 | 54 6f 20 64 65 66 69 6e |ption*} |To defin|
|000028b0| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 61 63 |e the de|fault ac|
|000028c0| 74 69 6f 6e 20 74 6f 0a | 25 20 70 65 72 66 6f 72 |tion to.|% perfor|
|000028d0| 6d 20 66 6f 72 20 6c 6f | 63 61 6c 20 6f 70 74 69 |m for lo|cal opti|
|000028e0| 6f 6e 73 20 77 68 69 63 | 68 20 68 61 76 65 20 6e |ons whic|h have n|
|000028f0| 6f 74 20 62 65 65 6e 20 | 64 65 63 6c 61 72 65 64 |ot been |declared|
|00002900| 2c 20 75 73 65 0a 25 20 | 7c 5c 44 65 63 6c 61 72 |, use.% ||\Declar|
|00002910| 65 4f 70 74 69 6f 6e 2a | 7b 7c 5c 6d 65 74 61 7b |eOption*|{|\meta{|
|00002920| 63 6f 64 65 7d 7c 7d 7c | 2e 0a 25 0a 25 20 7b 5c |code}|}||..%.% {\|
|00002930| 65 6d 20 4e 6f 74 65 5c | 2f 7d 3a 20 74 68 65 72 |em Note\|/}: ther|
|00002940| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 6e 6f 20 75 |e should| be no u|
|00002950| 73 65 20 6f 66 5c 5c 0a | 25 20 20 7c 5c 52 65 71 |se of\\.|% |\Req|
|00002960| 75 69 72 65 50 61 63 6b | 61 67 65 7c 2c 20 7c 5c |uirePack|age|, |\|
|00002970| 44 65 63 6c 61 72 65 4f | 70 74 69 6f 6e 7c 2c 20 |DeclareO|ption|, |
|00002980| 7c 5c 44 65 63 6c 61 72 | 65 4f 70 74 69 6f 6e 2a ||\Declar|eOption*|
|00002990| 7c 20 6f 72 0a 25 20 20 | 20 7c 5c 50 72 6f 63 65 || or.% | |\Proce|
|000029a0| 73 73 4f 70 74 69 6f 6e | 73 7c 5c 5c 0a 25 20 69 |ssOption|s|\\.% i|
|000029b0| 6e 73 69 64 65 20 7c 5c | 44 65 63 6c 61 72 65 4f |nside |\|DeclareO|
|000029c0| 70 74 69 6f 6e 7c 20 6f | 72 20 7c 5c 44 65 63 6c |ption| o|r |\Decl|
|000029d0| 61 72 65 4f 70 74 69 6f | 6e 2a 7c 2e 0a 25 0a 25 |areOptio|n*|..%.%|
|000029e0| 20 50 6f 73 73 69 62 6c | 65 20 75 73 65 73 20 66 | Possibl|e uses f|
|000029f0| 6f 72 20 7c 5c 44 65 63 | 6c 61 72 65 4f 70 74 69 |or |\Dec|lareOpti|
|00002a00| 6f 6e 2a 7c 20 69 6e 63 | 6c 75 64 65 3a 0a 25 0a |on*| inc|lude:.%.|
|00002a10| 25 20 7c 5c 44 65 63 6c | 61 72 65 4f 70 74 69 6f |% |\Decl|areOptio|
|00002a20| 6e 2a 7b 7d 7c 5c 5c 0a | 25 20 20 20 20 44 6f 20 |n*{}|\\.|% Do |
|00002a30| 6e 6f 74 68 69 6e 67 2e | 20 53 69 6c 65 6e 74 6c |nothing.| Silentl|
|00002a40| 79 20 61 63 63 65 70 74 | 20 75 6e 6b 6e 6f 77 6e |y accept| unknown|
|00002a50| 20 6f 70 74 69 6f 6e 73 | 2e 20 28 54 68 69 73 20 | options|. (This |
|00002a60| 73 75 70 70 72 65 73 73 | 65 73 20 74 68 65 0a 25 |suppress|es the.%|
|00002a70| 20 20 20 20 75 73 75 61 | 6c 20 77 61 72 6e 69 6e | usua|l warnin|
|00002a80| 67 73 2e 29 0a 25 0a 25 | 20 7c 5c 44 65 63 6c 61 |gs.).%.%| |\Decla|
|00002a90| 72 65 4f 70 74 69 6f 6e | 2a 7b 5c 40 75 6e 6b 6f |reOption|*{\@unko|
|00002aa0| 77 6e 6f 70 74 69 6f 6e | 65 72 72 6f 72 7d 7c 5c |wnoption|error}|\|
|00002ab0| 5c 0a 25 20 20 20 20 20 | 43 6f 6d 70 6c 61 69 6e |\.% |Complain|
|00002ac0| 20 61 62 6f 75 74 20 75 | 6e 6b 6e 6f 77 6e 20 6c | about u|nknown l|
|00002ad0| 6f 63 61 6c 20 6f 70 74 | 69 6f 6e 73 2e 20 28 54 |ocal opt|ions. (T|
|00002ae0| 68 65 20 69 6e 69 74 69 | 61 6c 20 73 65 74 74 69 |he initi|al setti|
|00002af0| 6e 67 20 66 6f 72 0a 25 | 20 20 20 20 20 20 20 70 |ng for.%| p|
|00002b00| 61 63 6b 61 67 65 20 66 | 69 6c 65 73 2e 29 0a 25 |ackage f|iles.).%|
|00002b10| 0a 25 20 7c 5c 44 65 63 | 6c 61 72 65 4f 70 74 69 |.% |\Dec|lareOpti|
|00002b20| 6f 6e 2a 7b 5c 50 61 73 | 73 4f 70 74 69 6f 6e 73 |on*{\Pas|sOptions|
|00002b30| 54 6f 50 61 63 6b 61 67 | 65 7b 5c 43 75 72 72 65 |ToPackag|e{\Curre|
|00002b40| 6e 74 4f 70 74 69 6f 6e | 7d 7c 5e 5e 41 0a 25 20 |ntOption|}|^^A.% |
|00002b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b70| 20 20 20 20 7c 7b 7c 5c | 6d 65 74 61 7b 70 6b 67 | |{|\|meta{pkg|
|00002b80| 2d 6e 61 6d 65 7d 7c 7d | 7c 5c 5c 0a 25 20 48 61 |-name}|}||\\.% Ha|
|00002b90| 6e 64 6c 65 20 74 68 65 | 20 74 68 65 20 63 75 72 |ndle the| the cur|
|00002ba0| 72 65 6e 74 20 6f 70 74 | 69 6f 6e 20 62 79 20 70 |rent opt|ion by p|
|00002bb0| 61 73 73 69 6e 67 20 69 | 74 20 6f 6e 20 74 6f 20 |assing i|t on to |
|00002bc0| 74 68 65 20 70 61 63 6b | 61 67 65 0a 25 20 5c 6d |the pack|age.% \m|
|00002bd0| 65 74 61 7b 70 6b 67 2d | 6e 61 6d 65 7d 2c 20 77 |eta{pkg-|name}, w|
|00002be0| 68 69 63 68 20 77 69 6c | 6c 20 70 72 65 73 75 6d |hich wil|l presum|
|00002bf0| 61 62 6c 79 20 62 65 20 | 6c 6f 61 64 65 64 20 76 |ably be |loaded v|
|00002c00| 69 61 0a 25 20 7c 5c 52 | 65 71 75 69 72 65 50 61 |ia.% |\R|equirePa|
|00002c10| 63 6b 61 67 65 7c 20 6c | 61 74 65 72 20 69 6e 20 |ckage| l|ater in |
|00002c20| 74 68 65 20 66 69 6c 65 | 2e 20 54 68 69 73 20 69 |the file|. This i|
|00002c30| 73 20 75 73 65 66 75 6c | 20 66 6f 72 20 62 75 69 |s useful| for bui|
|00002c40| 6c 64 69 6e 67 0a 25 20 | 60 65 78 74 65 6e 73 69 |lding.% |`extensi|
|00002c50| 6f 6e 27 20 70 61 63 6b | 61 67 65 73 2c 20 74 68 |on' pack|ages, th|
|00002c60| 61 74 20 70 65 72 68 61 | 70 73 20 68 61 6e 64 6c |at perha|ps handl|
|00002c70| 65 20 61 20 63 6f 75 70 | 6c 65 20 6f 66 20 6e 65 |e a coup|le of ne|
|00002c80| 77 20 6f 70 74 69 6f 6e | 73 2c 0a 25 20 62 75 74 |w option|s,.% but|
|00002c90| 20 74 68 65 6e 20 70 61 | 73 73 20 65 76 65 72 79 | then pa|ss every|
|00002ca0| 74 68 69 6e 67 20 65 6c | 73 65 20 6f 6e 20 74 6f |thing el|se on to|
|00002cb0| 20 61 6e 20 65 78 69 73 | 74 69 6e 67 20 70 61 63 | an exis|ting pac|
|00002cc0| 6b 61 67 65 2e 0a 25 0a | 25 20 7c 5c 44 65 63 6c |kage..%.|% |\Decl|
|00002cd0| 61 72 65 4f 70 74 69 6f | 6e 2a 7b 5c 49 6e 70 75 |areOptio|n*{\Inpu|
|00002ce0| 74 49 66 46 69 6c 65 45 | 78 69 73 74 73 7b 78 78 |tIfFileE|xists{xx|
|00002cf0| 2d 5c 43 75 72 72 65 6e | 74 4f 70 74 69 6f 6e 2e |-\Curren|tOption.|
|00002d00| 79 79 79 7d 25 7c 5c 5c | 0a 25 20 7c 20 20 20 20 |yyy}%|\\|.% | |
|00002d10| 20 20 20 20 20 20 20 20 | 20 20 20 7b 7d 25 7c 5c | | {}%|\|
|00002d20| 5c 20 0a 25 20 7c 20 20 | 20 20 20 20 20 20 20 20 |\ .% | | |
|00002d30| 20 20 20 20 20 7b 5c 4f | 70 74 69 6f 6e 4e 6f 74 | {\O|ptionNot|
|00002d40| 55 73 65 64 7d 7d 7c 5c | 5c 20 0a 25 20 20 48 61 |Used}}|\|\ .% Ha|
|00002d50| 6e 64 6c 65 20 74 68 65 | 20 6f 70 74 69 6f 6e 20 |ndle the| option |
|00002d60| 66 6f 6f 20 62 79 20 6c | 6f 61 64 69 6e 67 20 74 |foo by l|oading t|
|00002d70| 68 65 20 66 69 6c 65 20 | 7c 78 78 2d 66 6f 6f 2e |he file ||xx-foo.|
|00002d80| 79 79 79 7c 20 69 66 20 | 69 74 0a 25 20 20 65 78 |yyy| if |it.% ex|
|00002d90| 69 73 74 73 2c 20 6f 74 | 68 65 72 77 69 73 65 20 |ists, ot|herwise |
|00002da0| 64 6f 20 6e 6f 74 68 69 | 6e 67 2c 20 62 75 74 20 |do nothi|ng, but |
|00002db0| 64 65 63 6c 61 72 65 20 | 74 68 61 74 20 74 68 65 |declare |that the|
|00002dc0| 20 6f 70 74 69 6f 6e 20 | 77 61 73 20 6e 6f 74 0a | option |was not.|
|00002dd0| 25 20 20 75 73 65 64 2e | 0a 25 20 20 41 63 74 75 |% used.|.% Actu|
|00002de0| 61 6c 6c 79 20 74 68 65 | 20 7c 5c 4f 70 74 69 6f |ally the| |\Optio|
|00002df0| 6e 4e 6f 74 55 73 65 64 | 7c 20 64 65 63 6c 61 72 |nNotUsed|| declar|
|00002e00| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 6c 79 20 6e 65 |ation is| only ne|
|00002e10| 65 64 65 64 20 69 66 20 | 74 68 69 73 20 69 73 0a |eded if |this is.|
|00002e20| 25 20 20 62 65 69 6e 67 | 20 75 73 65 64 20 69 6e |% being| used in|
|00002e30| 20 63 6c 61 73 73 20 66 | 69 6c 65 73 2c 20 62 75 | class f|iles, bu|
|00002e40| 74 20 64 6f 65 73 20 6e | 6f 20 68 61 72 6d 20 69 |t does n|o harm i|
|00002e50| 6e 20 70 61 63 6b 61 67 | 65 20 66 69 6c 65 73 2e |n packag|e files.|
|00002e60| 0a 25 0a 25 0a 25 20 5c | 73 75 62 73 65 63 74 69 |.%.%.% \|subsecti|
|00002e70| 6f 6e 7b 53 61 66 65 20 | 49 6e 70 75 74 20 4d 61 |on{Safe |Input Ma|
|00002e80| 63 72 6f 73 7d 0a 25 20 | 5c 44 65 73 63 72 69 62 |cros}.% |\Describ|
|00002e90| 65 4d 61 63 72 6f 7b 5c | 49 6e 70 75 74 49 66 46 |eMacro{\|InputIfF|
|00002ea0| 69 6c 65 45 78 69 73 74 | 73 7d 0a 25 20 20 7c 5c |ileExist|s}.% |\|
|00002eb0| 49 6e 70 75 74 49 66 46 | 69 6c 65 45 78 69 73 74 |InputIfF|ileExist|
|00002ec0| 73 7b 7c 5c 6d 65 74 61 | 7b 66 69 6c 65 7d 7c 7d |s{|\meta|{file}|}|
|00002ed0| 7b 7c 5c 6d 65 74 61 7b | 74 68 65 6e 7d 7c 7d 7b |{|\meta{|then}|}{|
|00002ee0| 7c 5c 6d 65 74 61 7b 65 | 6c 73 65 7d 7c 7d 7c 5c ||\meta{e|lse}|}|\|
|00002ef0| 5c 0a 25 20 49 6e 70 75 | 74 73 20 5c 6d 65 74 61 |\.% Inpu|ts \meta|
|00002f00| 7b 66 69 6c 65 7d 20 69 | 66 20 69 74 20 65 78 69 |{file} i|f it exi|
|00002f10| 73 74 73 2e 20 49 6d 6d | 65 64 69 61 74 65 6c 79 |sts. Imm|ediately|
|00002f20| 20 62 65 66 6f 72 65 20 | 74 68 65 20 69 6e 70 75 | before |the inpu|
|00002f30| 74 2c 0a 25 20 5c 6d 65 | 74 61 7b 74 68 65 6e 7d |t,.% \me|ta{then}|
|00002f40| 20 69 73 20 65 78 65 63 | 75 74 65 64 2e 20 4f 74 | is exec|uted. Ot|
|00002f50| 68 65 72 77 69 73 65 20 | 5c 6d 65 74 61 7b 65 6c |herwise |\meta{el|
|00002f60| 73 65 7d 20 69 73 20 65 | 78 65 63 75 74 65 64 2e |se} is e|xecuted.|
|00002f70| 0a 25 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |.%.% \De|scribeMa|
|00002f80| 63 72 6f 7b 5c 49 66 46 | 69 6c 65 45 78 69 73 74 |cro{\IfF|ileExist|
|00002f90| 73 7d 0a 25 20 41 73 20 | 61 62 6f 76 65 2c 20 62 |s}.% As |above, b|
|00002fa0| 75 74 20 64 6f 65 73 20 | 6e 6f 74 20 69 6e 70 75 |ut does |not inpu|
|00002fb0| 74 20 74 68 65 20 66 69 | 6c 65 2e 0a 25 0a 25 20 |t the fi|le..%.% |
|00002fc0| 4f 6e 65 20 74 68 69 6e | 67 20 79 6f 75 20 6d 69 |One thin|g you mi|
|00002fd0| 67 68 74 20 6c 69 6b 65 | 20 74 6f 20 70 75 74 20 |ght like| to put |
|00002fe0| 69 6e 20 74 68 65 20 5c | 6d 65 74 61 7b 65 6c 73 |in the \|meta{els|
|00002ff0| 65 7d 20 63 6c 61 75 73 | 65 20 69 73 0a 25 0a 25 |e} claus|e is.%.%|
|00003000| 20 5c 44 65 73 63 72 69 | 62 65 4d 61 63 72 6f 7b | \Descri|beMacro{|
|00003010| 5c 40 6d 69 73 73 69 6e | 67 66 69 6c 65 65 72 72 |\@missin|gfileerr|
|00003020| 6f 72 7d 0a 25 20 54 68 | 69 73 20 73 74 61 72 74 |or}.% Th|is start|
|00003030| 73 20 61 6e 20 69 6e 74 | 65 72 61 63 74 69 76 65 |s an int|eractive|
|00003040| 20 72 65 71 75 65 73 74 | 20 66 6f 72 20 61 20 66 | request| for a f|
|00003050| 69 6c 65 6e 61 6d 65 2c | 20 73 75 70 70 6c 79 69 |ilename,| supplyi|
|00003060| 6e 67 20 64 65 66 61 75 | 6c 74 0a 25 20 65 78 74 |ng defau|lt.% ext|
|00003070| 65 6e 73 69 6f 6e 73 2e | 20 4a 75 73 74 20 68 69 |ensions.| Just hi|
|00003080| 74 74 69 6e 67 20 72 65 | 74 75 72 6e 20 63 61 75 |tting re|turn cau|
|00003090| 73 65 73 20 74 68 65 20 | 77 68 6f 6c 65 20 69 6e |ses the |whole in|
|000030a0| 70 75 74 20 74 6f 20 62 | 65 20 73 6b 69 70 70 65 |put to b|e skippe|
|000030b0| 64 2e 0a 25 20 28 50 65 | 72 68 61 70 73 20 77 65 |d..% (Pe|rhaps we|
|000030c0| 20 73 68 6f 75 6c 64 20 | 6c 65 74 20 7c 78 7c 20 | should |let |x| |
|000030d0| 64 65 6e 6f 74 65 20 71 | 75 69 74 20 74 68 65 20 |denote q|uit the |
|000030e0| 63 75 72 72 65 6e 74 20 | 72 75 6e 2c 20 61 73 20 |current |run, as |
|000030f0| 6c 6f 6e 67 20 61 73 20 | 6e 6f 0a 25 20 6f 6e 65 |long as |no.% one|
|00003100| 20 77 61 6e 74 73 20 74 | 6f 20 69 6e 70 75 74 20 | wants t|o input |
|00003110| 61 20 66 69 6c 65 20 6f | 66 20 74 68 61 74 20 6e |a file o|f that n|
|00003120| 61 6d 65 2e 0a 25 0a 25 | 20 5c 44 65 73 63 72 69 |ame..%.%| \Descri|
|00003130| 62 65 4d 61 63 72 6f 7b | 5c 69 6e 70 75 74 7d 0a |beMacro{|\input}.|
|00003140| 25 20 54 68 69 73 20 68 | 61 73 20 62 65 65 6e 20 |% This h|as been |
|00003150| 72 65 64 65 66 69 6e 65 | 64 20 66 72 6f 6d 20 74 |redefine|d from t|
|00003160| 68 65 20 5c 4c 61 54 65 | 58 32 2e 30 39 20 64 65 |he \LaTe|X2.09 de|
|00003170| 66 69 6e 69 74 69 6f 6e | 2c 20 69 6e 20 74 65 72 |finition|, in ter|
|00003180| 6d 73 20 6f 66 0a 25 20 | 74 68 65 20 6e 65 77 20 |ms of.% |the new |
|00003190| 63 6f 6d 6d 61 6e 64 73 | 20 7c 5c 49 6e 70 75 74 |commands| |\Input|
|000031a0| 49 66 46 69 6c 65 45 78 | 69 73 74 73 7c 20 61 6e |IfFileEx|ists| an|
|000031b0| 64 20 7c 5c 40 6d 69 73 | 73 69 6e 67 66 69 6c 65 |d |\@mis|singfile|
|000031c0| 65 72 72 6f 72 7c 2e 0a | 25 0a 25 0a 25 20 5c 44 |error|..|%.%.% \D|
|000031d0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 6c 69 |escribeM|acro{\li|
|000031e0| 73 74 66 69 6c 65 73 7d | 20 47 69 76 69 6e 67 20 |stfiles}| Giving |
|000031f0| 74 68 69 73 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |this dec|laration|
|00003200| 20 69 6e 20 74 68 65 20 | 70 72 65 61 6d 62 6c 65 | in the |preamble|
|00003210| 0a 25 20 63 61 75 73 65 | 73 20 61 20 6c 69 73 74 |.% cause|s a list|
|00003220| 20 6f 66 20 61 6c 6c 20 | 66 69 6c 65 73 20 69 6e | of all |files in|
|00003230| 70 75 74 20 76 69 61 20 | 74 68 65 20 60 73 61 66 |put via |the `saf|
|00003240| 65 20 69 6e 70 75 74 27 | 20 63 6f 6d 6d 61 6e 64 |e input'| command|
|00003250| 73 20 74 6f 20 62 65 0a | 25 20 6c 69 73 74 65 64 |s to be.|% listed|
|00003260| 20 61 74 20 74 68 65 20 | 65 6e 64 2e 20 41 6e 79 | at the |end. Any|
|00003270| 20 73 74 72 69 6e 67 73 | 20 73 70 65 63 69 66 69 | strings| specifi|
|00003280| 65 64 20 69 6e 20 74 68 | 65 20 6f 70 74 69 6f 6e |ed in th|e option|
|00003290| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 74 6f 0a 25 |al argum|ent to.%|
|000032a0| 20 7c 5c 50 72 6f 76 69 | 64 65 73 50 61 63 6b 61 | |\Provi|desPacka|
|000032b0| 67 65 7c 20 61 72 65 20 | 6c 69 73 74 65 64 20 61 |ge| are |listed a|
|000032c0| 6c 6f 6e 67 73 69 64 65 | 20 74 68 65 20 66 69 6c |longside| the fil|
|000032d0| 65 20 6e 61 6d 65 2e 20 | 53 6f 20 66 69 6c 65 73 |e name. |So files|
|000032e0| 20 69 6e 0a 25 20 73 74 | 61 6e 64 61 72 64 20 28 | in.% st|andard (|
|000032f0| 61 6e 64 20 6f 74 68 65 | 72 20 6e 6f 6e 2d 73 74 |and othe|r non-st|
|00003300| 61 6e 64 61 72 64 29 20 | 64 69 73 74 72 69 62 75 |andard) |distribu|
|00003310| 74 69 6f 6e 73 20 63 61 | 6e 20 70 75 74 20 69 6e |tions ca|n put in|
|00003320| 66 6f 72 6d 61 74 69 76 | 65 0a 25 20 73 74 72 69 |formativ|e.% stri|
|00003330| 6e 67 73 20 69 6e 20 74 | 68 69 73 20 61 72 67 75 |ngs in t|his argu|
|00003340| 6d 65 6e 74 2e 0a 25 0a | 25 20 5c 53 74 6f 70 45 |ment..%.|% \StopE|
|00003350| 76 65 6e 74 75 61 6c 6c | 79 7b 7d 0a 25 0a 25 20 |ventuall|y{}.%.% |
|00003360| 5c 73 65 63 74 69 6f 6e | 7b 49 6d 70 6c 65 6d 65 |\section|{Impleme|
|00003370| 6e 74 61 74 69 6f 6e 7d | 0a 25 0a 25 20 20 20 20 |ntation}|.%.% |
|00003380| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00003390| 7d 0a 25 3c 2a 32 65 6b | 65 72 6e 65 6c 3e 0a 25 |}.%<*2ek|ernel>.%|
|000033a0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000033b0| 64 65 7d 0a 25 0a 25 0a | 25 20 5c 63 68 61 6e 67 |de}.%.%.|% \chang|
|000033c0| 65 73 7b 76 30 2e 32 67 | 7d 7b 31 39 39 33 2f 31 |es{v0.2g|}{1993/1|
|000033d0| 31 2f 32 33 7d 0a 25 20 | 20 20 20 20 20 20 20 20 |1/23}.% | |
|000033e0| 7b 56 61 72 69 6f 75 73 | 20 6d 61 63 72 6f 73 20 |{Various| macros |
|000033f0| 6e 6f 77 20 6d 6f 76 65 | 64 20 74 6f 20 6c 61 74 |now move|d to lat|
|00003400| 65 78 2e 74 65 78 2e 7d | 0a 25 20 5c 63 68 61 6e |ex.tex.}|.% \chan|
|00003410| 67 65 73 7b 76 30 2e 32 | 67 7d 7b 31 39 39 33 2f |ges{v0.2|g}{1993/|
|00003420| 31 31 2f 32 33 7d 0a 25 | 20 20 20 20 20 20 20 20 |11/23}.%| |
|00003430| 20 7b 57 61 72 6e 69 6e | 67 73 20 61 6e 64 20 65 | {Warnin|gs and e|
|00003440| 72 72 6f 72 73 20 6e 6f | 77 20 64 69 72 65 63 74 |rrors no|w direct|
|00003450| 6c 79 20 63 6f 64 65 64 | 2e 7d 0a 25 20 5c 63 68 |ly coded|.}.% \ch|
|00003460| 61 6e 67 65 73 7b 76 30 | 2e 32 68 7d 7b 31 39 39 |anges{v0|.2h}{199|
|00003470| 33 2f 31 31 2f 32 38 7d | 0a 25 20 20 20 20 20 20 |3/11/28}|.% |
|00003480| 20 20 20 7b 50 72 69 6d | 69 74 69 76 65 20 66 69 | {Prim|itive fi|
|00003490| 6c 65 6e 61 6d 65 73 20 | 6e 6f 77 20 74 65 72 6d |lenames |now term|
|000034a0| 69 6e 61 74 65 64 20 62 | 79 20 73 70 61 63 65 20 |inated b|y space |
|000034b0| 6e 6f 74 20 5c 63 6d 64 | 5c 72 65 6c 61 78 2e 7d |not \cmd|\relax.}|
|000034c0| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 32 |.% \chan|ges{v0.2|
|000034d0| 68 7d 7b 31 39 39 33 2f | 31 31 2f 32 38 7d 0a 25 |h}{1993/|11/28}.%|
|000034e0| 20 20 20 20 20 20 20 20 | 20 7b 44 69 72 65 63 74 | | {Direct|
|000034f0| 6f 72 79 20 73 79 6e 74 | 61 78 20 63 68 65 63 69 |ory synt|ax checi|
|00003500| 6e 67 20 6d 6f 76 65 64 | 20 74 6f 20 64 69 72 63 |ng moved| to dirc|
|00003510| 68 65 63 6b 2e 64 74 78 | 7d 0a 25 20 5c 63 68 61 |heck.dtx|}.% \cha|
|00003520| 6e 67 65 73 7b 76 30 2e | 32 68 7d 7b 31 39 39 33 |nges{v0.|2h}{1993|
|00003530| 2f 31 31 2f 32 38 7d 0a | 25 20 20 20 20 20 20 20 |/11/28}.|% |
|00003540| 20 20 7b 41 73 73 6f 72 | 74 65 64 20 63 6f 6d 6d | {Assor|ted comm|
|00003550| 61 6e 64 73 20 6e 6f 77 | 20 69 6e 20 74 68 65 20 |ands now| in the |
|00003560| 6b 65 72 6e 65 6c 20 72 | 65 6d 6f 76 65 64 2e 7d |kernel r|emoved.}|
|00003570| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 32 |.% \chan|ges{v0.2|
|00003580| 69 7d 7b 31 39 39 33 2f | 31 32 2f 30 33 7d 0a 25 |i}{1993/|12/03}.%|
|00003590| 20 20 20 20 20 20 20 20 | 20 7b 5c 63 6d 64 5c 40 | | {\cmd\@|
|000035a0| 6f 6e 6c 79 70 72 65 61 | 6d 62 6c 65 3a 20 4d 61 |onlyprea|mble: Ma|
|000035b0| 6e 79 20 63 6f 6d 6d 61 | 6e 64 73 20 64 65 63 6c |ny comma|nds decl|
|000035c0| 61 72 65 64 2e 7d 0a 25 | 20 5c 63 68 61 6e 67 65 |ared.}.%| \change|
|000035d0| 73 7b 76 30 2e 32 69 7d | 7b 31 39 39 33 2f 31 32 |s{v0.2i}|{1993/12|
|000035e0| 2f 30 33 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/03}.% | {|
|000035f0| 52 65 6d 6f 76 65 64 20 | 6f 62 73 6f 6c 65 74 65 |Removed |obsolete|
|00003600| 20 5c 63 6d 64 7b 5c 40 | 64 6f 63 75 6d 65 6e 74 | \cmd{\@|document|
|00003610| 63 6c 61 73 73 7d 7d 0a | 25 20 5c 63 68 61 6e 67 |class}}.|% \chang|
|00003620| 65 73 7b 76 30 2e 32 6f | 7d 7b 31 39 39 33 2f 31 |es{v0.2o|}{1993/1|
|00003630| 32 2f 31 33 7d 0a 25 20 | 20 20 20 20 20 20 20 20 |2/13}.% | |
|00003640| 7b 52 65 6d 6f 76 65 64 | 20 73 65 74 74 69 6e 67 |{Removed| setting|
|00003650| 20 5c 63 6d 64 5c 65 72 | 72 63 6f 6e 74 65 78 74 | \cmd\er|rcontext|
|00003660| 6c 69 6e 65 73 5c 20 28 | 6e 6f 77 20 69 6e 20 6c |lines\ (|now in l|
|00003670| 61 74 65 78 2e 74 65 78 | 29 7d 0a 25 20 5c 63 68 |atex.tex|)}.% \ch|
|00003680| 61 6e 67 65 73 7b 76 30 | 2e 32 70 7d 7b 31 39 39 |anges{v0|.2p}{199|
|00003690| 33 2f 31 32 2f 31 35 7d | 0a 25 20 20 20 20 20 20 |3/12/15}|.% |
|000036a0| 20 20 20 7b 52 65 6d 6f | 76 65 64 20 65 78 74 72 | {Remo|ved extr|
|000036b0| 61 20 60 2e 27 73 20 66 | 72 6f 6d 20 5c 63 6d 64 |a `.'s f|rom \cmd|
|000036c0| 7b 5c 40 40 77 61 72 6e | 69 6e 67 7d 73 7d 0a 25 |{\@@warn|ing}s}.%|
|000036d0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 73 7d | \change|s{v0.2s}|
|000036e0| 7b 31 39 39 34 2f 30 31 | 2f 31 37 7d 0a 25 20 20 |{1994/01|/17}.% |
|000036f0| 20 20 20 20 20 20 20 7b | 41 64 64 65 64 20 6d 61 | {|Added ma|
|00003700| 6e 79 20 6d 6f 72 65 20 | 5c 63 6d 64 7b 5c 40 6f |ny more |\cmd{\@o|
|00003710| 6e 6c 79 70 72 65 61 6d | 62 6c 65 7d 20 63 6f 6d |nlypream|ble} com|
|00003720| 6d 61 6e 64 73 7d 0a 25 | 20 5c 63 68 61 6e 67 65 |mands}.%| \change|
|00003730| 73 7b 76 30 2e 32 73 7d | 7b 31 39 39 34 2f 30 31 |s{v0.2s}|{1994/01|
|00003740| 2f 31 37 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/17}.% | {|
|00003750| 57 72 61 70 70 65 64 20 | 6c 6f 6e 67 20 6c 69 6e |Wrapped |long lin|
|00003760| 65 73 20 74 6f 20 63 6f | 6c 75 6d 6e 20 37 32 7d |es to co|lumn 72}|
|00003770| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 33 |.% \chan|ges{v0.3|
|00003780| 61 7d 7b 31 39 39 34 2f | 30 33 2f 30 32 7d 0a 25 |a}{1994/|03/02}.%|
|00003790| 20 20 20 20 20 20 20 20 | 20 7b 52 65 6d 6f 76 65 | | {Remove|
|000037a0| 20 6e 65 65 64 20 66 6f | 72 20 64 72 69 76 65 72 | need fo|r driver|
|000037b0| 20 66 69 6c 65 7d 0a 25 | 20 5c 63 68 61 6e 67 65 | file}.%| \change|
|000037c0| 73 7b 76 30 2e 33 62 7d | 7b 31 39 39 34 2f 30 33 |s{v0.3b}|{1994/03|
|000037d0| 2f 30 38 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/08}.% | {|
|000037e0| 4d 6f 64 69 66 79 20 64 | 72 69 76 65 72 20 63 6f |Modify d|river co|
|000037f0| 64 65 20 69 6e 74 6f 20 | 60 6e 65 77 20 73 74 79 |de into |`new sty|
|00003800| 6c 65 27 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |le'}.% \|changes{|
|00003810| 76 30 2e 33 63 7d 7b 31 | 39 39 34 2f 30 33 2f 31 |v0.3c}{1|994/03/1|
|00003820| 32 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 43 68 |2}.% | {Ch|
|00003830| 61 6e 67 65 20 6e 61 6d | 65 20 66 72 6f 6d 20 64 |ange nam|e from d|
|00003840| 6f 63 63 6c 61 73 73 20 | 74 6f 20 6c 74 63 6c 61 |occlass |to ltcla|
|00003850| 73 73 7d 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 76 |ss}.% \c|hanges{v|
|00003860| 30 2e 33 68 7d 7b 31 39 | 39 34 2f 30 34 2f 32 35 |0.3h}{19|94/04/25|
|00003870| 7d 0a 25 20 20 20 20 20 | 20 20 20 20 7b 52 65 6d |}.% | {Rem|
|00003880| 6f 76 65 64 20 73 70 75 | 72 69 6f 75 73 20 65 78 |oved spu|rious ex|
|00003890| 74 72 61 20 60 2e 27 73 | 20 61 74 20 74 68 65 20 |tra `.'s| at the |
|000038a0| 65 6e 64 20 6f 66 20 65 | 72 72 6f 72 20 6d 65 73 |end of e|rror mes|
|000038b0| 73 61 67 65 73 7d 0a 25 | 20 5c 63 68 61 6e 67 65 |sages}.%| \change|
|000038c0| 73 7b 76 31 2e 30 61 7d | 7b 31 39 39 34 2f 30 34 |s{v1.0a}|{1994/04|
|000038d0| 2f 32 39 7d 0a 25 20 20 | 20 20 20 20 20 20 20 7b |/29}.% | {|
|000038e0| 43 68 61 6e 67 65 20 76 | 65 72 73 69 6f 6e 20 6e |Change v|ersion n|
|000038f0| 75 6d 62 65 72 20 74 6f | 20 31 20 28 6e 6f 20 6f |umber to| 1 (no o|
|00003900| 74 68 65 72 20 63 68 61 | 6e 67 65 29 7d 0a 25 20 |ther cha|nge)}.% |
|00003910| 5c 63 68 61 6e 67 65 73 | 7b 76 31 2e 30 6b 7d 7b |\changes|{v1.0k}{|
|00003920| 31 39 39 34 2f 31 31 2f | 30 33 7d 0a 25 20 20 20 |1994/11/|03}.% |
|00003930| 20 20 20 20 20 20 7b 4d | 6f 76 65 20 5c 63 73 7b | {M|ove \cs{|
|00003940| 40 6d 69 73 73 69 6e 67 | 66 69 6c 65 65 72 72 6f |@missing|fileerro|
|00003950| 72 7d 20 74 6f 20 6c 74 | 66 69 6c 65 73 7d 0a 25 |r} to lt|files}.%|
|00003960| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00003970| 7b 5c 69 66 40 63 6f 6d | 70 61 74 69 62 69 6c 69 |{\if@com|patibili|
|00003980| 74 79 7d 0a 25 20 20 20 | 20 54 68 65 20 66 6c 61 |ty}.% | The fla|
|00003990| 67 20 66 6f 72 20 63 6f | 6d 70 61 74 69 62 69 6c |g for co|mpatibil|
|000039a0| 74 79 20 6d 6f 64 65 2e | 0a 25 20 20 20 20 5c 62 |ty mode.|.% \b|
|000039b0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|000039c0| 5c 6e 65 77 69 66 5c 69 | 66 40 63 6f 6d 70 61 74 |\newif\i|f@compat|
|000039d0| 69 62 69 6c 69 74 79 0a | 25 20 20 20 20 5c 65 6e |ibility.|% \en|
|000039e0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |d{macroc|ode}.% \|
|000039f0| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 25 0a 25 20 5c |end{macr|o}.%.% \|
|00003a00| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 40 64 |begin{ma|cro}{\@d|
|00003a10| 6f 63 75 6d 65 6e 74 63 | 6c 61 73 73 68 6f 6f 6b |ocumentc|lasshook|
|00003a20| 7d 0a 25 20 20 20 20 54 | 68 65 20 68 6f 6f 6b 20 |}.% T|he hook |
|00003a30| 63 61 6c 6c 65 64 20 61 | 66 74 65 72 20 74 68 65 |called a|fter the|
|00003a40| 20 66 69 72 73 74 20 7c | 5c 64 6f 63 75 6d 65 6e | first ||\documen|
|00003a50| 74 63 6c 61 73 73 7c 20 | 63 6f 6d 6d 61 6e 64 2e |tclass| |command.|
|00003a60| 20 20 42 79 0a 25 20 20 | 20 20 64 65 66 61 75 6c | By.% | defaul|
|00003a70| 74 20 74 68 69 73 20 63 | 68 65 63 6b 73 20 74 6f |t this c|hecks to|
|00003a80| 20 73 65 65 20 69 66 20 | 7c 5c 40 6e 6f 72 6d 61 | see if ||\@norma|
|00003a90| 6c 73 69 7a 65 7c 20 69 | 73 20 75 6e 64 65 66 69 |lsize| i|s undefi|
|00003aa0| 6e 65 64 2c 20 61 6e 64 | 20 69 66 0a 25 20 20 20 |ned, and| if.% |
|00003ab0| 20 73 6f 2c 20 73 65 74 | 73 20 69 74 20 74 6f 20 | so, set|s it to |
|00003ac0| 7c 5c 6e 6f 72 6d 61 6c | 73 69 7a 65 7c 2e 0a 25 ||\normal|size|..%|
|00003ad0| 20 5c 63 68 61 6e 67 65 | 73 7b 76 30 2e 32 71 7d | \change|s{v0.2q}|
|00003ae0| 7b 31 39 39 33 2f 31 32 | 2f 31 37 7d 0a 25 20 20 |{1993/12|/17}.% |
|00003af0| 20 20 20 20 20 20 20 7b | 4d 61 63 72 6f 20 61 64 | {|Macro ad|
|00003b00| 64 65 64 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ded}.% \|changes{|
|00003b10| 76 30 2e 32 7a 7d 7b 31 | 39 39 34 2f 30 32 2f 31 |v0.2z}{1|994/02/1|
|00003b20| 30 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 43 68 |0}.% | {Ch|
|00003b30| 61 6e 67 65 64 20 74 68 | 65 20 6e 61 6d 65 20 66 |anged th|e name f|
|00003b40| 72 6f 6d 20 5c 63 6d 64 | 7b 5c 40 63 6f 6d 70 61 |rom \cmd|{\@compa|
|00003b50| 74 69 62 69 6c 69 74 79 | 7d 20 74 6f 0a 25 20 20 |tibility|} to.% |
|00003b60| 20 20 20 20 20 20 20 20 | 5c 63 6d 64 7b 5c 40 64 | |\cmd{\@d|
|00003b70| 6f 63 75 6d 65 6e 74 63 | 6c 61 73 73 68 6f 6f 6b |ocumentc|lasshook|
|00003b80| 7d 2c 20 61 6e 64 20 61 | 64 64 65 64 20 74 68 65 |}, and a|dded the|
|00003b90| 20 63 68 65 63 6b 20 66 | 6f 72 20 77 68 65 74 68 | check f|or wheth|
|00003ba0| 65 72 0a 25 20 20 20 20 | 20 20 20 20 20 20 5c 63 |er.% | \c|
|00003bb0| 6d 64 7b 5c 40 6e 6f 72 | 6d 61 6c 73 69 7a 65 7d |md{\@nor|malsize}|
|00003bc0| 20 68 61 73 20 62 65 65 | 6e 20 64 65 66 69 6e 65 | has bee|n define|
|00003bd0| 64 2e 20 20 41 53 41 4a | 2e 7d 0a 25 20 20 20 20 |d. ASAJ|.}.% |
|00003be0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00003bf0| 7d 0a 5c 64 65 66 5c 40 | 64 6f 63 75 6d 65 6e 74 |}.\def\@|document|
|00003c00| 63 6c 61 73 73 68 6f 6f | 6b 7b 25 0a 20 20 20 5c |classhoo|k{%. \|
|00003c10| 69 66 78 5c 40 6e 6f 72 | 6d 61 6c 73 69 7a 65 5c |ifx\@nor|malsize\|
|00003c20| 40 75 6e 64 65 66 69 6e | 65 64 0a 20 20 20 20 20 |@undefin|ed. |
|00003c30| 20 5c 6c 65 74 5c 40 6e | 6f 72 6d 61 6c 73 69 7a | \let\@n|ormalsiz|
|00003c40| 65 5c 6e 6f 72 6d 61 6c | 73 69 7a 65 0a 20 20 20 |e\normal|size. |
|00003c50| 5c 66 69 0a 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |\fi.}.% | \end{|
|00003c60| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 5c 65 6e |macrocod|e}.% \en|
|00003c70| 64 7b 6d 61 63 72 6f 7d | 0a 25 0a 25 20 20 5c 62 |d{macro}|.%.% \b|
|00003c80| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 40 64 65 |egin{mac|ro}{\@de|
|00003c90| 63 6c 61 72 65 64 6f 70 | 74 69 6f 6e 73 7d 0a 25 |claredop|tions}.%|
|00003ca0| 20 20 20 20 54 68 69 73 | 20 6c 69 73 74 20 69 73 | This| list is|
|00003cb0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 62 | automat|ically b|
|00003cc0| 75 69 6c 74 20 62 79 20 | 7c 5c 44 65 63 6c 61 72 |uilt by ||\Declar|
|00003cd0| 65 4f 70 74 69 6f 6e 7c | 2e 0a 25 20 20 20 20 49 |eOption||..% I|
|00003ce0| 74 20 69 73 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |t is the| list of|
|00003cf0| 20 6f 70 74 69 6f 6e 73 | 20 28 73 65 70 61 72 61 | options| (separa|
|00003d00| 74 65 64 20 62 79 20 63 | 6f 6d 6d 61 73 29 20 64 |ted by c|ommas) d|
|00003d10| 65 63 6c 61 72 65 64 20 | 69 6e 0a 25 20 20 20 20 |eclared |in.% |
|00003d20| 74 68 65 20 63 6c 61 73 | 73 20 6f 72 20 70 61 63 |the clas|s or pac|
|00003d30| 6b 61 67 65 20 66 69 6c | 65 20 61 6e 64 20 69 74 |kage fil|e and it|
|00003d40| 20 64 65 66 69 6e 65 73 | 20 74 68 65 20 6f 72 64 | defines| the ord|
|00003d50| 65 72 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 0a |er in wh|ich the.|
|00003d60| 25 20 20 20 20 74 68 65 | 20 63 6f 72 72 65 73 70 |% the| corresp|
|00003d70| 6f 6e 64 69 6e 67 20 7c | 5c 64 73 40 7c 5c 6d 65 |onding ||\ds@|\me|
|00003d80| 74 61 7b 6f 70 74 69 6f | 6e 7d 20 63 6f 6d 6d 61 |ta{optio|n} comma|
|00003d90| 6e 64 73 20 61 72 65 20 | 65 78 65 63 75 74 65 64 |nds are |executed|
|00003da0| 2e 0a 25 20 20 20 20 41 | 6c 6c 20 6c 6f 63 61 6c |..% A|ll local|
|00003db0| 20 5c 6d 65 74 61 7b 6f | 70 74 69 6f 6e 7d 73 20 | \meta{o|ption}s |
|00003dc0| 77 68 69 63 68 20 61 72 | 65 20 6e 6f 74 20 64 65 |which ar|e not de|
|00003dd0| 63 6c 61 72 65 64 20 77 | 69 6c 6c 20 62 65 20 70 |clared w|ill be p|
|00003de0| 72 6f 63 65 73 73 65 64 | 0a 25 20 20 20 20 69 6e |rocessed|.% in|
|00003df0| 20 74 68 65 20 6f 72 64 | 65 72 20 64 65 66 69 6e | the ord|er defin|
|00003e00| 65 64 20 62 79 20 74 68 | 65 20 6f 70 74 69 6f 6e |ed by th|e option|
|00003e10| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 6f 66 20 7c |al argum|ent of ||
|00003e20| 5c 64 6f 63 75 6d 65 6e | 74 63 6c 61 73 73 7c 0a |\documen|tclass|.|
|00003e30| 25 20 20 20 20 6f 72 20 | 7c 5c 75 73 65 70 61 63 |% or ||\usepac|
|00003e40| 6b 61 67 65 7c 2e 0a 25 | 20 20 20 20 5c 62 65 67 |kage|..%| \beg|
|00003e50| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 6c |in{macro|code}.\l|
|00003e60| 65 74 5c 40 64 65 63 6c | 61 72 65 64 6f 70 74 69 |et\@decl|aredopti|
|00003e70| 6f 6e 73 5c 40 65 6d 70 | 74 79 0a 25 20 20 20 20 |ons\@emp|ty.% |
|00003e80| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00003e90| 25 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |% \end{|macro}.%|
|00003ea0| 0a 25 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |.% \beg|in{macro|
|00003eb0| 7d 7b 5c 40 63 6c 61 73 | 73 6f 70 74 69 6f 6e 73 |}{\@clas|soptions|
|00003ec0| 6c 69 73 74 7d 0a 25 20 | 20 20 20 4c 69 73 74 20 |list}.% | List |
|00003ed0| 6f 66 20 6f 70 74 69 6f | 6e 73 20 6f 66 20 74 68 |of optio|ns of th|
|00003ee0| 65 20 6d 61 69 6e 20 63 | 6c 61 73 73 2e 0a 25 20 |e main c|lass..% |
|00003ef0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00003f00| 6f 64 65 7d 0a 5c 6c 65 | 74 5c 40 63 6c 61 73 73 |ode}.\le|t\@class|
|00003f10| 6f 70 74 69 6f 6e 73 6c | 69 73 74 5c 72 65 6c 61 |optionsl|ist\rela|
|00003f20| 78 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |x.% \|end{macr|
|00003f30| 6f 63 6f 64 65 7d 0a 25 | 20 20 5c 65 6e 64 7b 6d |ocode}.%| \end{m|
|00003f40| 61 63 72 6f 7d 0a 25 0a | 25 20 20 5c 62 65 67 69 |acro}.%.|% \begi|
|00003f50| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 40 75 6e 75 73 65 |n{macro}|{\@unuse|
|00003f60| 64 6f 70 74 69 6f 6e 6c | 69 73 74 7d 0a 25 20 20 |doptionl|ist}.% |
|00003f70| 20 20 4c 69 73 74 20 6f | 66 20 6f 70 74 69 6f 6e | List o|f option|
|00003f80| 73 20 6f 66 20 74 68 65 | 20 6d 61 69 6e 20 63 6c |s of the| main cl|
|00003f90| 61 73 73 20 74 68 61 74 | 20 68 61 76 65 6e 27 74 |ass that| haven't|
|00003fa0| 20 62 65 65 6e 20 64 65 | 63 6c 61 72 65 64 20 6f | been de|clared o|
|00003fb0| 72 0a 25 20 20 20 20 6c | 6f 61 64 65 64 20 61 73 |r.% l|oaded as|
|00003fc0| 20 63 6c 61 73 73 20 6f | 70 74 69 6f 6e 20 66 69 | class o|ption fi|
|00003fd0| 6c 65 73 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |les..% | \begin|
|00003fe0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 6c 65 74 |{macroco|de}.\let|
|00003ff0| 5c 40 75 6e 75 73 65 64 | 6f 70 74 69 6f 6e 6c 69 |\@unused|optionli|
|00004000| 73 74 5c 40 65 6d 70 74 | 79 0a 25 20 20 20 20 5c |st\@empt|y.% \|
|00004010| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00004020| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 0a | \end{m|acro}.%.|
|00004030| 25 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |% \begi|n{macro}|
|00004040| 7b 5c 43 75 72 72 65 6e | 74 4f 70 74 69 6f 6e 7d |{\Curren|tOption}|
|00004050| 0a 25 20 20 20 20 4e 61 | 6d 65 20 6f 66 20 63 75 |.% Na|me of cu|
|00004060| 72 72 65 6e 74 20 70 61 | 63 6b 61 67 65 20 6f 72 |rrent pa|ckage or|
|00004070| 20 6f 70 74 69 6f 6e 2e | 0a 25 20 5c 63 68 61 6e | option.|.% \chan|
|00004080| 67 65 73 7b 76 30 2e 32 | 63 7d 7b 31 39 39 33 2f |ges{v0.2|c}{1993/|
|00004090| 31 31 2f 31 37 7d 0a 25 | 20 20 20 20 20 20 20 20 |11/17}.%| |
|000040a0| 20 7b 4e 61 6d 65 20 63 | 68 61 6e 67 65 64 20 66 | {Name c|hanged f|
|000040b0| 72 6f 6d 20 5c 63 6d 64 | 5c 40 63 75 72 72 6f 70 |rom \cmd|\@currop|
|000040c0| 74 69 6f 6e 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |tion}.% | \begi|
|000040d0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6c 65 |n{macroc|ode}.\le|
|000040e0| 74 5c 43 75 72 72 65 6e | 74 4f 70 74 69 6f 6e 5c |t\Curren|tOption\|
|000040f0| 40 65 6d 70 74 79 0a 25 | 20 20 20 20 5c 65 6e 64 |@empty.%| \end|
|00004100| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 20 5c |{macroco|de}.% \|
|00004110| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 25 0a 25 20 20 |end{macr|o}.%.% |
|00004120| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 40 |\begin{m|acro}{\@|
|00004130| 63 75 72 72 6e 61 6d 65 | 7d 0a 25 20 20 20 20 4e |currname|}.% N|
|00004140| 61 6d 65 20 6f 66 20 63 | 75 72 72 65 6e 74 20 70 |ame of c|urrent p|
|00004150| 61 63 6b 61 67 65 20 6f | 72 20 6f 70 74 69 6f 6e |ackage o|r option|
|00004160| 2e 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |..% \|begin{ma|
|00004170| 63 72 6f 63 6f 64 65 7d | 0a 5c 6c 65 74 5c 40 63 |crocode}|.\let\@c|
|00004180| 75 72 72 6e 61 6d 65 5c | 40 65 6d 70 74 79 0a 25 |urrname\|@empty.%|
|00004190| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000041a0| 64 65 7d 0a 25 20 20 5c | 65 6e 64 7b 6d 61 63 72 |de}.% \|end{macr|
|000041b0| 6f 7d 0a 25 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |o}.%.% \|begin{ma|
|000041c0| 63 72 6f 7d 7b 5c 40 63 | 75 72 72 65 78 74 7d 0a |cro}{\@c|urrext}.|
|000041d0| 25 20 20 20 20 54 68 65 | 20 63 75 72 72 65 6e 74 |% The| current|
|000041e0| 20 66 69 6c 65 20 65 78 | 74 65 6e 73 69 6f 6e 2e | file ex|tension.|
|000041f0| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 32 |.% \chan|ges{v0.2|
|00004200| 61 7d 7b 31 39 39 33 2f | 31 31 2f 31 34 7d 7b 4e |a}{1993/|11/14}{N|
|00004210| 61 6d 65 20 63 68 61 6e | 67 65 64 20 66 72 6f 6d |ame chan|ged from|
|00004220| 20 5c 63 6d 64 7b 5c 40 | 63 75 72 72 65 78 74 65 | \cmd{\@|currexte|
|00004230| 6e 73 69 6f 6e 7d 7d 0a | 25 20 20 20 20 5c 62 65 |nsion}}.|% \be|
|00004240| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00004250| 67 6c 6f 62 61 6c 5c 6c | 65 74 5c 40 63 75 72 72 |global\l|et\@curr|
|00004260| 65 78 74 3d 5c 40 65 6d | 70 74 79 0a 25 20 20 20 |ext=\@em|pty.% |
|00004270| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00004280| 0a 25 20 5c 65 6e 64 7b | 6d 61 63 72 6f 7d 0a 25 |.% \end{|macro}.%|
|00004290| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|000042a0| 7b 5c 40 63 6c 73 65 78 | 74 65 6e 73 69 6f 6e 7d |{\@clsex|tension}|
|000042b0| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|000042c0| 7b 5c 40 70 6b 67 65 78 | 74 65 6e 73 69 6f 6e 7d |{\@pkgex|tension}|
|000042d0| 0a 25 20 20 20 20 54 68 | 65 20 74 77 6f 20 70 6f |.% Th|e two po|
|000042e0| 73 73 69 62 6c 65 20 76 | 61 6c 75 65 73 20 6f 66 |ssible v|alues of|
|000042f0| 20 7c 5c 40 63 75 72 72 | 65 78 74 7c 2e 0a 25 20 | |\@curr|ext|..% |
|00004300| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00004310| 6f 64 65 7d 0a 5c 64 65 | 66 5c 40 63 6c 73 65 78 |ode}.\de|f\@clsex|
|00004320| 74 65 6e 73 69 6f 6e 7b | 63 6c 73 7d 0a 5c 64 65 |tension{|cls}.\de|
|00004330| 66 5c 40 70 6b 67 65 78 | 74 65 6e 73 69 6f 6e 7b |f\@pkgex|tension{|
|00004340| 73 74 79 7d 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |sty}.\@o|nlypream|
|00004350| 62 6c 65 5c 40 63 6c 73 | 65 78 74 65 6e 73 69 6f |ble\@cls|extensio|
|00004360| 6e 0a 5c 40 6f 6e 6c 79 | 70 72 65 61 6d 62 6c 65 |n.\@only|preamble|
|00004370| 5c 40 70 6b 67 65 78 74 | 65 6e 73 69 6f 6e 0a 25 |\@pkgext|ension.%|
|00004380| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00004390| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|000043a0| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|000043b0| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|000043c0| 7d 7b 5c 40 70 75 73 68 | 66 69 6c 65 6e 61 6d 65 |}{\@push|filename|
|000043d0| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |}.% \beg|in{macro|
|000043e0| 7d 7b 5c 40 70 6f 70 66 | 69 6c 65 6e 61 6d 65 7d |}{\@popf|ilename}|
|000043f0| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00004400| 7b 5c 40 63 75 72 72 6e | 61 6d 65 73 74 61 63 6b |{\@currn|amestack|
|00004410| 7d 0a 25 20 43 6f 6d 6d | 61 6e 64 73 20 74 6f 20 |}.% Comm|ands to |
|00004420| 70 75 73 68 20 61 6e 64 | 20 70 6f 70 20 74 68 65 |push and| pop the|
|00004430| 20 66 69 6c 65 20 6e 61 | 6d 65 20 61 6e 64 20 65 | file na|me and e|
|00004440| 78 74 65 6e 73 69 6f 6e | 2e 20 5c 5c 0a 25 20 7c |xtension|. \\.% ||
|00004450| 23 31 7c 20 63 75 72 72 | 65 6e 74 20 6e 61 6d 65 |#1| curr|ent name|
|00004460| 2e 20 20 20 20 20 20 5c | 5c 0a 25 20 7c 23 32 7c |. \|\.% |#2||
|00004470| 20 63 75 72 72 65 6e 74 | 20 65 78 74 65 6e 73 69 | current| extensi|
|00004480| 6f 6e 2e 20 5c 5c 0a 25 | 20 7c 23 33 7c 20 63 75 |on. \\.%| |#3| cu|
|00004490| 72 72 65 6e 74 20 63 61 | 74 63 6f 64 65 20 6f 66 |rrent ca|tcode of|
|000044a0| 20 7c 40 7c 2e 20 5c 5c | 0a 25 20 7c 23 34 7c 20 | |@|. \\|.% |#4| |
|000044b0| 52 65 73 74 20 6f 66 20 | 74 68 65 20 73 74 61 63 |Rest of |the stac|
|000044c0| 6b 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |k..% |\begin{m|
|000044d0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 40 |acrocode|}.\def\@|
|000044e0| 70 75 73 68 66 69 6c 65 | 6e 61 6d 65 7b 25 0a 20 |pushfile|name{%. |
|000044f0| 20 5c 78 64 65 66 5c 40 | 63 75 72 72 6e 61 6d 65 | \xdef\@|currname|
|00004500| 73 74 61 63 6b 7b 25 0a | 20 20 20 20 7b 5c 40 63 |stack{%.| {\@c|
|00004510| 75 72 72 6e 61 6d 65 7d | 25 0a 20 20 20 20 7b 5c |urrname}|%. {\|
|00004520| 40 63 75 72 72 65 78 74 | 7d 25 0a 20 20 20 20 7b |@currext|}%. {|
|00004530| 5c 74 68 65 5c 63 61 74 | 63 6f 64 65 60 5c 40 7d |\the\cat|code`\@}|
|00004540| 25 0a 20 20 20 20 5c 40 | 63 75 72 72 6e 61 6d 65 |%. \@|currname|
|00004550| 73 74 61 63 6b 7d 7d 0a | 5c 40 6f 6e 6c 79 70 72 |stack}}.|\@onlypr|
|00004560| 65 61 6d 62 6c 65 5c 40 | 70 75 73 68 66 69 6c 65 |eamble\@|pushfile|
|00004570| 6e 61 6d 65 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |name.% | \end{m|
|00004580| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 20 20 |acrocode|}.%.% |
|00004590| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000045a0| 65 7d 0a 5c 64 65 66 5c | 40 70 6f 70 66 69 6c 65 |e}.\def\|@popfile|
|000045b0| 6e 61 6d 65 7b 5c 65 78 | 70 61 6e 64 61 66 74 65 |name{\ex|pandafte|
|000045c0| 72 5c 40 70 40 70 66 69 | 6c 65 6e 61 6d 65 5c 40 |r\@p@pfi|lename\@|
|000045d0| 63 75 72 72 6e 61 6d 65 | 73 74 61 63 6b 5c 40 6e |currname|stack\@n|
|000045e0| 69 6c 7d 0a 5c 40 6f 6e | 6c 79 70 72 65 61 6d 62 |il}.\@on|lypreamb|
|000045f0| 6c 65 5c 40 70 6f 70 66 | 69 6c 65 6e 61 6d 65 0a |le\@popf|ilename.|
|00004600| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00004610| 6f 64 65 7d 0a 25 0a 25 | 20 20 20 20 5c 62 65 67 |ode}.%.%| \beg|
|00004620| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00004630| 65 66 5c 40 70 40 70 66 | 69 6c 65 6e 61 6d 65 23 |ef\@p@pf|ilename#|
|00004640| 31 23 32 23 33 23 34 5c | 40 6e 69 6c 7b 25 0a 20 |1#2#3#4\|@nil{%. |
|00004650| 20 5c 67 64 65 66 5c 40 | 63 75 72 72 6e 61 6d 65 | \gdef\@|currname|
|00004660| 7b 23 31 7d 25 0a 20 20 | 5c 67 64 65 66 5c 40 63 |{#1}%. |\gdef\@c|
|00004670| 75 72 72 65 78 74 7b 23 | 32 7d 25 0a 20 20 5c 63 |urrext{#|2}%. \c|
|00004680| 61 74 63 6f 64 65 60 5c | 40 23 33 5c 72 65 6c 61 |atcode`\|@#3\rela|
|00004690| 78 0a 20 20 5c 67 64 65 | 66 5c 40 63 75 72 72 6e |x. \gde|f\@currn|
|000046a0| 61 6d 65 73 74 61 63 6b | 7b 23 34 7d 7d 0a 5c 40 |amestack|{#4}}.\@|
|000046b0| 6f 6e 6c 79 70 72 65 61 | 6d 62 6c 65 5c 40 70 40 |onlyprea|mble\@p@|
|000046c0| 70 66 69 6c 65 6e 61 6d | 65 0a 25 20 20 20 20 5c |pfilenam|e.% \|
|000046d0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|000046e0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|000046f0| 72 6f 63 6f 64 65 7d 0a | 5c 67 64 65 66 5c 40 63 |rocode}.|\gdef\@c|
|00004700| 75 72 72 6e 61 6d 65 73 | 74 61 63 6b 7b 7d 0a 5c |urrnames|tack{}.\|
|00004710| 40 6f 6e 6c 79 70 72 65 | 61 6d 62 6c 65 5c 40 63 |@onlypre|amble\@c|
|00004720| 75 72 72 6e 61 6d 65 73 | 74 61 63 6b 0a 25 20 20 |urrnames|tack.% |
|00004730| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00004740| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00004750| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 20 |% \end{m|acro}.% |
|00004760| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 0a 25 20 |\end{mac|ro}.%.% |
|00004770| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 40 |\begin{m|acro}{\@|
|00004780| 70 74 69 6f 6e 6c 69 73 | 74 7d 0a 25 20 20 20 20 |ptionlis|t}.% |
|00004790| 52 65 74 75 72 6e 73 20 | 74 68 65 20 6f 70 74 69 |Returns |the opti|
|000047a0| 6f 6e 20 6c 69 73 74 20 | 6f 66 20 74 68 65 20 66 |on list |of the f|
|000047b0| 69 6c 65 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ile..% | \begin|
|000047c0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|000047d0| 5c 40 70 74 69 6f 6e 6c | 69 73 74 23 31 7b 25 0a |\@ptionl|ist#1{%.|
|000047e0| 20 20 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b | \@ifun|defined{|
|000047f0| 6f 70 74 40 23 31 7d 5c | 40 65 6d 70 74 79 7b 5c |opt@#1}\|@empty{\|
|00004800| 63 73 6e 61 6d 65 20 6f | 70 74 40 23 31 5c 65 6e |csname o|pt@#1\en|
|00004810| 64 63 73 6e 61 6d 65 7d | 7d 0a 5c 40 6f 6e 6c 79 |dcsname}|}.\@only|
|00004820| 70 72 65 61 6d 62 6c 65 | 5c 40 70 74 69 6f 6e 6c |preamble|\@ptionl|
|00004830| 69 73 74 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |ist.% | \end{ma|
|00004840| 63 72 6f 63 6f 64 65 7d | 0a 25 20 5c 65 6e 64 7b |crocode}|.% \end{|
|00004850| 6d 61 63 72 6f 7d 0a 25 | 0a 25 20 5c 62 65 67 69 |macro}.%|.% \begi|
|00004860| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 40 69 66 70 61 63 |n{macro}|{\@ifpac|
|00004870| 6b 61 67 65 6c 6f 61 64 | 65 64 7d 0a 25 20 5c 62 |kageload|ed}.% \b|
|00004880| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 40 69 66 |egin{mac|ro}{\@if|
|00004890| 63 6c 61 73 73 6c 6f 61 | 64 65 64 7d 0a 25 20 20 |classloa|ded}.% |
|000048a0| 20 7c 5c 40 69 66 70 61 | 63 6b 61 67 65 6c 6f 61 | |\@ifpa|ckageloa|
|000048b0| 64 65 64 7b 7c 5c 6d 65 | 74 61 7b 6e 61 6d 65 7d |ded{|\me|ta{name}|
|000048c0| 7c 7d 7c 0a 25 20 20 43 | 68 65 63 6b 73 20 74 6f ||}|.% C|hecks to|
|000048d0| 20 73 65 65 20 77 68 65 | 74 68 65 72 20 61 20 66 | see whe|ther a f|
|000048e0| 69 6c 65 20 68 61 73 20 | 62 65 65 6e 20 6c 6f 61 |ile has |been loa|
|000048f0| 64 65 64 2e 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |ded..% \|changes{|
|00004900| 76 30 2e 32 74 7d 7b 31 | 39 39 34 2f 30 31 2f 31 |v0.2t}{1|994/01/1|
|00004910| 38 7d 0a 25 20 20 20 20 | 20 20 20 20 20 7b 46 69 |8}.% | {Fi|
|00004920| 78 20 74 79 70 6f 20 5c | 63 6d 64 7b 5c 40 70 6b |x typo \|cmd{\@pk|
|00004930| 67 65 74 65 6e 73 69 6f | 6e 7d 7d 0a 25 20 20 20 |getensio|n}}.% |
|00004940| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|00004950| 65 7d 0a 5c 64 65 66 5c | 40 69 66 70 61 63 6b 61 |e}.\def\|@ifpacka|
|00004960| 67 65 6c 6f 61 64 65 64 | 7b 5c 40 69 66 6c 40 61 |geloaded|{\@ifl@a|
|00004970| 64 65 64 5c 40 70 6b 67 | 65 78 74 65 6e 73 69 6f |ded\@pkg|extensio|
|00004980| 6e 7d 0a 5c 64 65 66 5c | 40 69 66 63 6c 61 73 73 |n}.\def\|@ifclass|
|00004990| 6c 6f 61 64 65 64 7b 5c | 40 69 66 6c 40 61 64 65 |loaded{\|@ifl@ade|
|000049a0| 64 5c 40 63 6c 73 65 78 | 74 65 6e 73 69 6f 6e 7d |d\@clsex|tension}|
|000049b0| 0a 5c 40 6f 6e 6c 79 70 | 72 65 61 6d 62 6c 65 5c |.\@onlyp|reamble\|
|000049c0| 40 69 66 70 61 63 6b 61 | 67 65 6c 6f 61 64 65 64 |@ifpacka|geloaded|
|000049d0| 0a 5c 40 6f 6e 6c 79 70 | 72 65 61 6d 62 6c 65 5c |.\@onlyp|reamble\|
|000049e0| 40 69 66 63 6c 61 73 73 | 6c 6f 61 64 65 64 0a 25 |@ifclass|loaded.%|
|000049f0| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00004a00| 64 65 7d 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |de}.%.% | \begi|
|00004a10| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00004a20| 66 5c 40 69 66 6c 40 61 | 64 65 64 23 31 23 32 7b |f\@ifl@a|ded#1#2{|
|00004a30| 25 0a 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 |%. \exp|andafter|
|00004a40| 5c 69 66 78 5c 63 73 6e | 61 6d 65 20 76 65 72 40 |\ifx\csn|ame ver@|
|00004a50| 23 32 2e 23 31 5c 65 6e | 64 63 73 6e 61 6d 65 5c |#2.#1\en|dcsname\|
|00004a60| 72 65 6c 61 78 0a 20 20 | 20 20 5c 65 78 70 61 6e |relax. | \expan|
|00004a70| 64 61 66 74 65 72 5c 40 | 73 65 63 6f 6e 64 6f 66 |dafter\@|secondof|
|00004a80| 74 77 6f 0a 20 20 5c 65 | 6c 73 65 0a 20 20 20 20 |two. \e|lse. |
|00004a90| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 40 66 69 |\expanda|fter\@fi|
|00004aa0| 72 73 74 6f 66 74 77 6f | 0a 20 20 5c 66 69 7d 0a |rstoftwo|. \fi}.|
|00004ab0| 5c 40 6f 6e 6c 79 70 72 | 65 61 6d 62 6c 65 5c 40 |\@onlypr|eamble\@|
|00004ac0| 69 66 6c 40 61 64 65 64 | 0a 25 20 20 20 20 5c 65 |ifl@aded|.% \e|
|00004ad0| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|00004ae0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 20 5c 65 |\end{mac|ro}.% \e|
|00004af0| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 0a 25 20 5c 62 |nd{macro|}.%.% \b|
|00004b00| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 40 69 66 |egin{mac|ro}{\@if|
|00004b10| 70 61 63 6b 61 67 65 6c | 61 74 65 72 7d 0a 25 20 |packagel|ater}.% |
|00004b20| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 40 |\begin{m|acro}{\@|
|00004b30| 69 66 63 6c 61 73 73 6c | 61 74 65 72 7d 0a 25 20 |ifclassl|ater}.% |
|00004b40| 7c 5c 40 69 66 70 61 63 | 6b 61 67 65 6c 61 74 65 ||\@ifpac|kagelate|
|00004b50| 72 7b 7c 5c 6d 65 74 61 | 7b 6e 61 6d 65 7d 7c 7d |r{|\meta|{name}|}|
|00004b60| 7b 59 59 59 59 2f 4d 4d | 2f 44 44 7d 7c 0a 25 20 |{YYYY/MM|/DD}|.% |
|00004b70| 43 68 65 63 6b 73 20 74 | 68 61 74 20 74 68 65 20 |Checks t|hat the |
|00004b80| 70 61 63 6b 61 67 65 20 | 6c 6f 61 64 65 64 20 69 |package |loaded i|
|00004b90| 73 20 6d 6f 72 65 20 72 | 65 63 65 6e 74 20 74 68 |s more r|ecent th|
|00004ba0| 61 6e 20 74 68 65 20 67 | 69 76 65 6e 20 64 61 74 |an the g|iven dat|
|00004bb0| 65 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |e..% |\begin{m|
|00004bc0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 40 |acrocode|}.\def\@|
|00004bd0| 69 66 70 61 63 6b 61 67 | 65 6c 61 74 65 72 7b 5c |ifpackag|elater{\|
|00004be0| 40 69 66 6c 40 74 65 72 | 5c 40 70 6b 67 65 78 74 |@ifl@ter|\@pkgext|
|00004bf0| 65 6e 73 69 6f 6e 7d 0a | 5c 64 65 66 5c 40 69 66 |ension}.|\def\@if|
|00004c00| 63 6c 61 73 73 6c 61 74 | 65 72 7b 5c 40 69 66 6c |classlat|er{\@ifl|
|00004c10| 40 74 65 72 5c 40 63 6c | 73 65 78 74 65 6e 73 69 |@ter\@cl|sextensi|
|00004c20| 6f 6e 7d 0a 5c 40 6f 6e | 6c 79 70 72 65 61 6d 62 |on}.\@on|lypreamb|
|00004c30| 6c 65 5c 40 69 66 70 61 | 63 6b 61 67 65 6c 61 74 |le\@ifpa|ckagelat|
|00004c40| 65 72 0a 5c 40 6f 6e 6c | 79 70 72 65 61 6d 62 6c |er.\@onl|ypreambl|
|00004c50| 65 5c 40 69 66 63 6c 61 | 73 73 6c 61 74 65 72 0a |e\@ifcla|sslater.|
|00004c60| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00004c70| 6f 64 65 7d 0a 25 0a 25 | 20 20 20 20 5c 62 65 67 |ode}.%.%| \beg|
|00004c80| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00004c90| 65 66 5c 40 69 66 6c 40 | 74 65 72 23 31 23 32 7b |ef\@ifl@|ter#1#2{|
|00004ca0| 25 0a 20 20 5c 65 78 70 | 61 6e 64 61 66 74 65 72 |%. \exp|andafter|
|00004cb0| 5c 40 69 66 6c 40 74 40 | 72 0a 20 20 20 20 5c 63 |\@ifl@t@|r. \c|
|00004cc0| 73 6e 61 6d 65 20 76 65 | 72 40 23 32 2e 23 31 5c |sname ve|r@#2.#1\|
|00004cd0| 65 6e 64 63 73 6e 61 6d | 65 7d 0a 5c 40 6f 6e 6c |endcsnam|e}.\@onl|
|00004ce0| 79 70 72 65 61 6d 62 6c | 65 5c 40 69 66 6c 40 74 |ypreambl|e\@ifl@t|
|00004cf0| 65 72 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |er.% |\end{mac|
|00004d00| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 54 68 69 73 |rocode}.|%.% This|
|00004d10| 20 69 6e 74 65 72 6e 61 | 6c 20 6d 61 63 72 6f 20 | interna|l macro |
|00004d20| 69 73 20 61 6c 73 6f 20 | 75 73 65 64 20 69 6e 20 |is also |used in |
|00004d30| 7c 5c 4e 65 65 64 73 54 | 65 58 46 6f 72 6d 61 74 ||\NeedsT|eXFormat|
|00004d40| 7c 2e 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 ||..% \ch|anges{v0|
|00004d50| 2e 32 66 7d 7b 31 39 39 | 33 2f 31 31 2f 32 32 7d |.2f}{199|3/11/22}|
|00004d60| 0a 25 20 20 20 20 20 20 | 20 20 20 7b 41 64 64 65 |.% | {Adde|
|00004d70| 64 20 2f 2f 30 30 20 73 | 6f 20 70 61 72 73 69 6e |d //00 s|o parsin|
|00004d80| 67 20 6e 65 76 65 72 20 | 70 72 6f 64 75 63 65 73 |g never |produces|
|00004d90| 20 61 20 72 75 6e 61 77 | 61 79 20 61 72 67 75 6d | a runaw|ay argum|
|00004da0| 65 6e 74 2e 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |ent.}.% | \begi|
|00004db0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|00004dc0| 66 5c 40 69 66 6c 40 74 | 40 72 23 31 23 32 7b 25 |f\@ifl@t|@r#1#2{%|
|00004dd0| 0a 20 20 5c 69 66 6e 75 | 6d 5c 65 78 70 61 6e 64 |. \ifnu|m\expand|
|00004de0| 61 66 74 65 72 5c 40 70 | 61 72 73 65 40 76 65 72 |after\@p|arse@ver|
|00004df0| 73 69 6f 6e 23 31 2f 2f | 30 30 5c 40 6e 69 6c 3c |sion#1//|00\@nil<|
|00004e00| 25 0a 20 20 20 20 20 20 | 20 20 5c 65 78 70 61 6e |%. | \expan|
|00004e10| 64 61 66 74 65 72 5c 40 | 70 61 72 73 65 40 76 65 |dafter\@|parse@ve|
|00004e20| 72 73 69 6f 6e 23 32 2f | 2f 30 30 5c 40 6e 69 6c |rsion#2/|/00\@nil|
|00004e30| 0a 20 20 20 20 5c 65 78 | 70 61 6e 64 61 66 74 65 |. \ex|pandafte|
|00004e40| 72 5c 40 73 65 63 6f 6e | 64 6f 66 74 77 6f 0a 20 |r\@secon|doftwo. |
|00004e50| 20 5c 65 6c 73 65 0a 20 | 20 20 20 5c 65 78 70 61 | \else. | \expa|
|00004e60| 6e 64 61 66 74 65 72 5c | 40 66 69 72 73 74 6f 66 |ndafter\|@firstof|
|00004e70| 74 77 6f 0a 20 20 5c 66 | 69 7d 0a 5c 40 6f 6e 6c |two. \f|i}.\@onl|
|00004e80| 79 70 72 65 61 6d 62 6c | 65 5c 40 69 66 6c 40 74 |ypreambl|e\@ifl@t|
|00004e90| 40 72 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |@r.% |\end{mac|
|00004ea0| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 20 20 20 5c |rocode}.|%.% \|
|00004eb0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00004ec0| 0a 5c 64 65 66 5c 40 70 | 61 72 73 65 40 76 65 72 |.\def\@p|arse@ver|
|00004ed0| 73 69 6f 6e 23 31 2f 23 | 32 2f 23 33 23 34 23 35 |sion#1/#|2/#3#4#5|
|00004ee0| 5c 40 6e 69 6c 7b 23 31 | 23 32 23 33 23 34 20 7d |\@nil{#1|#2#3#4 }|
|00004ef0| 0a 5c 40 6f 6e 6c 79 70 | 72 65 61 6d 62 6c 65 5c |.\@onlyp|reamble\|
|00004f00| 40 70 61 72 73 65 40 76 | 65 72 73 69 6f 6e 0a 25 |@parse@v|ersion.%|
|00004f10| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00004f20| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|00004f30| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00004f40| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00004f50| 7d 7b 5c 40 69 66 70 61 | 63 6b 61 67 65 77 69 74 |}{\@ifpa|ckagewit|
|00004f60| 68 7d 0a 25 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |h}.% \be|gin{macr|
|00004f70| 6f 7d 7b 5c 40 69 66 63 | 6c 61 73 73 77 69 74 68 |o}{\@ifc|lasswith|
|00004f80| 7d 0a 25 20 7c 5c 40 69 | 66 70 61 63 6b 61 67 65 |}.% |\@i|fpackage|
|00004f90| 77 69 74 68 7b 7c 5c 6d | 65 74 61 7b 6e 61 6d 65 |with{|\m|eta{name|
|00004fa0| 7d 7c 7d 7b 7c 5c 6d 65 | 74 61 7b 6f 70 74 69 6f |}|}{|\me|ta{optio|
|00004fb0| 6e 2d 6c 69 73 74 7d 7c | 7d 7c 0a 25 20 43 68 65 |n-list}||}|.% Che|
|00004fc0| 63 6b 73 20 74 68 61 74 | 20 5c 6d 65 74 61 7b 6f |cks that| \meta{o|
|00004fd0| 70 74 69 6f 6e 2d 6c 69 | 73 74 7d 20 69 73 20 61 |ption-li|st} is a|
|00004fe0| 20 73 75 62 73 65 74 20 | 6f 66 20 74 68 65 20 6f | subset |of the o|
|00004ff0| 70 74 69 6f 6e 73 0a 25 | 20 5c 74 65 78 74 62 66 |ptions.%| \textbf|
|00005000| 7b 77 69 74 68 7d 20 77 | 68 69 63 68 20 5c 6d 65 |{with} w|hich \me|
|00005010| 74 61 7b 6e 61 6d 65 7d | 20 77 61 73 20 6c 6f 61 |ta{name}| was loa|
|00005020| 64 65 64 2e 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ded..% | \begin|
|00005030| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00005040| 5c 40 69 66 70 61 63 6b | 61 67 65 77 69 74 68 7b |\@ifpack|agewith{|
|00005050| 5c 40 69 66 40 70 74 69 | 6f 6e 73 5c 40 70 6b 67 |\@if@pti|ons\@pkg|
|00005060| 65 78 74 65 6e 73 69 6f | 6e 7d 0a 5c 64 65 66 5c |extensio|n}.\def\|
|00005070| 40 69 66 63 6c 61 73 73 | 77 69 74 68 7b 5c 40 69 |@ifclass|with{\@i|
|00005080| 66 40 70 74 69 6f 6e 73 | 5c 40 63 6c 73 65 78 74 |f@ptions|\@clsext|
|00005090| 65 6e 73 69 6f 6e 7d 0a | 5c 40 6f 6e 6c 79 70 72 |ension}.|\@onlypr|
|000050a0| 65 61 6d 62 6c 65 5c 40 | 69 66 70 61 63 6b 61 67 |eamble\@|ifpackag|
|000050b0| 65 77 69 74 68 0a 5c 40 | 6f 6e 6c 79 70 72 65 61 |ewith.\@|onlyprea|
|000050c0| 6d 62 6c 65 5c 40 69 66 | 63 6c 61 73 73 77 69 74 |mble\@if|classwit|
|000050d0| 68 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |h.% \|end{macr|
|000050e0| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 20 20 20 5c 62 |ocode}.%|.% \b|
|000050f0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00005100| 5c 64 65 66 5c 40 69 66 | 40 70 74 69 6f 6e 73 23 |\def\@if|@ptions#|
|00005110| 31 23 32 7b 25 0a 20 20 | 5c 40 65 78 70 61 6e 64 |1#2{%. |\@expand|
|00005120| 74 77 6f 61 72 67 73 5c | 40 69 66 40 70 74 69 40 |twoargs\|@if@pti@|
|00005130| 6e 73 7b 5c 40 70 74 69 | 6f 6e 6c 69 73 74 7b 23 |ns{\@pti|onlist{#|
|00005140| 32 2e 23 31 7d 7d 7d 0a | 5c 40 6f 6e 6c 79 70 72 |2.#1}}}.|\@onlypr|
|00005150| 65 61 6d 62 6c 65 5c 40 | 69 66 40 70 74 69 6f 6e |eamble\@|if@ption|
|00005160| 73 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |s.% \|end{macr|
|00005170| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 50 72 6f 62 61 |ocode}.%|.% Proba|
|00005180| 62 6c 79 20 73 68 6f 75 | 6c 64 6e 74 20 75 73 65 |bly shou|ldnt use|
|00005190| 20 7c 5c 43 75 72 72 65 | 6e 74 4f 70 74 69 6f 6e | |\Curre|ntOption|
|000051a0| 7c 20 68 65 72 65 5c 6c | 64 6f 74 73 20 28 63 68 || here\l|dots (ch|
|000051b0| 61 6e 67 65 64 20 74 6f | 0a 25 20 7c 5c 72 65 73 |anged to|.% |\res|
|000051c0| 65 72 76 65 64 40 62 7c | 2e 29 0a 25 20 5c 63 68 |erved@b||.).% \ch|
|000051d0| 61 6e 67 65 73 7b 76 30 | 2e 32 79 7d 7b 31 39 39 |anges{v0|.2y}{199|
|000051e0| 34 2f 30 32 2f 30 37 7d | 0a 25 20 20 20 20 20 20 |4/02/07}|.% |
|000051f0| 20 20 20 7b 41 64 64 20 | 65 78 74 72 61 20 2c 73 | {Add |extra ,s|
|00005200| 20 73 6f 20 60 74 77 6f | 27 20 69 73 20 6e 6f 74 | so `two|' is not|
|00005210| 20 6d 61 74 63 68 65 64 | 20 77 69 74 68 20 60 74 | matched| with `t|
|00005220| 77 6f 63 6f 6c 75 6d 6e | 27 7d 0a 25 20 20 20 20 |wocolumn|'}.% |
|00005230| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00005240| 7d 0a 5c 64 65 66 5c 40 | 69 66 40 70 74 69 40 6e |}.\def\@|if@pti@n|
|00005250| 73 23 31 23 32 7b 25 0a | 20 20 5c 6c 65 74 5c 72 |s#1#2{%.| \let\r|
|00005260| 65 73 65 72 76 65 64 40 | 61 5c 40 66 69 72 73 74 |eserved@|a\@first|
|00005270| 6f 66 74 77 6f 0a 20 20 | 5c 40 66 6f 72 5c 72 65 |oftwo. |\@for\re|
|00005280| 73 65 72 76 65 64 40 62 | 3a 3d 23 32 5c 64 6f 7b |served@b|:=#2\do{|
|00005290| 25 0a 20 20 20 20 5c 65 | 78 70 61 6e 64 61 66 74 |%. \e|xpandaft|
|000052a0| 65 72 5c 69 6e 40 5c 65 | 78 70 61 6e 64 61 66 74 |er\in@\e|xpandaft|
|000052b0| 65 72 7b 5c 65 78 70 61 | 6e 64 61 66 74 65 72 2c |er{\expa|ndafter,|
|000052c0| 5c 72 65 73 65 72 76 65 | 64 40 62 2c 7d 7b 2c 23 |\reserve|d@b,}{,#|
|000052d0| 31 2c 7d 25 0a 20 20 20 | 20 5c 69 66 69 6e 40 5c |1,}%. | \ifin@\|
|000052e0| 65 6c 73 65 5c 6c 65 74 | 5c 72 65 73 65 72 76 65 |else\let|\reserve|
|000052f0| 64 40 61 5c 40 73 65 63 | 6f 6e 64 6f 66 74 77 6f |d@a\@sec|ondoftwo|
|00005300| 5c 66 69 7d 25 0a 20 20 | 5c 72 65 73 65 72 76 65 |\fi}%. |\reserve|
|00005310| 64 40 61 7d 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |d@a}.\@o|nlypream|
|00005320| 62 6c 65 5c 40 69 66 40 | 70 74 69 40 6e 73 0a 25 |ble\@if@|pti@ns.%|
|00005330| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00005340| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|00005350| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00005360| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00005370| 7d 7b 5c 50 72 6f 76 69 | 64 65 73 50 61 63 6b 61 |}{\Provi|desPacka|
|00005380| 67 65 7d 0a 25 20 20 20 | 20 43 68 65 63 6b 73 20 |ge}.% | Checks |
|00005390| 74 68 61 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |that the| current|
|000053a0| 20 66 69 6c 65 6e 61 6d | 65 20 69 73 20 63 6f 72 | filenam|e is cor|
|000053b0| 72 65 63 74 2c 20 61 6e | 64 20 64 65 66 69 6e 65 |rect, an|d define|
|000053c0| 73 0a 25 20 20 20 20 7c | 5c 76 65 72 40 66 69 6c |s.% ||\ver@fil|
|000053d0| 65 6e 61 6d 65 7c 2e 0a | 25 20 5c 63 68 61 6e 67 |ename|..|% \chang|
|000053e0| 65 73 7b 76 30 2e 33 63 | 7d 7b 31 39 39 34 2f 30 |es{v0.3c|}{1994/0|
|000053f0| 33 2f 31 32 7d 0a 25 20 | 20 20 20 20 20 20 20 20 |3/12}.% | |
|00005400| 7b 41 64 64 20 5c 63 6d | 64 7b 5c 77 6c 6f 67 7d |{Add \cm|d{\wlog}|
|00005410| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 30 2e |}.% \cha|nges{v0.|
|00005420| 33 63 7d 7b 31 39 39 34 | 2f 30 33 2f 31 32 7d 0a |3c}{1994|/03/12}.|
|00005430| 25 20 20 20 20 20 20 20 | 20 20 7b 75 73 65 20 5c |% | {use \|
|00005440| 63 6d 64 7b 5c 40 67 74 | 65 6d 70 61 7d 7d 0a 25 |cmd{\@gt|empa}}.%|
|00005450| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00005460| 63 6f 64 65 7d 0a 5c 64 | 65 66 5c 50 72 6f 76 69 |code}.\d|ef\Provi|
|00005470| 64 65 73 50 61 63 6b 61 | 67 65 23 31 7b 25 0a 20 |desPacka|ge#1{%. |
|00005480| 20 5c 78 64 65 66 5c 40 | 67 74 65 6d 70 61 7b 23 | \xdef\@|gtempa{#|
|00005490| 31 7d 25 0a 20 20 5c 69 | 66 78 5c 40 67 74 65 6d |1}%. \i|fx\@gtem|
|000054a0| 70 61 5c 40 63 75 72 72 | 6e 61 6d 65 5c 65 6c 73 |pa\@curr|name\els|
|000054b0| 65 0a 20 20 20 20 5c 40 | 6c 61 74 65 78 40 77 61 |e. \@|latex@wa|
|000054c0| 72 6e 69 6e 67 40 6e 6f | 40 6c 69 6e 65 7b 59 6f |rning@no|@line{Yo|
|000054d0| 75 20 68 61 76 65 20 72 | 65 71 75 65 73 74 65 64 |u have r|equested|
|000054e0| 0a 20 20 20 20 20 20 5c | 40 63 6c 73 40 70 6b 67 |. \|@cls@pkg|
|000054f0| 5c 73 70 61 63 65 60 5c | 40 63 75 72 72 6e 61 6d |\space`\|@currnam|
|00005500| 65 27 2c 5c 4d 65 73 73 | 61 67 65 42 72 65 61 6b |e',\Mess|ageBreak|
|00005510| 0a 20 20 20 20 20 20 20 | 62 75 74 20 74 68 65 20 |. |but the |
|00005520| 5c 40 63 6c 73 40 70 6b | 67 5c 73 70 61 63 65 20 |\@cls@pk|g\space |
|00005530| 70 72 6f 76 69 64 65 73 | 20 60 23 31 27 7d 25 0a |provides| `#1'}%.|
|00005540| 20 20 5c 66 69 0a 20 20 | 5c 40 69 66 6e 65 78 74 | \fi. |\@ifnext|
|00005550| 63 68 61 72 5b 5c 40 70 | 72 40 76 69 64 65 70 61 |char[\@p|r@videpa|
|00005560| 63 6b 61 67 65 7b 5c 40 | 70 72 40 76 69 64 65 70 |ckage{\@|pr@videp|
|00005570| 61 63 6b 61 67 65 5b 5d | 7d 7d 25 5d 0a 5c 40 6f |ackage[]|}}%].\@o|
|00005580| 6e 6c 79 70 72 65 61 6d | 62 6c 65 5c 50 72 6f 76 |nlypream|ble\Prov|
|00005590| 69 64 65 73 50 61 63 6b | 61 67 65 0a 25 20 20 20 |idesPack|age.% |
|000055a0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|000055b0| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|000055c0| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 64 65 66 5c 40 |acrocode|}.\def\@|
|000055d0| 70 72 40 76 69 64 65 70 | 61 63 6b 61 67 65 5b 23 |pr@videp|ackage[#|
|000055e0| 31 5d 7b 25 0a 20 20 5c | 65 78 70 61 6e 64 61 66 |1]{%. \|expandaf|
|000055f0| 74 65 72 5c 78 64 65 66 | 5c 63 73 6e 61 6d 65 20 |ter\xdef|\csname |
|00005600| 76 65 72 40 5c 40 63 75 | 72 72 6e 61 6d 65 2e 5c |ver@\@cu|rrname.\|
|00005610| 40 63 75 72 72 65 78 74 | 5c 65 6e 64 63 73 6e 61 |@currext|\endcsna|
|00005620| 6d 65 7b 23 31 7d 25 0a | 20 20 5c 69 66 78 5c 40 |me{#1}%.| \ifx\@|
|00005630| 63 75 72 72 65 78 74 5c | 40 63 6c 73 65 78 74 65 |currext\|@clsexte|
|00005640| 6e 73 69 6f 6e 0a 20 20 | 20 20 5c 74 79 70 65 6f |nsion. | \typeo|
|00005650| 75 74 7b 44 6f 63 75 6d | 65 6e 74 20 43 6c 61 73 |ut{Docum|ent Clas|
|00005660| 73 3a 20 5c 40 67 74 65 | 6d 70 61 5c 73 70 61 63 |s: \@gte|mpa\spac|
|00005670| 65 23 31 7d 25 0a 20 20 | 5c 65 6c 73 65 0a 20 20 |e#1}%. |\else. |
|00005680| 20 20 5c 77 6c 6f 67 7b | 50 61 63 6b 61 67 65 3a | \wlog{|Package:|
|00005690| 20 5c 40 67 74 65 6d 70 | 61 5c 73 70 61 63 65 23 | \@gtemp|a\space#|
|000056a0| 31 7d 25 0a 20 20 5c 66 | 69 7d 0a 5c 40 6f 6e 6c |1}%. \f|i}.\@onl|
|000056b0| 79 70 72 65 61 6d 62 6c | 65 5c 40 70 72 40 76 69 |ypreambl|e\@pr@vi|
|000056c0| 64 65 70 61 63 6b 61 67 | 65 0a 25 20 20 20 20 5c |depackag|e.% \|
|000056d0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|000056e0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|000056f0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00005700| 50 72 6f 76 69 64 65 73 | 43 6c 61 73 73 7d 0a 25 |Provides|Class}.%|
|00005710| 20 20 20 20 4c 69 6b 65 | 20 7c 5c 50 72 6f 76 69 | Like| |\Provi|
|00005720| 64 65 73 50 61 63 6b 61 | 67 65 7c 2c 20 62 75 74 |desPacka|ge|, but|
|00005730| 20 66 6f 72 20 63 6c 61 | 73 73 65 73 2e 0a 25 20 | for cla|sses..% |
|00005740| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00005750| 6f 64 65 7d 0a 5c 6c 65 | 74 5c 50 72 6f 76 69 64 |ode}.\le|t\Provid|
|00005760| 65 73 43 6c 61 73 73 5c | 50 72 6f 76 69 64 65 73 |esClass\|Provides|
|00005770| 50 61 63 6b 61 67 65 0a | 5c 40 6f 6e 6c 79 70 72 |Package.|\@onlypr|
|00005780| 65 61 6d 62 6c 65 5c 50 | 72 6f 76 69 64 65 73 43 |eamble\P|rovidesC|
|00005790| 6c 61 73 73 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |lass.% | \end{m|
|000057a0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|000057b0| 7b 6d 61 63 72 6f 7d 0a | 25 0a 25 20 5c 62 65 67 |{macro}.|%.% \beg|
|000057c0| 69 6e 7b 6d 61 63 72 6f | 7d 7b 5c 50 72 6f 76 69 |in{macro|}{\Provi|
|000057d0| 64 65 73 46 69 6c 65 7d | 0a 25 20 20 20 20 4c 69 |desFile}|.% Li|
|000057e0| 6b 65 20 7c 5c 50 72 6f | 76 69 64 65 73 50 61 63 |ke |\Pro|videsPac|
|000057f0| 6b 61 67 65 7c 2c 20 62 | 75 74 20 66 6f 72 20 61 |kage|, b|ut for a|
|00005800| 72 62 69 74 72 61 72 79 | 20 66 69 6c 65 73 2e 20 |rbitrary| files. |
|00005810| 44 6f 20 6e 6f 74 20 61 | 70 70 6c 79 0a 25 20 20 |Do not a|pply.% |
|00005820| 20 20 7c 5c 40 6f 6e 6c | 79 70 72 65 61 6d 62 6c | |\@onl|ypreambl|
|00005830| 65 7c 20 74 6f 20 74 68 | 65 73 65 2c 20 61 73 20 |e| to th|ese, as |
|00005840| 77 65 20 6d 61 79 20 77 | 61 6e 74 20 74 6f 20 6c |we may w|ant to l|
|00005850| 61 62 65 6c 20 66 69 6c | 65 73 20 69 6e 70 75 74 |abel fil|es input|
|00005860| 0a 25 20 20 20 20 64 75 | 72 69 6e 67 20 74 68 65 |.% du|ring the|
|00005870| 20 64 6f 63 75 6d 65 6e | 74 2e 0a 25 20 5c 63 68 | documen|t..% \ch|
|00005880| 61 6e 67 65 73 7b 76 30 | 2e 32 6c 7d 7b 31 39 39 |anges{v0|.2l}{199|
|00005890| 33 2f 31 32 2f 30 37 7d | 0a 25 20 20 20 20 20 20 |3/12/07}|.% |
|000058a0| 20 20 20 7b 4d 61 63 72 | 6f 20 61 64 64 65 64 7d | {Macr|o added}|
|000058b0| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 76 30 2e 33 |.% \chan|ges{v0.3|
|000058c0| 63 7d 7b 31 39 39 34 2f | 30 33 2f 31 32 7d 0a 25 |c}{1994/|03/12}.%|
|000058d0| 20 20 20 20 20 20 20 20 | 20 7b 41 64 64 20 5c 63 | | {Add \c|
|000058e0| 6d 64 7b 5c 77 6c 6f 67 | 7d 7d 0a 25 20 5c 63 68 |md{\wlog|}}.% \ch|
|000058f0| 61 6e 67 65 73 7b 76 30 | 2e 33 67 7d 7b 31 39 39 |anges{v0|.3g}{199|
|00005900| 34 2f 30 34 2f 31 31 7d | 0a 25 20 20 20 20 20 20 |4/04/11}|.% |
|00005910| 20 20 20 7b 50 72 6f 74 | 65 63 74 20 61 67 61 69 | {Prot|ect agai|
|00005920| 6e 73 74 20 77 65 69 72 | 64 20 63 61 74 63 6f 64 |nst weir|d catcod|
|00005930| 65 73 2e 7d 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |es.}.% | \begin|
|00005940| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00005950| 5c 50 72 6f 76 69 64 65 | 73 46 69 6c 65 23 31 7b |\Provide|sFile#1{|
|00005960| 25 0a 20 20 5c 62 65 67 | 69 6e 67 72 6f 75 70 0a |%. \beg|ingroup.|
|00005970| 20 20 20 20 5c 63 61 74 | 63 6f 64 65 60 5c 20 31 | \cat|code`\ 1|
|00005980| 30 20 25 0a 20 20 20 20 | 5c 40 6d 61 6b 65 6f 74 |0 %. |\@makeot|
|00005990| 68 65 72 5c 2f 25 0a 20 | 20 20 20 5c 40 69 66 6e |her\/%. | \@ifn|
|000059a0| 65 78 74 63 68 61 72 5b | 7b 5c 40 70 72 6f 76 69 |extchar[|{\@provi|
|000059b0| 64 65 73 66 69 6c 65 7b | 23 31 7d 7d 7b 5c 40 70 |desfile{|#1}}{\@p|
|000059c0| 72 6f 76 69 64 65 73 66 | 69 6c 65 7b 23 31 7d 5b |rovidesf|ile{#1}[|
|000059d0| 5d 7d 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |]}}.% | \end{ma|
|000059e0| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 20 20 20 |crocode}|.%.% |
|000059f0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00005a00| 7d 0a 5c 64 65 66 5c 40 | 70 72 6f 76 69 64 65 73 |}.\def\@|provides|
|00005a10| 66 69 6c 65 23 31 5b 23 | 32 5d 7b 25 0a 20 20 20 |file#1[#|2]{%. |
|00005a20| 20 5c 77 6c 6f 67 7b 46 | 69 6c 65 3a 20 23 31 20 | \wlog{F|ile: #1 |
|00005a30| 23 32 7d 25 0a 20 20 20 | 20 5c 65 78 70 61 6e 64 |#2}%. | \expand|
|00005a40| 61 66 74 65 72 5c 78 64 | 65 66 5c 63 73 6e 61 6d |after\xd|ef\csnam|
|00005a50| 65 20 76 65 72 40 23 31 | 5c 65 6e 64 63 73 6e 61 |e ver@#1|\endcsna|
|00005a60| 6d 65 7b 23 32 7d 25 0a | 20 20 5c 65 6e 64 67 72 |me{#2}%.| \endgr|
|00005a70| 6f 75 70 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |oup}.% | \end{m|
|00005a80| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|00005a90| 7b 6d 61 63 72 6f 7d 0a | 25 0a 25 20 5c 62 65 67 |{macro}.|%.% \beg|
|00005aa0| 69 6e 7b 6d 61 63 72 6f | 7d 7b 5c 50 61 73 73 4f |in{macro|}{\PassO|
|00005ab0| 70 74 69 6f 6e 73 54 6f | 50 61 63 6b 61 67 65 7d |ptionsTo|Package}|
|00005ac0| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|00005ad0| 7b 5c 50 61 73 73 4f 70 | 74 69 6f 6e 73 54 6f 43 |{\PassOp|tionsToC|
|00005ae0| 6c 61 73 73 7d 0a 25 20 | 49 66 20 74 68 65 20 70 |lass}.% |If the p|
|00005af0| 61 63 6b 61 67 65 20 68 | 61 73 20 62 65 65 6e 20 |ackage h|as been |
|00005b00| 6c 6f 61 64 65 64 2c 20 | 77 65 20 63 68 65 63 6b |loaded, |we check|
|00005b10| 20 74 68 61 74 20 69 74 | 20 77 61 73 20 66 69 72 | that it| was fir|
|00005b20| 73 74 20 6c 6f 61 64 65 | 64 20 77 69 74 68 0a 25 |st loade|d with.%|
|00005b30| 20 74 68 65 20 6f 70 74 | 69 6f 6e 73 2e 20 20 4f | the opt|ions. O|
|00005b40| 74 68 65 72 77 69 73 65 | 20 77 65 20 61 64 64 20 |therwise| we add |
|00005b50| 74 68 65 20 6f 70 74 69 | 6f 6e 20 6c 69 73 74 20 |the opti|on list |
|00005b60| 74 6f 20 74 68 61 74 20 | 6f 66 20 74 68 65 20 70 |to that |of the p|
|00005b70| 61 63 6b 61 67 65 2e 0a | 25 20 20 20 20 5c 62 65 |ackage..|% \be|
|00005b80| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00005b90| 64 65 66 5c 40 70 61 73 | 73 40 70 74 69 6f 6e 73 |def\@pas|s@ptions|
|00005ba0| 23 31 23 32 23 33 7b 25 | 0a 20 20 5c 65 78 70 61 |#1#2#3{%|. \expa|
|00005bb0| 6e 64 61 66 74 65 72 5c | 78 64 65 66 5c 63 73 6e |ndafter\|xdef\csn|
|00005bc0| 61 6d 65 20 6f 70 74 40 | 23 33 2e 23 31 5c 65 6e |ame opt@|#3.#1\en|
|00005bd0| 64 63 73 6e 61 6d 65 7b | 25 0a 20 20 20 20 5c 40 |dcsname{|%. \@|
|00005be0| 69 66 75 6e 64 65 66 69 | 6e 65 64 7b 6f 70 74 40 |ifundefi|ned{opt@|
|00005bf0| 23 33 2e 23 31 7d 5c 40 | 65 6d 70 74 79 0a 20 20 |#3.#1}\@|empty. |
|00005c00| 20 20 20 20 7b 5c 63 73 | 6e 61 6d 65 20 6f 70 74 | {\cs|name opt|
|00005c10| 40 23 33 2e 23 31 5c 65 | 6e 64 63 73 6e 61 6d 65 |@#3.#1\e|ndcsname|
|00005c20| 2c 7d 25 0a 20 20 20 20 | 5c 7a 61 70 40 73 70 61 |,}%. |\zap@spa|
|00005c30| 63 65 23 32 20 5c 40 65 | 6d 70 74 79 7d 7d 0a 5c |ce#2 \@e|mpty}}.\|
|00005c40| 40 6f 6e 6c 79 70 72 65 | 61 6d 62 6c 65 5c 40 70 |@onlypre|amble\@p|
|00005c50| 61 73 73 40 70 74 69 6f | 6e 73 0a 25 20 20 20 20 |ass@ptio|ns.% |
|00005c60| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00005c70| 25 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |%.% \|begin{ma|
|00005c80| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 50 61 |crocode}|.\def\Pa|
|00005c90| 73 73 4f 70 74 69 6f 6e | 73 54 6f 50 61 63 6b 61 |ssOption|sToPacka|
|00005ca0| 67 65 7b 5c 40 70 61 73 | 73 40 70 74 69 6f 6e 73 |ge{\@pas|s@ptions|
|00005cb0| 5c 40 70 6b 67 65 78 74 | 65 6e 73 69 6f 6e 7d 0a |\@pkgext|ension}.|
|00005cc0| 5c 64 65 66 5c 50 61 73 | 73 4f 70 74 69 6f 6e 73 |\def\Pas|sOptions|
|00005cd0| 54 6f 43 6c 61 73 73 7b | 5c 40 70 61 73 73 40 70 |ToClass{|\@pass@p|
|00005ce0| 74 69 6f 6e 73 5c 40 63 | 6c 73 65 78 74 65 6e 73 |tions\@c|lsextens|
|00005cf0| 69 6f 6e 7d 0a 5c 40 6f | 6e 6c 79 70 72 65 61 6d |ion}.\@o|nlypream|
|00005d00| 62 6c 65 5c 50 61 73 73 | 4f 70 74 69 6f 6e 73 54 |ble\Pass|OptionsT|
|00005d10| 6f 50 61 63 6b 61 67 65 | 0a 5c 40 6f 6e 6c 79 70 |oPackage|.\@onlyp|
|00005d20| 72 65 61 6d 62 6c 65 5c | 50 61 73 73 4f 70 74 69 |reamble\|PassOpti|
|00005d30| 6f 6e 73 54 6f 43 6c 61 | 73 73 0a 25 20 20 20 20 |onsToCla|ss.% |
|00005d40| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00005d50| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 20 |% \end{m|acro}.% |
|00005d60| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 0a 25 20 |\end{mac|ro}.%.% |
|00005d70| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 44 |\begin{m|acro}{\D|
|00005d80| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 7d 0a 25 20 |eclareOp|tion}.% |
|00005d90| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 7d 7b 5c 44 |\begin{m|acro}{\D|
|00005da0| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 2a 7d 0a 25 |eclareOp|tion*}.%|
|00005db0| 20 20 20 20 41 64 64 73 | 20 61 6e 20 6f 70 74 69 | Adds| an opti|
|00005dc0| 6f 6e 20 61 73 20 61 20 | 7c 5c 64 73 40 7c 20 63 |on as a ||\ds@| c|
|00005dd0| 6f 6d 6d 61 6e 64 2c 20 | 6f 72 20 74 68 65 20 64 |ommand, |or the d|
|00005de0| 65 66 61 75 6c 74 20 7c | 5c 64 65 66 61 75 6c 74 |efault ||\default|
|00005df0| 40 64 73 7c 0a 25 20 20 | 20 20 63 6f 6d 6d 61 6e |@ds|.% | comman|
|00005e00| 64 2e 0a 25 20 5c 63 68 | 61 6e 67 65 73 7b 76 30 |d..% \ch|anges{v0|
|00005e10| 2e 32 63 7d 7b 31 39 39 | 33 2f 31 31 2f 31 37 7d |.2c}{199|3/11/17}|
|00005e20| 0a 25 20 20 20 20 20 20 | 20 20 20 7b 45 72 72 6f |.% | {Erro|
|00005e30| 72 20 63 68 65 63 6b 69 | 6e 67 20 61 64 64 65 64 |r checki|ng added|
|00005e40| 7d 0a 25 20 5c 63 68 61 | 6e 67 65 73 7b 76 31 2e |}.% \cha|nges{v1.|
|00005e50| 30 6d 7d 7b 31 39 39 35 | 2f 30 34 2f 32 31 7d 0a |0m}{1995|/04/21}.|
|00005e60| 25 20 20 20 20 20 20 20 | 20 20 7b 4d 61 64 65 20 |% | {Made |
|00005e70| 6c 6f 6e 67 20 2f 31 34 | 39 38 7d 0a 25 20 5c 63 |long /14|98}.% \c|
|00005e80| 68 61 6e 67 65 73 7b 76 | 31 2e 30 6e 7d 7b 31 39 |hanges{v|1.0n}{19|
|00005e90| 39 35 2f 30 35 2f 31 32 | 7d 0a 25 20 20 20 20 20 |95/05/12|}.% |
|00005ea0| 20 20 20 20 7b 55 73 65 | 20 5c 63 73 7b 74 6f 6b | {Use| \cs{tok|
|00005eb0| 73 40 7d 20 74 6f 20 72 | 65 6d 6f 76 65 20 6e 65 |s@} to r|emove ne|
|00005ec0| 65 64 20 74 6f 20 64 6f | 75 62 6c 65 20 68 61 73 |ed to do|uble has|
|00005ed0| 68 20 2f 31 35 35 37 7d | 0a 25 20 20 20 20 5c 62 |h /1557}|.% \b|
|00005ee0| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00005ef0| 5c 64 65 66 5c 44 65 63 | 6c 61 72 65 4f 70 74 69 |\def\Dec|lareOpti|
|00005f00| 6f 6e 7b 25 0a 20 20 5c | 6c 65 74 5c 40 66 69 6c |on{%. \|let\@fil|
|00005f10| 65 73 77 69 74 68 40 70 | 74 69 40 6e 73 5c 40 62 |eswith@p|ti@ns\@b|
|00005f20| 61 64 72 65 71 75 69 72 | 65 65 72 72 6f 72 0a 20 |adrequir|eerror. |
|00005f30| 20 5c 40 69 66 73 74 61 | 72 5c 40 64 65 66 64 65 | \@ifsta|r\@defde|
|00005f40| 66 61 75 6c 74 40 64 73 | 5c 40 64 65 63 6c 61 72 |fault@ds|\@declar|
|00005f50| 65 6f 70 74 69 6f 6e 7d | 0a 5c 6c 6f 6e 67 5c 64 |eoption}|.\long\d|
|00005f60| 65 66 5c 40 64 65 63 6c | 61 72 65 6f 70 74 69 6f |ef\@decl|areoptio|
|00005f70| 6e 23 31 23 32 7b 25 0a | 20 20 20 5c 78 64 65 66 |n#1#2{%.| \xdef|
|00005f80| 5c 40 64 65 63 6c 61 72 | 65 64 6f 70 74 69 6f 6e |\@declar|edoption|
|00005f90| 73 7b 5c 40 64 65 63 6c | 61 72 65 64 6f 70 74 69 |s{\@decl|aredopti|
|00005fa0| 6f 6e 73 2c 23 31 7d 25 | 0a 20 20 20 5c 74 6f 6b |ons,#1}%|. \tok|
|00005fb0| 73 40 7b 23 32 7d 25 0a | 20 20 20 5c 65 78 70 61 |s@{#2}%.| \expa|
|00005fc0| 6e 64 61 66 74 65 72 5c | 65 64 65 66 5c 63 73 6e |ndafter\|edef\csn|
|00005fd0| 61 6d 65 20 64 73 40 23 | 31 5c 65 6e 64 63 73 6e |ame ds@#|1\endcsn|
|00005fe0| 61 6d 65 7b 5c 74 68 65 | 5c 74 6f 6b 73 40 7d 7d |ame{\the|\toks@}}|
|00005ff0| 0a 5c 6c 6f 6e 67 5c 64 | 65 66 5c 40 64 65 66 64 |.\long\d|ef\@defd|
|00006000| 65 66 61 75 6c 74 40 64 | 73 23 31 7b 25 0a 20 20 |efault@d|s#1{%. |
|00006010| 5c 74 6f 6b 73 40 7b 23 | 31 7d 25 0a 20 20 5c 65 |\toks@{#|1}%. \e|
|00006020| 64 65 66 5c 64 65 66 61 | 75 6c 74 40 64 73 7b 5c |def\defa|ult@ds{\|
|00006030| 74 68 65 5c 74 6f 6b 73 | 40 7d 7d 0a 5c 40 6f 6e |the\toks|@}}.\@on|
|00006040| 6c 79 70 72 65 61 6d 62 | 6c 65 5c 44 65 63 6c 61 |lypreamb|le\Decla|
|00006050| 72 65 4f 70 74 69 6f 6e | 0a 5c 40 6f 6e 6c 79 70 |reOption|.\@onlyp|
|00006060| 72 65 61 6d 62 6c 65 5c | 40 64 65 63 6c 61 72 65 |reamble\|@declare|
|00006070| 6f 70 74 69 6f 6e 0a 5c | 40 6f 6e 6c 79 70 72 65 |option.\|@onlypre|
|00006080| 61 6d 62 6c 65 5c 40 64 | 65 66 64 65 66 61 75 6c |amble\@d|efdefaul|
|00006090| 74 40 64 73 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |t@ds.% | \end{m|
|000060a0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|000060b0| 7b 6d 61 63 72 6f 7d 0a | 25 20 5c 65 6e 64 7b 6d |{macro}.|% \end{m|
|000060c0| 61 63 72 6f 7d 0a 25 0a | 25 20 5c 62 65 67 69 6e |acro}.%.|% \begin|
|000060d0| 7b 6d 61 63 72 6f 7d 7b | 5c 4f 70 74 69 6f 6e 4e |{macro}{|\OptionN|
|000060e0| 6f 74 55 73 65 64 7d 0a | 25 20 49 66 20 77 65 20 |otUsed}.|% If we |
|000060f0| 61 72 65 20 69 6e 20 61 | 20 63 6c 61 73 73 20 66 |are in a| class f|
|00006100| 69 6c 65 2c 20 61 64 64 | 20 7c 5c 43 75 72 72 65 |ile, add| |\Curre|
|00006110| 6e 74 4f 70 74 69 6f 6e | 7c 20 74 6f 20 74 68 65 |ntOption|| to the|
|00006120| 20 6c 69 73 74 20 6f 66 | 0a 25 20 75 6e 75 73 65 | list of|.% unuse|
|00006130| 64 20 6f 70 74 69 6f 6e | 73 2e 20 4f 74 68 65 72 |d option|s. Other|
|00006140| 77 69 73 65 2c 20 69 6e | 20 61 20 70 61 63 6b 61 |wise, in| a packa|
|00006150| 67 65 20 66 69 6c 65 20 | 64 6f 20 6e 6f 74 68 69 |ge file |do nothi|
|00006160| 6e 67 2e 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |ng..% | \begin{|
|00006170| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 64 65 66 5c |macrocod|e}.\def\|
|00006180| 4f 70 74 69 6f 6e 4e 6f | 74 55 73 65 64 7b 25 0a |OptionNo|tUsed{%.|
|00006190| 20 20 5c 69 66 78 5c 40 | 63 75 72 72 65 78 74 5c | \ifx\@|currext\|
|000061a0| 40 63 6c 73 65 78 74 65 | 6e 73 69 6f 6e 0a 20 20 |@clsexte|nsion. |
|000061b0| 20 20 5c 78 64 65 66 5c | 40 75 6e 75 73 65 64 6f | \xdef\|@unusedo|
|000061c0| 70 74 69 6f 6e 6c 69 73 | 74 7b 25 0a 20 20 20 20 |ptionlis|t{%. |
|000061d0| 20 20 5c 69 66 78 5c 40 | 75 6e 75 73 65 64 6f 70 | \ifx\@|unusedop|
|000061e0| 74 69 6f 6e 6c 69 73 74 | 5c 40 65 6d 70 74 79 5c |tionlist|\@empty\|
|000061f0| 65 6c 73 65 5c 40 75 6e | 75 73 65 64 6f 70 74 69 |else\@un|usedopti|
|00006200| 6f 6e 6c 69 73 74 2c 5c | 66 69 0a 20 20 20 20 20 |onlist,\|fi. |
|00006210| 20 5c 43 75 72 72 65 6e | 74 4f 70 74 69 6f 6e 7d | \Curren|tOption}|
|00006220| 25 0a 20 20 5c 66 69 7d | 0a 5c 40 6f 6e 6c 79 70 |%. \fi}|.\@onlyp|
|00006230| 72 65 61 6d 62 6c 65 5c | 4f 70 74 69 6f 6e 4e 6f |reamble\|OptionNo|
|00006240| 74 55 73 65 64 0a 25 20 | 20 20 20 5c 65 6e 64 7b |tUsed.% | \end{|
|00006250| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 5c 65 6e |macrocod|e}.% \en|
|00006260| 64 7b 6d 61 63 72 6f 7d | 0a 25 0a 25 20 5c 62 65 |d{macro}|.%.% \be|
|00006270| 67 69 6e 7b 6d 61 63 72 | 6f 7d 7b 5c 64 65 66 61 |gin{macr|o}{\defa|
|00006280| 75 6c 74 40 64 73 7d 0a | 25 20 54 68 65 20 64 65 |ult@ds}.|% The de|
|00006290| 66 61 75 6c 74 20 64 65 | 66 61 75 6c 74 20 6f 70 |fault de|fault op|
|000062a0| 74 69 6f 6e 20 63 6f 64 | 65 2e 0a 25 20 53 65 74 |tion cod|e..% Set|
|000062b0| 20 62 79 20 7c 5c 40 6f | 6e 65 66 69 6c 65 77 69 | by |\@o|nefilewi|
|000062c0| 74 68 6f 70 74 69 6f 6e | 73 7c 20 74 6f 20 65 69 |thoption|s| to ei|
|000062d0| 74 68 65 72 20 7c 5c 4f | 70 74 69 6f 6e 4e 6f 74 |ther |\O|ptionNot|
|000062e0| 55 73 65 64 7c 20 66 6f | 72 0a 25 20 63 6c 61 73 |Used| fo|r.% clas|
|000062f0| 73 65 73 2c 20 6f 72 20 | 7c 5c 40 75 6e 6b 6e 6f |ses, or ||\@unkno|
|00006300| 77 6e 6f 70 74 69 6f 6e | 65 72 72 6f 72 7c 20 66 |wnoption|error| f|
|00006310| 6f 72 20 70 61 63 6b 61 | 67 65 73 2e 20 54 68 69 |or packa|ges. Thi|
|00006320| 73 20 6d 61 79 20 62 65 | 20 72 65 73 65 74 0a 25 |s may be| reset.%|
|00006330| 20 69 6e 20 65 69 74 68 | 65 72 20 63 61 73 65 20 | in eith|er case |
|00006340| 77 69 74 68 20 7c 5c 44 | 65 63 6c 61 72 65 4f 70 |with |\D|eclareOp|
|00006350| 74 69 6f 6e 2a 7c 2e 0a | 25 20 20 20 20 5c 62 65 |tion*|..|% \be|
|00006360| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |gin{macr|ocode}.%|
|00006370| 20 5c 6c 65 74 5c 64 65 | 66 61 75 6c 74 40 64 73 | \let\de|fault@ds|
|00006380| 5c 4f 70 74 69 6f 6e 4e | 6f 74 55 73 65 64 0a 25 |\OptionN|otUsed.%|
|00006390| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|000063a0| 64 65 7d 0a 25 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |de}.% \e|nd{macro|
|000063b0| 7d 0a 25 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |}.%.% \b|egin{mac|
|000063c0| 72 6f 7d 7b 5c 50 72 6f | 63 65 73 73 4f 70 74 69 |ro}{\Pro|cessOpti|
|000063d0| 6f 6e 73 7d 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 |ons}.% \|begin{ma|
|000063e0| 63 72 6f 7d 7b 5c 50 72 | 6f 63 65 73 73 4f 70 74 |cro}{\Pr|ocessOpt|
|000063f0| 69 6f 6e 73 2a 7d 0a 25 | 20 7c 5c 50 72 6f 63 65 |ions*}.%| |\Proce|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.