home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: NOTES.TXT
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Swift 3D 3D Graphic (poly/swift3D3DGraphic)
| ext
| Unsupported |
1%
| dexvert
| Boost Text serialization (other/boostTextSerialization)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| gt2
| Textdatei (DOS)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 49 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6e |Implemen|tation n|
|00000010| 6f 74 65 73 0d 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |otes..--|--------|
|00000020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0a 0d 0a 46 69 |--------|--....Fi|
|00000030| 6c 65 73 0d 0a 2d 2d 2d | 2d 2d 0d 0a 0d 0a 54 68 |les..---|--....Th|
|00000040| 65 20 6c 69 62 72 61 72 | 79 20 74 65 78 32 61 6e |e librar|y tex2an|
|00000050| 79 2e 6c 69 62 20 63 6f | 6e 74 61 69 6e 73 20 74 |y.lib co|ntains t|
|00000060| 68 65 20 67 65 6e 65 72 | 69 63 20 4c 61 74 65 78 |he gener|ic Latex|
|00000070| 20 70 61 72 73 65 72 2e | 0d 0a 49 74 20 63 6f 6d | parser.|..It com|
|00000080| 70 72 69 73 65 73 20 74 | 65 78 32 61 6e 79 2e 63 |prises t|ex2any.c|
|00000090| 63 2c 20 74 65 78 32 61 | 6e 79 2e 68 20 61 6e 64 |c, tex2a|ny.h and|
|000000a0| 20 74 65 78 75 74 69 6c | 73 2e 63 63 2e 0d 0a 0d | texutil|s.cc....|
|000000b0| 0a 54 68 65 20 65 78 65 | 63 75 74 61 62 6c 65 20 |.The exe|cutable |
|000000c0| 54 65 78 32 52 54 46 20 | 69 73 20 6d 61 64 65 20 |Tex2RTF |is made |
|000000d0| 75 70 20 6f 66 20 74 65 | 78 32 61 6e 79 2e 6c 69 |up of te|x2any.li|
|000000e0| 62 2c 0d 0a 74 65 78 32 | 72 74 66 2e 63 63 20 28 |b,..tex2|rtf.cc (|
|000000f0| 6d 61 69 6e 20 64 72 69 | 76 65 72 20 61 6e 64 20 |main dri|ver and |
|00000100| 75 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 29 2c |user int|erface),|
|00000110| 20 61 6e 64 20 73 70 65 | 63 69 66 69 63 0d 0a 64 | and spe|cific..d|
|00000120| 72 69 76 65 72 73 20 66 | 6f 72 20 67 65 6e 65 72 |rivers f|or gener|
|00000130| 61 74 69 6e 67 20 6f 75 | 74 70 75 74 3a 20 72 74 |ating ou|tput: rt|
|00000140| 66 75 74 69 6c 73 2e 63 | 63 2c 20 68 74 6d 6c 75 |futils.c|c, htmlu|
|00000150| 74 69 6c 2e 63 63 0d 0a | 61 6e 64 20 78 6c 70 75 |til.cc..|and xlpu|
|00000160| 74 69 6c 73 2e 63 63 2e | 0d 0a 0d 0a 44 61 74 61 |tils.cc.|....Data|
|00000170| 20 73 74 72 75 63 74 75 | 72 65 73 0d 0a 2d 2d 2d | structu|res..---|
|00000180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0a 0d 0a |--------|----....|
|00000190| 43 6c 61 73 73 20 64 65 | 63 6c 61 72 61 74 69 6f |Class de|claratio|
|000001a0| 6e 73 20 61 72 65 20 66 | 6f 75 6e 64 20 69 6e 20 |ns are f|ound in |
|000001b0| 74 65 78 32 61 6e 79 2e | 68 2e 0d 0a 0d 0a 54 65 |tex2any.|h.....Te|
|000001c0| 78 4d 61 63 72 6f 44 65 | 66 20 68 6f 6c 64 73 20 |xMacroDe|f holds |
|000001d0| 61 20 6d 61 63 72 6f 20 | 28 4c 61 74 65 78 20 63 |a macro |(Latex c|
|000001e0| 6f 6d 6d 61 6e 64 29 20 | 64 65 66 69 6e 69 74 69 |ommand) |definiti|
|000001f0| 6f 6e 3a 20 6e 61 6d 65 | 2c 20 69 64 65 6e 74 69 |on: name|, identi|
|00000200| 66 69 65 72 2c 0d 0a 6e | 75 6d 62 65 72 20 6f 66 |fier,..n|umber of|
|00000210| 20 61 72 67 75 6d 65 6e | 74 73 2c 20 77 68 65 74 | argumen|ts, whet|
|00000220| 68 65 72 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |her it s|hould be|
|00000230| 20 69 67 6e 6f 72 65 64 | 2c 20 65 74 63 2e 20 49 | ignored|, etc. I|
|00000240| 6e 74 65 67 65 72 0d 0a | 69 64 65 6e 74 69 66 69 |nteger..|identifi|
|00000250| 65 72 73 20 61 72 65 20 | 75 73 65 64 20 66 6f 72 |ers are |used for|
|00000260| 20 65 61 63 68 20 4c 61 | 74 65 78 20 63 6f 6d 6d | each La|tex comm|
|00000270| 61 6e 64 20 66 6f 72 20 | 65 66 66 69 63 69 65 6e |and for |efficien|
|00000280| 63 79 20 77 68 65 6e 0d | 0a 67 65 6e 65 72 61 74 |cy when.|.generat|
|00000290| 69 6e 67 20 6f 75 74 70 | 75 74 2e 20 41 20 68 61 |ing outp|ut. A ha|
|000002a0| 73 68 20 74 61 62 6c 65 | 20 4d 61 63 72 6f 44 65 |sh table| MacroDe|
|000002b0| 66 73 20 73 74 6f 72 65 | 73 20 61 6c 6c 20 74 68 |fs store|s all th|
|000002c0| 65 20 54 65 78 4d 61 63 | 72 6f 44 65 66 73 2c 0d |e TexMac|roDefs,.|
|000002d0| 0a 69 6e 64 65 78 65 64 | 20 6f 6e 20 63 6f 6d 6d |.indexed| on comm|
|000002e0| 61 6e 64 20 6e 61 6d 65 | 2e 0d 0a 0d 0a 45 61 63 |and name|.....Eac|
|000002f0| 68 20 75 6e 69 74 20 6f | 66 20 61 20 4c 61 74 65 |h unit o|f a Late|
|00000300| 78 20 66 69 6c 65 20 69 | 73 20 73 74 6f 72 65 64 |x file i|s stored|
|00000310| 20 69 6e 20 61 20 54 65 | 78 43 68 75 6e 6b 2e 20 | in a Te|xChunk. |
|00000320| 41 20 54 65 78 43 68 75 | 6e 6b 20 63 61 6e 20 62 |A TexChu|nk can b|
|00000330| 65 0d 0a 61 20 6d 61 63 | 72 6f 2c 20 61 72 67 75 |e..a mac|ro, argu|
|00000340| 6d 65 6e 74 20 6f 72 20 | 6a 75 73 74 20 61 20 73 |ment or |just a s|
|00000350| 74 72 69 6e 67 3a 20 61 | 20 54 65 78 43 68 75 6e |tring: a| TexChun|
|00000360| 6b 20 6d 61 63 72 6f 20 | 68 61 73 20 63 68 69 6c |k macro |has chil|
|00000370| 64 0d 0a 63 68 75 6e 6b | 73 20 66 6f 72 20 74 68 |d..chunk|s for th|
|00000380| 65 20 61 72 67 75 6d 65 | 6e 74 73 2c 20 61 6e 64 |e argume|nts, and|
|00000390| 20 65 61 63 68 20 61 72 | 67 75 6d 65 6e 74 20 77 | each ar|gument w|
|000003a0| 69 6c 6c 20 68 61 76 65 | 20 6f 6e 65 20 6f 72 20 |ill have| one or |
|000003b0| 6d 6f 72 65 0d 0a 63 68 | 69 6c 64 72 65 6e 20 66 |more..ch|ildren f|
|000003c0| 6f 72 20 72 65 70 72 65 | 73 65 6e 74 69 6e 67 20 |or repre|senting |
|000003d0| 61 6e 6f 74 68 65 72 20 | 63 6f 6d 6d 61 6e 64 20 |another |command |
|000003e0| 6f 72 20 61 20 73 69 6d | 70 6c 65 20 73 74 72 69 |or a sim|ple stri|
|000003f0| 6e 67 2e 0d 0a 0d 0a 50 | 61 72 73 69 6e 67 0d 0a |ng.....P|arsing..|
|00000400| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 0d 0a 50 61 72 73 69 |-------.|...Parsi|
|00000410| 6e 67 20 69 73 20 72 65 | 6c 61 74 69 76 65 6c 79 |ng is re|latively|
|00000420| 20 61 64 64 20 68 6f 63 | 2e 20 72 65 61 64 5f 61 | add hoc|. read_a|
|00000430| 5f 6c 69 6e 65 20 72 65 | 61 64 73 20 69 6e 20 61 |_line re|ads in a|
|00000440| 20 6c 69 6e 65 20 61 74 | 20 61 20 74 69 6d 65 2c | line at| a time,|
|00000450| 0d 0a 64 6f 69 6e 67 20 | 73 6f 6d 65 20 70 72 6f |..doing |some pro|
|00000460| 63 65 73 73 69 6e 67 20 | 66 6f 72 20 66 69 6c 65 |cessing |for file|
|00000470| 20 63 6f 6d 6d 61 6e 64 | 73 20 28 65 2e 67 2e 20 | command|s (e.g. |
|00000480| 69 6e 70 75 74 2c 20 76 | 65 72 62 61 74 69 6d 69 |input, v|erbatimi|
|00000490| 6e 63 6c 75 64 65 29 2e | 0d 0a 46 69 6c 65 20 68 |nclude).|..File h|
|000004a0| 61 6e 64 6c 65 73 20 61 | 72 65 20 73 74 6f 72 65 |andles a|re store|
|000004b0| 64 20 69 6e 20 61 20 73 | 74 61 63 6b 20 73 6f 20 |d in a s|tack so |
|000004c0| 66 69 6c 65 20 69 6e 70 | 75 74 20 63 6f 6d 6d 61 |file inp|ut comma|
|000004d0| 6e 64 73 20 6d 61 79 20 | 62 65 20 6e 65 73 74 65 |nds may |be neste|
|000004e0| 64 2e 0d 0a 0d 0a 50 61 | 72 73 65 41 72 67 20 70 |d.....Pa|rseArg p|
|000004f0| 61 72 73 65 73 20 61 6e | 20 61 72 67 75 6d 65 6e |arses an| argumen|
|00000500| 74 20 28 77 68 69 63 68 | 20 6d 69 67 68 74 20 62 |t (which| might b|
|00000510| 65 20 74 68 65 20 77 68 | 6f 6c 65 20 4c 61 74 65 |e the wh|ole Late|
|00000520| 78 20 69 6e 70 75 74 2c | 0d 0a 77 68 69 63 68 20 |x input,|..which |
|00000530| 69 73 20 74 72 65 61 74 | 65 64 20 61 73 20 61 6e |is treat|ed as an|
|00000540| 20 61 72 67 75 6d 65 6e | 74 29 20 6f 72 20 61 20 | argumen|t) or a |
|00000550| 73 69 6e 67 6c 65 20 63 | 6f 6d 6d 61 6e 64 2c 20 |single c|ommand, |
|00000560| 6f 72 20 61 20 63 6f 6d | 6d 61 6e 64 0d 0a 61 72 |or a com|mand..ar|
|00000570| 67 75 6d 65 6e 74 2e 20 | 54 68 65 20 70 61 72 73 |gument. |The pars|
|00000580| 69 6e 67 20 67 65 74 73 | 20 61 20 6c 69 74 74 6c |ing gets| a littl|
|00000590| 65 20 68 61 69 72 79 20 | 62 65 63 61 75 73 65 20 |e hairy |because |
|000005a0| 61 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 2c 0d |an envir|onment,.|
|000005b0| 0a 61 20 6e 6f 72 6d 61 | 6c 20 63 6f 6d 6d 61 6e |.a norma|l comman|
|000005c0| 64 20 61 6e 64 20 62 72 | 61 63 6b 65 74 65 64 20 |d and br|acketed |
|000005d0| 63 6f 6d 6d 61 6e 64 73 | 20 28 65 2e 67 2e 20 7b |commands| (e.g. {|
|000005e0| 5c 62 66 20 74 68 69 6e | 67 7d 29 20 61 6c 6c 20 |\bf thin|g}) all |
|000005f0| 67 65 74 0d 0a 70 61 72 | 73 65 64 20 69 6e 74 6f |get..par|sed into|
|00000600| 20 74 68 65 20 73 61 6d | 65 20 66 6f 72 6d 61 74 | the sam|e format|
|00000610| 2e 20 41 6e 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |. An env|ironment|
|00000620| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 0d 0a |, for ex|ample,..|
|00000630| 69 73 20 75 73 75 61 6c | 6c 79 20 61 20 6f 6e 65 |is usual|ly a one|
|00000640| 2d 61 72 67 75 6d 65 6e | 74 20 63 6f 6d 6d 61 6e |-argumen|t comman|
|00000650| 64 2c 20 61 73 20 69 73 | 20 7b 5c 62 66 20 74 68 |d, as is| {\bf th|
|00000660| 69 6e 67 7d 2e 20 49 74 | 20 61 6c 73 6f 0d 0a 64 |ing}. It| also..d|
|00000670| 65 61 6c 73 20 77 69 74 | 68 20 75 73 65 72 2d 64 |eals wit|h user-d|
|00000680| 65 66 69 6e 65 64 20 6d | 61 63 72 6f 73 2e 0d 0a |efined m|acros...|
|00000690| 0d 0a 57 68 69 6c 73 74 | 20 70 61 72 73 69 6e 67 |..Whilst| parsing|
|000006a0| 2c 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 4d |, the fu|nction M|
|000006b0| 61 74 63 68 4d 61 63 72 | 6f 20 67 65 74 73 20 63 |atchMacr|o gets c|
|000006c0| 61 6c 6c 65 64 20 74 6f | 0d 0a 61 74 74 65 6d 70 |alled to|..attemp|
|000006d0| 74 20 74 6f 20 66 69 6e | 64 20 61 20 63 6f 6d 6d |t to fin|d a comm|
|000006e0| 61 6e 64 20 66 6f 6c 6c | 6f 77 69 6e 67 20 61 20 |and foll|owing a |
|000006f0| 62 61 63 6b 73 6c 61 73 | 68 20 28 6f 72 20 74 68 |backslas|h (or th|
|00000700| 65 0d 0a 73 74 61 72 74 | 20 6f 66 20 61 6e 20 65 |e..start| of an e|
|00000710| 6e 76 69 72 6f 6e 6d 65 | 6e 74 29 2e 20 50 61 72 |nvironme|nt). Par|
|00000720| 73 65 4d 61 63 72 6f 42 | 6f 64 79 20 70 61 72 73 |seMacroB|ody pars|
|00000730| 65 73 20 74 68 65 0d 0a | 61 72 67 75 6d 65 6e 74 |es the..|argument|
|00000740| 73 20 6f 66 20 61 20 63 | 6f 6d 6d 61 6e 64 20 77 |s of a c|ommand w|
|00000750| 68 65 6e 20 6f 6e 65 20 | 69 73 20 66 6f 75 6e 64 |hen one |is found|
|00000760| 2e 0d 0a 0d 0a 47 65 6e | 65 72 61 74 69 6f 6e 0d |.....Gen|eration.|
|00000770| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 0d 0a 54 |.-------|---....T|
|00000780| 68 65 20 75 70 73 68 6f | 74 20 6f 66 20 70 61 72 |he upsho|t of par|
|00000790| 73 69 6e 67 20 69 73 20 | 61 20 68 69 65 72 61 72 |sing is |a hierar|
|000007a0| 63 68 79 20 6f 66 20 54 | 65 78 43 68 75 6e 6b 73 |chy of T|exChunks|
|000007b0| 2e 0d 0a 54 72 61 76 65 | 72 73 65 46 72 6f 6d 44 |...Trave|rseFromD|
|000007c0| 6f 63 75 6d 65 6e 74 20 | 63 61 6c 6c 73 20 74 68 |ocument |calls th|
|000007d0| 65 20 72 65 63 75 72 73 | 69 76 65 20 54 72 61 76 |e recurs|ive Trav|
|000007e0| 65 72 73 65 46 72 6f 6d | 43 68 75 6e 6b 2c 0d 0a |erseFrom|Chunk,..|
|000007f0| 61 6e 64 20 69 73 20 63 | 61 6c 6c 65 64 20 62 79 |and is c|alled by|
|00000800| 20 74 68 65 20 27 63 6c | 69 65 6e 74 27 20 63 6f | the 'cl|ient' co|
|00000810| 6e 76 65 72 74 65 72 20 | 61 70 70 6c 69 63 61 74 |nverter |applicat|
|00000820| 69 6f 6e 20 74 6f 0d 0a | 73 74 61 72 74 20 74 68 |ion to..|start th|
|00000830| 65 20 67 65 6e 65 72 61 | 74 69 6f 6e 20 70 72 6f |e genera|tion pro|
|00000840| 63 65 73 73 2e 20 54 72 | 61 76 65 72 73 65 46 72 |cess. Tr|averseFr|
|00000850| 6f 6d 43 68 75 6e 6b 0d | 0a 63 61 6c 6c 73 20 74 |omChunk.|.calls t|
|00000860| 68 65 20 74 77 6f 20 66 | 75 6e 63 74 69 6f 6e 73 |he two f|unctions|
|00000870| 20 4f 6e 4d 61 63 72 6f | 20 61 6e 64 20 4f 6e 41 | OnMacro| and OnA|
|00000880| 72 67 75 6d 65 6e 74 2c | 0d 0a 74 77 69 63 65 20 |rgument,|..twice |
|00000890| 66 6f 72 20 65 61 63 68 | 20 63 68 75 6e 6b 20 74 |for each| chunk t|
|000008a0| 6f 20 61 6c 6c 6f 77 20 | 66 6f 72 20 70 72 65 70 |o allow |for prep|
|000008b0| 72 6f 63 65 73 73 69 6e | 67 0d 0a 61 6e 64 20 70 |rocessin|g..and p|
|000008c0| 6f 73 74 70 72 6f 63 65 | 73 73 69 6e 67 20 6f 66 |ostproce|ssing of|
|000008d0| 20 65 61 63 68 20 6d 61 | 63 72 6f 20 6f 72 20 61 | each ma|cro or a|
|000008e0| 72 67 75 6d 65 6e 74 2e | 0d 0a 0d 0a 54 68 65 20 |rgument.|....The |
|000008f0| 63 6c 69 65 6e 74 20 64 | 65 66 69 6e 65 73 20 4f |client d|efines O|
|00000900| 6e 4d 61 63 72 6f 20 61 | 6e 64 20 4f 6e 41 72 67 |nMacro a|nd OnArg|
|00000910| 75 6d 65 6e 74 20 74 6f | 20 74 65 73 74 0d 0a 74 |ument to| test..t|
|00000920| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 69 64 65 6e 74 |he comma|nd ident|
|00000930| 69 66 69 65 72 2c 20 61 | 6e 64 20 6f 75 74 70 75 |ifier, a|nd outpu|
|00000940| 74 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |t the ap|propriat|
|00000950| 65 0d 0a 63 6f 64 65 2e | 20 54 6f 20 68 65 6c 70 |e..code.| To help|
|00000960| 20 64 6f 20 74 68 69 73 | 2c 20 74 68 65 20 66 75 | do this|, the fu|
|00000970| 6e 63 74 69 6f 6e 20 54 | 65 78 4f 75 74 70 75 74 |nction T|exOutput|
|00000980| 0d 0a 6f 75 74 70 75 74 | 73 20 74 6f 20 74 68 65 |..output|s to the|
|00000990| 20 63 75 72 72 65 6e 74 | 20 73 74 72 65 61 6d 28 | current| stream(|
|000009a0| 73 29 2c 20 61 6e 64 0d | 0a 53 65 74 43 75 72 72 |s), and.|.SetCurr|
|000009b0| 65 6e 74 4f 75 74 70 75 | 74 28 73 29 20 61 6c 6c |entOutpu|t(s) all|
|000009c0| 6f 77 73 20 74 68 65 20 | 73 65 74 74 69 6e 67 20 |ows the |setting |
|000009d0| 6f 66 20 6f 6e 65 0d 0a | 6f 72 20 74 77 6f 20 6f |of one..|or two o|
|000009e0| 75 74 70 75 74 20 73 74 | 72 65 61 6d 73 20 66 6f |utput st|reams fo|
|000009f0| 72 20 74 68 65 20 6f 75 | 74 70 75 74 20 74 6f 20 |r the ou|tput to |
|00000a00| 62 65 20 73 65 6e 74 20 | 74 6f 2e 0d 0a 55 73 75 |be sent |to...Usu|
|00000a10| 61 6c 6c 79 20 74 77 6f | 20 6f 75 74 70 75 74 73 |ally two| outputs|
|00000a20| 20 61 74 20 61 20 74 69 | 6d 65 20 61 72 65 20 73 | at a ti|me are s|
|00000a30| 75 66 66 69 63 69 65 6e | 74 20 66 6f 72 0d 0a 68 |ufficien|t for..h|
|00000a40| 79 70 65 72 74 65 78 74 | 20 61 70 70 6c 69 63 61 |ypertext| applica|
|00000a50| 74 69 6f 6e 73 20 77 68 | 65 72 65 20 61 20 74 69 |tions wh|ere a ti|
|00000a60| 74 6c 65 20 69 73 20 6c | 69 6b 65 6c 79 0d 0a 74 |tle is l|ikely..t|
|00000a70| 6f 20 61 70 70 65 61 72 | 20 69 6e 20 61 6e 20 69 |o appear| in an i|
|00000a80| 6e 64 65 78 20 61 6e 64 | 20 61 73 20 61 20 73 65 |ndex and| as a se|
|00000a90| 63 74 69 6f 6e 20 68 65 | 61 64 65 72 2e 0d 0a 0d |ction he|ader....|
|00000aa0| 0a 54 68 65 72 65 20 61 | 72 65 20 73 75 70 70 6f |.There a|re suppo|
|00000ab0| 72 74 20 66 75 6e 63 74 | 69 6f 6e 73 20 66 6f 72 |rt funct|ions for|
|00000ac0| 20 67 65 74 74 69 6e 67 | 20 74 68 65 20 73 74 72 | getting| the str|
|00000ad0| 69 6e 67 0d 0a 64 61 74 | 61 20 66 6f 72 20 74 68 |ing..dat|a for th|
|00000ae0| 65 20 63 75 72 72 65 6e | 74 20 63 68 75 6e 6b 20 |e curren|t chunk |
|00000af0| 28 47 65 74 41 72 67 44 | 61 74 61 29 20 61 6e 64 |(GetArgD|ata) and|
|00000b00| 20 74 68 65 0d 0a 63 75 | 72 72 65 6e 74 20 63 68 | the..cu|rrent ch|
|00000b10| 75 6e 6b 20 28 47 65 74 | 41 72 67 43 68 75 6e 6b |unk (Get|ArgChunk|
|00000b20| 29 2e 20 49 66 20 79 6f | 75 20 68 61 76 65 20 61 |). If yo|u have a|
|00000b30| 20 68 61 6e 64 6c 65 0d | 0a 6f 6e 20 61 20 63 68 | handle.|.on a ch|
|00000b40| 75 6e 6b 2c 20 79 6f 75 | 20 63 61 6e 20 6f 75 74 |unk, you| can out|
|00000b50| 70 75 74 20 69 74 20 73 | 65 76 65 72 61 6c 20 74 |put it s|everal t|
|00000b60| 69 6d 65 73 20 62 79 20 | 63 61 6c 6c 69 6e 67 0d |imes by |calling.|
|00000b70| 0a 54 72 61 76 65 72 73 | 65 43 68 69 6c 64 72 65 |.Travers|eChildre|
|00000b80| 6e 46 72 6f 6d 43 68 75 | 6e 6b 20 28 6e 6f 74 20 |nFromChu|nk (not |
|00000b90| 54 72 61 76 65 72 73 65 | 46 72 6f 6d 43 68 75 6e |Traverse|FromChun|
|00000ba0| 6b 20 62 65 63 61 75 73 | 65 0d 0a 74 68 61 74 20 |k becaus|e..that |
|00000bb0| 63 61 75 73 65 73 20 69 | 6e 66 69 6e 69 74 65 20 |causes i|nfinite |
|00000bc0| 72 65 63 75 72 73 69 6f | 6e 29 2e 0d 0a 0d 0a 54 |recursio|n).....T|
|00000bd0| 68 65 20 63 6c 69 65 6e | 74 20 28 68 65 72 65 2c |he clien|t (here,|
|00000be0| 20 54 65 78 32 52 54 46 | 29 20 61 6c 73 6f 20 64 | Tex2RTF|) also d|
|00000bf0| 65 66 69 6e 65 73 20 4f | 6e 45 72 72 6f 72 20 61 |efines O|nError a|
|00000c00| 6e 64 20 4f 6e 49 6e 66 | 6f 72 6d 20 6f 75 74 70 |nd OnInf|orm outp|
|00000c10| 75 74 0d 0a 66 75 6e 63 | 74 69 6f 6e 73 20 61 70 |ut..func|tions ap|
|00000c20| 70 72 6f 70 72 69 61 74 | 65 20 74 6f 20 74 68 65 |propriat|e to the|
|00000c30| 20 64 65 73 69 72 65 64 | 20 75 73 65 72 20 69 6e | desired| user in|
|00000c40| 74 65 72 66 61 63 65 2e | 0d 0a 0d 0a 52 65 66 65 |terface.|....Refe|
|00000c50| 72 65 6e 63 65 73 0d 0a | 2d 2d 2d 2d 2d 2d 2d 2d |rences..|--------|
|00000c60| 2d 2d 0d 0a 0d 0a 41 64 | 64 69 6e 67 2c 20 66 69 |--....Ad|ding, fi|
|00000c70| 6e 64 69 6e 67 20 61 6e | 64 20 72 65 73 6f 6c 76 |nding an|d resolv|
|00000c80| 69 6e 67 20 72 65 66 65 | 72 65 6e 63 65 73 20 61 |ing refe|rences a|
|00000c90| 72 65 20 73 75 70 70 6f | 72 74 65 64 0d 0a 77 69 |re suppo|rted..wi|
|00000ca0| 74 68 20 66 75 6e 63 74 | 69 6f 6e 73 20 66 72 6f |th funct|ions fro|
|00000cb0| 6d 20 74 65 78 75 74 69 | 6c 73 2e 63 63 2e 20 57 |m texuti|ls.cc. W|
|00000cc0| 72 69 74 65 54 65 78 52 | 65 66 65 72 65 6e 63 65 |riteTexR|eference|
|00000cd0| 73 0d 0a 61 6e 64 20 52 | 65 61 64 54 65 78 52 65 |s..and R|eadTexRe|
|00000ce0| 66 65 72 65 6e 63 65 73 | 20 61 6c 6c 6f 77 20 73 |ferences| allow s|
|00000cf0| 61 76 69 6e 67 20 61 6e | 64 20 72 65 61 64 69 6e |aving an|d readin|
|00000d00| 67 20 72 65 66 65 72 65 | 6e 63 65 73 0d 0a 62 65 |g refere|nces..be|
|00000d10| 74 77 65 65 6e 20 63 6f | 6e 76 65 72 73 69 6f 6e |tween co|nversion|
|00000d20| 20 70 72 6f 63 65 73 73 | 65 73 2c 20 72 61 74 68 | process|es, rath|
|00000d30| 65 72 20 6c 69 6b 65 20 | 72 65 61 6c 20 4c 61 54 |er like |real LaT|
|00000d40| 65 58 2e 0d 0a 0d 0a 42 | 69 62 6c 69 6f 67 72 61 |eX.....B|ibliogra|
|00000d50| 70 68 79 0d 0a 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |phy..---|--------|
|00000d60| 2d 0d 0a 0d 0a 41 67 61 | 69 6e 20 74 65 78 75 74 |-....Aga|in texut|
|00000d70| 69 6c 73 2e 63 63 20 70 | 72 6f 76 69 64 65 73 20 |ils.cc p|rovides |
|00000d80| 66 75 6e 63 74 69 6f 6e | 73 20 66 6f 72 20 72 65 |function|s for re|
|00000d90| 61 64 69 6e 67 20 69 6e | 20 2e 62 69 62 20 66 69 |ading in| .bib fi|
|00000da0| 6c 65 73 20 61 6e 64 0d | 0a 72 65 73 6f 6c 76 69 |les and.|.resolvi|
|00000db0| 6e 67 20 72 65 66 65 72 | 65 6e 63 65 73 2e 20 54 |ng refer|ences. T|
|00000dc0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 4f 75 74 70 |he funct|ion Outp|
|00000dd0| 75 74 42 69 62 49 74 65 | 6d 20 67 69 76 65 73 20 |utBibIte|m gives |
|00000de0| 61 20 67 65 6e 65 72 69 | 63 20 77 61 79 0d 0a 6f |a generi|c way..o|
|00000df0| 75 74 70 75 74 74 69 6e | 67 20 62 69 62 6c 69 6f |utputtin|g biblio|
|00000e00| 67 72 61 70 68 79 20 69 | 74 65 6d 73 2c 20 62 79 |graphy i|tems, by|
|00000e10| 20 27 66 61 6b 69 6e 67 | 27 20 63 61 6c 6c 73 20 | 'faking|' calls |
|00000e20| 74 6f 20 4f 6e 4d 61 63 | 72 6f 20 61 6e 64 0d 0a |to OnMac|ro and..|
|00000e30| 4f 6e 41 72 67 75 6d 65 | 6e 74 2c 20 61 6c 6c 6f |OnArgume|nt, allo|
|00000e40| 77 69 6e 67 20 74 68 65 | 20 65 78 69 73 74 69 6e |wing the| existin|
|00000e50| 67 20 6c 6f 77 2d 6c 65 | 76 65 6c 20 63 6c 69 65 |g low-le|vel clie|
|00000e60| 6e 74 20 63 6f 64 65 20 | 74 6f 20 74 61 6b 65 20 |nt code |to take |
|00000e70| 63 61 72 65 20 6f 66 0d | 0a 66 6f 72 6d 61 74 74 |care of.|.formatt|
|00000e80| 69 6e 67 2e 0d 0a 0d 0a | 55 6e 69 74 73 0d 0a 2d |ing.....|Units..-|
|00000e90| 2d 2d 2d 2d 0d 0a 0d 0a | 55 6e 69 74 20 70 61 72 |----....|Unit par|
|00000ea0| 73 69 6e 67 20 63 6f 64 | 65 20 69 73 20 69 6e 20 |sing cod|e is in |
|00000eb0| 74 65 78 75 74 69 6c 73 | 2e 63 63 20 61 73 20 50 |texutils|.cc as P|
|00000ec0| 61 72 73 65 55 6e 69 74 | 41 72 67 75 6d 65 6e 74 |arseUnit|Argument|
|00000ed0| 2e 20 49 74 20 63 6f 6e | 76 65 72 74 73 0d 0a 75 |. It con|verts..u|
|00000ee0| 6e 69 74 73 20 74 6f 20 | 70 6f 69 6e 74 73 2e 0d |nits to |points..|
|00000ef0| 0a 0d 0a 43 6f 6d 6d 6f | 6e 20 65 72 72 6f 72 73 |...Commo|n errors|
|00000f00| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |..------|-------.|
|00000f10| 0a 0d 0a 31 29 20 4d 61 | 63 72 6f 20 6e 6f 74 20 |...1) Ma|cro not |
|00000f20| 66 6f 75 6e 64 3a 20 5c | 65 6e 64 7b 63 65 6e 74 |found: \|end{cent|
|00000f30| 65 72 7d 20 2e 2e 2e 0d | 0a 0d 0a 52 65 77 72 69 |er} ....|...Rewri|
|00000f40| 74 65 3a 0d 0a 0d 0a 5c | 62 65 67 69 6e 7b 63 65 |te:....\|begin{ce|
|00000f50| 6e 74 65 72 7d 0d 0a 7b | 5c 6c 61 72 67 65 7b 5c |nter}..{|\large{\|
|00000f60| 75 6e 64 65 72 6c 69 6e | 65 7b 41 7d 7d 7d 0d 0a |underlin|e{A}}}..|
|00000f70| 5c 65 6e 64 7b 63 65 6e | 74 65 72 7d 0d 0a 0d 0a |\end{cen|ter}....|
|00000f80| 61 73 3a 0d 0a 0d 0a 5c | 62 65 67 69 6e 7b 63 65 |as:....\|begin{ce|
|00000f90| 6e 74 65 72 7d 0d 0a 7b | 5c 6c 61 72 67 65 20 5c |nter}..{|\large \|
|00000fa0| 75 6e 64 65 72 6c 69 6e | 65 7b 41 7d 7d 0d 0a 5c |underlin|e{A}}..\|
|00000fb0| 65 6e 64 7b 63 65 6e 74 | 65 72 7d 0d 0a 0d 0a 32 |end{cent|er}....2|
|00000fc0| 29 20 54 61 62 6c 65 73 | 20 63 72 61 73 68 20 52 |) Tables| crash R|
|00000fd0| 54 46 2e 20 53 65 74 20 | 27 63 6f 6d 70 61 74 69 |TF. Set |'compati|
|00000fe0| 62 69 6c 69 74 79 20 27 | 20 74 6f 20 54 52 55 45 |bility '| to TRUE|
|00000ff0| 20 69 6e 20 2e 69 6e 69 | 20 66 69 6c 65 3b 20 61 | in .ini| file; a|
|00001000| 6c 73 6f 0d 0a 63 68 65 | 63 6b 20 66 6f 72 20 5c |lso..che|ck for \|
|00001010| 5c 20 65 6e 64 20 6f 66 | 20 72 6f 77 20 63 68 61 |\ end of| row cha|
|00001020| 72 61 63 74 65 72 73 20 | 6f 6e 20 74 68 65 69 72 |racters |on their|
|00001030| 20 6f 77 6e 20 6f 6e 20 | 61 20 6c 69 6e 65 2c 20 | own on |a line, |
|00001040| 69 6e 73 65 72 74 0d 0a | 63 6f 72 72 65 63 74 20 |insert..|correct |
|00001050| 6e 75 6d 62 65 72 20 6f | 66 20 61 6d 70 65 72 73 |number o|f ampers|
|00001060| 61 6e 64 73 20 66 6f 72 | 20 74 68 65 20 6e 75 6d |ands for| the num|
|00001070| 62 65 72 20 6f 66 20 63 | 6f 6c 75 6d 6e 73 2e 20 |ber of c|olumns. |
|00001080| 20 45 2e 67 2e 0d 0a 0d | 0a 68 65 6c 6c 6f 20 26 | E.g....|.hello &|
|00001090| 20 77 6f 72 6c 64 5c 5c | 0d 0a 5c 5c 0d 0a 0d 0a | world\\|..\\....|
|000010a0| 62 65 63 6f 6d 65 73 0d | 0a 0d 0a 68 65 6c 6c 6f |becomes.|...hello|
|000010b0| 20 26 20 77 6f 72 6c 64 | 5c 5c 0d 0a 26 5c 5c 0d | & world|\\..&\\.|
|000010c0| 0a 0d 0a 33 29 20 49 66 | 20 6c 69 73 74 20 69 74 |...3) If| list it|
|000010d0| 65 6d 73 20 69 6e 64 65 | 6e 74 20 65 72 72 61 74 |ems inde|nt errat|
|000010e0| 69 63 61 6c 6c 79 2c 20 | 74 72 79 20 69 6e 63 72 |ically, |try incr|
|000010f0| 65 61 73 69 6e 67 0d 0a | 6c 69 73 74 49 74 65 6d |easing..|listItem|
|00001100| 49 6e 64 65 6e 74 20 74 | 6f 20 67 69 76 65 20 6d |Indent t|o give m|
|00001110| 6f 72 65 20 73 70 61 63 | 65 20 62 65 74 77 65 65 |ore spac|e betwee|
|00001120| 6e 20 6c 61 62 65 6c 20 | 61 6e 64 20 66 6f 6c 6c |n label |and foll|
|00001130| 6f 77 69 6e 67 20 74 65 | 78 74 2e 0d 0a 41 20 67 |owing te|xt...A g|
|00001140| 6c 6f 62 61 6c 20 72 65 | 70 6c 61 63 65 20 6f 66 |lobal re|place of|
|00001150| 20 27 5c 69 74 65 6d 20 | 5b 27 20 74 6f 20 27 5c | '\item |[' to '\|
|00001160| 69 74 65 6d 5b 27 20 6d | 61 79 20 61 6c 73 6f 20 |item[' m|ay also |
|00001170| 62 65 20 68 65 6c 70 66 | 75 6c 20 74 6f 20 72 65 |be helpf|ul to re|
|00001180| 6d 6f 76 65 0d 0a 75 6e | 6e 65 63 65 73 73 61 72 |move..un|necessar|
|00001190| 79 20 73 70 61 63 65 20 | 62 65 66 6f 72 65 20 74 |y space |before t|
|000011a0| 68 65 20 69 74 65 6d 20 | 6c 61 62 65 6c 2e 0d 0a |he item |label...|
|000011b0| 0d 0a 34 29 20 4d 69 73 | 73 69 6e 67 20 66 69 67 |..4) Mis|sing fig|
|000011c0| 75 72 65 20 6f 72 20 73 | 65 63 74 69 6f 6e 20 72 |ure or s|ection r|
|000011d0| 65 66 65 72 65 6e 63 65 | 73 3a 20 65 6e 73 75 72 |eference|s: ensur|
|000011e0| 65 20 61 6c 6c 20 6c 61 | 62 65 6c 73 20 5f 64 69 |e all la|bels _di|
|000011f0| 72 65 63 74 6c 79 5f 20 | 66 6f 6c 6c 6f 77 20 63 |rectly_ |follow c|
|00001200| 61 70 74 69 6f 6e 73 0d | 0a 6f 72 20 73 65 63 74 |aptions.|.or sect|
|00001210| 69 6f 6e 73 20 28 6e 6f | 20 69 6e 74 65 72 76 65 |ions (no| interve|
|00001220| 6e 69 6e 67 20 77 68 69 | 74 65 20 73 70 61 63 65 |ning whi|te space|
|00001230| 29 2e 0d 0a | |)... | |
+--------+-------------------------+-------------------------+--------+--------+