home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / syntax / tex.vim < prev    next >
LaTeX Document  |  2003-05-04  |  25.1 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, ASCII text, with very long lines (351) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 22 20 56 69 6d 20 73 79 | 6e 74 61 78 20 66 69 6c |" Vim sy|ntax fil|
|00000010| 65 0a 22 20 4c 61 6e 67 | 75 61 67 65 3a 20 20 20 |e." Lang|uage: |
|00000020| 20 54 65 58 0a 22 20 4d | 61 69 6e 74 61 69 6e 65 | TeX." M|aintaine|
|00000030| 72 3a 20 20 44 72 2e 20 | 43 68 61 72 6c 65 73 20 |r: Dr. |Charles |
|00000040| 45 2e 20 43 61 6d 70 62 | 65 6c 6c 2c 20 4a 72 2e |E. Campb|ell, Jr.|
|00000050| 20 3c 43 68 61 72 6c 65 | 73 2e 45 2e 43 61 6d 70 | <Charle|s.E.Camp|
|00000060| 62 65 6c 6c 2e 31 40 6e | 61 73 61 2e 67 6f 76 3e |bell.1@n|asa.gov>|
|00000070| 0a 22 20 4c 61 73 74 20 | 43 68 61 6e 67 65 3a 20 |." Last |Change: |
|00000080| 44 65 63 20 20 33 2c 20 | 32 30 30 32 0a 22 20 56 |Dec 3, |2002." V|
|00000090| 65 72 73 69 6f 6e 3a 20 | 20 20 20 20 31 31 0a 22 |ersion: | 11."|
|000000a0| 20 55 52 4c 3a 09 20 20 | 20 20 20 20 20 68 74 74 | URL:. | htt|
|000000b0| 70 3a 2f 2f 77 77 77 2e | 65 72 6f 6c 73 2e 63 6f |p://www.|erols.co|
|000000c0| 6d 2f 61 73 74 72 6f 6e | 61 75 74 2f 76 69 6d 2f |m/astron|aut/vim/|
|000000d0| 69 6e 64 65 78 2e 68 74 | 6d 6c 23 76 69 6d 6c 69 |index.ht|ml#vimli|
|000000e0| 6e 6b 73 5f 73 79 6e 74 | 61 78 0a 22 0a 22 20 4e |nks_synt|ax."." N|
|000000f0| 6f 74 65 73 3a 0a 22 0a | 22 20 31 2e 20 49 66 20 |otes:.".|" 1. If |
|00000100| 79 6f 75 20 68 61 76 65 | 20 61 20 5c 62 65 67 69 |you have| a \begi|
|00000110| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 20 74 68 61 74 |n{verbat|im} that|
|00000120| 20 61 70 70 65 61 72 73 | 20 74 6f 20 6f 76 65 72 | appears| to over|
|00000130| 72 75 6e 20 69 74 73 20 | 62 6f 75 6e 64 61 72 69 |run its |boundari|
|00000140| 65 73 2c 0a 22 20 20 20 | 20 75 73 65 20 25 73 74 |es,." | use %st|
|00000150| 6f 70 7a 6f 6e 65 2e 0a | 22 0a 22 20 32 2e 20 52 |opzone..|"." 2. R|
|00000160| 75 6e 2d 6f 6e 20 65 71 | 75 61 74 69 6f 6e 73 20 |un-on eq|uations |
|00000170| 28 24 2e 2e 24 20 61 6e | 64 20 24 24 2e 2e 24 24 |($..$ an|d $$..$$|
|00000180| 2c 20 70 61 72 74 69 63 | 75 6c 61 72 6c 79 29 20 |, partic|ularly) |
|00000190| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 73 74 6f 70 |can also| be stop|
|000001a0| 70 65 64 0a 22 20 20 20 | 20 62 79 20 73 75 69 74 |ped." | by suit|
|000001b0| 61 62 6c 65 20 75 73 65 | 20 6f 66 20 25 73 74 6f |able use| of %sto|
|000001c0| 70 7a 6f 6e 65 2e 0a 22 | 0a 22 20 33 2e 20 49 66 |pzone.."|." 3. If|
|000001d0| 20 79 6f 75 20 68 61 76 | 65 20 61 20 73 6c 6f 77 | you hav|e a slow|
|000001e0| 20 63 6f 6d 70 75 74 65 | 72 2c 20 79 6f 75 20 6d | compute|r, you m|
|000001f0| 61 79 20 77 69 73 68 20 | 74 6f 20 6d 6f 64 69 66 |ay wish |to modif|
|00000200| 79 0a 22 0a 22 09 20 73 | 79 6e 20 73 79 6e 63 20 |y.".". s|yn sync |
|00000210| 6d 61 78 6c 69 6e 65 73 | 3d 32 30 30 0a 22 09 20 |maxlines|=200.". |
|00000220| 73 79 6e 20 73 79 6e 63 | 20 6d 69 6e 6c 69 6e 65 |syn sync| minline|
|00000230| 73 3d 35 30 0a 22 0a 22 | 20 20 20 20 74 6f 20 76 |s=50."."| to v|
|00000240| 61 6c 75 65 73 20 74 68 | 61 74 20 61 72 65 20 6d |alues th|at are m|
|00000250| 6f 72 65 20 74 6f 20 79 | 6f 75 72 20 6c 69 6b 69 |ore to y|our liki|
|00000260| 6e 67 2e 0a 22 0a 22 20 | 34 2e 20 54 68 65 72 65 |ng.."." |4. There|
|00000270| 20 69 73 20 6e 6f 20 6d | 61 74 63 68 2d 73 79 6e | is no m|atch-syn|
|00000280| 63 69 6e 67 20 66 6f 72 | 20 24 2e 2e 2e 24 20 61 |cing for| $...$ a|
|00000290| 6e 64 20 24 24 2e 2e 2e | 24 24 3b 20 68 65 6e 63 |nd $$...|$$; henc|
|000002a0| 65 20 6c 61 72 67 65 0a | 22 20 20 20 20 65 71 75 |e large.|" equ|
|000002b0| 61 74 69 6f 6e 20 62 6c | 6f 63 6b 73 20 63 6f 6e |ation bl|ocks con|
|000002c0| 73 74 72 75 63 74 65 64 | 20 74 68 61 74 20 77 61 |structed| that wa|
|000002d0| 79 20 6d 61 79 20 65 78 | 68 69 62 69 74 20 73 79 |y may ex|hibit sy|
|000002e0| 6e 63 69 6e 67 20 70 72 | 6f 62 6c 65 6d 73 2e 0a |ncing pr|oblems..|
|000002f0| 22 20 20 20 20 28 74 68 | 65 72 65 27 73 20 6e 6f |" (th|ere's no|
|00000300| 20 64 69 66 66 65 72 65 | 6e 63 65 20 62 65 74 77 | differe|nce betw|
|00000310| 65 65 6e 20 62 65 67 69 | 6e 2f 65 6e 64 20 70 61 |een begi|n/end pa|
|00000320| 74 74 65 72 6e 73 29 0a | 22 0a 22 20 35 2e 20 49 |tterns).|"." 5. I|
|00000330| 66 20 79 6f 75 20 68 61 | 76 65 20 74 68 65 20 76 |f you ha|ve the v|
|00000340| 61 72 69 61 62 6c 65 20 | 22 74 65 78 5f 6e 6f 5f |ariable |"tex_no_|
|00000350| 65 72 72 6f 72 22 20 64 | 65 66 69 6e 65 64 20 74 |error" d|efined t|
|00000360| 68 65 6e 20 6e 6f 6e 65 | 20 6f 66 20 74 68 65 0a |hen none| of the.|
|00000370| 22 20 20 20 20 6c 65 78 | 69 63 61 6c 20 65 72 72 |" lex|ical err|
|00000380| 6f 72 2d 63 68 65 63 6b | 69 6e 67 20 77 69 6c 6c |or-check|ing will|
|00000390| 20 62 65 20 64 6f 6e 65 | 2e 0a 22 0a 22 20 20 20 | be done|.."." |
|000003a0| 20 69 65 2e 20 6c 65 74 | 20 74 65 78 5f 6e 6f 5f | ie. let| tex_no_|
|000003b0| 65 72 72 6f 72 3d 31 0a | 0a 22 20 46 6f 72 20 76 |error=1.|." For v|
|000003c0| 65 72 73 69 6f 6e 20 35 | 2e 78 3a 20 43 6c 65 61 |ersion 5|.x: Clea|
|000003d0| 72 20 61 6c 6c 20 73 79 | 6e 74 61 78 20 69 74 65 |r all sy|ntax ite|
|000003e0| 6d 73 0a 22 20 46 6f 72 | 20 76 65 72 73 69 6f 6e |ms." For| version|
|000003f0| 20 36 2e 78 3a 20 51 75 | 69 74 20 77 68 65 6e 20 | 6.x: Qu|it when |
|00000400| 61 20 73 79 6e 74 61 78 | 20 66 69 6c 65 20 77 61 |a syntax| file wa|
|00000410| 73 20 61 6c 72 65 61 64 | 79 20 6c 6f 61 64 65 64 |s alread|y loaded|
|00000420| 0a 69 66 20 76 65 72 73 | 69 6f 6e 20 3c 20 36 30 |.if vers|ion < 60|
|00000430| 30 0a 20 20 73 79 6e 74 | 61 78 20 63 6c 65 61 72 |0. synt|ax clear|
|00000440| 0a 65 6c 73 65 69 66 20 | 65 78 69 73 74 73 28 22 |.elseif |exists("|
|00000450| 62 3a 63 75 72 72 65 6e | 74 5f 73 79 6e 74 61 78 |b:curren|t_syntax|
|00000460| 22 29 0a 20 20 66 69 6e | 69 73 68 0a 65 6e 64 69 |"). fin|ish.endi|
|00000470| 66 0a 0a 22 20 28 4c 61 | 29 54 65 58 20 6b 65 79 |f.." (La|)TeX key|
|00000480| 77 6f 72 64 73 20 6f 6e | 6c 79 20 75 73 65 20 74 |words on|ly use t|
|00000490| 68 65 20 6c 65 74 74 65 | 72 73 20 61 2d 7a 41 2d |he lette|rs a-zA-|
|000004a0| 5a 0a 22 20 62 75 74 20 | 5f 20 69 73 20 74 68 65 |Z." but |_ is the|
|000004b0| 20 6f 6e 6c 79 20 6f 6e | 65 20 74 68 61 74 20 63 | only on|e that c|
|000004c0| 61 75 73 65 73 20 70 72 | 6f 62 6c 65 6d 73 2e 0a |auses pr|oblems..|
|000004d0| 6c 65 74 20 62 3a 65 78 | 74 66 6e 61 6d 65 3d 65 |let b:ex|tfname=e|
|000004e0| 78 70 61 6e 64 28 22 25 | 3a 65 22 29 0a 69 66 20 |xpand("%|:e").if |
|000004f0| 76 65 72 73 69 6f 6e 20 | 3c 20 36 30 30 0a 20 20 |version |< 600. |
|00000500| 73 65 74 20 69 73 6b 2d | 3d 5f 0a 20 20 69 66 20 |set isk-|=_. if |
|00000510| 62 3a 65 78 74 66 6e 61 | 6d 65 20 3d 3d 20 22 73 |b:extfna|me == "s|
|00000520| 74 79 22 20 7c 7c 20 62 | 3a 65 78 74 66 6e 61 6d |ty" || b|:extfnam|
|00000530| 65 20 3d 3d 20 22 63 6c | 73 22 20 7c 7c 20 62 3a |e == "cl|s" || b:|
|00000540| 65 78 74 66 6e 61 6d 65 | 20 3d 3d 20 22 63 6c 6f |extfname| == "clo|
|00000550| 22 20 7c 7c 20 62 3a 65 | 78 74 66 6e 61 6d 65 20 |" || b:e|xtfname |
|00000560| 3d 3d 20 22 64 74 78 22 | 20 7c 7c 20 62 3a 65 78 |== "dtx"| || b:ex|
|00000570| 74 66 6e 61 6d 65 20 3d | 3d 20 22 6c 74 78 22 0a |tfname =|= "ltx".|
|00000580| 20 20 20 20 73 65 74 20 | 69 73 6b 2b 3d 40 0a 20 | set |isk+=@. |
|00000590| 20 65 6e 64 69 66 0a 65 | 6c 73 65 0a 20 20 73 65 | endif.e|lse. se|
|000005a0| 74 6c 6f 63 61 6c 20 69 | 73 6b 2d 3d 5f 0a 20 20 |tlocal i|sk-=_. |
|000005b0| 69 66 20 62 3a 65 78 74 | 66 6e 61 6d 65 20 3d 3d |if b:ext|fname ==|
|000005c0| 20 22 73 74 79 22 20 7c | 7c 20 62 3a 65 78 74 66 | "sty" ||| b:extf|
|000005d0| 6e 61 6d 65 20 3d 3d 20 | 22 63 6c 73 22 20 7c 7c |name == |"cls" |||
|000005e0| 20 62 3a 65 78 74 66 6e | 61 6d 65 20 3d 3d 20 22 | b:extfn|ame == "|
|000005f0| 63 6c 6f 22 20 7c 7c 20 | 62 3a 65 78 74 66 6e 61 |clo" || |b:extfna|
|00000600| 6d 65 20 3d 3d 20 22 64 | 74 78 22 20 7c 7c 20 62 |me == "d|tx" || b|
|00000610| 3a 65 78 74 66 6e 61 6d | 65 20 3d 3d 20 22 6c 74 |:extfnam|e == "lt|
|00000620| 78 22 0a 20 20 20 20 73 | 65 74 6c 6f 63 61 6c 20 |x". s|etlocal |
|00000630| 69 73 6b 2b 3d 40 0a 20 | 20 65 6e 64 69 66 0a 65 |isk+=@. | endif.e|
|00000640| 6e 64 69 66 0a 0a 22 20 | 43 6c 75 73 74 65 72 73 |ndif.." |Clusters|
|00000650| 0a 22 20 2d 2d 2d 2d 2d | 2d 2d 2d 0a 73 79 6e 20 |." -----|---.syn |
|00000660| 63 6c 75 73 74 65 72 20 | 74 65 78 43 6d 64 47 72 |cluster |texCmdGr|
|00000670| 6f 75 70 09 20 20 20 20 | 20 20 63 6f 6e 74 61 69 |oup. | contai|
|00000680| 6e 73 3d 74 65 78 43 6d | 64 42 6f 64 79 2c 74 65 |ns=texCm|dBody,te|
|00000690| 78 43 6f 6d 6d 65 6e 74 | 2c 74 65 78 44 65 66 50 |xComment|,texDefP|
|000006a0| 61 72 6d 2c 74 65 78 44 | 65 6c 69 6d 69 74 65 72 |arm,texD|elimiter|
|000006b0| 2c 74 65 78 44 6f 63 54 | 79 70 65 2c 74 65 78 49 |,texDocT|ype,texI|
|000006c0| 6e 70 75 74 2c 74 65 78 | 4c 65 6e 67 74 68 2c 74 |nput,tex|Length,t|
|000006d0| 65 78 4c 69 67 61 74 75 | 72 65 2c 74 65 78 4d 61 |exLigatu|re,texMa|
|000006e0| 74 68 44 65 6c 69 6d 2c | 74 65 78 4d 61 74 68 45 |thDelim,|texMathE|
|000006f0| 72 72 6f 72 2c 74 65 78 | 4d 61 74 68 4f 70 65 72 |rror,tex|MathOper|
|00000700| 2c 74 65 78 4e 65 77 43 | 6d 64 2c 74 65 78 4e 65 |,texNewC|md,texNe|
|00000710| 77 45 6e 76 2c 74 65 78 | 52 65 66 5a 6f 6e 65 2c |wEnv,tex|RefZone,|
|00000720| 74 65 78 53 65 63 74 69 | 6f 6e 2c 74 65 78 53 65 |texSecti|on,texSe|
|00000730| 63 74 69 6f 6e 4d 61 72 | 6b 65 72 2c 74 65 78 53 |ctionMar|ker,texS|
|00000740| 65 63 74 69 6f 6e 4e 61 | 6d 65 2c 74 65 78 53 70 |ectionNa|me,texSp|
|00000750| 65 63 69 61 6c 43 68 61 | 72 2c 74 65 78 53 74 61 |ecialCha|r,texSta|
|00000760| 74 65 6d 65 6e 74 2c 74 | 65 78 53 74 72 69 6e 67 |tement,t|exString|
|00000770| 2c 74 65 78 54 79 70 65 | 53 69 7a 65 2c 74 65 78 |,texType|Size,tex|
|00000780| 54 79 70 65 53 74 79 6c | 65 0a 73 79 6e 20 63 6c |TypeStyl|e.syn cl|
|00000790| 75 73 74 65 72 20 74 65 | 78 45 6e 76 47 72 6f 75 |uster te|xEnvGrou|
|000007a0| 70 09 20 20 20 20 20 20 | 63 6f 6e 74 61 69 6e 73 |p. |contains|
|000007b0| 3d 74 65 78 4d 61 74 63 | 68 65 72 2c 74 65 78 4d |=texMatc|her,texM|
|000007c0| 61 74 68 44 65 6c 69 6d | 2c 74 65 78 53 70 65 63 |athDelim|,texSpec|
|000007d0| 69 61 6c 43 68 61 72 2c | 74 65 78 53 74 61 74 65 |ialChar,|texState|
|000007e0| 6d 65 6e 74 0a 73 79 6e | 20 63 6c 75 73 74 65 72 |ment.syn| cluster|
|000007f0| 20 74 65 78 4d 61 74 63 | 68 47 72 6f 75 70 20 20 | texMatc|hGroup |
|00000800| 20 20 20 63 6f 6e 74 61 | 69 6e 73 3d 40 74 65 78 | conta|ins=@tex|
|00000810| 4d 61 74 68 5a 6f 6e 65 | 73 2c 74 65 78 41 63 63 |MathZone|s,texAcc|
|00000820| 65 6e 74 2c 74 65 78 42 | 61 64 4d 61 74 68 2c 74 |ent,texB|adMath,t|
|00000830| 65 78 43 6f 6d 6d 65 6e | 74 2c 74 65 78 44 65 66 |exCommen|t,texDef|
|00000840| 43 6d 64 2c 74 65 78 44 | 65 6c 69 6d 69 74 65 72 |Cmd,texD|elimiter|
|00000850| 2c 74 65 78 44 6f 63 54 | 79 70 65 2c 74 65 78 49 |,texDocT|ype,texI|
|00000860| 6e 70 75 74 2c 74 65 78 | 4c 65 6e 67 74 68 2c 74 |nput,tex|Length,t|
|00000870| 65 78 4c 69 67 61 74 75 | 72 65 2c 74 65 78 4d 61 |exLigatu|re,texMa|
|00000880| 74 63 68 65 72 2c 74 65 | 78 4e 65 77 43 6d 64 2c |tcher,te|xNewCmd,|
|00000890| 74 65 78 4e 65 77 45 6e | 76 2c 74 65 78 4f 6e 6c |texNewEn|v,texOnl|
|000008a0| 79 4d 61 74 68 2c 74 65 | 78 50 61 72 65 6e 2c 74 |yMath,te|xParen,t|
|000008b0| 65 78 52 65 66 5a 6f 6e | 65 2c 74 65 78 53 65 63 |exRefZon|e,texSec|
|000008c0| 74 69 6f 6e 2c 74 65 78 | 53 70 65 63 69 61 6c 43 |tion,tex|SpecialC|
|000008d0| 68 61 72 2c 74 65 78 53 | 74 61 74 65 6d 65 6e 74 |har,texS|tatement|
|000008e0| 2c 74 65 78 53 74 72 69 | 6e 67 2c 74 65 78 54 79 |,texStri|ng,texTy|
|000008f0| 70 65 53 69 7a 65 2c 74 | 65 78 54 79 70 65 53 74 |peSize,t|exTypeSt|
|00000900| 79 6c 65 2c 74 65 78 5a | 6f 6e 65 2c 74 65 78 49 |yle,texZ|one,texI|
|00000910| 6e 70 75 74 46 69 6c 65 | 0a 69 66 20 21 65 78 69 |nputFile|.if !exi|
|00000920| 73 74 73 28 22 74 65 78 | 5f 6e 6f 5f 6d 61 74 68 |sts("tex|_no_math|
|00000930| 22 29 0a 20 73 79 6e 20 | 63 6c 75 73 74 65 72 20 |"). syn |cluster |
|00000940| 74 65 78 4d 61 74 68 44 | 65 6c 69 6d 47 72 6f 75 |texMathD|elimGrou|
|00000950| 70 20 63 6f 6e 74 61 69 | 6e 73 3d 74 65 78 4d 61 |p contai|ns=texMa|
|00000960| 74 68 44 65 6c 69 6d 42 | 61 64 2c 74 65 78 4d 61 |thDelimB|ad,texMa|
|00000970| 74 68 44 65 6c 69 6d 4b | 65 79 2c 74 65 78 4d 61 |thDelimK|ey,texMa|
|00000980| 74 68 44 65 6c 69 6d 53 | 65 74 31 2c 74 65 78 4d |thDelimS|et1,texM|
|00000990| 61 74 68 44 65 6c 69 6d | 53 65 74 32 0a 20 73 79 |athDelim|Set2. sy|
|000009a0| 6e 20 63 6c 75 73 74 65 | 72 20 74 65 78 4d 61 74 |n cluste|r texMat|
|000009b0| 68 4d 61 74 63 68 47 72 | 6f 75 70 20 63 6f 6e 74 |hMatchGr|oup cont|
|000009c0| 61 69 6e 73 3d 40 74 65 | 78 4d 61 74 68 5a 6f 6e |ains=@te|xMathZon|
|000009d0| 65 73 2c 74 65 78 43 6f | 6d 6d 65 6e 74 2c 74 65 |es,texCo|mment,te|
|000009e0| 78 44 65 66 43 6d 64 2c | 74 65 78 44 65 6c 69 6d |xDefCmd,|texDelim|
|000009f0| 69 74 65 72 2c 74 65 78 | 44 6f 63 54 79 70 65 2c |iter,tex|DocType,|
|00000a00| 74 65 78 49 6e 70 75 74 | 2c 74 65 78 4c 65 6e 67 |texInput|,texLeng|
|00000a10| 74 68 2c 74 65 78 4c 69 | 67 61 74 75 72 65 2c 74 |th,texLi|gature,t|
|00000a20| 65 78 4d 61 74 68 44 65 | 6c 69 6d 2c 74 65 78 4d |exMathDe|lim,texM|
|00000a30| 61 74 68 45 72 72 6f 72 | 2c 74 65 78 4d 61 74 68 |athError|,texMath|
|00000a40| 4d 61 74 63 68 65 72 2c | 74 65 78 4d 61 74 68 4f |Matcher,|texMathO|
|00000a50| 70 65 72 2c 74 65 78 4e | 65 77 43 6d 64 2c 74 65 |per,texN|ewCmd,te|
|00000a60| 78 4e 65 77 45 6e 76 2c | 74 65 78 52 65 66 5a 6f |xNewEnv,|texRefZo|
|00000a70| 6e 65 2c 74 65 78 53 65 | 63 74 69 6f 6e 2c 74 65 |ne,texSe|ction,te|
|00000a80| 78 53 70 65 63 69 61 6c | 43 68 61 72 2c 74 65 78 |xSpecial|Char,tex|
|00000a90| 53 74 61 74 65 6d 65 6e | 74 2c 74 65 78 53 74 72 |Statemen|t,texStr|
|00000aa0| 69 6e 67 2c 74 65 78 54 | 79 70 65 53 69 7a 65 2c |ing,texT|ypeSize,|
|00000ab0| 74 65 78 54 79 70 65 53 | 74 79 6c 65 2c 74 65 78 |texTypeS|tyle,tex|
|00000ac0| 5a 6f 6e 65 0a 20 73 79 | 6e 20 63 6c 75 73 74 65 |Zone. sy|n cluste|
|00000ad0| 72 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 47 72 6f |r texMat|hZoneGro|
|00000ae0| 75 70 20 20 63 6f 6e 74 | 61 69 6e 73 3d 74 65 78 |up cont|ains=tex|
|00000af0| 43 6f 6d 6d 65 6e 74 2c | 74 65 78 44 65 6c 69 6d |Comment,|texDelim|
|00000b00| 69 74 65 72 2c 74 65 78 | 4c 65 6e 67 74 68 2c 74 |iter,tex|Length,t|
|00000b10| 65 78 4d 61 74 68 44 65 | 6c 69 6d 2c 74 65 78 4d |exMathDe|lim,texM|
|00000b20| 61 74 68 45 72 72 6f 72 | 2c 74 65 78 4d 61 74 68 |athError|,texMath|
|00000b30| 4d 61 74 63 68 65 72 2c | 74 65 78 4d 61 74 68 4f |Matcher,|texMathO|
|00000b40| 70 65 72 2c 74 65 78 52 | 65 66 5a 6f 6e 65 2c 74 |per,texR|efZone,t|
|00000b50| 65 78 53 70 65 63 69 61 | 6c 43 68 61 72 2c 74 65 |exSpecia|lChar,te|
|00000b60| 78 53 74 61 74 65 6d 65 | 6e 74 2c 74 65 78 54 79 |xStateme|nt,texTy|
|00000b70| 70 65 53 69 7a 65 2c 74 | 65 78 54 79 70 65 53 74 |peSize,t|exTypeSt|
|00000b80| 79 6c 65 0a 20 73 79 6e | 20 63 6c 75 73 74 65 72 |yle. syn| cluster|
|00000b90| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 73 20 20 20 | texMath|Zones |
|00000ba0| 20 20 20 63 6f 6e 74 61 | 69 6e 73 3d 74 65 78 4d | conta|ins=texM|
|00000bb0| 61 74 68 5a 6f 6e 65 41 | 2c 74 65 78 4d 61 74 68 |athZoneA|,texMath|
|00000bc0| 5a 6f 6e 65 42 2c 74 65 | 78 4d 61 74 68 5a 6f 6e |ZoneB,te|xMathZon|
|00000bd0| 65 43 2c 74 65 78 4d 61 | 74 68 5a 6f 6e 65 44 2c |eC,texMa|thZoneD,|
|00000be0| 74 65 78 4d 61 74 68 5a | 6f 6e 65 45 2c 74 65 78 |texMathZ|oneE,tex|
|00000bf0| 4d 61 74 68 5a 6f 6e 65 | 46 2c 74 65 78 4d 61 74 |MathZone|F,texMat|
|00000c00| 68 5a 6f 6e 65 47 2c 74 | 65 78 4d 61 74 68 5a 6f |hZoneG,t|exMathZo|
|00000c10| 6e 65 48 2c 74 65 78 4d | 61 74 68 5a 6f 6e 65 49 |neH,texM|athZoneI|
|00000c20| 2c 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4a 2c 74 65 |,texMath|ZoneJ,te|
|00000c30| 78 4d 61 74 68 5a 6f 6e | 65 4b 2c 74 65 78 4d 61 |xMathZon|eK,texMa|
|00000c40| 74 68 5a 6f 6e 65 4c 2c | 74 65 78 4d 61 74 68 5a |thZoneL,|texMathZ|
|00000c50| 6f 6e 65 4d 2c 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |oneM,tex|MathZone|
|00000c60| 4e 2c 74 65 78 4d 61 74 | 68 5a 6f 6e 65 4f 2c 74 |N,texMat|hZoneO,t|
|00000c70| 65 78 4d 61 74 68 5a 6f | 6e 65 50 2c 74 65 78 4d |exMathZo|neP,texM|
|00000c80| 61 74 68 5a 6f 6e 65 51 | 2c 74 65 78 4d 61 74 68 |athZoneQ|,texMath|
|00000c90| 5a 6f 6e 65 52 2c 74 65 | 78 4d 61 74 68 5a 6f 6e |ZoneR,te|xMathZon|
|00000ca0| 65 53 2c 74 65 78 4d 61 | 74 68 5a 6f 6e 65 54 2c |eS,texMa|thZoneT,|
|00000cb0| 74 65 78 4d 61 74 68 5a | 6f 6e 65 55 2c 74 65 78 |texMathZ|oneU,tex|
|00000cc0| 4d 61 74 68 5a 6f 6e 65 | 56 2c 74 65 78 4d 61 74 |MathZone|V,texMat|
|00000cd0| 68 5a 6f 6e 65 57 2c 74 | 65 78 4d 61 74 68 5a 6f |hZoneW,t|exMathZo|
|00000ce0| 6e 65 58 0a 65 6e 64 69 | 66 0a 0a 22 20 54 72 79 |neX.endi|f.." Try|
|00000cf0| 20 74 6f 20 66 6c 61 67 | 20 7b 7d 20 61 6e 64 20 | to flag| {} and |
|00000d00| 28 29 20 6d 69 73 6d 61 | 74 63 68 65 73 0a 73 79 |() misma|tches.sy|
|00000d10| 6e 20 72 65 67 69 6f 6e | 20 74 65 78 4d 61 74 63 |n region| texMatc|
|00000d20| 68 65 72 09 20 20 20 20 | 20 20 6d 61 74 63 68 67 |her. | matchg|
|00000d30| 72 6f 75 70 3d 44 65 6c | 69 6d 69 74 65 72 20 73 |roup=Del|imiter s|
|00000d40| 74 61 72 74 3d 22 7b 22 | 20 73 6b 69 70 3d 22 5c |tart="{"| skip="\|
|00000d50| 5c 5c 5c 5c 7c 5c 5c 5b | 7b 7d 5d 22 09 20 20 65 |\\\\|\\[|{}]". e|
|00000d60| 6e 64 3d 22 7d 22 09 20 | 63 6f 6e 74 61 69 6e 73 |nd="}". |contains|
|00000d70| 3d 40 74 65 78 4d 61 74 | 63 68 47 72 6f 75 70 2c |=@texMat|chGroup,|
|00000d80| 74 65 78 45 72 72 6f 72 | 0a 73 79 6e 20 72 65 67 |texError|.syn reg|
|00000d90| 69 6f 6e 20 74 65 78 4d | 61 74 63 68 65 72 09 20 |ion texM|atcher. |
|00000da0| 20 20 20 20 20 6d 61 74 | 63 68 67 72 6f 75 70 3d | mat|chgroup=|
|00000db0| 44 65 6c 69 6d 69 74 65 | 72 20 73 74 61 72 74 3d |Delimite|r start=|
|00000dc0| 22 5c 5b 22 09 09 09 09 | 20 20 65 6e 64 3d 22 5d |"\["....| end="]|
|00000dd0| 22 09 20 63 6f 6e 74 61 | 69 6e 73 3d 40 74 65 78 |". conta|ins=@tex|
|00000de0| 4d 61 74 63 68 47 72 6f | 75 70 2c 74 65 78 45 72 |MatchGro|up,texEr|
|00000df0| 72 6f 72 0a 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |ror.syn |region t|
|00000e00| 65 78 50 61 72 65 6e 09 | 20 20 20 20 20 20 73 74 |exParen.| st|
|00000e10| 61 72 74 3d 22 28 22 09 | 09 09 09 09 09 09 20 20 |art="(".|...... |
|00000e20| 65 6e 64 3d 22 29 22 09 | 20 63 6f 6e 74 61 69 6e |end=")".| contain|
|00000e30| 73 3d 40 74 65 78 4d 61 | 74 63 68 47 72 6f 75 70 |s=@texMa|tchGroup|
|00000e40| 0a 73 79 6e 20 6d 61 74 | 63 68 20 20 74 65 78 45 |.syn mat|ch texE|
|00000e50| 72 72 6f 72 09 20 20 20 | 20 20 20 22 5b 7d 5c 5d |rror. | "[}\]|
|00000e60| 29 5d 22 0a 69 66 20 21 | 65 78 69 73 74 73 28 22 |)]".if !|exists("|
|00000e70| 74 65 78 5f 6e 6f 5f 6d | 61 74 68 22 29 0a 20 73 |tex_no_m|ath"). s|
|00000e80| 79 6e 20 6d 61 74 63 68 | 20 20 74 65 78 4d 61 74 |yn match| texMat|
|00000e90| 68 45 72 72 6f 72 20 20 | 20 20 20 20 22 7d 22 09 |hError | "}".|
|00000ea0| 20 20 20 20 20 63 6f 6e | 74 61 69 6e 65 64 0a 20 | con|tained. |
|00000eb0| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 4d 61 |syn regi|on texMa|
|00000ec0| 74 68 4d 61 74 63 68 65 | 72 20 20 20 20 6d 61 74 |thMatche|r mat|
|00000ed0| 63 68 67 72 6f 75 70 3d | 44 65 6c 69 6d 69 74 65 |chgroup=|Delimite|
|00000ee0| 72 20 73 74 61 72 74 3d | 22 7b 22 20 20 73 6b 69 |r start=|"{" ski|
|00000ef0| 70 3d 22 5c 5c 5c 5c 5c | 7c 5c 5c 7d 22 20 20 65 |p="\\\\\||\\}" e|
|00000f00| 6e 64 3d 22 7d 22 20 65 | 6e 64 3d 22 25 73 74 6f |nd="}" e|nd="%sto|
|00000f10| 70 7a 6f 6e 65 5c 3e 22 | 20 63 6f 6e 74 61 69 6e |pzone\>"| contain|
|00000f20| 65 64 20 63 6f 6e 74 61 | 69 6e 73 3d 40 74 65 78 |ed conta|ins=@tex|
|00000f30| 4d 61 74 68 4d 61 74 63 | 68 47 72 6f 75 70 0a 65 |MathMatc|hGroup.e|
|00000f40| 6e 64 69 66 0a 0a 22 20 | 54 65 58 2f 4c 61 54 65 |ndif.." |TeX/LaTe|
|00000f50| 58 20 6b 65 79 77 6f 72 | 64 73 0a 22 20 49 6e 73 |X keywor|ds." Ins|
|00000f60| 74 65 61 64 20 6f 66 20 | 74 72 79 69 6e 67 20 74 |tead of |trying t|
|00000f70| 6f 20 62 65 20 41 6c 6c | 20 4b 6e 6f 77 69 6e 67 |o be All| Knowing|
|00000f80| 2c 20 49 20 6a 75 73 74 | 20 6d 61 74 63 68 20 5c |, I just| match \|
|00000f90| 2e 2e 61 6c 70 68 61 6d | 65 72 69 63 2e 2e 0a 22 |..alpham|eric..."|
|00000fa0| 20 4e 6f 74 65 20 74 68 | 61 74 20 2a 2e 74 65 78 | Note th|at *.tex|
|00000fb0| 20 66 69 6c 65 73 20 6d | 61 79 20 6e 6f 74 20 68 | files m|ay not h|
|00000fc0| 61 76 65 20 22 40 22 20 | 69 6e 20 74 68 65 69 72 |ave "@" |in their|
|00000fd0| 20 5c 63 6f 6d 6d 61 6e | 64 73 0a 69 66 20 62 3a | \comman|ds.if b:|
|00000fe0| 65 78 74 66 6e 61 6d 65 | 20 3d 3d 20 22 73 74 79 |extfname| == "sty|
|00000ff0| 22 20 7c 7c 20 62 3a 65 | 78 74 66 6e 61 6d 65 20 |" || b:e|xtfname |
|00001000| 3d 3d 20 22 63 6c 73 22 | 20 7c 7c 20 62 3a 65 78 |== "cls"| || b:ex|
|00001010| 74 66 6e 61 6d 65 20 3d | 3d 20 22 63 6c 6f 22 20 |tfname =|= "clo" |
|00001020| 7c 7c 20 62 3a 65 78 74 | 66 6e 61 6d 65 20 3d 3d ||| b:ext|fname ==|
|00001030| 20 22 64 74 78 22 20 7c | 7c 20 62 3a 65 78 74 66 | "dtx" ||| b:extf|
|00001040| 6e 61 6d 65 20 3d 3d 20 | 22 6c 74 78 22 0a 20 20 |name == |"ltx". |
|00001050| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 53 74 61 |syn matc|h texSta|
|00001060| 74 65 6d 65 6e 74 20 20 | 20 20 20 20 22 5c 5c 5b |tement | "\\[|
|00001070| 61 2d 7a 41 2d 5a 40 5d | 5c 2b 22 0a 65 6c 73 65 |a-zA-Z@]|\+".else|
|00001080| 0a 20 20 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |. syn m|atch tex|
|00001090| 53 74 61 74 65 6d 65 6e | 74 20 20 20 20 20 20 22 |Statemen|t "|
|000010a0| 5c 5c 5c 61 5c 2b 22 0a | 20 20 73 79 6e 20 6d 61 |\\\a\+".| syn ma|
|000010b0| 74 63 68 20 74 65 78 45 | 72 72 6f 72 09 20 20 20 |tch texE|rror. |
|000010c0| 20 20 20 22 5c 5c 5c 61 | 2a 40 5b 61 2d 7a 41 2d | "\\\a|*@[a-zA-|
|000010d0| 5a 40 5d 2a 22 0a 65 6e | 64 69 66 0a 0a 22 20 54 |Z@]*".en|dif.." T|
|000010e0| 65 58 2f 4c 61 54 65 58 | 20 64 65 6c 69 6d 69 74 |eX/LaTeX| delimit|
|000010f0| 65 72 73 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |ers.syn |match te|
|00001100| 78 44 65 6c 69 6d 69 74 | 65 72 09 20 20 20 20 20 |xDelimit|er. |
|00001110| 20 22 26 22 0a 73 79 6e | 20 6d 61 74 63 68 20 74 | "&".syn| match t|
|00001120| 65 78 44 65 6c 69 6d 69 | 74 65 72 09 20 20 20 20 |exDelimi|ter. |
|00001130| 20 20 22 5c 5c 5c 5c 22 | 0a 0a 22 20 74 65 78 41 | "\\\\"|.." texA|
|00001140| 63 63 65 6e 74 20 28 74 | 6e 78 20 74 6f 20 4b 61 |ccent (t|nx to Ka|
|00001150| 72 69 6d 20 42 65 6c 61 | 62 61 73 29 20 61 76 6f |rim Bela|bas) avo|
|00001160| 69 64 73 20 61 6e 6e 6f | 79 69 6e 67 20 68 69 67 |ids anno|ying hig|
|00001170| 68 6c 69 67 68 74 69 6e | 67 20 66 6f 72 20 61 63 |hlightin|g for ac|
|00001180| 63 65 6e 74 73 0a 69 66 | 20 62 3a 65 78 74 66 6e |cents.if| b:extfn|
|00001190| 61 6d 65 20 3d 3d 20 22 | 73 74 79 22 20 7c 7c 20 |ame == "|sty" || |
|000011a0| 62 3a 65 78 74 66 6e 61 | 6d 65 20 3d 3d 20 22 63 |b:extfna|me == "c|
|000011b0| 6c 73 22 20 7c 7c 20 62 | 3a 65 78 74 66 6e 61 6d |ls" || b|:extfnam|
|000011c0| 65 20 3d 3d 20 22 63 6c | 6f 22 20 7c 7c 20 62 3a |e == "cl|o" || b:|
|000011d0| 65 78 74 66 6e 61 6d 65 | 20 3d 3d 20 22 64 74 78 |extfname| == "dtx|
|000011e0| 22 20 7c 7c 20 62 3a 65 | 78 74 66 6e 61 6d 65 20 |" || b:e|xtfname |
|000011f0| 3d 3d 20 22 6c 74 78 22 | 0a 20 20 73 79 6e 20 6d |== "ltx"|. syn m|
|00001200| 61 74 63 68 20 74 65 78 | 41 63 63 65 6e 74 09 20 |atch tex|Accent. |
|00001210| 20 20 20 20 20 22 5c 5c | 5b 62 63 64 76 75 48 5d | "\\|[bcdvuH]|
|00001220| 5b 5e 61 2d 7a 41 2d 5a | 40 5d 22 6d 65 3d 65 2d |[^a-zA-Z|@]"me=e-|
|00001230| 31 0a 20 20 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |1. syn |match te|
|00001240| 78 4c 69 67 61 74 75 72 | 65 09 20 20 20 20 20 20 |xLigatur|e. |
|00001250| 22 5c 5c 5c 28 5b 69 6a | 6f 6c 4c 5d 5c 7c 61 65 |"\\\([ij|olL]\|ae|
|00001260| 5c 7c 6f 65 5c 7c 73 73 | 5c 7c 41 41 5c 7c 41 45 |\|oe\|ss|\|AA\|AE|
|00001270| 5c 7c 4f 45 5c 29 5b 5e | 61 2d 7a 41 2d 5a 40 5d |\|OE\)[^|a-zA-Z@]|
|00001280| 22 6d 65 3d 65 2d 31 0a | 65 6c 73 65 0a 20 20 73 |"me=e-1.|else. s|
|00001290| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 41 63 63 65 |yn match| texAcce|
|000012a0| 6e 74 09 20 20 20 20 20 | 20 22 5c 5c 5b 62 63 64 |nt. | "\\[bcd|
|000012b0| 76 75 48 5d 5c 41 22 6d | 65 3d 65 2d 31 0a 20 20 |vuH]\A"m|e=e-1. |
|000012c0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 4c 69 67 |syn matc|h texLig|
|000012d0| 61 74 75 72 65 09 20 20 | 20 20 20 20 22 5c 5c 5c |ature. | "\\\|
|000012e0| 28 5b 69 6a 6f 6c 4c 5d | 5c 7c 61 65 5c 7c 6f 65 |([ijolL]|\|ae\|oe|
|000012f0| 5c 7c 73 73 5c 7c 41 41 | 5c 7c 41 45 5c 7c 4f 45 |\|ss\|AA|\|AE\|OE|
|00001300| 5c 29 5c 41 22 6d 65 3d | 65 2d 31 0a 65 6e 64 69 |\)\A"me=|e-1.endi|
|00001310| 66 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 41 |f.syn ma|tch texA|
|00001320| 63 63 65 6e 74 09 20 20 | 20 20 20 20 22 5c 5c 5b |ccent. | "\\[|
|00001330| 62 63 64 76 75 48 5d 24 | 22 0a 73 79 6e 20 6d 61 |bcdvuH]$|".syn ma|
|00001340| 74 63 68 20 74 65 78 41 | 63 63 65 6e 74 09 20 20 |tch texA|ccent. |
|00001350| 20 20 20 20 2b 5c 5c 5b | 3d 5e 2e 5c 7e 22 60 27 | +\\[|=^.\~"`'|
|00001360| 5d 2b 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |]+.syn m|atch tex|
|00001370| 41 63 63 65 6e 74 09 20 | 20 20 20 20 20 2b 5c 5c |Accent. | +\\|
|00001380| 5b 27 3d 74 27 2e 63 5e | 75 64 22 76 62 7e 48 72 |['=t'.c^|ud"vb~Hr|
|00001390| 5d 7b 5c 61 7d 2b 0a 73 | 79 6e 20 6d 61 74 63 68 |]{\a}+.s|yn match|
|000013a0| 20 74 65 78 4c 69 67 61 | 74 75 72 65 09 20 20 20 | texLiga|ture. |
|000013b0| 20 20 20 22 5c 5c 5c 28 | 5b 69 6a 6f 6c 4c 5d 5c | "\\\(|[ijolL]\|
|000013c0| 7c 61 65 5c 7c 6f 65 5c | 7c 73 73 5c 7c 41 41 5c ||ae\|oe\||ss\|AA\|
|000013d0| 7c 41 45 5c 7c 4f 45 5c | 29 24 22 0a 0a 22 20 5c ||AE\|OE\|)$".." \|
|000013e0| 62 65 67 69 6e 7b 7d 2f | 5c 65 6e 64 7b 7d 20 73 |begin{}/|\end{} s|
|000013f0| 65 63 74 69 6f 6e 20 6d | 61 72 6b 65 72 73 0a 73 |ection m|arkers.s|
|00001400| 79 6e 20 6d 61 74 63 68 | 20 20 74 65 78 53 65 63 |yn match| texSec|
|00001410| 74 69 6f 6e 4d 61 72 6b | 65 72 20 20 20 22 5c 5c |tionMark|er "\\|
|00001420| 62 65 67 69 6e 5c 3e 5c | 7c 5c 5c 65 6e 64 5c 3e |begin\>\||\\end\>|
|00001430| 22 20 6e 65 78 74 67 72 | 6f 75 70 3d 74 65 78 53 |" nextgr|oup=texS|
|00001440| 65 63 74 69 6f 6e 4e 61 | 6d 65 0a 73 79 6e 20 72 |ectionNa|me.syn r|
|00001450| 65 67 69 6f 6e 20 74 65 | 78 53 65 63 74 69 6f 6e |egion te|xSection|
|00001460| 4e 61 6d 65 20 20 20 20 | 20 6d 61 74 63 68 67 72 |Name | matchgr|
|00001470| 6f 75 70 3d 44 65 6c 69 | 6d 69 74 65 72 20 73 74 |oup=Deli|miter st|
|00001480| 61 72 74 3d 22 7b 22 20 | 65 6e 64 3d 22 7d 22 20 |art="{" |end="}" |
|00001490| 63 6f 6e 74 61 69 6e 65 | 64 0a 0a 22 20 5c 64 6f |containe|d.." \do|
|000014a0| 63 75 6d 65 6e 74 63 6c | 61 73 73 2c 20 5c 64 6f |cumentcl|ass, \do|
|000014b0| 63 75 6d 65 6e 74 73 74 | 79 6c 65 2c 20 5c 75 73 |cumentst|yle, \us|
|000014c0| 65 70 61 63 6b 61 67 65 | 0a 73 79 6e 20 6d 61 74 |epackage|.syn mat|
|000014d0| 63 68 20 20 74 65 78 44 | 6f 63 54 79 70 65 09 20 |ch texD|ocType. |
|000014e0| 20 20 20 20 20 22 5c 5c | 64 6f 63 75 6d 65 6e 74 | "\\|document|
|000014f0| 63 6c 61 73 73 5c 3e 5c | 7c 5c 5c 64 6f 63 75 6d |class\>\||\\docum|
|00001500| 65 6e 74 73 74 79 6c 65 | 5c 3e 5c 7c 5c 5c 75 73 |entstyle|\>\|\\us|
|00001510| 65 70 61 63 6b 61 67 65 | 5c 3e 22 09 20 20 6e 65 |epackage|\>". ne|
|00001520| 78 74 67 72 6f 75 70 3d | 74 65 78 53 65 63 74 69 |xtgroup=|texSecti|
|00001530| 6f 6e 4e 61 6d 65 2c 74 | 65 78 44 6f 63 54 79 70 |onName,t|exDocTyp|
|00001540| 65 41 72 67 73 0a 73 79 | 6e 20 72 65 67 69 6f 6e |eArgs.sy|n region|
|00001550| 20 74 65 78 44 6f 63 54 | 79 70 65 41 72 67 73 20 | texDocT|ypeArgs |
|00001560| 20 20 20 20 6d 61 74 63 | 68 67 72 6f 75 70 3d 44 | matc|hgroup=D|
|00001570| 65 6c 69 6d 69 74 65 72 | 20 73 74 61 72 74 3d 22 |elimiter| start="|
|00001580| 5c 5b 22 20 65 6e 64 3d | 22 5d 22 09 09 09 20 20 |\[" end=|"]"... |
|00001590| 63 6f 6e 74 61 69 6e 65 | 64 09 20 6e 65 78 74 67 |containe|d. nextg|
|000015a0| 72 6f 75 70 3d 74 65 78 | 53 65 63 74 69 6f 6e 4e |roup=tex|SectionN|
|000015b0| 61 6d 65 0a 0a 22 20 54 | 65 58 20 69 6e 70 75 74 |ame.." T|eX input|
|000015c0| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 49 6e |.syn mat|ch texIn|
|000015d0| 70 75 74 09 20 20 20 20 | 20 20 22 5c 5c 69 6e 70 |put. | "\\inp|
|000015e0| 75 74 5c 73 5c 2b 5b 61 | 2d 7a 41 2d 5a 2f 2e 30 |ut\s\+[a|-zA-Z/.0|
|000015f0| 2d 39 5f 5e 5d 5c 2b 22 | 68 73 3d 73 2b 37 09 09 |-9_^]\+"|hs=s+7..|
|00001600| 09 20 20 63 6f 6e 74 61 | 69 6e 73 3d 74 65 78 53 |. conta|ins=texS|
|00001610| 74 61 74 65 6d 65 6e 74 | 0a 73 79 6e 20 6d 61 74 |tatement|.syn mat|
|00001620| 63 68 20 74 65 78 49 6e | 70 75 74 46 69 6c 65 09 |ch texIn|putFile.|
|00001630| 20 20 20 20 20 20 22 5c | 5c 69 6e 63 6c 75 64 65 | "\|\include|
|00001640| 5c 28 67 72 61 70 68 69 | 63 73 5c 7c 6c 69 73 74 |\(graphi|cs\|list|
|00001650| 5c 29 5c 3d 5c 28 5c 5b | 2e 5c 7b 2d 7d 5c 5d 5c |\)\=\(\[|.\{-}\]\|
|00001660| 29 5c 3d 5c 73 2a 7b 2e | 5c 7b 2d 7d 7d 22 09 20 |)\=\s*{.|\{-}}". |
|00001670| 20 63 6f 6e 74 61 69 6e | 73 3d 74 65 78 53 74 61 | contain|s=texSta|
|00001680| 74 65 6d 65 6e 74 2c 74 | 65 78 49 6e 70 75 74 43 |tement,t|exInputC|
|00001690| 75 72 6c 69 65 73 0a 73 | 79 6e 20 6d 61 74 63 68 |urlies.s|yn match|
|000016a0| 20 74 65 78 49 6e 70 75 | 74 46 69 6c 65 09 20 20 | texInpu|tFile. |
|000016b0| 20 20 20 20 22 5c 5c 5c | 28 65 70 73 66 69 67 5c | "\\\|(epsfig\|
|000016c0| 7c 69 6e 70 75 74 5c 7c | 75 73 65 70 61 63 6b 61 ||input\||usepacka|
|000016d0| 67 65 5c 29 5c 73 2a 5c | 28 5c 5b 2e 2a 5c 5d 5c |ge\)\s*\|(\[.*\]\|
|000016e0| 29 5c 3d 7b 2e 5c 7b 2d | 7d 7d 22 09 20 20 63 6f |)\={.\{-|}}". co|
|000016f0| 6e 74 61 69 6e 73 3d 74 | 65 78 53 74 61 74 65 6d |ntains=t|exStatem|
|00001700| 65 6e 74 2c 74 65 78 49 | 6e 70 75 74 43 75 72 6c |ent,texI|nputCurl|
|00001710| 69 65 73 2c 74 65 78 49 | 6e 70 75 74 46 69 6c 65 |ies,texI|nputFile|
|00001720| 4f 70 74 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |Opt.syn |match te|
|00001730| 78 49 6e 70 75 74 43 75 | 72 6c 69 65 73 20 20 20 |xInputCu|rlies |
|00001740| 20 20 22 5b 7b 7d 5d 22 | 09 09 09 09 09 09 09 20 | "[{}]"|....... |
|00001750| 20 63 6f 6e 74 61 69 6e | 65 64 0a 73 79 6e 20 72 | contain|ed.syn r|
|00001760| 65 67 69 6f 6e 20 74 65 | 78 49 6e 70 75 74 46 69 |egion te|xInputFi|
|00001770| 6c 65 4f 70 74 20 20 20 | 20 6d 61 74 63 68 67 72 |leOpt | matchgr|
|00001780| 6f 75 70 3d 44 65 6c 69 | 6d 69 74 65 72 20 73 74 |oup=Deli|miter st|
|00001790| 61 72 74 3d 22 5c 5b 22 | 20 65 6e 64 3d 22 5c 5d |art="\["| end="\]|
|000017a0| 22 09 09 09 20 20 63 6f | 6e 74 61 69 6e 65 64 0a |"... co|ntained.|
|000017b0| 0a 22 20 54 79 70 65 20 | 53 74 79 6c 65 73 20 28 |." Type |Styles (|
|000017c0| 4c 61 54 65 58 20 32 2e | 30 39 29 0a 73 79 6e 20 |LaTeX 2.|09).syn |
|000017d0| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 74 79 |match te|xTypeSty|
|000017e0| 6c 65 09 20 20 20 20 20 | 20 22 5c 5c 72 6d 5c 3e |le. | "\\rm\>|
|000017f0| 22 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 54 |".syn ma|tch texT|
|00001800| 79 70 65 53 74 79 6c 65 | 09 20 20 20 20 20 20 22 |ypeStyle|. "|
|00001810| 5c 5c 65 6d 5c 3e 22 0a | 73 79 6e 20 6d 61 74 63 |\\em\>".|syn matc|
|00001820| 68 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 20 |h texTyp|eStyle. |
|00001830| 20 20 20 20 20 22 5c 5c | 62 66 5c 3e 22 0a 73 79 | "\\|bf\>".sy|
|00001840| 6e 20 6d 61 74 63 68 20 | 74 65 78 54 79 70 65 53 |n match |texTypeS|
|00001850| 74 79 6c 65 09 20 20 20 | 20 20 20 22 5c 5c 69 74 |tyle. | "\\it|
|00001860| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001870| 78 54 79 70 65 53 74 79 | 6c 65 09 20 20 20 20 20 |xTypeSty|le. |
|00001880| 20 22 5c 5c 73 6c 5c 3e | 22 0a 73 79 6e 20 6d 61 | "\\sl\>|".syn ma|
|00001890| 74 63 68 20 74 65 78 54 | 79 70 65 53 74 79 6c 65 |tch texT|ypeStyle|
|000018a0| 09 20 20 20 20 20 20 22 | 5c 5c 73 66 5c 3e 22 0a |. "|\\sf\>".|
|000018b0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|000018c0| 65 53 74 79 6c 65 09 20 | 20 20 20 20 20 22 5c 5c |eStyle. | "\\|
|000018d0| 73 63 5c 3e 22 0a 73 79 | 6e 20 6d 61 74 63 68 20 |sc\>".sy|n match |
|000018e0| 74 65 78 54 79 70 65 53 | 74 79 6c 65 09 20 20 20 |texTypeS|tyle. |
|000018f0| 20 20 20 22 5c 5c 74 74 | 5c 3e 22 0a 0a 22 20 54 | "\\tt|\>".." T|
|00001900| 79 70 65 20 53 74 79 6c | 65 73 3a 20 61 74 74 72 |ype Styl|es: attr|
|00001910| 69 62 75 74 65 73 2c 20 | 63 6f 6d 6d 61 6e 64 73 |ibutes, |commands|
|00001920| 2c 20 66 61 6d 69 6c 69 | 65 73 2c 20 65 74 63 20 |, famili|es, etc |
|00001930| 28 4c 61 54 65 58 32 45 | 29 0a 73 79 6e 20 6d 61 |(LaTeX2E|).syn ma|
|00001940| 74 63 68 20 74 65 78 54 | 79 70 65 53 74 79 6c 65 |tch texT|ypeStyle|
|00001950| 09 20 20 20 20 20 20 22 | 5c 5c 74 65 78 74 62 66 |. "|\\textbf|
|00001960| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001970| 78 54 79 70 65 53 74 79 | 6c 65 09 20 20 20 20 20 |xTypeSty|le. |
|00001980| 20 22 5c 5c 74 65 78 74 | 69 74 5c 3e 22 0a 73 79 | "\\text|it\>".sy|
|00001990| 6e 20 6d 61 74 63 68 20 | 74 65 78 54 79 70 65 53 |n match |texTypeS|
|000019a0| 74 79 6c 65 09 20 20 20 | 20 20 20 22 5c 5c 74 65 |tyle. | "\\te|
|000019b0| 78 74 6d 64 5c 3e 22 0a | 73 79 6e 20 6d 61 74 63 |xtmd\>".|syn matc|
|000019c0| 68 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 20 |h texTyp|eStyle. |
|000019d0| 20 20 20 20 20 22 5c 5c | 74 65 78 74 72 6d 5c 3e | "\\|textrm\>|
|000019e0| 22 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 54 |".syn ma|tch texT|
|000019f0| 79 70 65 53 74 79 6c 65 | 09 20 20 20 20 20 20 22 |ypeStyle|. "|
|00001a00| 5c 5c 74 65 78 74 73 63 | 5c 3e 22 0a 73 79 6e 20 |\\textsc|\>".syn |
|00001a10| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 74 79 |match te|xTypeSty|
|00001a20| 6c 65 09 20 20 20 20 20 | 20 22 5c 5c 74 65 78 74 |le. | "\\text|
|00001a30| 73 66 5c 3e 22 0a 73 79 | 6e 20 6d 61 74 63 68 20 |sf\>".sy|n match |
|00001a40| 74 65 78 54 79 70 65 53 | 74 79 6c 65 09 20 20 20 |texTypeS|tyle. |
|00001a50| 20 20 20 22 5c 5c 74 65 | 78 74 73 6c 5c 3e 22 0a | "\\te|xtsl\>".|
|00001a60| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00001a70| 65 53 74 79 6c 65 09 20 | 20 20 20 20 20 22 5c 5c |eStyle. | "\\|
|00001a80| 74 65 78 74 74 74 5c 3e | 22 0a 73 79 6e 20 6d 61 |texttt\>|".syn ma|
|00001a90| 74 63 68 20 74 65 78 54 | 79 70 65 53 74 79 6c 65 |tch texT|ypeStyle|
|00001aa0| 09 20 20 20 20 20 20 22 | 5c 5c 74 65 78 74 75 70 |. "|\\textup|
|00001ab0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001ac0| 78 54 79 70 65 53 74 79 | 6c 65 09 20 20 20 20 20 |xTypeSty|le. |
|00001ad0| 20 22 5c 5c 65 6d 70 68 | 5c 3e 22 0a 0a 73 79 6e | "\\emph|\>"..syn|
|00001ae0| 20 6d 61 74 63 68 20 74 | 65 78 54 79 70 65 53 74 | match t|exTypeSt|
|00001af0| 79 6c 65 09 20 20 20 20 | 20 20 22 5c 5c 6d 61 74 |yle. | "\\mat|
|00001b00| 68 62 62 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |hbb\>".s|yn match|
|00001b10| 20 74 65 78 54 79 70 65 | 53 74 79 6c 65 09 20 20 | texType|Style. |
|00001b20| 20 20 20 20 22 5c 5c 6d | 61 74 68 62 66 5c 3e 22 | "\\m|athbf\>"|
|00001b30| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 54 79 |.syn mat|ch texTy|
|00001b40| 70 65 53 74 79 6c 65 09 | 20 20 20 20 20 20 22 5c |peStyle.| "\|
|00001b50| 5c 6d 61 74 68 63 61 6c | 5c 3e 22 0a 73 79 6e 20 |\mathcal|\>".syn |
|00001b60| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 74 79 |match te|xTypeSty|
|00001b70| 6c 65 09 20 20 20 20 20 | 20 22 5c 5c 6d 61 74 68 |le. | "\\math|
|00001b80| 66 72 61 6b 5c 3e 22 0a | 73 79 6e 20 6d 61 74 63 |frak\>".|syn matc|
|00001b90| 68 20 74 65 78 54 79 70 | 65 53 74 79 6c 65 09 20 |h texTyp|eStyle. |
|00001ba0| 20 20 20 20 20 22 5c 5c | 6d 61 74 68 69 74 5c 3e | "\\|mathit\>|
|00001bb0| 22 0a 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 54 |".syn ma|tch texT|
|00001bc0| 79 70 65 53 74 79 6c 65 | 09 20 20 20 20 20 20 22 |ypeStyle|. "|
|00001bd0| 5c 5c 6d 61 74 68 6e 6f | 72 6d 61 6c 5c 3e 22 0a |\\mathno|rmal\>".|
|00001be0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00001bf0| 65 53 74 79 6c 65 09 20 | 20 20 20 20 20 22 5c 5c |eStyle. | "\\|
|00001c00| 6d 61 74 68 72 6d 5c 3e | 22 0a 73 79 6e 20 6d 61 |mathrm\>|".syn ma|
|00001c10| 74 63 68 20 74 65 78 54 | 79 70 65 53 74 79 6c 65 |tch texT|ypeStyle|
|00001c20| 09 20 20 20 20 20 20 22 | 5c 5c 6d 61 74 68 73 66 |. "|\\mathsf|
|00001c30| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001c40| 78 54 79 70 65 53 74 79 | 6c 65 09 20 20 20 20 20 |xTypeSty|le. |
|00001c50| 20 22 5c 5c 6d 61 74 68 | 74 74 5c 3e 22 0a 0a 73 | "\\math|tt\>"..s|
|00001c60| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00001c70| 53 74 79 6c 65 09 20 20 | 20 20 20 20 22 5c 5c 72 |Style. | "\\r|
|00001c80| 6d 66 61 6d 69 6c 79 5c | 3e 22 0a 73 79 6e 20 6d |mfamily\|>".syn m|
|00001c90| 61 74 63 68 20 74 65 78 | 54 79 70 65 53 74 79 6c |atch tex|TypeStyl|
|00001ca0| 65 09 20 20 20 20 20 20 | 22 5c 5c 73 66 66 61 6d |e. |"\\sffam|
|00001cb0| 69 6c 79 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |ily\>".s|yn match|
|00001cc0| 20 74 65 78 54 79 70 65 | 53 74 79 6c 65 09 20 20 | texType|Style. |
|00001cd0| 20 20 20 20 22 5c 5c 74 | 74 66 61 6d 69 6c 79 5c | "\\t|tfamily\|
|00001ce0| 3e 22 0a 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |>"..syn |match te|
|00001cf0| 78 54 79 70 65 53 74 79 | 6c 65 09 20 20 20 20 20 |xTypeSty|le. |
|00001d00| 20 22 5c 5c 69 74 73 68 | 61 70 65 5c 3e 22 0a 73 | "\\itsh|ape\>".s|
|00001d10| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00001d20| 53 74 79 6c 65 09 20 20 | 20 20 20 20 22 5c 5c 73 |Style. | "\\s|
|00001d30| 63 73 68 61 70 65 5c 3e | 22 0a 73 79 6e 20 6d 61 |cshape\>|".syn ma|
|00001d40| 74 63 68 20 74 65 78 54 | 79 70 65 53 74 79 6c 65 |tch texT|ypeStyle|
|00001d50| 09 20 20 20 20 20 20 22 | 5c 5c 73 6c 73 68 61 70 |. "|\\slshap|
|00001d60| 65 5c 3e 22 0a 73 79 6e | 20 6d 61 74 63 68 20 74 |e\>".syn| match t|
|00001d70| 65 78 54 79 70 65 53 74 | 79 6c 65 09 20 20 20 20 |exTypeSt|yle. |
|00001d80| 20 20 22 5c 5c 75 70 73 | 68 61 70 65 5c 3e 22 0a | "\\ups|hape\>".|
|00001d90| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 54 79 |.syn mat|ch texTy|
|00001da0| 70 65 53 74 79 6c 65 09 | 20 20 20 20 20 20 22 5c |peStyle.| "\|
|00001db0| 5c 62 66 73 65 72 69 65 | 73 5c 3e 22 0a 73 79 6e |\bfserie|s\>".syn|
|00001dc0| 20 6d 61 74 63 68 20 74 | 65 78 54 79 70 65 53 74 | match t|exTypeSt|
|00001dd0| 79 6c 65 09 20 20 20 20 | 20 20 22 5c 5c 6d 64 73 |yle. | "\\mds|
|00001de0| 65 72 69 65 73 5c 3e 22 | 0a 0a 22 20 53 6f 6d 65 |eries\>"|.." Some|
|00001df0| 20 74 79 70 65 20 73 69 | 7a 65 73 0a 73 79 6e 20 | type si|zes.syn |
|00001e00| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 69 7a |match te|xTypeSiz|
|00001e10| 65 09 20 20 20 20 20 20 | 22 5c 5c 74 69 6e 79 5c |e. |"\\tiny\|
|00001e20| 3e 22 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |>".syn m|atch tex|
|00001e30| 54 79 70 65 53 69 7a 65 | 09 20 20 20 20 20 20 22 |TypeSize|. "|
|00001e40| 5c 5c 73 63 72 69 70 74 | 73 69 7a 65 5c 3e 22 0a |\\script|size\>".|
|00001e50| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 54 79 70 |syn matc|h texTyp|
|00001e60| 65 53 69 7a 65 09 20 20 | 20 20 20 20 22 5c 5c 66 |eSize. | "\\f|
|00001e70| 6f 6f 74 6e 6f 74 65 73 | 69 7a 65 5c 3e 22 0a 73 |ootnotes|ize\>".s|
|00001e80| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 54 79 70 65 |yn match| texType|
|00001e90| 53 69 7a 65 09 20 20 20 | 20 20 20 22 5c 5c 73 6d |Size. | "\\sm|
|00001ea0| 61 6c 6c 5c 3e 22 0a 73 | 79 6e 20 6d 61 74 63 68 |all\>".s|yn match|
|00001eb0| 20 74 65 78 54 79 70 65 | 53 69 7a 65 09 20 20 20 | texType|Size. |
|00001ec0| 20 20 20 22 5c 5c 6e 6f | 72 6d 61 6c 73 69 7a 65 | "\\no|rmalsize|
|00001ed0| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001ee0| 78 54 79 70 65 53 69 7a | 65 09 20 20 20 20 20 20 |xTypeSiz|e. |
|00001ef0| 22 5c 5c 6c 61 72 67 65 | 5c 3e 22 0a 73 79 6e 20 |"\\large|\>".syn |
|00001f00| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 69 7a |match te|xTypeSiz|
|00001f10| 65 09 20 20 20 20 20 20 | 22 5c 5c 4c 61 72 67 65 |e. |"\\Large|
|00001f20| 5c 3e 22 0a 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |\>".syn |match te|
|00001f30| 78 54 79 70 65 53 69 7a | 65 09 20 20 20 20 20 20 |xTypeSiz|e. |
|00001f40| 22 5c 5c 4c 41 52 47 45 | 5c 3e 22 0a 73 79 6e 20 |"\\LARGE|\>".syn |
|00001f50| 6d 61 74 63 68 20 74 65 | 78 54 79 70 65 53 69 7a |match te|xTypeSiz|
|00001f60| 65 09 20 20 20 20 20 20 | 22 5c 5c 68 75 67 65 5c |e. |"\\huge\|
|00001f70| 3e 22 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |>".syn m|atch tex|
|00001f80| 54 79 70 65 53 69 7a 65 | 09 20 20 20 20 20 20 22 |TypeSize|. "|
|00001f90| 5c 5c 48 75 67 65 5c 3e | 22 0a 0a 22 20 53 70 61 |\\Huge\>|".." Spa|
|00001fa0| 63 65 63 6f 64 65 73 20 | 28 54 65 58 27 69 73 6d |cecodes |(TeX'ism|
|00001fb0| 73 29 3a 20 5c 6d 61 74 | 68 63 6f 64 65 60 5c 5e |s): \mat|hcode`\^|
|00001fc0| 5e 40 3d 22 32 32 30 31 | 20 20 5c 64 65 6c 63 6f |^@="2201| \delco|
|00001fd0| 64 65 60 5c 28 3d 22 30 | 32 38 33 30 30 20 20 5c |de`\(="0|28300 \|
|00001fe0| 73 66 63 6f 64 65 60 5c | 29 3d 30 0a 22 20 5c 75 |sfcode`\|)=0." \u|
|00001ff0| 63 63 6f 64 65 60 58 3d | 60 58 20 20 5c 6c 63 63 |ccode`X=|`X \lcc|
|00002000| 6f 64 65 60 78 3d 60 78 | 0a 73 79 6e 20 6d 61 74 |ode`x=`x|.syn mat|
|00002010| 63 68 20 74 65 78 53 70 | 61 63 65 43 6f 64 65 09 |ch texSp|aceCode.|
|00002020| 20 20 20 20 20 20 22 5c | 5c 5c 28 6d 61 74 68 5c | "\|\\(math\|
|00002030| 7c 63 61 74 5c 7c 64 65 | 6c 5c 7c 6c 63 5c 7c 73 ||cat\|de|l\|lc\|s|
|00002040| 66 5c 7c 75 63 5c 29 63 | 6f 64 65 60 22 6d 65 3d |f\|uc\)c|ode`"me=|
|00002050| 65 2d 31 20 6e 65 78 74 | 67 72 6f 75 70 3d 74 65 |e-1 next|group=te|
|00002060| 78 53 70 61 63 65 43 6f | 64 65 43 68 61 72 0a 73 |xSpaceCo|deChar.s|
|00002070| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 53 70 61 63 |yn match| texSpac|
|00002080| 65 43 6f 64 65 43 68 61 | 72 20 20 20 20 22 60 5c |eCodeCha|r "`\|
|00002090| 5c 5c 3d 2e 5c 28 5c 5e | 2e 5c 29 5c 3d 3d 5c 28 |\\=.\(\^|.\)\==\(|
|000020a0| 5c 64 5c 7c 5c 22 5c 78 | 5c 7b 31 2c 36 7d 5c 7c |\d\|\"\x|\{1,6}\||
|000020b0| 60 2e 5c 29 22 09 20 20 | 20 63 6f 6e 74 61 69 6e |`.\)". | contain|
|000020c0| 65 64 0a 0a 22 20 53 65 | 63 74 69 6f 6e 73 2c 20 |ed.." Se|ctions, |
|000020d0| 73 75 62 73 65 63 74 69 | 6f 6e 73 2c 20 65 74 63 |subsecti|ons, etc|
|000020e0| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 53 65 |.syn mat|ch texSe|
|000020f0| 63 74 69 6f 6e 09 20 20 | 20 20 20 20 22 5c 5c 5c |ction. | "\\\|
|00002100| 28 73 75 62 5c 29 2a 73 | 65 63 74 69 6f 6e 5c 2a |(sub\)*s|ection\*|
|00002110| 5c 3d 5c 3e 22 0a 73 79 | 6e 20 6d 61 74 63 68 20 |\=\>".sy|n match |
|00002120| 74 65 78 53 65 63 74 69 | 6f 6e 09 20 20 20 20 20 |texSecti|on. |
|00002130| 20 22 5c 5c 5c 28 74 69 | 74 6c 65 5c 7c 61 75 74 | "\\\(ti|tle\|aut|
|00002140| 68 6f 72 5c 7c 70 61 72 | 74 5c 7c 63 68 61 70 74 |hor\|par|t\|chapt|
|00002150| 65 72 5c 7c 70 61 72 61 | 67 72 61 70 68 5c 7c 73 |er\|para|graph\|s|
|00002160| 75 62 70 61 72 61 67 72 | 61 70 68 5c 29 5c 3e 22 |ubparagr|aph\)\>"|
|00002170| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 53 65 |.syn mat|ch texSe|
|00002180| 63 74 69 6f 6e 09 20 20 | 20 20 20 20 22 5c 5c 62 |ction. | "\\b|
|00002190| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 61 62 73 74 72 |egin\s*{|\s*abstr|
|000021a0| 61 63 74 5c 73 2a 7d 5c | 7c 5c 5c 65 6e 64 5c 73 |act\s*}\||\\end\s|
|000021b0| 2a 7b 5c 73 2a 61 62 73 | 74 72 61 63 74 5c 73 2a |*{\s*abs|tract\s*|
|000021c0| 7d 22 0a 0a 22 20 42 61 | 64 20 4d 61 74 68 20 28 |}".." Ba|d Math (|
|000021d0| 6d 69 73 6d 61 74 63 68 | 65 64 29 0a 69 66 20 21 |mismatch|ed).if !|
|000021e0| 65 78 69 73 74 73 28 22 | 74 65 78 5f 6e 6f 5f 6d |exists("|tex_no_m|
|000021f0| 61 74 68 22 29 0a 20 73 | 79 6e 20 6d 61 74 63 68 |ath"). s|yn match|
|00002200| 20 74 65 78 42 61 64 4d | 61 74 68 09 20 20 20 20 | texBadM|ath. |
|00002210| 20 20 22 5c 5c 65 6e 64 | 5c 73 2a 7b 5c 73 2a 5c | "\\end|\s*{\s*\|
|00002220| 28 73 70 6c 69 74 5c 7c | 61 6c 69 67 6e 5c 7c 67 |(split\||align\|g|
|00002230| 61 74 68 65 72 5c 7c 61 | 6c 69 67 6e 61 74 5c 7c |ather\|a|lignat\||
|00002240| 66 6c 61 6c 69 67 6e 5c | 7c 6d 75 6c 74 6c 69 6e |flalign\||multlin|
|00002250| 65 5c 29 5c 73 2a 7d 22 | 0a 20 73 79 6e 20 6d 61 |e\)\s*}"|. syn ma|
|00002260| 74 63 68 20 74 65 78 42 | 61 64 4d 61 74 68 09 20 |tch texB|adMath. |
|00002270| 20 20 20 20 20 22 5c 5c | 65 6e 64 5c 73 2a 7b 5c | "\\|end\s*{\|
|00002280| 73 2a 5c 28 65 71 75 61 | 74 69 6f 6e 5c 7c 65 71 |s*\(equa|tion\|eq|
|00002290| 6e 61 72 72 61 79 5c 7c | 64 69 73 70 6c 61 79 6d |narray\||displaym|
|000022a0| 61 74 68 5c 29 5c 2a 5c | 3d 5c 73 2a 7d 22 0a 20 |ath\)\*\|=\s*}". |
|000022b0| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 42 61 64 |syn matc|h texBad|
|000022c0| 4d 61 74 68 09 20 20 20 | 20 20 20 22 5c 5c 5b 5c |Math. | "\\[\|
|000022d0| 5d 29 5d 22 0a 65 6e 64 | 69 66 0a 0a 22 20 4d 61 |])]".end|if.." Ma|
|000022e0| 74 68 20 5a 6f 6e 65 73 | 0a 69 66 20 21 65 78 69 |th Zones|.if !exi|
|000022f0| 73 74 73 28 22 74 65 78 | 5f 6e 6f 5f 6d 61 74 68 |sts("tex|_no_math|
|00002300| 22 29 0a 20 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |"). syn |region t|
|00002310| 65 78 4d 61 74 68 5a 6f | 6e 65 41 20 20 20 20 20 |exMathZo|neA |
|00002320| 20 73 74 61 72 74 3d 22 | 5c 5c 62 65 67 69 6e 5c | start="|\\begin\|
|00002330| 73 2a 7b 5c 73 2a 61 6c | 69 67 6e 5c 2a 5c 73 2a |s*{\s*al|ign\*\s*|
|00002340| 7d 22 09 09 20 20 20 65 | 6e 64 3d 22 5c 5c 65 6e |}".. e|nd="\\en|
|00002350| 64 5c 73 2a 7b 5c 73 2a | 61 6c 69 67 6e 5c 2a 5c |d\s*{\s*|align\*\|
|00002360| 73 2a 7d 22 09 09 6b 65 | 65 70 65 6e 64 20 63 6f |s*}"..ke|epend co|
|00002370| 6e 74 61 69 6e 73 3d 40 | 74 65 78 4d 61 74 68 5a |ntains=@|texMathZ|
|00002380| 6f 6e 65 47 72 6f 75 70 | 0a 20 73 79 6e 20 72 65 |oneGroup|. syn re|
|00002390| 67 69 6f 6e 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |gion tex|MathZone|
|000023a0| 42 20 20 20 20 20 20 73 | 74 61 72 74 3d 22 5c 5c |B s|tart="\\|
|000023b0| 62 65 67 69 6e 5c 73 2a | 7b 5c 73 2a 61 6c 69 67 |begin\s*|{\s*alig|
|000023c0| 6e 61 74 5c 2a 5c 73 2a | 7d 22 09 20 20 20 65 6e |nat\*\s*|}". en|
|000023d0| 64 3d 22 5c 5c 65 6e 64 | 5c 73 2a 7b 5c 73 2a 61 |d="\\end|\s*{\s*a|
|000023e0| 6c 69 67 6e 61 74 5c 2a | 5c 73 2a 7d 22 09 09 6b |lignat\*|\s*}"..k|
|000023f0| 65 65 70 65 6e 64 20 63 | 6f 6e 74 61 69 6e 73 3d |eepend c|ontains=|
|00002400| 40 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 72 6f 75 |@texMath|ZoneGrou|
|00002410| 70 0a 20 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |p. syn r|egion te|
|00002420| 78 4d 61 74 68 5a 6f 6e | 65 43 20 20 20 20 20 20 |xMathZon|eC |
|00002430| 73 74 61 72 74 3d 22 5c | 5c 62 65 67 69 6e 5c 73 |start="\|\begin\s|
|00002440| 2a 7b 5c 73 2a 61 6c 69 | 67 6e 61 74 5c 73 2a 7d |*{\s*ali|gnat\s*}|
|00002450| 22 09 09 20 20 20 65 6e | 64 3d 22 5c 5c 65 6e 64 |".. en|d="\\end|
|00002460| 5c 73 2a 7b 5c 73 2a 61 | 6c 69 67 6e 61 74 5c 73 |\s*{\s*a|lignat\s|
|00002470| 2a 7d 22 09 09 6b 65 65 | 70 65 6e 64 20 63 6f 6e |*}"..kee|pend con|
|00002480| 74 61 69 6e 73 3d 40 74 | 65 78 4d 61 74 68 5a 6f |tains=@t|exMathZo|
|00002490| 6e 65 47 72 6f 75 70 0a | 20 73 79 6e 20 72 65 67 |neGroup.| syn reg|
|000024a0| 69 6f 6e 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 44 |ion texM|athZoneD|
|000024b0| 20 20 20 20 20 20 73 74 | 61 72 74 3d 22 5c 5c 62 | st|art="\\b|
|000024c0| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 61 6c 69 67 6e |egin\s*{|\s*align|
|000024d0| 5c 73 2a 7d 22 09 09 20 | 20 20 65 6e 64 3d 22 5c |\s*}".. | end="\|
|000024e0| 5c 65 6e 64 5c 73 2a 7b | 5c 73 2a 61 6c 69 67 6e |\end\s*{|\s*align|
|000024f0| 5c 73 2a 7d 22 09 09 09 | 6b 65 65 70 65 6e 64 20 |\s*}"...|keepend |
|00002500| 63 6f 6e 74 61 69 6e 73 | 3d 40 74 65 78 4d 61 74 |contains|=@texMat|
|00002510| 68 5a 6f 6e 65 47 72 6f | 75 70 0a 20 73 79 6e 20 |hZoneGro|up. syn |
|00002520| 72 65 67 69 6f 6e 20 74 | 65 78 4d 61 74 68 5a 6f |region t|exMathZo|
|00002530| 6e 65 45 20 20 20 20 20 | 20 73 74 61 72 74 3d 22 |neE | start="|
|00002540| 5c 5c 62 65 67 69 6e 5c | 73 2a 7b 5c 73 2a 65 71 |\\begin\|s*{\s*eq|
|00002550| 6e 61 72 72 61 79 5c 2a | 5c 73 2a 7d 22 09 20 20 |narray\*|\s*}". |
|00002560| 20 65 6e 64 3d 22 5c 5c | 65 6e 64 5c 73 2a 7b 5c | end="\\|end\s*{\|
|00002570| 73 2a 65 71 6e 61 72 72 | 61 79 5c 2a 5c 73 2a 7d |s*eqnarr|ay\*\s*}|
|00002580| 22 09 09 6b 65 65 70 65 | 6e 64 20 63 6f 6e 74 61 |"..keepe|nd conta|
|00002590| 69 6e 73 3d 40 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |ins=@tex|MathZone|
|000025a0| 47 72 6f 75 70 0a 20 73 | 79 6e 20 72 65 67 69 6f |Group. s|yn regio|
|000025b0| 6e 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 46 20 20 |n texMat|hZoneF |
|000025c0| 20 20 20 20 73 74 61 72 | 74 3d 22 5c 5c 62 65 67 | star|t="\\beg|
|000025d0| 69 6e 5c 73 2a 7b 5c 73 | 2a 65 71 6e 61 72 72 61 |in\s*{\s|*eqnarra|
|000025e0| 79 5c 73 2a 7d 22 09 20 | 20 20 65 6e 64 3d 22 5c |y\s*}". | end="\|
|000025f0| 5c 65 6e 64 5c 73 2a 7b | 5c 73 2a 65 71 6e 61 72 |\end\s*{|\s*eqnar|
|00002600| 72 61 79 5c 73 2a 7d 22 | 09 09 6b 65 65 70 65 6e |ray\s*}"|..keepen|
|00002610| 64 20 63 6f 6e 74 61 69 | 6e 73 3d 40 74 65 78 4d |d contai|ns=@texM|
|00002620| 61 74 68 5a 6f 6e 65 47 | 72 6f 75 70 0a 20 73 79 |athZoneG|roup. sy|
|00002630| 6e 20 72 65 67 69 6f 6e | 20 74 65 78 4d 61 74 68 |n region| texMath|
|00002640| 5a 6f 6e 65 47 20 20 20 | 20 20 20 73 74 61 72 74 |ZoneG | start|
|00002650| 3d 22 5c 5c 62 65 67 69 | 6e 5c 73 2a 7b 5c 73 2a |="\\begi|n\s*{\s*|
|00002660| 65 71 75 61 74 69 6f 6e | 5c 2a 5c 73 2a 7d 22 09 |equation|\*\s*}".|
|00002670| 20 20 20 65 6e 64 3d 22 | 5c 5c 65 6e 64 5c 73 2a | end="|\\end\s*|
|00002680| 7b 5c 73 2a 65 71 75 61 | 74 69 6f 6e 5c 2a 5c 73 |{\s*equa|tion\*\s|
|00002690| 2a 7d 22 09 09 6b 65 65 | 70 65 6e 64 20 63 6f 6e |*}"..kee|pend con|
|000026a0| 74 61 69 6e 73 3d 40 74 | 65 78 4d 61 74 68 5a 6f |tains=@t|exMathZo|
|000026b0| 6e 65 47 72 6f 75 70 0a | 20 73 79 6e 20 72 65 67 |neGroup.| syn reg|
|000026c0| 69 6f 6e 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 48 |ion texM|athZoneH|
|000026d0| 20 20 20 20 20 20 73 74 | 61 72 74 3d 22 5c 5c 62 | st|art="\\b|
|000026e0| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 65 71 75 61 74 |egin\s*{|\s*equat|
|000026f0| 69 6f 6e 5c 73 2a 7d 22 | 09 20 20 20 65 6e 64 3d |ion\s*}"|. end=|
|00002700| 22 5c 5c 65 6e 64 5c 73 | 2a 7b 5c 73 2a 65 71 75 |"\\end\s|*{\s*equ|
|00002710| 61 74 69 6f 6e 5c 73 2a | 7d 22 09 09 6b 65 65 70 |ation\s*|}"..keep|
|00002720| 65 6e 64 20 63 6f 6e 74 | 61 69 6e 73 3d 40 74 65 |end cont|ains=@te|
|00002730| 78 4d 61 74 68 5a 6f 6e | 65 47 72 6f 75 70 0a 20 |xMathZon|eGroup. |
|00002740| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 4d 61 |syn regi|on texMa|
|00002750| 74 68 5a 6f 6e 65 49 20 | 20 20 20 20 20 73 74 61 |thZoneI | sta|
|00002760| 72 74 3d 22 5c 5c 62 65 | 67 69 6e 5c 73 2a 7b 5c |rt="\\be|gin\s*{\|
|00002770| 73 2a 66 6c 61 6c 69 67 | 6e 5c 2a 5c 73 2a 7d 22 |s*flalig|n\*\s*}"|
|00002780| 09 20 20 20 65 6e 64 3d | 22 5c 5c 65 6e 64 5c 73 |. end=|"\\end\s|
|00002790| 2a 7b 5c 73 2a 66 6c 61 | 6c 69 67 6e 5c 2a 5c 73 |*{\s*fla|lign\*\s|
|000027a0| 2a 7d 22 09 09 6b 65 65 | 70 65 6e 64 20 63 6f 6e |*}"..kee|pend con|
|000027b0| 74 61 69 6e 73 3d 40 74 | 65 78 4d 61 74 68 5a 6f |tains=@t|exMathZo|
|000027c0| 6e 65 47 72 6f 75 70 0a | 20 73 79 6e 20 72 65 67 |neGroup.| syn reg|
|000027d0| 69 6f 6e 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 4a |ion texM|athZoneJ|
|000027e0| 20 20 20 20 20 20 73 74 | 61 72 74 3d 22 5c 5c 62 | st|art="\\b|
|000027f0| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 66 6c 61 6c 69 |egin\s*{|\s*flali|
|00002800| 67 6e 5c 73 2a 7d 22 09 | 09 20 20 20 65 6e 64 3d |gn\s*}".|. end=|
|00002810| 22 5c 5c 65 6e 64 5c 73 | 2a 7b 5c 73 2a 66 6c 61 |"\\end\s|*{\s*fla|
|00002820| 6c 69 67 6e 5c 73 2a 7d | 22 09 09 6b 65 65 70 65 |lign\s*}|"..keepe|
|00002830| 6e 64 20 63 6f 6e 74 61 | 69 6e 73 3d 40 74 65 78 |nd conta|ins=@tex|
|00002840| 4d 61 74 68 5a 6f 6e 65 | 47 72 6f 75 70 0a 20 73 |MathZone|Group. s|
|00002850| 79 6e 20 72 65 67 69 6f | 6e 20 74 65 78 4d 61 74 |yn regio|n texMat|
|00002860| 68 5a 6f 6e 65 4b 20 20 | 20 20 20 20 73 74 61 72 |hZoneK | star|
|00002870| 74 3d 22 5c 5c 62 65 67 | 69 6e 5c 73 2a 7b 5c 73 |t="\\beg|in\s*{\s|
|00002880| 2a 67 61 74 68 65 72 5c | 2a 5c 73 2a 7d 22 09 20 |*gather\|*\s*}". |
|00002890| 20 20 65 6e 64 3d 22 5c | 5c 65 6e 64 5c 73 2a 7b | end="\|\end\s*{|
|000028a0| 5c 73 2a 67 61 74 68 65 | 72 5c 2a 5c 73 2a 7d 22 |\s*gathe|r\*\s*}"|
|000028b0| 09 09 6b 65 65 70 65 6e | 64 20 63 6f 6e 74 61 69 |..keepen|d contai|
|000028c0| 6e 73 3d 40 74 65 78 4d | 61 74 68 5a 6f 6e 65 47 |ns=@texM|athZoneG|
|000028d0| 72 6f 75 70 0a 20 73 79 | 6e 20 72 65 67 69 6f 6e |roup. sy|n region|
|000028e0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 4c 20 20 20 | texMath|ZoneL |
|000028f0| 20 20 20 73 74 61 72 74 | 3d 22 5c 5c 62 65 67 69 | start|="\\begi|
|00002900| 6e 5c 73 2a 7b 5c 73 2a | 67 61 74 68 65 72 5c 73 |n\s*{\s*|gather\s|
|00002910| 2a 7d 22 09 09 20 20 20 | 65 6e 64 3d 22 5c 5c 65 |*}".. |end="\\e|
|00002920| 6e 64 5c 73 2a 7b 5c 73 | 2a 67 61 74 68 65 72 5c |nd\s*{\s|*gather\|
|00002930| 73 2a 7d 22 09 09 09 6b | 65 65 70 65 6e 64 20 63 |s*}"...k|eepend c|
|00002940| 6f 6e 74 61 69 6e 73 3d | 40 74 65 78 4d 61 74 68 |ontains=|@texMath|
|00002950| 5a 6f 6e 65 47 72 6f 75 | 70 0a 20 73 79 6e 20 72 |ZoneGrou|p. syn r|
|00002960| 65 67 69 6f 6e 20 74 65 | 78 4d 61 74 68 5a 6f 6e |egion te|xMathZon|
|00002970| 65 4d 20 20 20 20 20 20 | 73 74 61 72 74 3d 22 5c |eM |start="\|
|00002980| 5c 62 65 67 69 6e 5c 73 | 2a 7b 5c 73 2a 6d 61 74 |\begin\s|*{\s*mat|
|00002990| 68 5c 2a 5c 73 2a 7d 22 | 09 09 20 20 20 65 6e 64 |h\*\s*}"|.. end|
|000029a0| 3d 22 5c 5c 65 6e 64 5c | 73 2a 7b 5c 73 2a 6d 61 |="\\end\|s*{\s*ma|
|000029b0| 74 68 5c 2a 5c 73 2a 7d | 22 09 09 09 6b 65 65 70 |th\*\s*}|"...keep|
|000029c0| 65 6e 64 20 63 6f 6e 74 | 61 69 6e 73 3d 40 74 65 |end cont|ains=@te|
|000029d0| 78 4d 61 74 68 5a 6f 6e | 65 47 72 6f 75 70 0a 20 |xMathZon|eGroup. |
|000029e0| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 4d 61 |syn regi|on texMa|
|000029f0| 74 68 5a 6f 6e 65 4e 20 | 20 20 20 20 20 73 74 61 |thZoneN | sta|
|00002a00| 72 74 3d 22 5c 5c 62 65 | 67 69 6e 5c 73 2a 7b 5c |rt="\\be|gin\s*{\|
|00002a10| 73 2a 6d 61 74 68 5c 73 | 2a 7d 22 09 09 20 20 20 |s*math\s|*}".. |
|00002a20| 65 6e 64 3d 22 5c 5c 65 | 6e 64 5c 73 2a 7b 5c 73 |end="\\e|nd\s*{\s|
|00002a30| 2a 6d 61 74 68 5c 73 2a | 7d 22 09 09 09 6b 65 65 |*math\s*|}"...kee|
|00002a40| 70 65 6e 64 20 63 6f 6e | 74 61 69 6e 73 3d 40 74 |pend con|tains=@t|
|00002a50| 65 78 4d 61 74 68 5a 6f | 6e 65 47 72 6f 75 70 0a |exMathZo|neGroup.|
|00002a60| 20 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 4d | syn reg|ion texM|
|00002a70| 61 74 68 5a 6f 6e 65 4f | 20 20 20 20 20 20 73 74 |athZoneO| st|
|00002a80| 61 72 74 3d 22 5c 5c 62 | 65 67 69 6e 5c 73 2a 7b |art="\\b|egin\s*{|
|00002a90| 5c 73 2a 6d 75 6c 74 6c | 69 6e 65 5c 73 2a 7d 22 |\s*multl|ine\s*}"|
|00002aa0| 09 20 20 20 65 6e 64 3d | 22 5c 5c 65 6e 64 5c 73 |. end=|"\\end\s|
|00002ab0| 2a 7b 5c 73 2a 6d 75 6c | 74 6c 69 6e 65 5c 73 2a |*{\s*mul|tline\s*|
|00002ac0| 7d 22 09 09 6b 65 65 70 | 65 6e 64 20 63 6f 6e 74 |}"..keep|end cont|
|00002ad0| 61 69 6e 73 3d 40 74 65 | 78 4d 61 74 68 5a 6f 6e |ains=@te|xMathZon|
|00002ae0| 65 47 72 6f 75 70 0a 20 | 73 79 6e 20 72 65 67 69 |eGroup. |syn regi|
|00002af0| 6f 6e 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 50 20 |on texMa|thZoneP |
|00002b00| 20 20 20 20 20 73 74 61 | 72 74 3d 22 5c 5c 62 65 | sta|rt="\\be|
|00002b10| 67 69 6e 5c 73 2a 7b 5c | 73 2a 73 70 6c 69 74 5c |gin\s*{\|s*split\|
|00002b20| 73 2a 7d 22 09 09 20 20 | 20 65 6e 64 3d 22 5c 5c |s*}".. | end="\\|
|00002b30| 65 6e 64 5c 73 2a 7b 5c | 73 2a 73 70 6c 69 74 5c |end\s*{\|s*split\|
|00002b40| 73 2a 7d 22 09 09 09 6b | 65 65 70 65 6e 64 20 63 |s*}"...k|eepend c|
|00002b50| 6f 6e 74 61 69 6e 73 3d | 40 74 65 78 4d 61 74 68 |ontains=|@texMath|
|00002b60| 5a 6f 6e 65 47 72 6f 75 | 70 0a 20 73 79 6e 20 72 |ZoneGrou|p. syn r|
|00002b70| 65 67 69 6f 6e 20 74 65 | 78 4d 61 74 68 5a 6f 6e |egion te|xMathZon|
|00002b80| 65 51 20 20 20 20 20 20 | 73 74 61 72 74 3d 22 5c |eQ |start="\|
|00002b90| 5c 62 65 67 69 6e 5c 73 | 2a 7b 5c 73 2a 64 69 73 |\begin\s|*{\s*dis|
|00002ba0| 70 6c 61 79 6d 61 74 68 | 5c 2a 5c 73 2a 7d 22 09 |playmath|\*\s*}".|
|00002bb0| 20 20 20 65 6e 64 3d 22 | 5c 5c 65 6e 64 5c 73 2a | end="|\\end\s*|
|00002bc0| 7b 5c 73 2a 64 69 73 70 | 6c 61 79 6d 61 74 68 5c |{\s*disp|laymath\|
|00002bd0| 2a 5c 73 2a 7d 22 09 09 | 6b 65 65 70 65 6e 64 20 |*\s*}"..|keepend |
|00002be0| 63 6f 6e 74 61 69 6e 73 | 3d 40 74 65 78 4d 61 74 |contains|=@texMat|
|00002bf0| 68 5a 6f 6e 65 47 72 6f | 75 70 0a 20 73 79 6e 20 |hZoneGro|up. syn |
|00002c00| 72 65 67 69 6f 6e 20 74 | 65 78 4d 61 74 68 5a 6f |region t|exMathZo|
|00002c10| 6e 65 52 20 20 20 20 20 | 20 73 74 61 72 74 3d 22 |neR | start="|
|00002c20| 5c 5c 62 65 67 69 6e 5c | 73 2a 7b 5c 73 2a 64 69 |\\begin\|s*{\s*di|
|00002c30| 73 70 6c 61 79 6d 61 74 | 68 5c 73 2a 7d 22 09 20 |splaymat|h\s*}". |
|00002c40| 20 20 65 6e 64 3d 22 5c | 5c 65 6e 64 5c 73 2a 7b | end="\|\end\s*{|
|00002c50| 5c 73 2a 64 69 73 70 6c | 61 79 6d 61 74 68 5c 73 |\s*displ|aymath\s|
|00002c60| 2a 7d 22 09 09 6b 65 65 | 70 65 6e 64 20 63 6f 6e |*}"..kee|pend con|
|00002c70| 74 61 69 6e 73 3d 40 74 | 65 78 4d 61 74 68 5a 6f |tains=@t|exMathZo|
|00002c80| 6e 65 47 72 6f 75 70 0a | 20 73 79 6e 20 72 65 67 |neGroup.| syn reg|
|00002c90| 69 6f 6e 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 53 |ion texM|athZoneS|
|00002ca0| 20 20 20 20 20 20 73 74 | 61 72 74 3d 22 5c 5c 62 | st|art="\\b|
|00002cb0| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 6d 75 6c 74 6c |egin\s*{|\s*multl|
|00002cc0| 69 6e 65 5c 2a 5c 73 2a | 7d 22 09 20 20 20 65 6e |ine\*\s*|}". en|
|00002cd0| 64 3d 22 5c 5c 65 6e 64 | 5c 73 2a 7b 5c 73 2a 6d |d="\\end|\s*{\s*m|
|00002ce0| 75 6c 74 6c 69 6e 65 5c | 2a 5c 73 2a 7d 22 09 09 |ultline\|*\s*}"..|
|00002cf0| 6b 65 65 70 65 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |keepend |contains|
|00002d00| 3d 40 74 65 78 4d 61 74 | 68 5a 6f 6e 65 47 72 6f |=@texMat|hZoneGro|
|00002d10| 75 70 0a 20 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |up. syn |region t|
|00002d20| 65 78 4d 61 74 68 5a 6f | 6e 65 54 20 20 20 20 20 |exMathZo|neT |
|00002d30| 20 6d 61 74 63 68 67 72 | 6f 75 70 3d 44 65 6c 69 | matchgr|oup=Deli|
|00002d40| 6d 69 74 65 72 20 73 74 | 61 72 74 3d 22 5c 5c 28 |miter st|art="\\(|
|00002d50| 22 20 20 6d 61 74 63 68 | 67 72 6f 75 70 3d 44 65 |" match|group=De|
|00002d60| 6c 69 6d 69 74 65 72 20 | 65 6e 64 3d 22 5c 5c 29 |limiter |end="\\)|
|00002d70| 5c 7c 25 73 74 6f 70 7a | 6f 6e 65 5c 3e 22 09 09 |\|%stopz|one\>"..|
|00002d80| 6b 65 65 70 65 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |keepend |contains|
|00002d90| 3d 40 74 65 78 4d 61 74 | 68 5a 6f 6e 65 47 72 6f |=@texMat|hZoneGro|
|00002da0| 75 70 0a 20 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |up. syn |region t|
|00002db0| 65 78 4d 61 74 68 5a 6f | 6e 65 55 20 20 20 20 20 |exMathZo|neU |
|00002dc0| 20 6d 61 74 63 68 67 72 | 6f 75 70 3d 44 65 6c 69 | matchgr|oup=Deli|
|00002dd0| 6d 69 74 65 72 20 73 74 | 61 72 74 3d 22 5c 5c 5c |miter st|art="\\\|
|00002de0| 5b 22 20 6d 61 74 63 68 | 67 72 6f 75 70 3d 44 65 |[" match|group=De|
|00002df0| 6c 69 6d 69 74 65 72 20 | 65 6e 64 3d 22 5c 5c 5d |limiter |end="\\]|
|00002e00| 5c 7c 25 73 74 6f 70 7a | 6f 6e 65 5c 3e 22 09 09 |\|%stopz|one\>"..|
|00002e10| 6b 65 65 70 65 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |keepend |contains|
|00002e20| 3d 40 74 65 78 4d 61 74 | 68 5a 6f 6e 65 47 72 6f |=@texMat|hZoneGro|
|00002e30| 75 70 0a 0a 20 73 79 6e | 20 72 65 67 69 6f 6e 20 |up.. syn| region |
|00002e40| 74 65 78 4d 61 74 68 5a | 6f 6e 65 56 20 20 20 20 |texMathZ|oneV |
|00002e50| 20 20 6d 61 74 63 68 67 | 72 6f 75 70 3d 44 65 6c | matchg|roup=Del|
|00002e60| 69 6d 69 74 65 72 20 73 | 74 61 72 74 3d 22 5c 24 |imiter s|tart="\$|
|00002e70| 22 20 20 20 73 6b 69 70 | 3d 22 5c 5c 5c 5c 5c 7c |" skip|="\\\\\||
|00002e80| 5c 5c 5c 24 22 20 6d 61 | 74 63 68 67 72 6f 75 70 |\\\$" ma|tchgroup|
|00002e90| 3d 44 65 6c 69 6d 69 74 | 65 72 20 65 6e 64 3d 22 |=Delimit|er end="|
|00002ea0| 5c 24 22 20 65 6e 64 3d | 22 25 73 74 6f 70 7a 6f |\$" end=|"%stopzo|
|00002eb0| 6e 65 5c 3e 22 20 20 20 | 20 20 20 63 6f 6e 74 61 |ne\>" | conta|
|00002ec0| 69 6e 73 3d 40 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |ins=@tex|MathZone|
|00002ed0| 47 72 6f 75 70 0a 20 73 | 79 6e 20 72 65 67 69 6f |Group. s|yn regio|
|00002ee0| 6e 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 57 20 20 |n texMat|hZoneW |
|00002ef0| 20 20 20 20 6d 61 74 63 | 68 67 72 6f 75 70 3d 44 | matc|hgroup=D|
|00002f00| 65 6c 69 6d 69 74 65 72 | 20 73 74 61 72 74 3d 22 |elimiter| start="|
|00002f10| 5c 24 5c 24 22 20 6d 61 | 74 63 68 67 72 6f 75 70 |\$\$" ma|tchgroup|
|00002f20| 3d 44 65 6c 69 6d 69 74 | 65 72 20 65 6e 64 3d 22 |=Delimit|er end="|
|00002f30| 5c 24 5c 24 22 20 65 6e | 64 3d 22 25 73 74 6f 70 |\$\$" en|d="%stop|
|00002f40| 7a 6f 6e 65 5c 3e 22 09 | 6b 65 65 70 65 6e 64 09 |zone\>".|keepend.|
|00002f50| 20 20 20 20 20 20 20 63 | 6f 6e 74 61 69 6e 73 3d | c|ontains=|
|00002f60| 40 74 65 78 4d 61 74 68 | 5a 6f 6e 65 47 72 6f 75 |@texMath|ZoneGrou|
|00002f70| 70 0a 20 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 |p. syn r|egion te|
|00002f80| 78 4d 61 74 68 5a 6f 6e | 65 58 20 20 20 20 20 20 |xMathZon|eX |
|00002f90| 6d 61 74 63 68 67 72 6f | 75 70 3d 74 65 78 53 74 |matchgro|up=texSt|
|00002fa0| 61 74 65 6d 65 6e 74 20 | 73 74 61 72 74 3d 22 5c |atement |start="\|
|00002fb0| 5c 65 6e 73 75 72 65 6d | 61 74 68 5c 73 2a 7b 22 |\ensurem|ath\s*{"|
|00002fc0| 20 6d 61 74 63 68 67 72 | 6f 75 70 3d 74 65 78 53 | matchgr|oup=texS|
|00002fd0| 74 61 74 65 6d 65 6e 74 | 20 65 6e 64 3d 22 7d 22 |tatement| end="}"|
|00002fe0| 20 65 6e 64 3d 22 25 73 | 74 6f 70 7a 6f 6e 65 5c | end="%s|topzone\|
|00002ff0| 3e 22 20 20 20 20 20 20 | 20 63 6f 6e 74 61 69 6e |>" | contain|
|00003000| 73 3d 40 74 65 78 4d 61 | 74 68 5a 6f 6e 65 47 72 |s=@texMa|thZoneGr|
|00003010| 6f 75 70 0a 0a 20 73 79 | 6e 20 6d 61 74 63 68 20 |oup.. sy|n match |
|00003020| 74 65 78 4d 61 74 68 4f | 70 65 72 09 20 20 20 20 |texMathO|per. |
|00003030| 20 20 22 5b 5f 5e 3d 5d | 22 20 63 6f 6e 74 61 69 | "[_^=]|" contai|
|00003040| 6e 65 64 0a 0a 20 22 20 | 5c 6c 65 66 74 2e 2e 73 |ned.. " |\left..s|
|00003050| 6f 6d 65 74 68 69 6e 67 | 2e 2e 20 61 6e 64 20 5c |omething|.. and \|
|00003060| 72 69 67 68 74 2e 2e 73 | 6f 6d 65 74 68 69 6e 67 |right..s|omething|
|00003070| 2e 2e 20 73 75 70 70 6f | 72 74 0a 20 73 79 6e 20 |.. suppo|rt. syn |
|00003080| 6d 61 74 63 68 20 20 20 | 74 65 78 4d 61 74 68 44 |match |texMathD|
|00003090| 65 6c 69 6d 42 61 64 20 | 20 63 6f 6e 74 61 69 6e |elimBad | contain|
|000030a0| 65 64 09 20 20 20 20 20 | 22 5c 53 22 0a 20 73 79 |ed. |"\S". sy|
|000030b0| 6e 20 6d 61 74 63 68 20 | 20 20 74 65 78 4d 61 74 |n match | texMat|
|000030c0| 68 44 65 6c 69 6d 09 09 | 20 20 20 20 20 22 5c 5c |hDelim..| "\\|
|000030d0| 5c 28 6c 65 66 74 5c 7c | 72 69 67 68 74 5c 29 5c |\(left\||right\)\|
|000030e0| 3e 22 09 20 20 20 73 6b | 69 70 77 68 69 74 65 20 |>". sk|ipwhite |
|000030f0| 6e 65 78 74 67 72 6f 75 | 70 3d 74 65 78 4d 61 74 |nextgrou|p=texMat|
|00003100| 68 44 65 6c 69 6d 53 65 | 74 31 2c 74 65 78 4d 61 |hDelimSe|t1,texMa|
|00003110| 74 68 44 65 6c 69 6d 53 | 65 74 32 2c 74 65 78 4d |thDelimS|et2,texM|
|00003120| 61 74 68 44 65 6c 69 6d | 42 61 64 0a 20 73 79 6e |athDelim|Bad. syn|
|00003130| 20 6d 61 74 63 68 20 20 | 20 74 65 78 4d 61 74 68 | match | texMath|
|00003140| 44 65 6c 69 6d 09 09 20 | 20 20 20 20 22 5c 5c 5c |Delim.. | "\\\|
|00003150| 28 6c 65 66 74 5c 7c 72 | 69 67 68 74 5c 29 61 72 |(left\|r|ight\)ar|
|00003160| 72 6f 77 5c 3e 22 0a 20 | 73 79 6e 20 6d 61 74 63 |row\>". |syn matc|
|00003170| 68 20 20 20 74 65 78 4d | 61 74 68 44 65 6c 69 6d |h texM|athDelim|
|00003180| 09 09 20 20 20 20 20 22 | 5c 5c 6c 65 66 74 65 71 |.. "|\\lefteq|
|00003190| 6e 5c 3e 22 0a 20 73 79 | 6e 20 6d 61 74 63 68 20 |n\>". sy|n match |
|000031a0| 20 20 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 53 65 | texMat|hDelimSe|
|000031b0| 74 32 20 63 6f 6e 74 61 | 69 6e 65 64 09 20 20 20 |t2 conta|ined. |
|000031c0| 20 20 22 5c 5c 22 09 20 | 20 20 20 6e 65 78 74 67 | "\\". | nextg|
|000031d0| 72 6f 75 70 3d 74 65 78 | 4d 61 74 68 44 65 6c 69 |roup=tex|MathDeli|
|000031e0| 6d 4b 65 79 2c 74 65 78 | 4d 61 74 68 44 65 6c 69 |mKey,tex|MathDeli|
|000031f0| 6d 42 61 64 0a 20 73 79 | 6e 20 6d 61 74 63 68 20 |mBad. sy|n match |
|00003200| 20 20 74 65 78 4d 61 74 | 68 44 65 6c 69 6d 53 65 | texMat|hDelimSe|
|00003210| 74 31 20 63 6f 6e 74 61 | 69 6e 65 64 09 20 20 20 |t1 conta|ined. |
|00003220| 20 20 22 5b 3c 3e 28 29 | 5b 5c 5d 7c 2f 2e 5d 5c | "[<>()|[\]|/.]\|
|00003230| 7c 5c 5c 5b 7b 7d 7c 5d | 22 0a 20 73 79 6e 20 6b ||\\[{}|]|". syn k|
|00003240| 65 79 77 6f 72 64 20 74 | 65 78 4d 61 74 68 44 65 |eyword t|exMathDe|
|00003250| 6c 69 6d 4b 65 79 20 20 | 20 63 6f 6e 74 61 69 6e |limKey | contain|
|00003260| 65 64 20 20 20 20 20 44 | 6f 77 6e 61 72 72 6f 77 |ed D|ownarrow|
|00003270| 09 20 20 20 20 62 61 63 | 6b 73 6c 61 73 68 09 20 |. bac|kslash. |
|00003280| 20 20 6c 63 65 69 6c 09 | 20 20 72 63 65 69 6c 09 | lceil.| rceil.|
|00003290| 09 20 75 70 61 72 72 6f | 77 0a 20 73 79 6e 20 6b |. uparro|w. syn k|
|000032a0| 65 79 77 6f 72 64 20 74 | 65 78 4d 61 74 68 44 65 |eyword t|exMathDe|
|000032b0| 6c 69 6d 4b 65 79 20 20 | 20 63 6f 6e 74 61 69 6e |limKey | contain|
|000032c0| 65 64 20 20 20 20 20 55 | 70 61 72 72 6f 77 09 20 |ed U|parrow. |
|000032d0| 20 20 20 64 6f 77 6e 61 | 72 72 6f 77 09 20 20 20 | downa|rrow. |
|000032e0| 6c 66 6c 6f 6f 72 09 20 | 20 72 66 6c 6f 6f 72 09 |lfloor. | rfloor.|
|000032f0| 20 75 70 64 6f 77 6e 61 | 72 72 6f 77 0a 20 73 79 | updowna|rrow. sy|
|00003300| 6e 20 6b 65 79 77 6f 72 | 64 20 74 65 78 4d 61 74 |n keywor|d texMat|
|00003310| 68 44 65 6c 69 6d 4b 65 | 79 20 20 20 63 6f 6e 74 |hDelimKe|y cont|
|00003320| 61 69 6e 65 64 20 20 20 | 20 20 55 70 64 6f 77 6e |ained | Updown|
|00003330| 61 72 72 6f 77 20 20 20 | 20 6c 61 6e 67 6c 65 09 |arrow | langle.|
|00003340| 20 20 20 72 61 6e 67 6c | 65 09 20 20 56 65 72 74 | rangl|e. Vert|
|00003350| 0a 65 6e 64 69 66 0a 0a | 22 20 73 70 65 63 69 61 |.endif..|" specia|
|00003360| 6c 20 54 65 58 20 63 68 | 61 72 61 63 74 65 72 73 |l TeX ch|aracters|
|00003370| 20 20 28 20 5c 24 20 5c | 26 20 5c 25 20 5c 23 20 | ( \$ \|& \% \# |
|00003380| 5c 7b 20 5c 7d 20 5c 5f | 20 5c 53 20 5c 50 20 29 |\{ \} \_| \S \P )|
|00003390| 0a 73 79 6e 20 6d 61 74 | 63 68 20 74 65 78 53 70 |.syn mat|ch texSp|
|000033a0| 65 63 69 61 6c 43 68 61 | 72 20 20 20 20 20 20 22 |ecialCha|r "|
|000033b0| 5c 5c 5b 24 26 25 23 7b | 7d 5f 5d 22 0a 69 66 20 |\\[$&%#{|}_]".if |
|000033c0| 62 3a 65 78 74 66 6e 61 | 6d 65 20 3d 3d 20 22 73 |b:extfna|me == "s|
|000033d0| 74 79 22 20 7c 7c 20 62 | 3a 65 78 74 66 6e 61 6d |ty" || b|:extfnam|
|000033e0| 65 20 3d 3d 20 22 63 6c | 73 22 20 7c 7c 20 62 3a |e == "cl|s" || b:|
|000033f0| 65 78 74 66 6e 61 6d 65 | 20 3d 3d 20 22 63 6c 6f |extfname| == "clo|
|00003400| 22 20 7c 7c 20 62 3a 65 | 78 74 66 6e 61 6d 65 20 |" || b:e|xtfname |
|00003410| 3d 3d 20 22 64 74 78 22 | 20 7c 7c 20 62 3a 65 78 |== "dtx"| || b:ex|
|00003420| 74 66 6e 61 6d 65 20 3d | 3d 20 22 6c 74 78 22 0a |tfname =|= "ltx".|
|00003430| 20 20 73 79 6e 20 6d 61 | 74 63 68 20 74 65 78 53 | syn ma|tch texS|
|00003440| 70 65 63 69 61 6c 43 68 | 61 72 20 20 20 20 22 5c |pecialCh|ar "\|
|00003450| 5c 5b 53 50 40 5d 5b 5e | 61 2d 7a 41 2d 5a 40 5d |\[SP@][^|a-zA-Z@]|
|00003460| 22 6d 65 3d 65 2d 31 0a | 65 6c 73 65 0a 20 20 73 |"me=e-1.|else. s|
|00003470| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 53 70 65 63 |yn match| texSpec|
|00003480| 69 61 6c 43 68 61 72 20 | 20 20 20 22 5c 5c 5b 53 |ialChar | "\\[S|
|00003490| 50 40 5d 5c 41 22 6d 65 | 3d 65 2d 31 0a 65 6e 64 |P@]\A"me|=e-1.end|
|000034a0| 69 66 0a 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |if.syn m|atch tex|
|000034b0| 53 70 65 63 69 61 6c 43 | 68 61 72 20 20 20 20 20 |SpecialC|har |
|000034c0| 20 22 5c 5c 5c 5c 22 0a | 69 66 20 21 65 78 69 73 | "\\\\".|if !exis|
|000034d0| 74 73 28 22 74 65 78 5f | 6e 6f 5f 6d 61 74 68 22 |ts("tex_|no_math"|
|000034e0| 29 0a 20 73 79 6e 20 6d | 61 74 63 68 20 74 65 78 |). syn m|atch tex|
|000034f0| 4f 6e 6c 79 4d 61 74 68 | 09 20 20 20 20 20 20 22 |OnlyMath|. "|
|00003500| 5b 5f 5e 5d 22 0a 65 6e | 64 69 66 0a 73 79 6e 20 |[_^]".en|dif.syn |
|00003510| 6d 61 74 63 68 20 74 65 | 78 53 70 65 63 69 61 6c |match te|xSpecial|
|00003520| 43 68 61 72 20 20 20 20 | 20 20 22 5c 5e 5c 5e 5b |Char | "\^\^[|
|00003530| 30 2d 39 61 2d 66 5d 5c | 7b 32 7d 5c 7c 5c 5e 5c |0-9a-f]\|{2}\|\^\|
|00003540| 5e 5c 53 22 0a 0a 22 20 | 43 6f 6d 6d 65 6e 74 73 |^\S".." |Comments|
|00003550| 3a 20 20 20 20 4e 6f 72 | 6d 61 6c 20 54 65 58 20 |: Nor|mal TeX |
|00003560| 4c 61 54 65 58 20 20 20 | 20 20 3a 20 20 20 25 2e |LaTeX | : %.|
|00003570| 2e 2e 2e 0a 22 09 20 20 | 20 20 20 20 20 44 6f 63 |....". | Doc|
|00003580| 75 6d 65 6e 74 65 64 20 | 54 65 58 20 46 6f 72 6d |umented |TeX Form|
|00003590| 61 74 3a 20 20 5e 5e 41 | 2e 2e 2e 09 20 2d 61 6e |at: ^^A|.... -an|
|000035a0| 64 2d 09 6c 65 61 64 69 | 6e 67 20 25 73 20 28 6f |d-.leadi|ng %s (o|
|000035b0| 6e 6c 79 29 0a 73 79 6e | 20 63 6c 75 73 74 65 72 |nly).syn| cluster|
|000035c0| 20 74 65 78 43 6f 6d 6d | 65 6e 74 47 72 6f 75 70 | texComm|entGroup|
|000035d0| 20 20 20 63 6f 6e 74 61 | 69 6e 73 3d 74 65 78 54 | conta|ins=texT|
|000035e0| 6f 64 6f 0a 73 79 6e 20 | 63 61 73 65 20 69 67 6e |odo.syn |case ign|
|000035f0| 6f 72 65 0a 73 79 6e 20 | 6b 65 79 77 6f 72 64 20 |ore.syn |keyword |
|00003600| 74 65 78 54 6f 64 6f 09 | 20 20 20 20 20 20 63 6f |texTodo.| co|
|00003610| 6e 74 61 69 6e 65 64 09 | 20 20 20 20 20 63 6f 6d |ntained.| com|
|00003620| 62 61 6b 09 20 20 20 20 | 66 69 78 6d 65 09 20 20 |bak. |fixme. |
|00003630| 20 74 6f 64 6f 0a 73 79 | 6e 20 63 61 73 65 20 6d | todo.sy|n case m|
|00003640| 61 74 63 68 0a 69 66 20 | 62 3a 65 78 74 66 6e 61 |atch.if |b:extfna|
|00003650| 6d 65 20 3d 3d 20 22 64 | 74 78 22 0a 20 20 73 79 |me == "d|tx". sy|
|00003660| 6e 20 6d 61 74 63 68 20 | 74 65 78 43 6f 6d 6d 65 |n match |texComme|
|00003670| 6e 74 09 20 20 20 20 20 | 20 22 5c 5e 5c 5e 41 2e |nt. | "\^\^A.|
|00003680| 2a 24 22 20 20 20 20 20 | 63 6f 6e 74 61 69 6e 73 |*$" |contains|
|00003690| 3d 40 74 65 78 43 6f 6d | 6d 65 6e 74 47 72 6f 75 |=@texCom|mentGrou|
|000036a0| 70 0a 20 20 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |p. syn |match te|
|000036b0| 78 43 6f 6d 6d 65 6e 74 | 09 20 20 20 20 20 20 22 |xComment|. "|
|000036c0| 5e 25 5c 2b 22 09 20 20 | 20 20 20 63 6f 6e 74 61 |^%\+". | conta|
|000036d0| 69 6e 73 3d 40 74 65 78 | 43 6f 6d 6d 65 6e 74 47 |ins=@tex|CommentG|
|000036e0| 72 6f 75 70 0a 65 6c 73 | 65 0a 20 20 73 79 6e 20 |roup.els|e. syn |
|000036f0| 6d 61 74 63 68 20 74 65 | 78 43 6f 6d 6d 65 6e 74 |match te|xComment|
|00003700| 09 20 20 20 20 20 20 22 | 25 2e 2a 24 22 09 20 20 |. "|%.*$". |
|00003710| 20 20 20 63 6f 6e 74 61 | 69 6e 73 3d 40 74 65 78 | conta|ins=@tex|
|00003720| 43 6f 6d 6d 65 6e 74 47 | 72 6f 75 70 0a 65 6e 64 |CommentG|roup.end|
|00003730| 69 66 0a 0a 22 20 73 65 | 70 61 72 61 74 65 20 6c |if.." se|parate l|
|00003740| 69 6e 65 73 20 75 73 65 | 64 20 66 6f 72 20 76 65 |ines use|d for ve|
|00003750| 72 62 60 20 61 6e 64 20 | 76 65 72 62 23 20 73 6f |rb` and |verb# so|
|00003760| 20 74 68 61 74 20 74 68 | 65 20 65 6e 64 20 63 6f | that th|e end co|
|00003770| 6e 64 69 74 69 6f 6e 73 | 0a 22 20 77 69 6c 6c 20 |nditions|." will |
|00003780| 61 70 70 72 6f 70 72 69 | 61 74 65 6c 79 20 74 65 |appropri|ately te|
|00003790| 72 6d 69 6e 61 74 65 2e | 20 20 49 64 65 61 6c 6c |rminate.| Ideall|
|000037a0| 79 20 76 69 6d 20 77 6f | 75 6c 64 20 6c 65 74 20 |y vim wo|uld let |
|000037b0| 6d 65 20 73 61 76 65 20 | 61 0a 22 20 63 68 61 72 |me save |a." char|
|000037c0| 61 63 74 65 72 20 66 72 | 6f 6d 20 74 68 65 20 73 |acter fr|om the s|
|000037d0| 74 61 72 74 20 70 61 74 | 74 65 72 6e 20 61 6e 64 |tart pat|tern and|
|000037e0| 20 72 65 2d 75 73 65 20 | 69 74 20 69 6e 20 74 68 | re-use |it in th|
|000037f0| 65 20 65 6e 64 2d 70 61 | 74 74 65 72 6e 2e 0a 73 |e end-pa|ttern..s|
|00003800| 79 6e 20 72 65 67 69 6f | 6e 20 74 65 78 5a 6f 6e |yn regio|n texZon|
|00003810| 65 09 20 20 20 20 20 20 | 73 74 61 72 74 3d 22 5c |e. |start="\|
|00003820| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00003830| 22 09 09 09 20 20 20 65 | 6e 64 3d 22 5c 5c 65 6e |"... e|nd="\\en|
|00003840| 64 7b 76 65 72 62 61 74 | 69 6d 7d 5c 7c 25 73 74 |d{verbat|im}\|%st|
|00003850| 6f 70 7a 6f 6e 65 5c 3e | 22 0a 69 66 20 76 65 72 |opzone\>|".if ver|
|00003860| 73 69 6f 6e 20 3c 20 36 | 30 30 0a 20 73 79 6e 20 |sion < 6|00. syn |
|00003870| 72 65 67 69 6f 6e 20 74 | 65 78 5a 6f 6e 65 09 20 |region t|exZone. |
|00003880| 20 20 20 20 20 73 74 61 | 72 74 3d 22 5c 5c 76 65 | sta|rt="\\ve|
|00003890| 72 62 60 22 09 09 09 09 | 20 20 20 65 6e 64 3d 22 |rb`"....| end="|
|000038a0| 60 5c 7c 25 73 74 6f 70 | 7a 6f 6e 65 5c 3e 22 0a |`\|%stop|zone\>".|
|000038b0| 20 73 79 6e 20 72 65 67 | 69 6f 6e 20 74 65 78 5a | syn reg|ion texZ|
|000038c0| 6f 6e 65 09 20 20 20 20 | 20 20 73 74 61 72 74 3d |one. | start=|
|000038d0| 22 5c 5c 76 65 72 62 23 | 22 09 09 09 09 20 20 20 |"\\verb#|".... |
|000038e0| 65 6e 64 3d 22 23 5c 7c | 25 73 74 6f 70 7a 6f 6e |end="#\||%stopzon|
|000038f0| 65 5c 3e 22 0a 65 6c 73 | 65 0a 20 20 69 66 20 62 |e\>".els|e. if b|
|00003900| 3a 65 78 74 66 6e 61 6d | 65 20 3d 3d 20 22 73 74 |:extfnam|e == "st|
|00003910| 79 22 20 7c 7c 20 62 3a | 65 78 74 66 6e 61 6d 65 |y" || b:|extfname|
|00003920| 20 3d 3d 20 22 63 6c 73 | 22 20 7c 7c 20 62 3a 65 | == "cls|" || b:e|
|00003930| 78 74 66 6e 61 6d 65 20 | 3d 3d 20 22 63 6c 6f 22 |xtfname |== "clo"|
|00003940| 20 7c 7c 20 62 3a 65 78 | 74 66 6e 61 6d 65 20 3d | || b:ex|tfname =|
|00003950| 3d 20 22 64 74 78 22 20 | 7c 7c 20 62 3a 65 78 74 |= "dtx" ||| b:ext|
|00003960| 66 6e 61 6d 65 20 3d 3d | 20 22 6c 74 78 22 0a 20 |fname ==| "ltx". |
|00003970| 20 20 20 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 | syn r|egion te|
|00003980| 78 5a 6f 6e 65 09 20 20 | 20 20 20 20 73 74 61 72 |xZone. | star|
|00003990| 74 3d 22 5c 5c 76 65 72 | 62 5c 7a 28 5b 5e 20 5c |t="\\ver|b\z([^ \|
|000039a0| 74 61 2d 7a 41 2d 5a 40 | 5d 5c 29 22 09 09 20 20 |ta-zA-Z@|]\)".. |
|000039b0| 20 65 6e 64 3d 22 5c 7a | 31 5c 7c 25 73 74 6f 70 | end="\z|1\|%stop|
|000039c0| 7a 6f 6e 65 5c 3e 22 0a | 20 20 65 6c 73 65 0a 20 |zone\>".| else. |
|000039d0| 20 20 20 73 79 6e 20 72 | 65 67 69 6f 6e 20 74 65 | syn r|egion te|
|000039e0| 78 5a 6f 6e 65 09 20 20 | 20 20 20 20 73 74 61 72 |xZone. | star|
|000039f0| 74 3d 22 5c 5c 76 65 72 | 62 5c 7a 28 5b 5e 20 5c |t="\\ver|b\z([^ \|
|00003a00| 74 61 2d 7a 41 2d 5a 5d | 5c 29 22 09 09 20 20 20 |ta-zA-Z]|\)".. |
|00003a10| 65 6e 64 3d 22 5c 7a 31 | 5c 7c 25 73 74 6f 70 7a |end="\z1|\|%stopz|
|00003a20| 6f 6e 65 5c 3e 22 0a 20 | 20 65 6e 64 69 66 0a 65 |one\>". | endif.e|
|00003a30| 6e 64 69 66 0a 73 79 6e | 20 72 65 67 69 6f 6e 20 |ndif.syn| region |
|00003a40| 74 65 78 5a 6f 6e 65 09 | 20 20 20 20 20 20 73 74 |texZone.| st|
|00003a50| 61 72 74 3d 22 40 73 61 | 6d 70 7b 22 09 09 20 20 |art="@sa|mp{".. |
|00003a60| 20 20 65 6e 64 3d 22 7d | 5c 7c 25 73 74 6f 70 7a | end="}|\|%stopz|
|00003a70| 6f 6e 65 5c 3e 22 0a 73 | 79 6e 20 72 65 67 69 6f |one\>".s|yn regio|
|00003a80| 6e 20 74 65 78 52 65 66 | 5a 6f 6e 65 09 20 20 20 |n texRef|Zone. |
|00003a90| 20 20 20 6d 61 74 63 68 | 67 72 6f 75 70 3d 74 65 | match|group=te|
|00003aa0| 78 53 74 61 74 65 6d 65 | 6e 74 20 73 74 61 72 74 |xStateme|nt start|
|00003ab0| 3d 22 5c 5c 6e 6f 63 69 | 74 65 7b 22 09 20 20 20 |="\\noci|te{". |
|00003ac0| 20 20 20 6b 65 65 70 65 | 6e 64 20 65 6e 64 3d 22 | keepe|nd end="|
|00003ad0| 7d 5c 7c 25 73 74 6f 70 | 7a 6f 6e 65 5c 3e 22 20 |}\|%stop|zone\>" |
|00003ae0| 20 63 6f 6e 74 61 69 6e | 73 3d 74 65 78 43 6f 6d | contain|s=texCom|
|00003af0| 6d 65 6e 74 2c 74 65 78 | 44 65 6c 69 6d 69 74 65 |ment,tex|Delimite|
|00003b00| 72 0a 73 79 6e 20 72 65 | 67 69 6f 6e 20 74 65 78 |r.syn re|gion tex|
|00003b10| 52 65 66 5a 6f 6e 65 09 | 20 20 20 20 20 20 6d 61 |RefZone.| ma|
|00003b20| 74 63 68 67 72 6f 75 70 | 3d 74 65 78 53 74 61 74 |tchgroup|=texStat|
|00003b30| 65 6d 65 6e 74 20 73 74 | 61 72 74 3d 22 5c 5c 62 |ement st|art="\\b|
|00003b40| 69 62 6c 69 6f 67 72 61 | 70 68 79 7b 22 20 6b 65 |ibliogra|phy{" ke|
|00003b50| 65 70 65 6e 64 20 65 6e | 64 3d 22 7d 5c 7c 25 73 |epend en|d="}\|%s|
|00003b60| 74 6f 70 7a 6f 6e 65 5c | 3e 22 20 20 63 6f 6e 74 |topzone\|>" cont|
|00003b70| 61 69 6e 73 3d 74 65 78 | 43 6f 6d 6d 65 6e 74 2c |ains=tex|Comment,|
|00003b80| 74 65 78 44 65 6c 69 6d | 69 74 65 72 0a 73 79 6e |texDelim|iter.syn|
|00003b90| 20 72 65 67 69 6f 6e 20 | 74 65 78 52 65 66 5a 6f | region |texRefZo|
|00003ba0| 6e 65 09 20 20 20 20 20 | 20 6d 61 74 63 68 67 72 |ne. | matchgr|
|00003bb0| 6f 75 70 3d 74 65 78 53 | 74 61 74 65 6d 65 6e 74 |oup=texS|tatement|
|00003bc0| 20 73 74 61 72 74 3d 22 | 5c 5c 63 69 74 65 5c 28 | start="|\\cite\(|
|00003bd0| 5b 74 70 5d 5c 2a 5c 3d | 5c 29 5c 3d 7b 22 20 20 |[tp]\*\=|\)\={" |
|00003be0| 20 6b 65 65 70 65 6e 64 | 20 65 6e 64 3d 22 7d 5c | keepend| end="}\|
|00003bf0| 7c 25 73 74 6f 70 7a 6f | 6e 65 5c 3e 22 20 20 63 ||%stopzo|ne\>" c|
|00003c00| 6f 6e 74 61 69 6e 73 3d | 74 65 78 43 6f 6d 6d 65 |ontains=|texComme|
|00003c10| 6e 74 2c 74 65 78 44 65 | 6c 69 6d 69 74 65 72 0a |nt,texDe|limiter.|
|00003c20| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 52 65 |syn regi|on texRe|
|00003c30| 66 5a 6f 6e 65 09 20 20 | 20 20 20 20 6d 61 74 63 |fZone. | matc|
|00003c40| 68 67 72 6f 75 70 3d 74 | 65 78 53 74 61 74 65 6d |hgroup=t|exStatem|
|00003c50| 65 6e 74 20 73 74 61 72 | 74 3d 22 5c 5c 6c 61 62 |ent star|t="\\lab|
|00003c60| 65 6c 7b 22 09 20 20 20 | 20 20 20 6b 65 65 70 65 |el{". | keepe|
|00003c70| 6e 64 20 65 6e 64 3d 22 | 7d 5c 7c 25 73 74 6f 70 |nd end="|}\|%stop|
|00003c80| 7a 6f 6e 65 5c 3e 22 20 | 20 63 6f 6e 74 61 69 6e |zone\>" | contain|
|00003c90| 73 3d 74 65 78 43 6f 6d | 6d 65 6e 74 2c 74 65 78 |s=texCom|ment,tex|
|00003ca0| 44 65 6c 69 6d 69 74 65 | 72 0a 73 79 6e 20 72 65 |Delimite|r.syn re|
|00003cb0| 67 69 6f 6e 20 74 65 78 | 52 65 66 5a 6f 6e 65 09 |gion tex|RefZone.|
|00003cc0| 20 20 20 20 20 20 6d 61 | 74 63 68 67 72 6f 75 70 | ma|tchgroup|
|00003cd0| 3d 74 65 78 53 74 61 74 | 65 6d 65 6e 74 20 73 74 |=texStat|ement st|
|00003ce0| 61 72 74 3d 22 5c 5c 70 | 61 67 65 72 65 66 7b 22 |art="\\p|ageref{"|
|00003cf0| 20 20 20 20 20 20 6b 65 | 65 70 65 6e 64 20 65 6e | ke|epend en|
|00003d00| 64 3d 22 7d 5c 7c 25 73 | 74 6f 70 7a 6f 6e 65 5c |d="}\|%s|topzone\|
|00003d10| 3e 22 20 20 63 6f 6e 74 | 61 69 6e 73 3d 74 65 78 |>" cont|ains=tex|
|00003d20| 43 6f 6d 6d 65 6e 74 2c | 74 65 78 44 65 6c 69 6d |Comment,|texDelim|
|00003d30| 69 74 65 72 0a 73 79 6e | 20 72 65 67 69 6f 6e 20 |iter.syn| region |
|00003d40| 74 65 78 52 65 66 5a 6f | 6e 65 09 20 20 20 20 20 |texRefZo|ne. |
|00003d50| 20 6d 61 74 63 68 67 72 | 6f 75 70 3d 74 65 78 53 | matchgr|oup=texS|
|00003d60| 74 61 74 65 6d 65 6e 74 | 20 73 74 61 72 74 3d 22 |tatement| start="|
|00003d70| 5c 5c 76 5c 3d 72 65 66 | 7b 22 09 20 20 20 20 20 |\\v\=ref|{". |
|00003d80| 20 6b 65 65 70 65 6e 64 | 20 65 6e 64 3d 22 7d 5c | keepend| end="}\|
|00003d90| 7c 25 73 74 6f 70 7a 6f | 6e 65 5c 3e 22 20 20 63 ||%stopzo|ne\>" c|
|00003da0| 6f 6e 74 61 69 6e 73 3d | 74 65 78 43 6f 6d 6d 65 |ontains=|texComme|
|00003db0| 6e 74 2c 74 65 78 44 65 | 6c 69 6d 69 74 65 72 0a |nt,texDe|limiter.|
|00003dc0| 0a 22 20 68 61 6e 64 6c | 65 20 6e 65 77 63 6f 6d |." handl|e newcom|
|00003dd0| 6d 61 6e 64 2c 20 6e 65 | 77 65 6e 76 69 72 6f 6e |mand, ne|wenviron|
|00003de0| 6d 65 6e 74 0a 73 79 6e | 20 6d 61 74 63 68 20 20 |ment.syn| match |
|00003df0| 74 65 78 4e 65 77 43 6d | 64 09 09 09 20 20 20 20 |texNewCm|d... |
|00003e00| 20 22 5c 5c 6e 65 77 63 | 6f 6d 6d 61 6e 64 5c 3e | "\\newc|ommand\>|
|00003e10| 22 09 09 09 09 20 20 6e | 65 78 74 67 72 6f 75 70 |".... n|extgroup|
|00003e20| 3d 74 65 78 43 6d 64 4e | 61 6d 65 20 73 6b 69 70 |=texCmdN|ame skip|
|00003e30| 77 68 69 74 65 20 73 6b | 69 70 6e 6c 0a 73 79 6e |white sk|ipnl.syn|
|00003e40| 20 72 65 67 69 6f 6e 20 | 74 65 78 43 6d 64 4e 61 | region |texCmdNa|
|00003e50| 6d 65 20 63 6f 6e 74 61 | 69 6e 65 64 20 6d 61 74 |me conta|ined mat|
|00003e60| 63 68 67 72 6f 75 70 3d | 44 65 6c 69 6d 69 74 65 |chgroup=|Delimite|
|00003e70| 72 20 73 74 61 72 74 3d | 22 7b 22 72 73 3d 73 2b |r start=|"{"rs=s+|
|00003e80| 31 20 20 65 6e 64 3d 22 | 7d 22 09 09 20 20 6e 65 |1 end="|}".. ne|
|00003e90| 78 74 67 72 6f 75 70 3d | 74 65 78 43 6d 64 41 72 |xtgroup=|texCmdAr|
|00003ea0| 67 73 2c 74 65 78 43 6d | 64 42 6f 64 79 20 73 6b |gs,texCm|dBody sk|
|00003eb0| 69 70 77 68 69 74 65 20 | 73 6b 69 70 6e 6c 0a 73 |ipwhite |skipnl.s|
|00003ec0| 79 6e 20 72 65 67 69 6f | 6e 20 74 65 78 43 6d 64 |yn regio|n texCmd|
|00003ed0| 41 72 67 73 20 63 6f 6e | 74 61 69 6e 65 64 20 6d |Args con|tained m|
|00003ee0| 61 74 63 68 67 72 6f 75 | 70 3d 44 65 6c 69 6d 69 |atchgrou|p=Delimi|
|00003ef0| 74 65 72 20 73 74 61 72 | 74 3d 22 5c 5b 22 72 73 |ter star|t="\["rs|
|00003f00| 3d 73 2b 31 20 65 6e 64 | 3d 22 5d 22 09 09 20 20 |=s+1 end|="]".. |
|00003f10| 6e 65 78 74 67 72 6f 75 | 70 3d 74 65 78 43 6d 64 |nextgrou|p=texCmd|
|00003f20| 42 6f 64 79 20 73 6b 69 | 70 77 68 69 74 65 20 73 |Body ski|pwhite s|
|00003f30| 6b 69 70 6e 6c 0a 73 79 | 6e 20 72 65 67 69 6f 6e |kipnl.sy|n region|
|00003f40| 20 74 65 78 43 6d 64 42 | 6f 64 79 20 63 6f 6e 74 | texCmdB|ody cont|
|00003f50| 61 69 6e 65 64 20 6d 61 | 74 63 68 67 72 6f 75 70 |ained ma|tchgroup|
|00003f60| 3d 44 65 6c 69 6d 69 74 | 65 72 20 73 74 61 72 74 |=Delimit|er start|
|00003f70| 3d 22 7b 22 72 73 3d 73 | 2b 31 20 73 6b 69 70 3d |="{"rs=s|+1 skip=|
|00003f80| 22 5c 5c 5c 5c 5c 7c 5c | 5c 5b 7b 7d 5d 22 20 20 |"\\\\\|\|\[{}]" |
|00003f90| 6d 61 74 63 68 67 72 6f | 75 70 3d 44 65 6c 69 6d |matchgro|up=Delim|
|00003fa0| 69 74 65 72 20 65 6e 64 | 3d 22 7d 22 20 63 6f 6e |iter end|="}" con|
|00003fb0| 74 61 69 6e 73 3d 40 74 | 65 78 43 6d 64 47 72 6f |tains=@t|exCmdGro|
|00003fc0| 75 70 0a 73 79 6e 20 6d | 61 74 63 68 20 20 74 65 |up.syn m|atch te|
|00003fd0| 78 4e 65 77 45 6e 76 09 | 09 09 20 20 20 20 20 22 |xNewEnv.|.. "|
|00003fe0| 5c 5c 6e 65 77 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |\\newenv|ironment|
|00003ff0| 5c 3e 22 09 09 09 20 20 | 6e 65 78 74 67 72 6f 75 |\>"... |nextgrou|
|00004000| 70 3d 74 65 78 45 6e 76 | 4e 61 6d 65 20 73 6b 69 |p=texEnv|Name ski|
|00004010| 70 77 68 69 74 65 20 73 | 6b 69 70 6e 6c 0a 73 79 |pwhite s|kipnl.sy|
|00004020| 6e 20 72 65 67 69 6f 6e | 20 74 65 78 45 6e 76 4e |n region| texEnvN|
|00004030| 61 6d 65 20 63 6f 6e 74 | 61 69 6e 65 64 20 6d 61 |ame cont|ained ma|
|00004040| 74 63 68 67 72 6f 75 70 | 3d 44 65 6c 69 6d 69 74 |tchgroup|=Delimit|
|00004050| 65 72 20 73 74 61 72 74 | 3d 22 7b 22 72 73 3d 73 |er start|="{"rs=s|
|00004060| 2b 31 20 20 65 6e 64 3d | 22 7d 22 09 09 20 20 6e |+1 end=|"}".. n|
|00004070| 65 78 74 67 72 6f 75 70 | 3d 74 65 78 45 6e 76 42 |extgroup|=texEnvB|
|00004080| 67 6e 20 73 6b 69 70 77 | 68 69 74 65 20 73 6b 69 |gn skipw|hite ski|
|00004090| 70 6e 6c 0a 73 79 6e 20 | 72 65 67 69 6f 6e 20 74 |pnl.syn |region t|
|000040a0| 65 78 45 6e 76 42 67 6e | 20 20 63 6f 6e 74 61 69 |exEnvBgn| contai|
|000040b0| 6e 65 64 20 6d 61 74 63 | 68 67 72 6f 75 70 3d 44 |ned matc|hgroup=D|
|000040c0| 65 6c 69 6d 69 74 65 72 | 20 73 74 61 72 74 3d 22 |elimiter| start="|
|000040d0| 7b 22 72 73 3d 73 2b 31 | 20 20 65 6e 64 3d 22 7d |{"rs=s+1| end="}|
|000040e0| 22 09 09 20 20 6e 65 78 | 74 67 72 6f 75 70 3d 74 |".. nex|tgroup=t|
|000040f0| 65 78 45 6e 76 45 6e 64 | 20 73 6b 69 70 77 68 69 |exEnvEnd| skipwhi|
|00004100| 74 65 20 73 6b 69 70 6e | 6c 20 63 6f 6e 74 61 69 |te skipn|l contai|
|00004110| 6e 73 3d 40 74 65 78 45 | 6e 76 47 72 6f 75 70 0a |ns=@texE|nvGroup.|
|00004120| 73 79 6e 20 72 65 67 69 | 6f 6e 20 74 65 78 45 6e |syn regi|on texEn|
|00004130| 76 45 6e 64 20 20 63 6f | 6e 74 61 69 6e 65 64 20 |vEnd co|ntained |
|00004140| 6d 61 74 63 68 67 72 6f | 75 70 3d 44 65 6c 69 6d |matchgro|up=Delim|
|00004150| 69 74 65 72 20 73 74 61 | 72 74 3d 22 7b 22 72 73 |iter sta|rt="{"rs|
|00004160| 3d 73 2b 31 20 20 65 6e | 64 3d 22 7d 22 09 09 20 |=s+1 en|d="}".. |
|00004170| 20 73 6b 69 70 77 68 69 | 74 65 20 73 6b 69 70 6e | skipwhi|te skipn|
|00004180| 6c 20 63 6f 6e 74 61 69 | 6e 73 3d 40 74 65 78 45 |l contai|ns=@texE|
|00004190| 6e 76 47 72 6f 75 70 0a | 0a 73 79 6e 20 6d 61 74 |nvGroup.|.syn mat|
|000041a0| 63 68 20 74 65 78 44 65 | 66 43 6d 64 09 09 09 20 |ch texDe|fCmd... |
|000041b0| 20 20 20 20 22 5c 5c 64 | 65 66 5c 3e 22 09 09 09 | "\\d|ef\>"...|
|000041c0| 09 09 20 20 6e 65 78 74 | 67 72 6f 75 70 3d 74 65 |.. next|group=te|
|000041d0| 78 44 65 66 4e 61 6d 65 | 20 73 6b 69 70 77 68 69 |xDefName| skipwhi|
|000041e0| 74 65 20 73 6b 69 70 6e | 6c 0a 69 66 20 62 3a 65 |te skipn|l.if b:e|
|000041f0| 78 74 66 6e 61 6d 65 20 | 3d 3d 20 22 73 74 79 22 |xtfname |== "sty"|
|00004200| 20 7c 7c 20 62 3a 65 78 | 74 66 6e 61 6d 65 20 3d | || b:ex|tfname =|
|00004210| 3d 20 22 63 6c 73 22 20 | 7c 7c 20 62 3a 65 78 74 |= "cls" ||| b:ext|
|00004220| 66 6e 61 6d 65 20 3d 3d | 20 22 63 6c 6f 22 20 7c |fname ==| "clo" ||
|00004230| 7c 20 62 3a 65 78 74 66 | 6e 61 6d 65 20 3d 3d 20 || b:extf|name == |
|00004240| 22 64 74 78 22 20 7c 7c | 20 62 3a 65 78 74 66 6e |"dtx" ||| b:extfn|
|00004250| 61 6d 65 20 3d 3d 20 22 | 6c 74 78 22 0a 20 20 73 |ame == "|ltx". s|
|00004260| 79 6e 20 6d 61 74 63 68 | 20 74 65 78 44 65 66 4e |yn match| texDefN|
|00004270| 61 6d 65 20 63 6f 6e 74 | 61 69 6e 65 64 09 20 20 |ame cont|ained. |
|00004280| 20 20 20 22 5c 5c 5b 61 | 2d 7a 41 2d 5a 40 5d 5c | "\\[a|-zA-Z@]\|
|00004290| 2b 22 09 09 09 09 20 20 | 6e 65 78 74 67 72 6f 75 |+".... |nextgrou|
|000042a0| 70 3d 74 65 78 44 65 66 | 50 61 72 6d 73 2c 74 65 |p=texDef|Parms,te|
|000042b0| 78 43 6d 64 42 6f 64 79 | 20 73 6b 69 70 77 68 69 |xCmdBody| skipwhi|
|000042c0| 74 65 20 73 6b 69 70 6e | 6c 0a 20 20 73 79 6e 20 |te skipn|l. syn |
|000042d0| 6d 61 74 63 68 20 74 65 | 78 44 65 66 4e 61 6d 65 |match te|xDefName|
|000042e0| 20 63 6f 6e 74 61 69 6e | 65 64 09 20 20 20 20 20 | contain|ed. |
|000042f0| 22 5c 5c 5b 5e 61 2d 7a | 41 2d 5a 40 5d 22 09 09 |"\\[^a-z|A-Z@]"..|
|00004300| 09 09 20 20 6e 65 78 74 | 67 72 6f 75 70 3d 74 65 |.. next|group=te|
|00004310| 78 44 65 66 50 61 72 6d | 73 2c 74 65 78 43 6d 64 |xDefParm|s,texCmd|
|00004320| 42 6f 64 79 20 73 6b 69 | 70 77 68 69 74 65 20 73 |Body ski|pwhite s|
|00004330| 6b 69 70 6e 6c 0a 65 6c | 73 65 0a 20 20 73 79 6e |kipnl.el|se. syn|
|00004340| 20 6d 61 74 63 68 20 74 | 65 78 44 65 66 4e 61 6d | match t|exDefNam|
|00004350| 65 20 63 6f 6e 74 61 69 | 6e 65 64 09 20 20 20 20 |e contai|ned. |
|00004360| 20 22 5c 5c 5c 61 5c 2b | 22 09 09 09 09 09 20 20 | "\\\a\+|"..... |
|00004370| 6e 65 78 74 67 72 6f 75 | 70 3d 74 65 78 44 65 66 |nextgrou|p=texDef|
|00004380| 50 61 72 6d 73 2c 74 65 | 78 43 6d 64 42 6f 64 79 |Parms,te|xCmdBody|
|00004390| 20 73 6b 69 70 77 68 69 | 74 65 20 73 6b 69 70 6e | skipwhi|te skipn|
|000043a0| 6c 0a 20 20 73 79 6e 20 | 6d 61 74 63 68 20 74 65 |l. syn |match te|
|000043b0| 78 44 65 66 4e 61 6d 65 | 20 63 6f 6e 74 61 69 6e |xDefName| contain|
|000043c0| 65 64 09 20 20 20 20 20 | 22 5c 5c 5c 41 22 09 09 |ed. |"\\\A"..|
|000043d0| 09 09 09 20 20 6e 65 78 | 74 67 72 6f 75 70 3d 74 |... nex|tgroup=t|
|000043e0| 65 78 44 65 66 50 61 72 | 6d 73 2c 74 65 78 43 6d |exDefPar|ms,texCm|
|000043f0| 64 42 6f 64 79 20 73 6b | 69 70 77 68 69 74 65 20 |dBody sk|ipwhite |
|00004400| 73 6b 69 70 6e 6c 0a 65 | 6e 64 69 66 0a 73 79 6e |skipnl.e|ndif.syn|
|00004410| 20 6d 61 74 63 68 20 74 | 65 78 44 65 66 50 61 72 | match t|exDefPar|
|00004420| 6d 73 20 20 63 6f 6e 74 | 61 69 6e 65 64 09 20 20 |ms cont|ained. |
|00004430| 20 20 20 22 23 5b 5e 7b | 5d 2a 22 09 20 20 20 20 | "#[^{|]*". |
|00004440| 63 6f 6e 74 61 69 6e 73 | 3d 74 65 78 44 65 66 50 |contains|=texDefP|
|00004450| 61 72 6d 20 6e 65 78 74 | 67 72 6f 75 70 3d 74 65 |arm next|group=te|
|00004460| 78 43 6d 64 42 6f 64 79 | 20 73 6b 69 70 77 68 69 |xCmdBody| skipwhi|
|00004470| 74 65 20 73 6b 69 70 6e | 6c 0a 73 79 6e 20 6d 61 |te skipn|l.syn ma|
|00004480| 74 63 68 20 20 74 65 78 | 44 65 66 50 61 72 6d 20 |tch tex|DefParm |
|00004490| 20 63 6f 6e 74 61 69 6e | 65 64 09 20 20 20 20 20 | contain|ed. |
|000044a0| 22 23 5c 64 5c 2b 22 0a | 0a 22 20 54 65 58 20 4c |"#\d\+".|." TeX L|
|000044b0| 65 6e 67 74 68 73 0a 73 | 79 6e 20 6d 61 74 63 68 |engths.s|yn match|
|000044c0| 20 20 74 65 78 4c 65 6e | 67 74 68 09 20 20 20 20 | texLen|gth. |
|000044d0| 20 20 22 5c 3c 5c 64 5c | 2b 5c 28 5c 2e 5c 64 5c | "\<\d\|+\(\.\d\|
|000044e0| 2b 5c 29 5c 3d 5c 28 62 | 70 5c 7c 63 63 5c 7c 63 |+\)\=\(b|p\|cc\|c|
|000044f0| 6d 5c 7c 64 64 5c 7c 65 | 6d 5c 7c 65 78 5c 7c 69 |m\|dd\|e|m\|ex\|i|
|00004500| 6e 5c 7c 6d 6d 5c 7c 70 | 63 5c 7c 70 74 5c 7c 73 |n\|mm\|p|c\|pt\|s|
|00004510| 70 5c 29 5c 3e 22 0a 0a | 22 20 54 65 58 20 53 74 |p\)\>"..|" TeX St|
|00004520| 72 69 6e 67 20 44 65 6c | 69 6d 69 74 65 72 73 0a |ring Del|imiters.|
|00004530| 73 79 6e 20 6d 61 74 63 | 68 20 74 65 78 53 74 72 |syn matc|h texStr|
|00004540| 69 6e 67 09 20 20 20 20 | 20 20 22 5c 28 60 60 5c |ing. | "\(``\|
|00004550| 7c 27 27 5c 7c 2c 2c 5c | 29 22 0a 0a 22 20 4c 61 ||''\|,,\|)".." La|
|00004560| 54 65 58 20 73 79 6e 63 | 68 72 6f 6e 69 7a 61 74 |TeX sync|hronizat|
|00004570| 69 6f 6e 0a 73 79 6e 20 | 73 79 6e 63 20 6d 61 78 |ion.syn |sync max|
|00004580| 6c 69 6e 65 73 3d 32 30 | 30 0a 73 79 6e 20 73 79 |lines=20|0.syn sy|
|00004590| 6e 63 20 6d 69 6e 6c 69 | 6e 65 73 3d 35 30 0a 0a |nc minli|nes=50..|
|000045a0| 69 66 20 21 65 78 69 73 | 74 73 28 22 74 65 78 5f |if !exis|ts("tex_|
|000045b0| 6e 6f 5f 6d 61 74 68 22 | 29 0a 20 73 79 6e 20 73 |no_math"|). syn s|
|000045c0| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|000045d0| 63 4d 61 74 68 5a 6f 6e | 65 41 09 20 20 20 20 20 |cMathZon|eA. |
|000045e0| 67 72 6f 75 70 68 65 72 | 65 20 74 65 78 4d 61 74 |groupher|e texMat|
|000045f0| 68 5a 6f 6e 65 41 09 20 | 20 20 22 5c 5c 62 65 67 |hZoneA. | "\\beg|
|00004600| 69 6e 5c 73 2a 7b 5c 73 | 2a 61 6c 69 67 6e 5c 2a |in\s*{\s|*align\*|
|00004610| 5c 73 2a 7d 22 0a 20 73 | 79 6e 20 73 79 6e 63 20 |\s*}". s|yn sync |
|00004620| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00004630| 68 5a 6f 6e 65 42 09 20 | 20 20 20 20 67 72 6f 75 |hZoneB. | grou|
|00004640| 70 68 65 72 65 20 74 65 | 78 4d 61 74 68 5a 6f 6e |phere te|xMathZon|
|00004650| 65 42 09 20 20 20 22 5c | 5c 62 65 67 69 6e 5c 73 |eB. "\|\begin\s|
|00004660| 2a 7b 5c 73 2a 61 6c 69 | 67 6e 61 74 5c 2a 5c 73 |*{\s*ali|gnat\*\s|
|00004670| 2a 7d 22 0a 20 73 79 6e | 20 73 79 6e 63 20 6d 61 |*}". syn| sync ma|
|00004680| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00004690| 6f 6e 65 43 09 20 20 20 | 20 20 67 72 6f 75 70 68 |oneC. | grouph|
|000046a0| 65 72 65 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 43 |ere texM|athZoneC|
|000046b0| 09 20 20 20 22 5c 5c 62 | 65 67 69 6e 5c 73 2a 7b |. "\\b|egin\s*{|
|000046c0| 5c 73 2a 61 6c 69 67 6e | 61 74 5c 73 2a 7d 22 0a |\s*align|at\s*}".|
|000046d0| 20 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 | syn syn|c match |
|000046e0| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 44 |texSyncM|athZoneD|
|000046f0| 09 20 20 20 20 20 67 72 | 6f 75 70 68 65 72 65 20 |. gr|ouphere |
|00004700| 74 65 78 4d 61 74 68 5a | 6f 6e 65 44 09 20 20 20 |texMathZ|oneD. |
|00004710| 22 5c 5c 62 65 67 69 6e | 5c 73 2a 7b 5c 73 2a 61 |"\\begin|\s*{\s*a|
|00004720| 6c 69 67 6e 5c 73 2a 7d | 22 0a 20 73 79 6e 20 73 |lign\s*}|". syn s|
|00004730| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|00004740| 63 4d 61 74 68 5a 6f 6e | 65 45 09 20 20 20 20 20 |cMathZon|eE. |
|00004750| 67 72 6f 75 70 68 65 72 | 65 20 74 65 78 4d 61 74 |groupher|e texMat|
|00004760| 68 5a 6f 6e 65 45 09 20 | 20 20 22 5c 5c 62 65 67 |hZoneE. | "\\beg|
|00004770| 69 6e 5c 73 2a 7b 5c 73 | 2a 65 71 6e 61 72 72 61 |in\s*{\s|*eqnarra|
|00004780| 79 5c 2a 5c 73 2a 7d 22 | 0a 20 73 79 6e 20 73 79 |y\*\s*}"|. syn sy|
|00004790| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|000047a0| 4d 61 74 68 5a 6f 6e 65 | 46 09 20 20 20 20 20 67 |MathZone|F. g|
|000047b0| 72 6f 75 70 68 65 72 65 | 20 74 65 78 4d 61 74 68 |rouphere| texMath|
|000047c0| 5a 6f 6e 65 46 09 20 20 | 20 22 5c 5c 62 65 67 69 |ZoneF. | "\\begi|
|000047d0| 6e 5c 73 2a 7b 5c 73 2a | 65 71 6e 61 72 72 61 79 |n\s*{\s*|eqnarray|
|000047e0| 5c 73 2a 7d 22 0a 20 73 | 79 6e 20 73 79 6e 63 20 |\s*}". s|yn sync |
|000047f0| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00004800| 68 5a 6f 6e 65 47 09 20 | 20 20 20 20 67 72 6f 75 |hZoneG. | grou|
|00004810| 70 68 65 72 65 20 74 65 | 78 4d 61 74 68 5a 6f 6e |phere te|xMathZon|
|00004820| 65 47 09 20 20 20 22 5c | 5c 62 65 67 69 6e 5c 73 |eG. "\|\begin\s|
|00004830| 2a 7b 5c 73 2a 65 71 75 | 61 74 69 6f 6e 5c 2a 5c |*{\s*equ|ation\*\|
|00004840| 73 2a 7d 22 0a 20 73 79 | 6e 20 73 79 6e 63 20 6d |s*}". sy|n sync m|
|00004850| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|00004860| 5a 6f 6e 65 48 09 20 20 | 20 20 20 67 72 6f 75 70 |ZoneH. | group|
|00004870| 68 65 72 65 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |here tex|MathZone|
|00004880| 48 09 20 20 20 22 5c 5c | 62 65 67 69 6e 5c 73 2a |H. "\\|begin\s*|
|00004890| 7b 5c 73 2a 65 71 75 61 | 74 69 6f 6e 5c 73 2a 7d |{\s*equa|tion\s*}|
|000048a0| 22 0a 20 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |". syn s|ync matc|
|000048b0| 68 20 74 65 78 53 79 6e | 63 4d 61 74 68 5a 6f 6e |h texSyn|cMathZon|
|000048c0| 65 49 09 20 20 20 20 20 | 67 72 6f 75 70 68 65 72 |eI. |groupher|
|000048d0| 65 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 49 09 20 |e texMat|hZoneI. |
|000048e0| 20 20 22 5c 5c 62 65 67 | 69 6e 5c 73 2a 7b 5c 73 | "\\beg|in\s*{\s|
|000048f0| 2a 66 6c 61 6c 69 67 6e | 5c 2a 5c 73 2a 7d 22 0a |*flalign|\*\s*}".|
|00004900| 20 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 | syn syn|c match |
|00004910| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 4a |texSyncM|athZoneJ|
|00004920| 09 20 20 20 20 20 67 72 | 6f 75 70 68 65 72 65 20 |. gr|ouphere |
|00004930| 74 65 78 4d 61 74 68 5a | 6f 6e 65 4a 09 20 20 20 |texMathZ|oneJ. |
|00004940| 22 5c 5c 62 65 67 69 6e | 5c 73 2a 7b 5c 73 2a 66 |"\\begin|\s*{\s*f|
|00004950| 6c 61 6c 69 67 6e 5c 73 | 2a 7d 22 0a 20 73 79 6e |lalign\s|*}". syn|
|00004960| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00004970| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 4b 09 20 20 20 |yncMathZ|oneK. |
|00004980| 20 20 67 72 6f 75 70 68 | 65 72 65 20 74 65 78 4d | grouph|ere texM|
|00004990| 61 74 68 5a 6f 6e 65 4b | 09 20 20 20 22 5c 5c 62 |athZoneK|. "\\b|
|000049a0| 65 67 69 6e 5c 73 2a 7b | 5c 73 2a 67 61 74 68 65 |egin\s*{|\s*gathe|
|000049b0| 72 5c 2a 5c 73 2a 7d 22 | 0a 20 73 79 6e 20 73 79 |r\*\s*}"|. syn sy|
|000049c0| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|000049d0| 4d 61 74 68 5a 6f 6e 65 | 4c 09 20 20 20 20 20 67 |MathZone|L. g|
|000049e0| 72 6f 75 70 68 65 72 65 | 20 74 65 78 4d 61 74 68 |rouphere| texMath|
|000049f0| 5a 6f 6e 65 4c 09 20 20 | 20 22 5c 5c 62 65 67 69 |ZoneL. | "\\begi|
|00004a00| 6e 5c 73 2a 7b 5c 73 2a | 67 61 74 68 65 72 5c 73 |n\s*{\s*|gather\s|
|00004a10| 2a 7d 22 0a 20 73 79 6e | 20 73 79 6e 63 20 6d 61 |*}". syn| sync ma|
|00004a20| 74 63 68 20 74 65 78 53 | 79 6e 63 4d 61 74 68 5a |tch texS|yncMathZ|
|00004a30| 6f 6e 65 4d 09 20 20 20 | 20 20 67 72 6f 75 70 68 |oneM. | grouph|
|00004a40| 65 72 65 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 4d |ere texM|athZoneM|
|00004a50| 09 20 20 20 22 5c 5c 62 | 65 67 69 6e 5c 73 2a 7b |. "\\b|egin\s*{|
|00004a60| 5c 73 2a 6d 61 74 68 5c | 2a 5c 73 2a 7d 22 0a 20 |\s*math\|*\s*}". |
|00004a70| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|00004a80| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 4e 09 |exSyncMa|thZoneN.|
|00004a90| 20 20 20 20 20 67 72 6f | 75 70 68 65 72 65 20 74 | gro|uphere t|
|00004aa0| 65 78 4d 61 74 68 5a 6f | 6e 65 4e 09 20 20 20 22 |exMathZo|neN. "|
|00004ab0| 5c 5c 62 65 67 69 6e 5c | 73 2a 7b 5c 73 2a 6d 61 |\\begin\|s*{\s*ma|
|00004ac0| 74 68 5c 73 2a 7d 22 0a | 20 73 79 6e 20 73 79 6e |th\s*}".| syn syn|
|00004ad0| 63 20 6d 61 74 63 68 20 | 74 65 78 53 79 6e 63 4d |c match |texSyncM|
|00004ae0| 61 74 68 5a 6f 6e 65 4f | 09 20 20 20 20 20 67 72 |athZoneO|. gr|
|00004af0| 6f 75 70 68 65 72 65 20 | 74 65 78 4d 61 74 68 5a |ouphere |texMathZ|
|00004b00| 6f 6e 65 4f 09 20 20 20 | 22 5c 5c 62 65 67 69 6e |oneO. |"\\begin|
|00004b10| 5c 73 2a 7b 5c 73 2a 6d | 75 6c 74 6c 69 6e 65 5c |\s*{\s*m|ultline\|
|00004b20| 73 2a 7d 22 0a 20 73 79 | 6e 20 73 79 6e 63 20 6d |s*}". sy|n sync m|
|00004b30| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|00004b40| 5a 6f 6e 65 50 09 20 20 | 20 20 20 67 72 6f 75 70 |ZoneP. | group|
|00004b50| 68 65 72 65 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |here tex|MathZone|
|00004b60| 50 09 20 20 20 22 5c 5c | 62 65 67 69 6e 5c 73 2a |P. "\\|begin\s*|
|00004b70| 7b 5c 73 2a 73 70 6c 69 | 74 5c 73 2a 7d 22 0a 20 |{\s*spli|t\s*}". |
|00004b80| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|00004b90| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 51 09 |exSyncMa|thZoneQ.|
|00004ba0| 20 20 20 20 20 67 72 6f | 75 70 68 65 72 65 20 74 | gro|uphere t|
|00004bb0| 65 78 4d 61 74 68 5a 6f | 6e 65 51 09 20 20 20 22 |exMathZo|neQ. "|
|00004bc0| 5c 5c 62 65 67 69 6e 5c | 73 2a 7b 5c 73 2a 64 69 |\\begin\|s*{\s*di|
|00004bd0| 73 70 6c 61 79 6d 61 74 | 68 5c 2a 5c 73 2a 7d 22 |splaymat|h\*\s*}"|
|00004be0| 0a 20 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |. syn sy|nc match|
|00004bf0| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00004c00| 52 09 20 20 20 20 20 67 | 72 6f 75 70 68 65 72 65 |R. g|rouphere|
|00004c10| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 52 09 20 20 | texMath|ZoneR. |
|00004c20| 20 22 5c 5c 62 65 67 69 | 6e 5c 73 2a 7b 5c 73 2a | "\\begi|n\s*{\s*|
|00004c30| 64 69 73 70 6c 61 79 6d | 61 74 68 5c 73 2a 7d 22 |displaym|ath\s*}"|
|00004c40| 0a 20 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |. syn sy|nc match|
|00004c50| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00004c60| 53 09 20 20 20 20 20 67 | 72 6f 75 70 68 65 72 65 |S. g|rouphere|
|00004c70| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 53 09 20 20 | texMath|ZoneS. |
|00004c80| 20 22 5c 5c 62 65 67 69 | 6e 5c 73 2a 7b 5c 73 2a | "\\begi|n\s*{\s*|
|00004c90| 6d 75 6c 74 6c 69 6e 65 | 5c 2a 5c 73 2a 7d 22 0a |multline|\*\s*}".|
|00004ca0| 20 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 | syn syn|c match |
|00004cb0| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 54 |texSyncM|athZoneT|
|00004cc0| 09 20 20 20 20 20 67 72 | 6f 75 70 68 65 72 65 20 |. gr|ouphere |
|00004cd0| 74 65 78 4d 61 74 68 5a | 6f 6e 65 54 09 20 20 20 |texMathZ|oneT. |
|00004ce0| 22 5c 5c 28 22 0a 20 73 | 79 6e 20 73 79 6e 63 20 |"\\(". s|yn sync |
|00004cf0| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00004d00| 68 5a 6f 6e 65 55 09 20 | 20 20 20 20 67 72 6f 75 |hZoneU. | grou|
|00004d10| 70 68 65 72 65 20 74 65 | 78 4d 61 74 68 5a 6f 6e |phere te|xMathZon|
|00004d20| 65 55 09 20 20 20 22 5c | 5c 5c 5b 22 0a 0a 20 73 |eU. "\|\\[".. s|
|00004d30| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00004d40| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 41 09 20 |xSyncMat|hZoneA. |
|00004d50| 20 20 20 20 67 72 6f 75 | 70 74 68 65 72 65 20 4e | grou|pthere N|
|00004d60| 4f 4e 45 09 09 20 20 20 | 22 5c 5c 65 6e 64 5c 73 |ONE.. |"\\end\s|
|00004d70| 2a 7b 5c 73 2a 61 6c 69 | 67 6e 5c 2a 5c 73 2a 7d |*{\s*ali|gn\*\s*}|
|00004d80| 22 0a 20 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |". syn s|ync matc|
|00004d90| 68 20 74 65 78 53 79 6e | 63 4d 61 74 68 5a 6f 6e |h texSyn|cMathZon|
|00004da0| 65 42 09 20 20 20 20 20 | 67 72 6f 75 70 74 68 65 |eB. |groupthe|
|00004db0| 72 65 20 4e 4f 4e 45 09 | 09 20 20 20 22 5c 5c 65 |re NONE.|. "\\e|
|00004dc0| 6e 64 5c 73 2a 7b 5c 73 | 2a 61 6c 69 67 6e 61 74 |nd\s*{\s|*alignat|
|00004dd0| 5c 2a 5c 73 2a 7d 22 0a | 20 73 79 6e 20 73 79 6e |\*\s*}".| syn syn|
|00004de0| 63 20 6d 61 74 63 68 20 | 74 65 78 53 79 6e 63 4d |c match |texSyncM|
|00004df0| 61 74 68 5a 6f 6e 65 43 | 09 20 20 20 20 20 67 72 |athZoneC|. gr|
|00004e00| 6f 75 70 74 68 65 72 65 | 20 4e 4f 4e 45 09 09 20 |oupthere| NONE.. |
|00004e10| 20 20 22 5c 5c 65 6e 64 | 5c 73 2a 7b 5c 73 2a 61 | "\\end|\s*{\s*a|
|00004e20| 6c 69 67 6e 61 74 5c 73 | 2a 7d 22 0a 20 73 79 6e |lignat\s|*}". syn|
|00004e30| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00004e40| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 44 09 20 20 20 |yncMathZ|oneD. |
|00004e50| 20 20 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e | groupt|here NON|
|00004e60| 45 09 09 20 20 20 22 5c | 5c 65 6e 64 5c 73 2a 7b |E.. "\|\end\s*{|
|00004e70| 5c 73 2a 61 6c 69 67 6e | 5c 73 2a 7d 22 0a 20 73 |\s*align|\s*}". s|
|00004e80| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00004e90| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 45 09 20 |xSyncMat|hZoneE. |
|00004ea0| 20 20 20 20 67 72 6f 75 | 70 74 68 65 72 65 20 4e | grou|pthere N|
|00004eb0| 4f 4e 45 09 09 20 20 20 | 22 5c 5c 65 6e 64 5c 73 |ONE.. |"\\end\s|
|00004ec0| 2a 7b 5c 73 2a 65 71 6e | 61 72 72 61 79 5c 2a 5c |*{\s*eqn|array\*\|
|00004ed0| 73 2a 7d 22 0a 20 73 79 | 6e 20 73 79 6e 63 20 6d |s*}". sy|n sync m|
|00004ee0| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|00004ef0| 5a 6f 6e 65 46 09 20 20 | 20 20 20 67 72 6f 75 70 |ZoneF. | group|
|00004f00| 74 68 65 72 65 20 4e 4f | 4e 45 09 09 20 20 20 22 |there NO|NE.. "|
|00004f10| 5c 5c 65 6e 64 5c 73 2a | 7b 5c 73 2a 65 71 6e 61 |\\end\s*|{\s*eqna|
|00004f20| 72 72 61 79 5c 73 2a 7d | 22 0a 20 73 79 6e 20 73 |rray\s*}|". syn s|
|00004f30| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|00004f40| 63 4d 61 74 68 5a 6f 6e | 65 47 09 20 20 20 20 20 |cMathZon|eG. |
|00004f50| 67 72 6f 75 70 74 68 65 | 72 65 20 4e 4f 4e 45 09 |groupthe|re NONE.|
|00004f60| 09 20 20 20 22 5c 5c 65 | 6e 64 5c 73 2a 7b 5c 73 |. "\\e|nd\s*{\s|
|00004f70| 2a 65 71 75 61 74 69 6f | 6e 5c 2a 5c 73 2a 7d 22 |*equatio|n\*\s*}"|
|00004f80| 0a 20 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |. syn sy|nc match|
|00004f90| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00004fa0| 48 09 20 20 20 20 20 67 | 72 6f 75 70 74 68 65 72 |H. g|roupther|
|00004fb0| 65 20 4e 4f 4e 45 09 09 | 20 20 20 22 5c 5c 65 6e |e NONE..| "\\en|
|00004fc0| 64 5c 73 2a 7b 5c 73 2a | 65 71 75 61 74 69 6f 6e |d\s*{\s*|equation|
|00004fd0| 5c 73 2a 7d 22 0a 20 73 | 79 6e 20 73 79 6e 63 20 |\s*}". s|yn sync |
|00004fe0| 6d 61 74 63 68 20 74 65 | 78 53 79 6e 63 4d 61 74 |match te|xSyncMat|
|00004ff0| 68 5a 6f 6e 65 49 09 20 | 20 20 20 20 67 72 6f 75 |hZoneI. | grou|
|00005000| 70 74 68 65 72 65 20 4e | 4f 4e 45 09 09 20 20 20 |pthere N|ONE.. |
|00005010| 22 5c 5c 65 6e 64 5c 73 | 2a 7b 5c 73 2a 66 6c 61 |"\\end\s|*{\s*fla|
|00005020| 6c 69 67 6e 5c 2a 5c 73 | 2a 7d 22 0a 20 73 79 6e |lign\*\s|*}". syn|
|00005030| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00005040| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 4a 09 20 20 20 |yncMathZ|oneJ. |
|00005050| 20 20 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e | groupt|here NON|
|00005060| 45 09 09 20 20 20 22 5c | 5c 65 6e 64 5c 73 2a 7b |E.. "\|\end\s*{|
|00005070| 5c 73 2a 66 6c 61 6c 69 | 67 6e 5c 73 2a 7d 22 0a |\s*flali|gn\s*}".|
|00005080| 20 73 79 6e 20 73 79 6e | 63 20 6d 61 74 63 68 20 | syn syn|c match |
|00005090| 74 65 78 53 79 6e 63 4d | 61 74 68 5a 6f 6e 65 4b |texSyncM|athZoneK|
|000050a0| 09 20 20 20 20 20 67 72 | 6f 75 70 74 68 65 72 65 |. gr|oupthere|
|000050b0| 20 4e 4f 4e 45 09 09 20 | 20 20 22 5c 5c 65 6e 64 | NONE.. | "\\end|
|000050c0| 5c 73 2a 7b 5c 73 2a 67 | 61 74 68 65 72 5c 2a 5c |\s*{\s*g|ather\*\|
|000050d0| 73 2a 7d 22 0a 20 73 79 | 6e 20 73 79 6e 63 20 6d |s*}". sy|n sync m|
|000050e0| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|000050f0| 5a 6f 6e 65 4c 09 20 20 | 20 20 20 67 72 6f 75 70 |ZoneL. | group|
|00005100| 74 68 65 72 65 20 4e 4f | 4e 45 09 09 20 20 20 22 |there NO|NE.. "|
|00005110| 5c 5c 65 6e 64 5c 73 2a | 7b 5c 73 2a 67 61 74 68 |\\end\s*|{\s*gath|
|00005120| 65 72 5c 73 2a 7d 22 0a | 20 73 79 6e 20 73 79 6e |er\s*}".| syn syn|
|00005130| 63 20 6d 61 74 63 68 20 | 74 65 78 53 79 6e 63 4d |c match |texSyncM|
|00005140| 61 74 68 5a 6f 6e 65 4d | 09 20 20 20 20 20 67 72 |athZoneM|. gr|
|00005150| 6f 75 70 74 68 65 72 65 | 20 4e 4f 4e 45 09 09 20 |oupthere| NONE.. |
|00005160| 20 20 22 5c 5c 65 6e 64 | 5c 73 2a 7b 5c 73 2a 6d | "\\end|\s*{\s*m|
|00005170| 61 74 68 5c 2a 5c 73 2a | 7d 22 0a 20 73 79 6e 20 |ath\*\s*|}". syn |
|00005180| 73 79 6e 63 20 6d 61 74 | 63 68 20 74 65 78 53 79 |sync mat|ch texSy|
|00005190| 6e 63 4d 61 74 68 5a 6f | 6e 65 4e 09 20 20 20 20 |ncMathZo|neN. |
|000051a0| 20 67 72 6f 75 70 74 68 | 65 72 65 20 4e 4f 4e 45 | groupth|ere NONE|
|000051b0| 09 09 20 20 20 22 5c 5c | 65 6e 64 5c 73 2a 7b 5c |.. "\\|end\s*{\|
|000051c0| 73 2a 6d 61 74 68 5c 73 | 2a 7d 22 0a 20 73 79 6e |s*math\s|*}". syn|
|000051d0| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|000051e0| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 4f 09 20 20 20 |yncMathZ|oneO. |
|000051f0| 20 20 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e | groupt|here NON|
|00005200| 45 09 09 20 20 20 22 5c | 5c 65 6e 64 5c 73 2a 7b |E.. "\|\end\s*{|
|00005210| 5c 73 2a 6d 75 6c 74 6c | 69 6e 65 5c 73 2a 7d 22 |\s*multl|ine\s*}"|
|00005220| 0a 20 73 79 6e 20 73 79 | 6e 63 20 6d 61 74 63 68 |. syn sy|nc match|
|00005230| 20 74 65 78 53 79 6e 63 | 4d 61 74 68 5a 6f 6e 65 | texSync|MathZone|
|00005240| 50 09 20 20 20 20 20 67 | 72 6f 75 70 74 68 65 72 |P. g|roupther|
|00005250| 65 20 4e 4f 4e 45 09 09 | 20 20 20 22 5c 5c 65 6e |e NONE..| "\\en|
|00005260| 64 5c 73 2a 7b 5c 73 2a | 73 70 6c 69 74 5c 73 2a |d\s*{\s*|split\s*|
|00005270| 7d 22 0a 20 73 79 6e 20 | 73 79 6e 63 20 6d 61 74 |}". syn |sync mat|
|00005280| 63 68 20 74 65 78 53 79 | 6e 63 4d 61 74 68 5a 6f |ch texSy|ncMathZo|
|00005290| 6e 65 51 09 20 20 20 20 | 20 67 72 6f 75 70 74 68 |neQ. | groupth|
|000052a0| 65 72 65 20 4e 4f 4e 45 | 09 09 20 20 20 22 5c 5c |ere NONE|.. "\\|
|000052b0| 65 6e 64 5c 73 2a 7b 5c | 73 2a 64 69 73 70 6c 61 |end\s*{\|s*displa|
|000052c0| 79 6d 61 74 68 5c 2a 5c | 73 2a 7d 22 0a 20 73 79 |ymath\*\|s*}". sy|
|000052d0| 6e 20 73 79 6e 63 20 6d | 61 74 63 68 20 74 65 78 |n sync m|atch tex|
|000052e0| 53 79 6e 63 4d 61 74 68 | 5a 6f 6e 65 52 09 20 20 |SyncMath|ZoneR. |
|000052f0| 20 20 20 67 72 6f 75 70 | 74 68 65 72 65 20 4e 4f | group|there NO|
|00005300| 4e 45 09 09 20 20 20 22 | 5c 5c 65 6e 64 5c 73 2a |NE.. "|\\end\s*|
|00005310| 7b 5c 73 2a 64 69 73 70 | 6c 61 79 6d 61 74 68 5c |{\s*disp|laymath\|
|00005320| 73 2a 7d 22 0a 20 73 79 | 6e 20 73 79 6e 63 20 6d |s*}". sy|n sync m|
|00005330| 61 74 63 68 20 74 65 78 | 53 79 6e 63 4d 61 74 68 |atch tex|SyncMath|
|00005340| 5a 6f 6e 65 53 09 20 20 | 20 20 20 67 72 6f 75 70 |ZoneS. | group|
|00005350| 74 68 65 72 65 20 4e 4f | 4e 45 09 09 20 20 20 22 |there NO|NE.. "|
|00005360| 5c 5c 65 6e 64 5c 73 2a | 7b 5c 73 2a 6d 75 6c 74 |\\end\s*|{\s*mult|
|00005370| 6c 69 6e 65 5c 2a 5c 73 | 2a 7d 22 0a 20 73 79 6e |line\*\s|*}". syn|
|00005380| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|00005390| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 54 09 20 20 20 |yncMathZ|oneT. |
|000053a0| 20 20 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e | groupt|here NON|
|000053b0| 45 09 09 20 20 20 22 5c | 5c 29 22 0a 20 73 79 6e |E.. "\|\)". syn|
|000053c0| 20 73 79 6e 63 20 6d 61 | 74 63 68 20 74 65 78 53 | sync ma|tch texS|
|000053d0| 79 6e 63 4d 61 74 68 5a | 6f 6e 65 55 09 20 20 20 |yncMathZ|oneU. |
|000053e0| 20 20 67 72 6f 75 70 74 | 68 65 72 65 20 4e 4f 4e | groupt|here NON|
|000053f0| 45 09 09 20 20 20 22 5c | 5c 5c 5d 22 0a 65 6e 64 |E.. "\|\\]".end|
|00005400| 69 66 0a 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |if.syn s|ync matc|
|00005410| 68 20 74 65 78 53 79 6e | 63 53 74 6f 70 09 09 20 |h texSyn|cStop.. |
|00005420| 20 20 20 20 67 72 6f 75 | 70 74 68 65 72 65 20 4e | grou|pthere N|
|00005430| 4f 4e 45 09 09 20 20 20 | 22 25 73 74 6f 70 7a 6f |ONE.. |"%stopzo|
|00005440| 6e 65 5c 3e 22 0a 0a 22 | 20 54 68 65 20 24 2e 2e |ne\>".."| The $..|
|00005450| 24 20 61 6e 64 20 24 24 | 2e 2e 24 24 20 6d 61 6b |$ and $$|..$$ mak|
|00005460| 65 20 66 6f 72 20 69 6d | 70 6f 73 73 69 62 6c 65 |e for im|possible|
|00005470| 20 73 79 6e 63 20 70 61 | 74 74 65 72 6e 73 0a 22 | sync pa|tterns."|
|00005480| 20 28 6f 6e 65 20 63 61 | 6e 27 74 20 74 65 6c 6c | (one ca|n't tell|
|00005490| 20 69 66 20 61 20 22 24 | 24 22 20 73 74 61 72 74 | if a "$|$" start|
|000054a0| 73 20 6f 72 20 73 74 6f | 70 73 20 61 20 6d 61 74 |s or sto|ps a mat|
|000054b0| 68 20 7a 6f 6e 65 20 62 | 79 20 69 74 73 65 6c 66 |h zone b|y itself|
|000054c0| 29 0a 22 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |)." The |followin|
|000054d0| 67 20 67 72 6f 75 70 74 | 68 65 72 65 73 20 63 6f |g groupt|heres co|
|000054e0| 75 70 6c 65 64 20 77 69 | 74 68 20 6d 69 6e 6c 69 |upled wi|th minli|
|000054f0| 6e 65 73 20 61 62 6f 76 | 65 0a 22 20 68 65 6c 70 |nes abov|e." help|
|00005500| 20 69 6d 70 72 6f 76 65 | 20 74 68 65 20 6f 64 64 | improve| the odd|
|00005510| 73 20 6f 66 20 67 6f 6f | 64 20 73 79 6e 63 69 6e |s of goo|d syncin|
|00005520| 67 2e 0a 69 66 20 21 65 | 78 69 73 74 73 28 22 74 |g..if !e|xists("t|
|00005530| 65 78 5f 6e 6f 5f 6d 61 | 74 68 22 29 0a 20 73 79 |ex_no_ma|th"). sy|
|00005540| 6e 20 73 79 6e 63 20 6d | 61 74 63 68 20 74 65 78 |n sync m|atch tex|
|00005550| 53 79 6e 63 4d 61 74 68 | 5a 6f 6e 65 53 09 20 20 |SyncMath|ZoneS. |
|00005560| 20 20 20 67 72 6f 75 70 | 74 68 65 72 65 20 4e 4f | group|there NO|
|00005570| 4e 45 09 09 20 20 20 22 | 5c 5c 65 6e 64 7b 61 62 |NE.. "|\\end{ab|
|00005580| 73 74 72 61 63 74 7d 22 | 0a 20 73 79 6e 20 73 79 |stract}"|. syn sy|
|00005590| 6e 63 20 6d 61 74 63 68 | 20 74 65 78 53 79 6e 63 |nc match| texSync|
|000055a0| 4d 61 74 68 5a 6f 6e 65 | 53 09 20 20 20 20 20 67 |MathZone|S. g|
|000055b0| 72 6f 75 70 74 68 65 72 | 65 20 4e 4f 4e 45 09 09 |roupther|e NONE..|
|000055c0| 20 20 20 22 5c 5c 65 6e | 64 7b 63 65 6e 74 65 72 | "\\en|d{center|
|000055d0| 7d 22 0a 20 73 79 6e 20 | 73 79 6e 63 20 6d 61 74 |}". syn |sync mat|
|000055e0| 63 68 20 74 65 78 53 79 | 6e 63 4d 61 74 68 5a 6f |ch texSy|ncMathZo|
|000055f0| 6e 65 53 09 20 20 20 20 | 20 67 72 6f 75 70 74 68 |neS. | groupth|
|00005600| 65 72 65 20 4e 4f 4e 45 | 09 09 20 20 20 22 5c 5c |ere NONE|.. "\\|
|00005610| 65 6e 64 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |end{desc|ription}|
|00005620| 22 0a 20 73 79 6e 20 73 | 79 6e 63 20 6d 61 74 63 |". syn s|ync matc|
|00005630| 68 20 74 65 78 53 79 6e | 63 4d 61 74 68 5a 6f 6e |h texSyn|cMathZon|
|00005640| 65 53 09 20 20 20 20 20 | 67 72 6f 75 70 74 68 65 |eS. |groupthe|
|00005650| 72 65 20 4e 4f 4e 45 09 | 09 20 20 20 22 5c 5c 65 |re NONE.|. "\\e|
|00005660| 6e 64 7b 65 6e 75 6d 65 | 72 61 74 65 7d 22 0a 20 |nd{enume|rate}". |
|00005670| 73 79 6e 20 73 79 6e 63 | 20 6d 61 74 63 68 20 74 |syn sync| match t|
|00005680| 65 78 53 79 6e 63 4d 61 | 74 68 5a 6f 6e 65 53 09 |exSyncMa|thZoneS.|
|00005690| 20 20 20 20 20 67 72 6f | 75 70 74 68 65 72 65 20 | gro|upthere |
|000056a0| 4e 4f 4e 45 09 09 20 20 | 20 22 5c 5c 65 6e 64 7b |NONE.. | "\\end{|
|000056b0| 69 74 65 6d 69 7a 65 7d | 22 0a 20 73 79 6e 20 73 |itemize}|". syn s|
|000056c0| 79 6e 63 20 6d 61 74 63 | 68 20 74 65 78 53 79 6e |ync matc|h texSyn|
|000056d0| 63 4d 61 74 68 5a 6f 6e | 65 53 09 20 20 20 20 20 |cMathZon|eS. |
|000056e0| 67 72 6f 75 70 74 68 65 | 72 65 20 4e 4f 4e 45 09 |groupthe|re NONE.|
|000056f0| 09 20 20 20 22 5c 5c 65 | 6e 64 7b 74 61 62 6c 65 |. "\\e|nd{table|
|00005700| 7d 22 0a 20 73 79 6e 20 | 73 79 6e 63 20 6d 61 74 |}". syn |sync mat|
|00005710| 63 68 20 74 65 78 53 79 | 6e 63 4d 61 74 68 5a 6f |ch texSy|ncMathZo|
|00005720| 6e 65 53 09 20 20 20 20 | 20 67 72 6f 75 70 74 68 |neS. | groupth|
|00005730| 65 72 65 20 4e 4f 4e 45 | 09 09 20 20 20 22 5c 5c |ere NONE|.. "\\|
|00005740| 65 6e 64 7b 74 61 62 75 | 6c 61 72 7d 22 0a 20 73 |end{tabu|lar}". s|
|00005750| 79 6e 20 73 79 6e 63 20 | 6d 61 74 63 68 20 74 65 |yn sync |match te|
|00005760| 78 53 79 6e 63 4d 61 74 | 68 5a 6f 6e 65 53 09 20 |xSyncMat|hZoneS. |
|00005770| 20 20 20 20 67 72 6f 75 | 70 74 68 65 72 65 20 4e | grou|pthere N|
|00005780| 4f 4e 45 09 09 20 20 20 | 22 5c 5c 5c 28 73 75 62 |ONE.. |"\\\(sub|
|00005790| 5c 29 2a 73 65 63 74 69 | 6f 6e 5c 3e 22 0a 65 6e |\)*secti|on\>".en|
|000057a0| 64 69 66 0a 0a 22 20 44 | 65 66 69 6e 65 20 74 68 |dif.." D|efine th|
|000057b0| 65 20 64 65 66 61 75 6c | 74 20 68 69 67 68 6c 69 |e defaul|t highli|
|000057c0| 67 68 74 69 6e 67 2e 0a | 22 20 46 6f 72 20 76 65 |ghting..|" For ve|
|000057d0| 72 73 69 6f 6e 20 35 2e | 37 20 61 6e 64 20 65 61 |rsion 5.|7 and ea|
|000057e0| 72 6c 69 65 72 3a 20 6f | 6e 6c 79 20 77 68 65 6e |rlier: o|nly when|
|000057f0| 20 6e 6f 74 20 64 6f 6e | 65 20 61 6c 72 65 61 64 | not don|e alread|
|00005800| 79 0a 22 20 46 6f 72 20 | 76 65 72 73 69 6f 6e 20 |y." For |version |
|00005810| 35 2e 38 20 61 6e 64 20 | 6c 61 74 65 72 3a 20 6f |5.8 and |later: o|
|00005820| 6e 6c 79 20 77 68 65 6e | 20 61 6e 20 69 74 65 6d |nly when| an item|
|00005830| 20 64 6f 65 73 6e 27 74 | 20 68 61 76 65 20 68 69 | doesn't| have hi|
|00005840| 67 68 6c 69 67 68 74 69 | 6e 67 20 79 65 74 0a 69 |ghlighti|ng yet.i|
|00005850| 66 20 76 65 72 73 69 6f | 6e 20 3e 3d 20 35 30 38 |f versio|n >= 508|
|00005860| 20 7c 7c 20 21 65 78 69 | 73 74 73 28 22 64 69 64 | || !exi|sts("did|
|00005870| 5f 74 65 78 5f 73 79 6e | 74 61 78 5f 69 6e 69 74 |_tex_syn|tax_init|
|00005880| 73 22 29 0a 20 20 69 66 | 20 76 65 72 73 69 6f 6e |s"). if| version|
|00005890| 20 3c 20 35 30 38 0a 20 | 20 20 20 6c 65 74 20 64 | < 508. | let d|
|000058a0| 69 64 5f 74 65 78 5f 73 | 79 6e 74 61 78 5f 69 6e |id_tex_s|yntax_in|
|000058b0| 69 74 73 20 3d 20 31 0a | 20 20 20 20 63 6f 6d 6d |its = 1.| comm|
|000058c0| 61 6e 64 20 2d 6e 61 72 | 67 73 3d 2b 20 48 69 4c |and -nar|gs=+ HiL|
|000058d0| 69 6e 6b 20 68 69 20 6c | 69 6e 6b 20 3c 61 72 67 |ink hi l|ink <arg|
|000058e0| 73 3e 0a 20 20 65 6c 73 | 65 0a 20 20 20 20 63 6f |s>. els|e. co|
|000058f0| 6d 6d 61 6e 64 20 2d 6e | 61 72 67 73 3d 2b 20 48 |mmand -n|args=+ H|
|00005900| 69 4c 69 6e 6b 20 68 69 | 20 64 65 66 20 6c 69 6e |iLink hi| def lin|
|00005910| 6b 20 3c 61 72 67 73 3e | 0a 20 20 65 6e 64 69 66 |k <args>|. endif|
|00005920| 0a 0a 20 20 22 20 54 65 | 58 20 68 69 67 68 6c 69 |.. " Te|X highli|
|00005930| 67 68 74 69 6e 67 20 67 | 72 6f 75 70 73 20 77 68 |ghting g|roups wh|
|00005940| 69 63 68 20 73 68 6f 75 | 6c 64 20 73 68 61 72 65 |ich shou|ld share|
|00005950| 20 73 69 6d 69 6c 61 72 | 20 68 69 67 68 6c 69 67 | similar| highlig|
|00005960| 68 74 69 6e 67 0a 20 20 | 69 66 20 21 65 78 69 73 |hting. |if !exis|
|00005970| 74 73 28 22 74 65 78 5f | 6e 6f 5f 65 72 72 6f 72 |ts("tex_|no_error|
|00005980| 22 29 0a 20 20 20 69 66 | 20 21 65 78 69 73 74 73 |"). if| !exists|
|00005990| 28 22 74 65 78 5f 6e 6f | 5f 6d 61 74 68 22 29 0a |("tex_no|_math").|
|000059a0| 20 20 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 42 61 | HiLi|nk texBa|
|000059b0| 64 4d 61 74 68 09 20 20 | 20 20 20 20 74 65 78 45 |dMath. | texE|
|000059c0| 72 72 6f 72 0a 20 20 20 | 20 48 69 4c 69 6e 6b 20 |rror. | HiLink |
|000059d0| 74 65 78 4d 61 74 68 44 | 65 6c 69 6d 42 61 64 20 |texMathD|elimBad |
|000059e0| 20 20 20 74 65 78 45 72 | 72 6f 72 0a 20 20 20 20 | texEr|ror. |
|000059f0| 48 69 4c 69 6e 6b 20 74 | 65 78 4d 61 74 68 45 72 |HiLink t|exMathEr|
|00005a00| 72 6f 72 09 20 20 20 20 | 20 20 74 65 78 45 72 72 |ror. | texErr|
|00005a10| 6f 72 0a 20 20 20 20 69 | 66 20 62 3a 65 78 74 66 |or. i|f b:extf|
|00005a20| 6e 61 6d 65 20 21 3d 20 | 22 73 74 79 22 20 26 26 |name != |"sty" &&|
|00005a30| 20 62 3a 65 78 74 66 6e | 61 6d 65 20 21 3d 20 22 | b:extfn|ame != "|
|00005a40| 63 6c 73 22 20 26 26 20 | 62 3a 65 78 74 66 6e 61 |cls" && |b:extfna|
|00005a50| 6d 65 20 21 3d 20 22 63 | 6c 6f 22 20 26 26 20 62 |me != "c|lo" && b|
|00005a60| 3a 65 78 74 66 6e 61 6d | 65 20 21 3d 20 22 64 74 |:extfnam|e != "dt|
|00005a70| 78 22 20 26 26 20 62 3a | 65 78 74 66 6e 61 6d 65 |x" && b:|extfname|
|00005a80| 20 21 3d 20 22 6c 74 78 | 22 0a 20 20 20 20 20 20 | != "ltx|". |
|00005a90| 48 69 4c 69 6e 6b 20 74 | 65 78 4f 6e 6c 79 4d 61 |HiLink t|exOnlyMa|
|00005aa0| 74 68 20 20 20 20 20 20 | 74 65 78 45 72 72 6f 72 |th |texError|
|00005ab0| 0a 20 20 20 20 65 6e 64 | 69 66 0a 20 20 20 65 6e |. end|if. en|
|00005ac0| 64 69 66 0a 20 20 20 48 | 69 4c 69 6e 6b 20 74 65 |dif. H|iLink te|
|00005ad0| 78 45 72 72 6f 72 09 20 | 20 20 20 20 20 45 72 72 |xError. | Err|
|00005ae0| 6f 72 0a 20 20 65 6e 64 | 69 66 0a 0a 20 20 48 69 |or. end|if.. Hi|
|00005af0| 4c 69 6e 6b 20 74 65 78 | 44 65 66 43 6d 64 09 20 |Link tex|DefCmd. |
|00005b00| 20 20 20 20 20 74 65 78 | 44 65 66 0a 20 20 48 69 | tex|Def. Hi|
|00005b10| 4c 69 6e 6b 20 74 65 78 | 44 65 66 4e 61 6d 65 09 |Link tex|DefName.|
|00005b20| 20 20 20 20 20 20 74 65 | 78 44 65 66 0a 20 20 48 | te|xDef. H|
|00005b30| 69 4c 69 6e 6b 20 74 65 | 78 44 6f 63 54 79 70 65 |iLink te|xDocType|
|00005b40| 09 20 20 20 20 20 20 74 | 65 78 43 6d 64 4e 61 6d |. t|exCmdNam|
|00005b50| 65 0a 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 44 6f |e. HiLi|nk texDo|
|00005b60| 63 54 79 70 65 41 72 67 | 73 09 20 20 20 20 20 20 |cTypeArg|s. |
|00005b70| 74 65 78 43 6d 64 41 72 | 67 73 0a 20 20 48 69 4c |texCmdAr|gs. HiL|
|00005b80| 69 6e 6b 20 74 65 78 49 | 6e 70 75 74 46 69 6c 65 |ink texI|nputFile|
|00005b90| 4f 70 74 20 20 20 20 20 | 20 74 65 78 43 6d 64 41 |Opt | texCmdA|
|00005ba0| 72 67 73 0a 20 20 48 69 | 4c 69 6e 6b 20 74 65 78 |rgs. Hi|Link tex|
|00005bb0| 49 6e 70 75 74 43 75 72 | 6c 69 65 73 20 20 20 20 |InputCur|lies |
|00005bc0| 20 20 74 65 78 44 65 6c | 69 6d 69 74 65 72 0a 20 | texDel|imiter. |
|00005bd0| 20 48 69 4c 69 6e 6b 20 | 74 65 78 4c 69 67 61 74 | HiLink |texLigat|
|00005be0| 75 72 65 09 20 20 20 20 | 20 20 74 65 78 53 70 65 |ure. | texSpe|
|00005bf0| 63 69 61 6c 43 68 61 72 | 0a 20 20 69 66 20 21 65 |cialChar|. if !e|
|00005c00| 78 69 73 74 73 28 22 74 | 65 78 5f 6e 6f 5f 6d 61 |xists("t|ex_no_ma|
|00005c10| 74 68 22 29 0a 20 20 20 | 48 69 4c 69 6e 6b 20 74 |th"). |HiLink t|
|00005c20| 65 78 4d 61 74 68 44 65 | 6c 69 6d 53 65 74 31 20 |exMathDe|limSet1 |
|00005c30| 20 20 20 74 65 78 4d 61 | 74 68 44 65 6c 69 6d 0a | texMa|thDelim.|
|00005c40| 20 20 20 48 69 4c 69 6e | 6b 20 74 65 78 4d 61 74 | HiLin|k texMat|
|00005c50| 68 44 65 6c 69 6d 53 65 | 74 32 20 20 20 20 74 65 |hDelimSe|t2 te|
|00005c60| 78 4d 61 74 68 44 65 6c | 69 6d 0a 20 20 20 48 69 |xMathDel|im. Hi|
|00005c70| 4c 69 6e 6b 20 74 65 78 | 4d 61 74 68 44 65 6c 69 |Link tex|MathDeli|
|00005c80| 6d 4b 65 79 20 20 20 20 | 20 74 65 78 4d 61 74 68 |mKey | texMath|
|00005c90| 44 65 6c 69 6d 0a 20 20 | 20 48 69 4c 69 6e 6b 20 |Delim. | HiLink |
|00005ca0| 74 65 78 4d 61 74 68 4d | 61 74 63 68 65 72 20 20 |texMathM|atcher |
|00005cb0| 20 20 20 20 74 65 78 4d | 61 74 68 0a 20 20 20 48 | texM|ath. H|
|00005cc0| 69 4c 69 6e 6b 20 74 65 | 78 4d 61 74 68 5a 6f 6e |iLink te|xMathZon|
|00005cd0| 65 41 09 20 20 20 20 20 | 20 74 65 78 4d 61 74 68 |eA. | texMath|
|00005ce0| 0a 20 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 4d 61 |. HiLi|nk texMa|
|00005cf0| 74 68 5a 6f 6e 65 42 09 | 20 20 20 20 20 20 74 65 |thZoneB.| te|
|00005d00| 78 4d 61 74 68 0a 20 20 | 20 48 69 4c 69 6e 6b 20 |xMath. | HiLink |
|00005d10| 74 65 78 4d 61 74 68 5a | 6f 6e 65 43 09 20 20 20 |texMathZ|oneC. |
|00005d20| 20 20 20 74 65 78 4d 61 | 74 68 0a 20 20 20 48 69 | texMa|th. Hi|
|00005d30| 4c 69 6e 6b 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |Link tex|MathZone|
|00005d40| 44 09 20 20 20 20 20 20 | 74 65 78 4d 61 74 68 0a |D. |texMath.|
|00005d50| 20 20 20 48 69 4c 69 6e | 6b 20 74 65 78 4d 61 74 | HiLin|k texMat|
|00005d60| 68 5a 6f 6e 65 45 09 20 | 20 20 20 20 20 74 65 78 |hZoneE. | tex|
|00005d70| 4d 61 74 68 0a 20 20 20 | 48 69 4c 69 6e 6b 20 74 |Math. |HiLink t|
|00005d80| 65 78 4d 61 74 68 5a 6f | 6e 65 46 09 20 20 20 20 |exMathZo|neF. |
|00005d90| 20 20 74 65 78 4d 61 74 | 68 0a 20 20 20 48 69 4c | texMat|h. HiL|
|00005da0| 69 6e 6b 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 47 |ink texM|athZoneG|
|00005db0| 09 20 20 20 20 20 20 74 | 65 78 4d 61 74 68 0a 20 |. t|exMath. |
|00005dc0| 20 20 48 69 4c 69 6e 6b | 20 74 65 78 4d 61 74 68 | HiLink| texMath|
|00005dd0| 5a 6f 6e 65 48 09 20 20 | 20 20 20 20 74 65 78 4d |ZoneH. | texM|
|00005de0| 61 74 68 0a 20 20 20 48 | 69 4c 69 6e 6b 20 74 65 |ath. H|iLink te|
|00005df0| 78 4d 61 74 68 5a 6f 6e | 65 49 09 20 20 20 20 20 |xMathZon|eI. |
|00005e00| 20 74 65 78 4d 61 74 68 | 0a 20 20 20 48 69 4c 69 | texMath|. HiLi|
|00005e10| 6e 6b 20 74 65 78 4d 61 | 74 68 5a 6f 6e 65 4a 09 |nk texMa|thZoneJ.|
|00005e20| 20 20 20 20 20 20 74 65 | 78 4d 61 74 68 0a 20 20 | te|xMath. |
|00005e30| 20 48 69 4c 69 6e 6b 20 | 74 65 78 4d 61 74 68 5a | HiLink |texMathZ|
|00005e40| 6f 6e 65 4b 09 20 20 20 | 20 20 20 74 65 78 4d 61 |oneK. | texMa|
|00005e50| 74 68 0a 20 20 20 48 69 | 4c 69 6e 6b 20 74 65 78 |th. Hi|Link tex|
|00005e60| 4d 61 74 68 5a 6f 6e 65 | 4c 09 20 20 20 20 20 20 |MathZone|L. |
|00005e70| 74 65 78 4d 61 74 68 0a | 20 20 20 48 69 4c 69 6e |texMath.| HiLin|
|00005e80| 6b 20 74 65 78 4d 61 74 | 68 5a 6f 6e 65 4d 09 20 |k texMat|hZoneM. |
|00005e90| 20 20 20 20 20 74 65 78 | 4d 61 74 68 0a 20 20 20 | tex|Math. |
|00005ea0| 48 69 4c 69 6e 6b 20 74 | 65 78 4d 61 74 68 5a 6f |HiLink t|exMathZo|
|00005eb0| 6e 65 4e 09 20 20 20 20 | 20 20 74 65 78 4d 61 74 |neN. | texMat|
|00005ec0| 68 0a 20 20 20 48 69 4c | 69 6e 6b 20 74 65 78 4d |h. HiL|ink texM|
|00005ed0| 61 74 68 5a 6f 6e 65 4f | 09 20 20 20 20 20 20 74 |athZoneO|. t|
|00005ee0| 65 78 4d 61 74 68 0a 20 | 20 20 48 69 4c 69 6e 6b |exMath. | HiLink|
|00005ef0| 20 74 65 78 4d 61 74 68 | 5a 6f 6e 65 50 09 20 20 | texMath|ZoneP. |
|00005f00| 20 20 20 20 74 65 78 4d | 61 74 68 0a 20 20 20 48 | texM|ath. H|
|00005f10| 69 4c 69 6e 6b 20 74 65 | 78 4d 61 74 68 5a 6f 6e |iLink te|xMathZon|
|00005f20| 65 51 09 20 20 20 20 20 | 20 74 65 78 4d 61 74 68 |eQ. | texMath|
|00005f30| 0a 20 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 4d 61 |. HiLi|nk texMa|
|00005f40| 74 68 5a 6f 6e 65 52 09 | 20 20 20 20 20 20 74 65 |thZoneR.| te|
|00005f50| 78 4d 61 74 68 0a 20 20 | 20 48 69 4c 69 6e 6b 20 |xMath. | HiLink |
|00005f60| 74 65 78 4d 61 74 68 5a | 6f 6e 65 53 09 20 20 20 |texMathZ|oneS. |
|00005f70| 20 20 20 74 65 78 4d 61 | 74 68 0a 20 20 20 48 69 | texMa|th. Hi|
|00005f80| 4c 69 6e 6b 20 74 65 78 | 4d 61 74 68 5a 6f 6e 65 |Link tex|MathZone|
|00005f90| 54 09 20 20 20 20 20 20 | 74 65 78 4d 61 74 68 0a |T. |texMath.|
|00005fa0| 20 20 20 48 69 4c 69 6e | 6b 20 74 65 78 4d 61 74 | HiLin|k texMat|
|00005fb0| 68 5a 6f 6e 65 55 09 20 | 20 20 20 20 20 74 65 78 |hZoneU. | tex|
|00005fc0| 4d 61 74 68 0a 20 20 20 | 48 69 4c 69 6e 6b 20 74 |Math. |HiLink t|
|00005fd0| 65 78 4d 61 74 68 5a 6f | 6e 65 56 09 20 20 20 20 |exMathZo|neV. |
|00005fe0| 20 20 74 65 78 4d 61 74 | 68 0a 20 20 20 48 69 4c | texMat|h. HiL|
|00005ff0| 69 6e 6b 20 74 65 78 4d | 61 74 68 5a 6f 6e 65 57 |ink texM|athZoneW|
|00006000| 09 20 20 20 20 20 20 74 | 65 78 4d 61 74 68 0a 20 |. t|exMath. |
|00006010| 20 20 48 69 4c 69 6e 6b | 20 74 65 78 4d 61 74 68 | HiLink| texMath|
|00006020| 5a 6f 6e 65 58 09 20 20 | 20 20 20 20 74 65 78 4d |ZoneX. | texM|
|00006030| 61 74 68 0a 20 20 65 6e | 64 69 66 0a 20 20 48 69 |ath. en|dif. Hi|
|00006040| 4c 69 6e 6b 20 74 65 78 | 53 65 63 74 69 6f 6e 4d |Link tex|SectionM|
|00006050| 61 72 6b 65 72 20 20 20 | 20 20 74 65 78 43 6d 64 |arker | texCmd|
|00006060| 4e 61 6d 65 0a 20 20 48 | 69 4c 69 6e 6b 20 74 65 |Name. H|iLink te|
|00006070| 78 53 65 63 74 69 6f 6e | 4e 61 6d 65 09 20 20 20 |xSection|Name. |
|00006080| 20 20 20 74 65 78 53 65 | 63 74 69 6f 6e 0a 20 20 | texSe|ction. |
|00006090| 48 69 4c 69 6e 6b 20 74 | 65 78 53 70 61 63 65 43 |HiLink t|exSpaceC|
|000060a0| 6f 64 65 09 20 20 20 20 | 20 20 74 65 78 53 74 61 |ode. | texSta|
|000060b0| 74 65 6d 65 6e 74 0a 20 | 20 48 69 4c 69 6e 6b 20 |tement. | HiLink |
|000060c0| 74 65 78 54 79 70 65 53 | 69 7a 65 09 20 20 20 20 |texTypeS|ize. |
|000060d0| 20 20 74 65 78 54 79 70 | 65 0a 20 20 48 69 4c 69 | texTyp|e. HiLi|
|000060e0| 6e 6b 20 74 65 78 54 79 | 70 65 53 74 79 6c 65 09 |nk texTy|peStyle.|
|000060f0| 20 20 20 20 20 20 74 65 | 78 54 79 70 65 0a 0a 20 | te|xType.. |
|00006100| 20 20 22 20 42 61 73 69 | 63 20 54 65 58 20 68 69 | " Basi|c TeX hi|
|00006110| 67 68 6c 69 67 68 74 69 | 6e 67 20 67 72 6f 75 70 |ghlighti|ng group|
|00006120| 73 0a 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 43 6d |s. HiLi|nk texCm|
|00006130| 64 41 72 67 73 09 20 20 | 20 20 20 20 4e 75 6d 62 |dArgs. | Numb|
|00006140| 65 72 0a 20 20 48 69 4c | 69 6e 6b 20 74 65 78 43 |er. HiL|ink texC|
|00006150| 6d 64 4e 61 6d 65 09 20 | 20 20 20 20 20 53 74 61 |mdName. | Sta|
|00006160| 74 65 6d 65 6e 74 0a 20 | 20 48 69 4c 69 6e 6b 20 |tement. | HiLink |
|00006170| 74 65 78 43 6f 6d 6d 65 | 6e 74 09 20 20 20 20 20 |texComme|nt. |
|00006180| 20 43 6f 6d 6d 65 6e 74 | 0a 20 20 48 69 4c 69 6e | Comment|. HiLin|
|00006190| 6b 20 74 65 78 44 65 66 | 09 09 20 20 20 20 20 20 |k texDef|.. |
|000061a0| 53 74 61 74 65 6d 65 6e | 74 0a 20 20 48 69 4c 69 |Statemen|t. HiLi|
|000061b0| 6e 6b 20 74 65 78 44 65 | 66 50 61 72 6d 09 20 20 |nk texDe|fParm. |
|000061c0| 20 20 20 20 53 70 65 63 | 69 61 6c 0a 20 20 48 69 | Spec|ial. Hi|
|000061d0| 4c 69 6e 6b 20 74 65 78 | 44 65 6c 69 6d 69 74 65 |Link tex|Delimite|
|000061e0| 72 09 20 20 20 20 20 20 | 44 65 6c 69 6d 69 74 65 |r. |Delimite|
|000061f0| 72 0a 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 49 6e |r. HiLi|nk texIn|
|00006200| 70 75 74 09 20 20 20 20 | 20 20 53 70 65 63 69 61 |put. | Specia|
|00006210| 6c 0a 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 49 6e |l. HiLi|nk texIn|
|00006220| 70 75 74 46 69 6c 65 09 | 20 20 20 20 20 20 53 70 |putFile.| Sp|
|00006230| 65 63 69 61 6c 0a 20 20 | 48 69 4c 69 6e 6b 20 74 |ecial. |HiLink t|
|00006240| 65 78 4c 65 6e 67 74 68 | 09 20 20 20 20 20 20 4e |exLength|. N|
|00006250| 75 6d 62 65 72 0a 20 20 | 48 69 4c 69 6e 6b 20 74 |umber. |HiLink t|
|00006260| 65 78 4d 61 74 68 09 20 | 20 20 20 20 20 53 70 65 |exMath. | Spe|
|00006270| 63 69 61 6c 0a 20 20 48 | 69 4c 69 6e 6b 20 74 65 |cial. H|iLink te|
|00006280| 78 4d 61 74 68 44 65 6c | 69 6d 09 20 20 20 20 20 |xMathDel|im. |
|00006290| 20 53 74 61 74 65 6d 65 | 6e 74 0a 20 20 48 69 4c | Stateme|nt. HiL|
|000062a0| 69 6e 6b 20 74 65 78 4d | 61 74 68 4f 70 65 72 09 |ink texM|athOper.|
|000062b0| 20 20 20 20 20 20 4f 70 | 65 72 61 74 6f 72 0a 20 | Op|erator. |
|000062c0| 20 48 69 4c 69 6e 6b 20 | 74 65 78 4e 65 77 43 6d | HiLink |texNewCm|
|000062d0| 64 09 20 20 20 20 20 20 | 53 74 61 74 65 6d 65 6e |d. |Statemen|
|000062e0| 74 0a 20 20 48 69 4c 69 | 6e 6b 20 74 65 78 4e 65 |t. HiLi|nk texNe|
|000062f0| 77 45 6e 76 09 20 20 20 | 20 20 20 53 74 61 74 65 |wEnv. | State|
|00006300| 6d 65 6e 74 0a 20 20 48 | 69 4c 69 6e 6b 20 74 65 |ment. H|iLink te|
|00006310| 78 52 65 66 5a 6f 6e 65 | 09 20 20 20 20 20 20 53 |xRefZone|. S|
|00006320| 70 65 63 69 61 6c 0a 20 | 20 48 69 4c 69 6e 6b 20 |pecial. | HiLink |
|00006330| 74 65 78 53 65 63 74 69 | 6f 6e 09 20 20 20 20 20 |texSecti|on. |
|00006340| 20 50 72 65 43 6f 6e 64 | 69 74 0a 20 20 48 69 4c | PreCond|it. HiL|
|00006350| 69 6e 6b 20 74 65 78 53 | 70 61 63 65 43 6f 64 65 |ink texS|paceCode|
|00006360| 43 68 61 72 20 20 20 20 | 20 53 70 65 63 69 61 6c |Char | Special|
|00006370| 0a 20 20 48 69 4c 69 6e | 6b 20 74 65 78 53 70 65 |. HiLin|k texSpe|
|00006380| 63 69 61 6c 43 68 61 72 | 09 20 20 20 20 20 20 53 |cialChar|. S|
|00006390| 70 65 63 69 61 6c 43 68 | 61 72 0a 20 20 48 69 4c |pecialCh|ar. HiL|
|000063a0| 69 6e 6b 20 74 65 78 53 | 74 61 74 65 6d 65 6e 74 |ink texS|tatement|
|000063b0| 09 20 20 20 20 20 20 53 | 74 61 74 65 6d 65 6e 74 |. S|tatement|
|000063c0| 0a 20 20 48 69 4c 69 6e | 6b 20 74 65 78 53 74 72 |. HiLin|k texStr|
|000063d0| 69 6e 67 09 20 20 20 20 | 20 20 53 74 72 69 6e 67 |ing. | String|
|000063e0| 0a 20 20 48 69 4c 69 6e | 6b 20 74 65 78 54 6f 64 |. HiLin|k texTod|
|000063f0| 6f 09 20 20 20 20 20 20 | 54 6f 64 6f 0a 20 20 48 |o. |Todo. H|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.