source: doc/LaTeXmacros/listings/lstlang3.sty @ cab8cac

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since cab8cac was 9724df0, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

update latex macros, and user and refrat manuals

  • Property mode set to 100644
File size: 85.3 KB
Line 
1%%
2%% This is file `lstlang3.sty',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% lstdrvrs.dtx  (with options: `lang3')
8%%
9%% The listings package is copyright 1996--2004 Carsten Heinz, and
10%% continued maintenance on the package is copyright 2006--2007 Brooks
11%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann.
12%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/
13%% 2007/2013 any individual author listed in this file.
14%%
15%% This file is distributed under the terms of the LaTeX Project Public
16%% License from CTAN archives in directory  macros/latex/base/lppl.txt.
17%% Either version 1.3 or, at your option, any later version.
18%%
19%% This file is completely free and comes without any warranty.
20%%
21%% Send comments and ideas on the package, error reports and additional
22%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>.
23%%
24\ProvidesFile{lstlang3.sty}
25    [2015/06/04 1.6 listings language file]
26\lst@definelanguage[68]{Algol}%
27  {morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,%
28      char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,%
29      end,entier,eq,esac,exit,false,fi,file,flex,for,format,from,ge,%
30      goto,gt,heap,if,im,in,int,is,isnt,le,leng,level,loc,long,lt,lwb,%
31      minusab,mod,modab,mode,ne,nil,not,od,odd,of,op,or,ouse,out,over,%
32      overab,par,plusab,plusto,pr,pragmat,prio,proc,re,real,ref,repr,%
33      round,sema,shl,short,shorten,shr,sign,skip,string,struct,then,%
34      timesab,to,true,union,up,upb,void,while},%
35   sensitive=f,% ???
36   morecomment=[s]{\#}{\#},%
37   keywordcomment={co,comment}%
38  }[keywords,comments,keywordcomments]%
39\lst@definelanguage[60]{Algol}%
40  {morekeywords={array,begin,Boolean,code,comment,div,do,else,end,%
41      false,for,goto,if,integer,label,own,power,procedure,real,step,%
42      string,switch,then,true,until,value,while},%
43   sensitive=f,% ???
44   keywordcommentsemicolon={end}{else,end}{comment}%
45  }[keywords,keywordcomments]%
46%%
47%% Motorola 68K definition (c) 2006 Michael Franke
48%%
49\lst@definelanguage[Motorola68k]{Assembler}%
50 {morekeywords={ABCD,ADD,%
51ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,BGE,BPL,%
52BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,CMP,CMPA,CMPI,CMPM,%
53DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,%
54DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,%
55MULS,MULU,NBCD,NEG,NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,%
56SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,SUB,SUBA,SUBI,SUBQ,%
57SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},%
58   sensitive=false,%
59   morecomment=[l]*,%
60   morecomment=[l];%
61   }[keywords,comments,strings]
62%%
63%% x86masm definition (c) 2002 Andrew Zabolotny
64%%
65\lst@definelanguage[x86masm]{Assembler}%
66  {morekeywords={al,ah,ax,eax,bl,bh,bx,ebx,cl,ch,cx,ecx,dl,dh,dx,edx,%
67      si,esi,di,edi,bp,ebp,sp,esp,cs,ds,es,ss,fs,gs,cr0,cr1,cr2,cr3,%
68      db0,db1,db2,db3,db4,db5,db6,db7,tr0,tr1,tr2,tr3,tr4,tr5,tr6,tr7,%
69      st,aaa,aad,aam,aas,adc,add,and,arpl,bound,bsf,bsr,bswap,bt,btc,%
70      btr,bts,call,cbw,cdq,clc,cld,cli,clts,cmc,cmp,cmps,cmpsb,cmpsw,%
71      cmpsd,cmpxchg,cwd,cwde,daa,das,dec,div,enter,hlt,idiv,imul,in,%
72      inc,ins,int,into,invd,invlpg,iret,ja,jae,jb,jbe,jc,jcxz,jecxz,%
73      je,jg,jge,jl,jle,jna,jnae,jnb,jnbe,jnc,jne,jng,jnge,jnl,jnle,%
74      jno,jnp,jns,jnz,jo,jp,jpe,jpo,js,jz,jmp,lahf,lar,lea,leave,lgdt,%
75      lidt,lldt,lmsw,lock,lods,lodsb,lodsw,lodsd,loop,loopz,loopnz,%
76      loope,loopne,lds,les,lfs,lgs,lss,lsl,ltr,mov,movs,movsb,movsw,%
77      movsd,movsx,movzx,mul,neg,nop,not,or,out,outs,pop,popa,popad,%
78      popf,popfd,push,pusha,pushad,pushf,pushfd,rcl,rcr,rep,repe,%
79      repne,repz,repnz,ret,retf,rol,ror,sahf,sal,sar,sbb,scas,seta,%
80      setae,setb,setbe,setc,sete,setg,setge,setl,setle,setna,setnae,%
81      setnb,setnbe,setnc,setne,setng,setnge,setnl,setnle,setno,setnp,%
82      setns,setnz,seto,setp,setpe,setpo,sets,setz,sgdt,shl,shld,shr,%
83      shrd,sidt,sldt,smsw,stc,std,sti,stos,stosb,stosw,stosd,str,sub,%
84      test,verr,verw,wait,wbinvd,xadd,xchg,xlatb,xor,fabs,fadd,fbld,%
85      fbstp,fchs,fclex,fcom,fcos,fdecstp,fdiv,fdivr,ffree,fiadd,ficom,%
86      fidiv,fidivr,fild,fimul,fincstp,finit,fist,fisub,fisubr,fld,fld1,%
87      fldl2e,fldl2t,fldlg2,fldln2,fldpi,fldz,fldcw,fldenv,fmul,fnop,%
88      fpatan,fprem,fprem1,fptan,frndint,frstor,fsave,fscale,fsetpm,%
89      fsin,fsincos,fsqrt,fst,fstcw,fstenv,fstsw,fsub,fsubr,ftst,fucom,%
90      fwait,fxam,fxch,fxtract,fyl2x,fyl2xp1,f2xm1},%
91   morekeywords=[2]{.align,.alpha,assume,byte,code,comm,comment,.const,%
92      .cref,.data,.data?,db,dd,df,dosseg,dq,dt,dw,dword,else,end,endif,%
93      endm,endp,ends,eq,equ,.err,.err1,.err2,.errb,.errdef,.errdif,%
94      .erre,.erridn,.errnb,.errndef,.errnz,event,exitm,extrn,far,%
95      .fardata,.fardata?,fword,ge,group,gt,high,if,if1,if2,ifb,ifdef,%
96      ifdif,ife,ifidn,ifnb,ifndef,include,includelib,irp,irpc,label,%
97      .lall,le,length,.lfcond,.list,local,low,lt,macro,mask,mod,.model,%
98      name,ne,near,offset,org,out,page,proc,ptr,public,purge,qword,.%
99      radix,record,rept,.sall,seg,segment,.seq,.sfcond,short,size,%
100      .stack,struc,subttl,tbyte,.tfcond,this,title,type,.type,width,%
101      word,.xall,.xcref,.xlist},%
102   alsoletter=.,alsodigit=?,%
103   sensitive=f,%
104   morestring=[b]",%
105   morestring=[b]',%
106   morecomment=[l];%
107   }[keywords,comments,strings]
108%%
109%% Clean definition (c) 1999 Jos\'e Romildo Malaquias
110%%
111%% Clean 1.3 :  some standard functional language: pure, lazy,
112%%              polymorphic type system, modules, type classes,
113%%              garbage collection, functions as first class citizens
114%%
115\lst@definelanguage{Clean}%
116  {otherkeywords={:,::,=,:==,=:,=>,->,<-,<-:,\{,\},\{|,|\},\#,\#!,|,\&,%
117      [,],!,.,\\\\,;,_},%
118   morekeywords={from,definition,implementation,import,module,system,%
119      case,code,if,in,let,let!,of,where,with,infix,infixl,infixr},%
120   morendkeywords={True,False,Start,Int,Real,Char,Bool,String,World,%
121      File,ProcId},%
122   sensitive,%
123   morecomment=[l]//,% missing comma: Markus Pahlow
124   morecomment=[n]{/*}{*/},%
125   morestring=[b]"%
126  }[keywords,comments,strings]%
127\lst@definelanguage{CIL}%
128  {morekeywords=[1]{assembly,beforefieldinit,class,default,cdecl,cil,corflags,%
129                    culture,custom,data,entrypoint,fastcall,field,file,%
130                    hidebysig,hash,il,imagebase,locals,managed,marshall,%
131                    maxstack,mresource,method,module,namespace,publickey,%
132                    stdcall,subsystem,thiscall,unmanaged,vararg,ver,vtfixup,%
133                   % types
134                    bool,char,float32,float64,int,int8,int16,int32,%
135                    int64,method,native,object,string,modopt,modreq,pinned,%
136                    typedref,valuetype,unsigned,void,%
137                   % defining types
138                    abstract,ansi,auto,autochar,beforefieldinit,boxed,class,%
139                    explicit,extends,implements,interface,famandassem,family,%
140                    famorassem,inherits,nested,override,pack,private,property,%
141                    public,rtspecialname,sealed,sequential,serializable,size,%
142                    specialname,static,unicode,%
143                   % postfix
144                    algorithm,alignment,extern,init,from,nometadata,with},%
145  morekeywords=[2]{add,and,arglist,beq,bge,bgt,ble,blt,bne,br,break,brfalse,%
146                    brtrue,call,calli,ceq,cgt,ckfinite,clt,conv,cpblk,div,%
147                    dup,endfilter,endfinally,initblk,jmp,ldarg,ldarga,ldc,%
148                    ldftn,ldind,ldloc,ldloca,ldnull,leave,localloc,mul,neg,%
149                    nop,not,or,pop,rem,ret,shl,shr,starg,stind,stloc,sub,%
150                    switch,xor,%
151                   % prefix
152                    tail,unaligned,volatile,%
153                   % postfix
154                    un,s,ovf,%
155                   % object
156                    box,callvirt,castclass,cpobj,cctor,ctor,initobj,isinst,%
157                    ldelem,ldelema,ldfld,ldflda,ldlen,ldobj,ldsfld,ldsflda,%
158                    ldstr,ldtoken,ldvirtftn,mkrefany,newarr,newobj,refanytype,%
159                    refanyval,rethrow,sizeof,stelem,stfld,stobj,stsfld,throw,%
160                    unbox},%
161  sensitive=true,%
162  morecomment=[l]{//},%
163  morestring=[b]"%
164}[keywords,comments,strings]%
165\lst@definelanguage{Comal 80}%
166  {morekeywords={AND,AUTO,CASE,DATA,DEL,DIM,DIV,DO,ELSE,ENDCASE,ENDIF,%
167      ENDPROC,ENDWHILE,EOD,EXEC,FALSE,FOR,GOTO,IF,INPUT,INT,LIST,LOAD,%
168      MOD,NEW,NEXT,NOT,OF,OR,PRINT,PROC,RANDOM,RENUM,REPEAT,RND,RUN,%
169      SAVE,SELECT,STOP,TAB,THEN,TRUE,UNTIL,WHILE,ZONE},%
170   sensitive=f,% ???
171   morecomment=[l]//,%
172   morestring=[d]"%
173  }[keywords,comments,strings]%
174\lst@definelanguage[WinXP]{command.com}%
175  {morekeywords={assoc,at,attrib,bootcfg,break,cacls,call,cd,chcp,chdir,%
176      chkdsk,chkntfs,cls,cmd,cmdextversion,color,comp,compact,convert,copy,%
177      date,defined,del,dir,diskcomp,diskcopy,do,doskey,echo,else,endlocal,%
178      erase,errorlevel,exist,exit,fc,find,findstr,for,format,ftype,goto,%
179      graftabl,help,if,in,label,md,mkdir,mode,more,move,not,off,path,%
180      pause,popd,print,prompt,pushd,rd,recover,ren,rename,replace,rmdir,%
181      set,setlocal,shift,sort,start,subst,time,title,tree,type,ver,%
182      verify,vol,xcopy},%
183   sensitive=false,%
184   alsoother={@},%
185   alsoletter={\%~:-/},%
186   morecomment=[l]{rem},%
187   morecomment=[l]{reM},%
188   morecomment=[l]{rEm},%
189   morecomment=[l]{rEM},%
190   morecomment=[l]{Rem},%
191   morecomment=[l]{ReM},%
192   morecomment=[l]{REm},%
193   morecomment=[l]{REM},%
194   morestring=[d]"%
195}[keywords,comments,strings]%
196\lst@definelanguage{Comsol}%
197  {morekeywords={%
198      adaption,arc1,arc2,arrayr,assemble,asseminit,beziercurve2,block2,%
199      block3,bsplinecurve2,bsplinecurve3,bsplinesurf3,bypassplot,cardg,%
200      ccoeffgroup,chamfer,checkgeom,circ1,circ2,coeff2cell,comsol,%
201      cone2,cone3,Contents,createhexes,createprisms,createquads,csgbl2,%
202      csgbl3,csgcmpbz,csgimplbz,csginitaux,csginitnr,csgproputil,%
203      csgrbconv,csgunique3,csguniquep,csgversion,csgvvovl,curve2,%
204      curve3,cylinder2,cylinder3,dat2str,defastget,display,drawgetobj,%
205      drawreobj,drawsetobj,dst,duplicate,dxflayers,dxfread,dxfwrite,%
206      econe2,econe3,eigloop,elcconstr,elcplbnd,elcplextr,elcplproj,%
207      elcplscalar,elempty,elemreobj,eleqc,eleqw,elevate,elgeom,ellip1,%
208      ellip2,ellipsoid2,ellipsoid3,ellipsoidgen_fl23,elmat,elovar,%
209      elpconstr,elshape,elvar,elvarm,embed,extrude,face3,faceprim3,%
210      fastsetop,fem2jxfem,femblocksu,femdiff,femeig,femexport,femgui,%
211      femimport,femiter,femlab,femlin,femmesh,femmeshexp,femnlin,%
212      femplot,femsfun,femsim,femsimlowlevel,femsimserver,femsol,%
213      femsolver,femstate,femstruct,femtime,femwave,festyle,fieldnames,%
214      fillet,fl1d,fl2d,fl3d,flaction,flafun,flappconvert,flappobj,%
215      flaxisequal,flbase,flbinary,flc1hs,flc2hs,flcanpnt,flcell2draw,%
216      flclear,flcolorbar,flcompact,flconeplot,flcontour2mesh,%
217      flcontour2meshaux,flconvreact,flconvreact1d,flconvreact2d,%
218      flconvreact3d,flcyl,fldc1hs,fldc2hs,fldegree,fldegreer3,%
219      fldegreet3,fldimvarsget,fldisp,fldraw2cell,fldrawnow,fldsmhs,%
220      fldsmsign,flevalmat,flexch,flexchprop,flfastgeom,flform,flgc,%
221      flgcbo,flgdconv,flgeom2cellstr,flgeomadj,flgeomarcize,flgeomec,%
222      flgeomed,flgeomepol,flgeomes,flgeomfc,flgeomfd,flgeomfdp,%
223      flgeomff1,flgeomff2,flgeomfn,flgeomfs,flgeomgetlocalsys,%
224      flgeominit,flgeominitprop,flgeomitransform,flgeomloft,flgeommesh,%
225      flgeomnbs,flgeomnes,flgeomnmr,flgeomnv,flgeompsinv,flgeomrmsing,%
226      flgeomrotp,flgeomsd,flgeomsdim,flgeomse,flgeomsf2,flgeomspm,%
227      flgeomtransform,flgeomud,flgeomvtx,flgetdraw,flheat,flheat1d,%
228      flheat2d,flheat3d,flhelmholtz,flhelmholtz1d,flhelmholtz2d,%
229      flhelmholtz3d,flim2curve,flinterp1,fliscont,flismember,%
230      flisnumeric,fljaction,fllaplace,fllaplace1d,fllaplace2d,%
231      fllaplace3d,flload,flloadfl,flloadmatfile,flloadmfile,%
232      fllobj2cellstr,flmakeevalstr,flmapsoljac,flmat2str,flmatch,%
233      flmesh2spline,flmesh2splineaux,flml65setup,flngdof,flnull,%
234      flnullorth,flpde,flpdeac,flpdec,flpdec1d,flpdec2d,flpdec3d,%
235      flpdedc,flpdedc2d,flpdedc3d,flpdedf,flpdedf1d,flpdedf2d,%
236      flpdedf3d,flpdees,flpdees2d,flpdees3d,flpdeg,flpdeg1d,flpdeg2d,%
237      flpdeg3d,flpdeht,flpdeht1d,flpdeht2d,flpdeht3d,flpdems,flpdems2d,%
238      flpdems3d,flpdens,flpdens2d,flpdens3d,flpdepn,flpdeps,flpdesm3d,%
239      flpdew,flpdew1d,flpdew2d,flpdew3d,flpdewb,flpdewb1d,flpdewb2d,%
240      flpdewb3d,flpdewc,flpdewc1d,flpdewc2d,flpdewc3d,flpdewe,%
241      flpdewe3d,flpdewp,flpdewp2d,flpdewp3d,flplot,flpoisson,%
242      flpoisson1d,flpoisson2d,flpoisson3d,flpric2,flpric3,flreobj,%
243      flreport,flresolvepath,flsave,flschrodinger,flschrodinger1d,%
244      flschrodinger2d,flschrodinger3d,flsde,flsdp,flsdt,flsetalpha,%
245      flsetdraw,flsmhs,flsmsign,flspnull,fltherm_cond1,fltrg,flversion,%
246      flversions,flverver,flwave,flwave1d,flwave2d,flwave3d,%
247      flwriteghist,formstr,gdsread,gencyl2,gencyl3,genextrude,%
248      genextrudeaux,geom,geom0,geom0get,geom1,geom1get,geom2,geom2get,%
249      geom3,geom3get,geom3j2m,geom3m2j,geomaddlblmargin,geomanalyze,%
250      geomarrayr,geomassign,geomcoerce,geomcomp,geomconnect,geomcopy,%
251      geomcsg,geomdel,geomedit,geomexport,geomfile,geomget,%
252      geomgetlabels,geomgetwrkpln,geomimport,geominfo,geominfoaux,%
253      geomlblplot,geomload,geomnumparse,geomobject,geomparse,geomplot,%
254      geomplot1,geomplot2,geomplot3,geomposition,geomproputil,%
255      geomreconstruct,geomreobj,geomserver,geomspline,geomsurf,%
256      geomupdate,get,getfemgeom,getisocurve,getjptr,getmesh,getsdim,%
257      getvmatrixexch,handlesolnumstr,helix1,helix2,helix3,hexahedron2,%
258      hexahedron3,histfrommat,idst,igesread,importplotdata,isempty,%
259      isfield,isfunc,isscript,javaclass,jproputil,jptr2geom,jptrgeom1,%
260      jptrgeom1_fl23,jptrgeom2,jptrgeom2_fl23,jptrgeom3,jptrgeom3_fl23,%
261      keiter,line1,line2,loadobj,loft,matlabinterpdata,mesh2geom,%
262      meshassign,meshcaseadd,meshcasedel,meshcaseutil,meshcheck,%
263      meshembed,meshenrich,meshenrich1,meshenrich2,meshenrich3,%
264      meshexport,meshextend,meshextrude,meshget,meshimport,meshinit,%
265      meshintegrate,meshmap,meshoptim,meshparse,meshplot,meshplot1,%
266      meshplot2,meshplot3,meshplotproputil,meshpoi,meshproputil,%
267      meshptplot,meshqual,meshrefine,meshrevolve,meshsmooth,%
268      meshsmooth2,meshsweep,meshvolume,minus,mirror,mkreflparams,%
269      mmsolve,modetype,move,moveglobalfields,mphproputil,mtimes,%
270      multiphysics,mypostinterp,notscript,onlyelsconstr,outassign,%
271      paramgeom,pde2draw,pde2equ,pde2fem,pde2geom,pdeblxpd,plus,point1,%
272      point2,point3,poisson,poly1,poly2,postanim,postapplysettings,%
273      postarrow,postarrowbnd,postcolorbar,postcont,postcontdomind,%
274      postcoord,postcopyprop,postcrossplot,postdistrprops,posteval,%
275      postflow,postfnd,postgeomplot,postgetfem,postgetstylecolor,%
276      postglobaleval,postglobalplot,postgp,postinit,postint,postinterp,%
277      postiso,postlin,postmakecontcol,postmax,postmaxmin,postmin,%
278      postmkcontbar,postmknormexpr,postmovie,postnewplot,%
279      postoldmaxminprops,postpd2pm,postplot,postplotconstants,%
280      postpm2pd,postprinc,postprincbnd,postprocgui,postproputil,%
281      postslice,postsurf,posttet,posttitle,print2file,pyramid2,%
282      pyramid3,rect1,rect2,restorefields,revolve,rmfield,rotate,%
283      rotmatrix,scale,serialize,set,setmesh,sh2str,sharg_2_5,shbub,%
284      shdisc,shdiv,shherm,shlag,shvec,simplecoerce,simreobj,slblocks,%
285      solassign,solid0,solid1,solid2,solid3,solidprim3,solproputil,%
286      solsize,solveraddcases,sphere2,sphere3,spiceimport,splineaux,%
287      split,splittoprim,square1,square2,stlread,submode,submodes,%
288      subsasgn,subsref,tangent,taucs,tetrahedron2,tetrahedron3,%
289      tobsplines,torus2,torus3,transform,update,updateassoc,%
290      updateassocinfo,updatefem,updateguistruct,updateobj,vrmlread,%
291      xmeshinfo,xmeshinit},%
292   sensitive=false,%
293   morecomment=[l]\%,%
294   morestring=[m]'%
295  }[keywords,comments,strings]%
296\lst@definelanguage{Elan}%
297  {morekeywords={ABS,AND,BOOL,CAND,CASE,CAT,COLUMNS,CONCR,CONJ,CONST,%
298      COR,DECR,DEFINES,DET,DIV,DOWNTO,ELIF,ELSE,END,ENDIF,ENDOP,%
299      ENDPACKET,ENDPROC,ENDREP,ENDSELECT,FALSE,FI,FILE,FOR,FROM,IF,%
300      INCR,INT,INV,LEAVE,LENGTH,LET,MOD,NOT,OF,OP,OR,OTHERWISE,PACKET,%
301      PROC,REAL,REP,REPEAT,ROW,ROWS,SELECT,SIGN,STRUCT,SUB,TEXT,THEN,%
302      TRANSP,TRUE,TYPE,UNTIL,UPTO,VAR,WHILE,WITH,XOR,%
303      maxint,sign,abs,min,max,random,initializerandom,subtext,code,%
304      replace,text,laenge,pos,compress,change,maxreal,smallreal,floor,%
305      pi,e,ln,log2,log10,sqrt,exp,tan,tand,sin,sind,cos,cosd,arctan,%
306      arctand,int,real,lastconversionok,put,putline,line,page,get,%
307      getline,input,output,sequentialfile,maxlinelaenge,reset,eof,%
308      close,complexzero,complexone,complexi,complex,realpart,imagpart,%
309      dphi,phi,vector,norm,replace,matrix,idn,row,column,sub,%
310      replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},%
311   sensitive,%
312   morestring=[d]"%
313  }[keywords,strings]%
314%%
315%% Erlang definition (c) 2003 Daniel Gazard
316%%
317\lst@definelanguage{erlang}%
318  {morekeywords={abs,after,and,apply,atom,atom_to_list,band,binary,%
319      binary_to_list,binary_to_term,bor,bsl,bsr,bxor,case,catch,%
320      date,div,element,erase,end,exit,export,float,float_to_list,%
321      get,halt,hash,hd,if,info,import,integer,integer_to_list,%
322      length,link,list,list_to_atom,list_to_float,list_to_integer,%
323      list_to_tuple,module,node,nodes,now,of,or,pid,port,ports,%
324      processes,put,receive,reference,register,registered,rem,%
325      round,self,setelement,size,spawn,throw,time,tl,trace,trunc,%
326      tuple,tuple_to_list,unlink,unregister,whereis,error,false,%
327      infinity,nil,ok,true,undefined,when},%
328   otherkeywords={->,!,[,],\{,\}},%
329   morecomment=[l]\%,%
330   morestring=[b]",%
331   morestring=[b]'%
332  }[keywords,comments,strings]%
333\lst@definelanguage{Scala}%
334  {morekeywords={abstract,case,catch,class,def,%
335    do,else,extends,false,final,finally,%
336    for,if,implicit,import,lazy,match,mixin,%
337    new,null,object,override,package,%
338    private,protected,requires,return,sealed,%
339    super,this,trait,true,try,%
340    type,val,var,while,with,yield},%+
341otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},%
342   sensitive,%
343   morecomment=[l]//,%
344   morecomment=[n]{/*}{*/},%
345   morestring=[b]",%
346   morestring=[b]',%
347   morestring=[b]""",%
348  }[keywords,comments,strings]%
349\lst@definelanguage{ksh}
350  {morekeywords={alias,awk,cat,echo,else,elif,fi,exec,exit,%
351      for,in,do,done,select,case,esac,while,until,function,%
352      time,export,cd,eval,fc,fg,kill,let,pwd,read,return,rm,%
353      glob,goto,history,if,logout,nice,nohup,onintr,repeat,sed,%
354      set,setenv,shift,source,switch,then,umask,unalias,%
355      unset,wait,@,env,argv,child,home,ignoreeof,noclobber,%
356      noglob,nomatch,path,prompt,shell,status,verbose,print,printf,%
357      sqrt,BEGIN,END},%
358   morecomment=[l]\#,%
359   morestring=[d]",%
360   morestring=[d]',%
361   morestring=[d]`%
362  }[keywords,comments,strings]%
363\lst@definelanguage{Lingo}
364  {morekeywords={abort,after,and,before,do,down,halt,me,new,not,of,%
365      on,or,otherwise,pass,put,result,return,set,tell,the,then,to,with,%
366      repeat,while,case,if,else,true,false,global,property,\_global,\_key,%
367      \_mouse,\_movie,\_player,\_sound,\_system,abbr,abbrev,abbreviated,abs,%
368      actionsenabled,activateapplication,activatewindow,active3drenderer,%
369      activecastlib,activewindow,actorlist,add,addat,addbackdrop,addcamera,%
370      addchild,addmodifier,addoverlay,addprop,addtoworld,addvertex,alert,%
371      alerthook,alignment,allowcustomcaching,allowgraphicmenu,allowsavelocal,%
372      allowtransportcontrol,allowvolumecontrol,allowzooming,alphathreshold,%
373      ambient,ambientcolor,ancestor,angle,anglebetween,animationenabled,%
374      antialias,antialiasthreshold,append,applicationname,applicationpath,%
375      appminimize,atan,attenuation,attributevalue,auto,autoblend,automask,%
376      autotab,axisangle,back,backcolor,backdrop,backgroundcolor,backspace,%
377      beep,beepon,beginrecording,beginsprite,beveldepth,beveltype,bgcolor,%
378      bias,bitand,bitmap,bitmapsizes,bitnot,bitor,bitrate,bitspersample,%
379      bitxor,blend,blendconstant,blendconstantlist,blendfactor,blendfunction,%
380      blendfunctionlist,blendlevel,blendrange,blendsource,blendsourcelist,%
381      blendtime,bone,bonesplayer,border,both,bottom,bottomcap,bottomradius,%
382      bottomspacing,boundary,boundingsphere,box,boxdropshadow,boxtype,%
383      breakconnection,breakloop,brightness,broadcastprops,browsername,%
384      buffersize,build,buttonsenabled,buttonstyle,buttontype,bytesstreamed,%
385      boolean,cachedocverify,cachesize,call,callancestor,camera,cameracount,%
386      cameraposition,camerarotation,cancelidleload,castlib,castlibnum,%
387      castmemberlist,center,centerregpoint,centerstage,changearea,channelcount,%
388      char,characterset,charpostoloc,chars,charspacing,chartonum,%
389      checkboxaccess,checkboxtype,checkmark,checknetmessages,child,chunksize,%
390      clearatrender,clearcache,clearerror,clearframe,clearglobals,clearvalue,%
391      clickloc,clickmode,clickon,clone,clonedeep,clonemodelfromcastmember,%
392      clonemotionfromcastmember,close,closed,closewindow,closexlib,collision,%
393      collisiondata,collisionnormal,color,world,colorbuffer,colorbufferdepth,%
394      colordepth,colorlist,colorrange,colors,colorsteps,commanddown,comments,%
395      compressed,connecttonetserver,constrainh,constraint,constrainv,,%
396      continue,controldown,controller,copypixels,copyrightinfo,copyto,%
397      copytoclipboard,cos,count,cpuhogticks,creaseangle,creases,[contains],%
398      createfolder,createmask,creatematte,creationdate,creator,crop,cross,%
399      crossproduct,cuepassed,cuepointnames,cuepointtimes,currentloopstate,%
400      currentspritenum,currenttime,cursor,cursorsize,curve,cylinder,ate,day,%
401      deactivateapplication,deactivatewindow,debug,debugplaybackenabled,%
402      decaymode,defaultrect,defaultrectmode,delay,delete,deleteall,deleteat,%
403      deletecamera,deletefolder,deleteframe,deletegroup,deletelight,%
404      deletemodel,deletemodelresource,deletemotion,deleteone,deleteprop,%
405      deleteshader,deletetexture,deletevertex,density,depth,depthbufferdepth,%
406      desktoprectlist,diffuse,diffusecolor,diffuselightmap,%
407      digitalvideotimescale,digitalvideotype,direction,directionalcolor,%
408      directionalpreset,directtostage,disableimagingtransformation,displayface,%
409      displaymode,distanceto,distribution,dither,done,doneparsing,dot,%
410      dotproduct,doubleclick,downloadnetthing,drag,draw,drawrect,dropshadow,%
411      duplicate,duplicateframe,duration,editable,editshortcutsenabled,%
412      elapsedtime,emissive,emitter,empty,emulatemultibuttonmouse,enabled,%
413      enablehotspot,end,endangle,endcolor,endframe,endrecording,endsprite,%
414      endtime,enter,enterframe,environment,erase,error,eventpassmode,%
415      exchange,exists,exit,exitframe,exitlock,exp,externalevent,%
416      externalparamcount,externalparamname,externalparamvalue,extractalpha,%
417      extrude3d,face,fadein,fadeout,fadeto,far,field,fieldofview,filename,%
418      fill,fillcolor,fillcycles,filldirection,filled,fillmode,filloffset,%
419      fillscale,findempty,findlabel,findpos,findposnear,finishidleload,%
420      firstindent,fixedlinespace,fixedrate,fixstagesize,flashrect,flashtostage,%
421      flat,fliph,flipv,float,floatp,floatprecision,flush,flushinputevents,%
422      fog,folderchar,font,fontsize,fontstyle,forecolor,forget,frame,%
423      framecount,framelabel,framepalette,framerate,frameready,framescript,%
424      framesound1,framesound2,framestohms,frametempo,frametransition,freeblock,%
425      freebytes,fromcastmember,fromimageobject,front,frontwindow,%
426      generatenormals,getaprop,getat,getbehaviordescription,getbehaviortooltip,%
427      getboneid,geterror,geterrorstring,gethardwareinfo,gethotspotrect,getlast,%
428      getlatestnetid,getnetaddresscookie,getneterrorstring,getnetmessage,%
429      getnetoutgoingbytes,getnettext,getnormalized,getnthfilenameinfolder,%
430      getnumberwaitingnetmessages,getone,getpeerconnectionlist,getpixel,%
431      getplaylist,getpos,getpref,getprop,getpropat,getpropertydescriptionlist,%
432      getrendererservices,getstreamstatus,gettemppath,getworldtransform,globals,%
433      glossmap,go,gotoframe,gotonetmovie,gotonetpage,gradienttype,gravity,%
434      group,handler,handlers,height,heightvertices,high,highlightpercentage,%
435      highlightstrength,hilite,hither,hittest,hmstoframes,hold,hotspot,html,%
436      hyperlink,hyperlinkclicked,hyperlinkrange,hyperlinks,hyperlinkstate,%
437      id3tags,identity,idle,idlehandlerperiod,idleloaddone,idleloadmode,%
438      idleloadperiod,idleloadtag,idlereadchunksize,ilk,image,imagecompression,%
439      imageenabled,imagequality,immovable,importfileinto,inflate,ink,inker,%
440      inlineimeenabled,insertbackdrop,insertframe,insertoverlay,inside,%
441      installmenu,instance,integer,integerp,interface,interpolate,%
442      interpolateto,intersect,index,interval,inverse,invert,invertmask,%
443      isbusy,isinworld,isoktoattach,ispastcuepoint,item,itemdelimiter,kerning,%
444      kerningthreshold,key,keyboardfocussprite,keycode,keydown,keydownscript,%
445      keyframeplayer,keypressed,keyup,keyupscript,label,labellist,last,%
446      lastchannel,lastclick,lastevent,lastframe,lastkey,lastroll,left,%
447      leftindent,length,lengthvertices,level,lifetime,light,line,linearlist,%
448      linecolor,linecount,linedirection,lineheight,lineoffset,linepostolocv,%
449      linesize,linkas,linked,list,listp,loaded,loadfile,loc,loch,locked,%
450      locktranslation,loctocharpos,locv,locvtolinepos,locz,lod,log,long,%
451      loop,loopcount,loopendtime,loopsremaining,loopstarttime,machinetype,%
452      magnitude,map,mapImageToStage,mapmembertostage,mapstagetomember,margin,%
453      marker,markerlist,mask,max,maxinteger,maxspeed,mci,media,mediaready,%
454      member,membernum,members,memorysize,menu,mesh,meshdeform,milliseconds,%
455      min,minspeed,modal,mode,model,modela,modelb,modelresource,%
456      modelsunderloc,modelsunderray,modelunderloc,modified,modifiedby,%
457      modifieddate,modifier,modifiers,month,mostrecentcuepoint,motion,%
458      mousechar,mousedown,mousedownscript,mouseenter,mouseh,mouseitem,%
459      mouseleave,mouselevel,mouseline,mouseloc,mousemember,mouseoverbutton,%
460      mouseup,mouseupoutside,mouseupscript,mousev,mousewithin,mouseword,move,%
461      moveablesprite,movetoback,movetofront,movevertex,movevertexhandle,%
462      movewindow,movie,movieaboutinfo,moviecopyrightinfo,moviefilefreesize,%
463      moviefilesize,moviefileversion,movieimagecompression,movieimagequality,%
464      moviename,moviepath,movierate,movietime,moviextralist,mpeglayer,%
465      multiply,multisound,name,near,nearfiltering,neighbor,netabort,netdone,%
466      neterror,netlastmoddate,netmime,netpresent,netstatus,nettextresult,%
467      netthrottleticks,newcamera,newcurve,newgroup,newlight,newmesh,newmodel,%
468      newmodelresource,newmotion,newshader,newtexture,next,none,normalize,%
469      normallist,normals,nothing,notify,nudge,number,numchannels,%
470      numparticles,numsegments,numtochar,objectp,offset,open,openresfile,%
471      openwindow,openxlib,optiondown,organizationname,originalfont,originh,%
472      originmode,originpoint,originv,orthoheight,overlay,pageheight,palette,%
473      palettemapping,paletteref,paletteindex,pan,paragraph,param,paramcount,%
474      parent,parsestring,particle,pasteclipboardinto,path,pathname,%
475      pathstrength,pattern,pause,pausedatstart,pausestate,percentplayed,%
476      percentstreamed,period,perpendicularto,persistent,pi,picture,picturep,%
477      plane,platform,play,playbackmode,playfile,playing,playlist,playnext,%
478      playrate,point,pointat,pointatorientation,pointinhyperlink,%
479      pointofcontact,pointtochar,pointtoitem,pointtoline,pointtoparagraph,%
480      pointtoword,position,positionreset,posterframe,postnettext,power,%
481      preferred3drenderer,preload,preloadbuffer,preloadeventabort,preloadmember,%
482      preloadmode,preloadmovie,preloadnetthing,preloadram,preloadtime,%
483      premultiply,prepareframe,preparemovie,prerotate,prescale,pretranslate,%
484      previous,primitives,printfrom,productversion,projection,projectionangle,%
485      propList,proxyserver,pttohotspotid,puppet,puppetpalette,puppetsound,%
486      puppetsprite,puppettempo,puppettransition,purgepriority,%
487      qtregisteraccesskey,qtunregisteraccesskey,quad,quality,queue,quit,quote,%
488      radius,ramneeded,random,randomseed,randomvector,rateshift,rawnew,read,%
489      readvalue,recordfont,rect,ref,reflectionmap,reflectivity,region,%
490      registerforevent,registerscript,regpoint,regpointvertex,removebackdrop,%
491      removefromworld,removelast,removemodifier,removeoverlay,rename,renderer,%
492      rendererdevicelist,renderformat,renderstyle,resetworld,resizewindow,%
493      resolution,resolve,resolvea,resolveb,resource,restart,resume,%
494      reverttoworlddefaults,rewind,rgb,rgba4444,rgba5550,rgba5551,rgba5650,%
495      rgba8880,rgba8888,right,rightindent,rightmousedown,rightmouseup,%
496      rollover,romanlingo,rootlock,rootnode,rotate,rotation,rotationreset,%
497      rtf,runmode,runpropertydialog,safeplayer,samplecount,samplerate,%
498      samplesize,save,savedlocal,savemovie,scale,scalemode,score,scorecolor,%
499      scoreselection,script,scriptexecutionstyle,scriptinstancelist,scriptlist,%
500      scriptnum,scriptsenabled,scripttext,scripttype,scrollbyline,scrollbypage,%
501      scrolltop,sds,searchcurrentfolder,searchpath,searchpaths,seconds,%
502      selectedtext,selection,selend,selstart,sendallsprites,sendevent,%
503      sendnetmessage,sendsprite,serialnumber,setalpha,setaprop,setat,%
504      setcollisioncallback,setflashproperty,setnetbufferlimits,%
505      setnetmessagehandler,setpixel,setplaylist,setpref,setprop,setscriptlist,%
506      settrackenabled,setvariable,shader,shaderlist,shadowpercentage,%
507      shadowstrength,shapetype,shiftdown,shininess,shockwave3d,short,%
508      showglobals,showlocals,showprops,showresfile,showxlib,shutdown,%
509      silhouettes,sin,size,sizerange,skew,sleep,smoothness,sort,sound,%
510      soundbusy,soundchannel,sounddevice,sounddevicelist,soundenabled,%
511      soundkeepdevice,soundlevel,soundmixmedia,source,sourcerect,space,%
512      specular,specularcolor,specularlightmap,sphere,spotangle,spotdecay,%
513      sprite,spritenum,spritespacetoworldspace,sqrt,stage,stagebottom,%
514      stagecolor,stageleft,stageright,stagetoflash,stagetop,standard,%
515      startangle,startframe,startmovie,starttime,starttimer,state,static,%
516      status,stepframe,stilldown,stop,stopevent,stopmovie,stoptime,stream,%
517      streammode,streamname,streamsize,streamstatus,string,stringp,%
518      strokecolor,strokewidth,style,subdivision,sweep,swing,switchcolordepth,%
519      symbol,symbolp,systemdate,tab,tabcount,tabs,tan,target,%
520      tellstreamstatus,tension,text,texture,texturecoordinatelist,%
521      texturecoordinates,texturelayer,texturelist,texturemember,texturemode,%
522      texturemodelist,texturerenderformat,texturerepeat,texturerepeatlist,%
523      texturetransform,texturetransformlist,texturetype,thumbnail,ticks,tilt,%
524      time,timeout,timeouthandler,timeoutkeydown,timeoutlapsed,timeoutlength,%
525      timeoutlist,timeoutmouse,timeoutplay,timeoutscript,timer,timescale,%
526      title,titlevisible,toon,top,topcap,topradius,topspacing,trace,%
527      traceload,tracelogfile,trackcount,trackenabled,tracknextkeytime,%
528      tracknextsampletime,trackpreviouskeytime,trackprevioussampletime,%
529      trackstarttime,trackstoptime,tracktext,tracktype,trails,transform,%
530      transitiontype,translate,triggercallback,trimwhitespace,tunneldepth,%
531      tweened,tweenmode,type,[transparent],union,unload,unloadmember,%
532      unloadmovie,unregisterallevents,update,updateframe,updatelock,%
533      updatemovieenabled,updatestage,url,usealpha,usediffusewithtexture,%
534      usefastquads,usehypertextstyles,uselineoffset,userdata,username,value,%
535      vector,version,vertex,vertexlist,vertices,video,videoforwindowspresent,%
536      viewh,viewpoint,viewscale,viewv,visibility,visible,void,voidp,volume,%
537      volumeinfo,wait,waitfornetconnection,warpmode,width,widthvertices,wind,%
538      window,windowlist,windowpresent,windowtype,word,wordwrap,world,%
539      worldposition,worldspacetospritespace,worldtransform,wraptransform,%
540      wraptransformlist,write,writevalue,,xaxis,xtra,xtralist,xtras,,yaxis,%
541      year,yon,zaxis,zoombox,zoomwindow,repeat,Conditional,Boolean,TypeDef,%
542      Statement,Operator,String,Comment,Identifier,Special,x,y,z}
543   sensitive=false,
544   morecomment=[l]{--},
545   morestring=[b]",
546  }[keywords,comments,strings]%
547\lst@definelanguage{LLVM}{%
548  morekeywords={%
549    ret,br,switch,indirectbr,invoke,resume,unreachable,%
550    add,fadd,sub,fsub,mul,fmul,udiv,sdiv,fdiv,urem,srem,frem,%
551    shl,lshr,ashr,and,or,xor,%
552    extractelement,insertelement,shufflevector,%
553    extractvalue,insertvalue,%
554    alloca,load,store,fence,cmpxchg,atomicrmw,getelementptr,%
555    trunc,zext,sext,fptrunc,fpext,fptoui,fptosi,uitofp,sitofp,ptrtoint,%
556    inttoptr,bitcast,to,%
557    icmp,fcmp,phi,select,call,va_arg,landingpad,%
558    xchg,add,sub,and,nand,or,xor,max,min,umax,umin,%
559    eq,ne,ugt,uge,ult,ule,sgt,sge,slt,sle,%
560    false,oeq,ogt,oge,olt,ole,one,ord,ueq,ugt,uge,ult,ule,une,uno,true,%
561    private,linker_private,linker_private_weak,linker_private_weak_def_auto,%
562    internal,available_externally,linkonce,common,weak,appending,extern_weak,%
563    linkonce_odr,weak_odr,external,dllimport,dllexport,%
564    define,declare,%
565    zeroext,signext,inreg,byval,sret,noalias,nocapture,next,%
566    gc,%
567    address_safety,alignstack,alwaysinline,nonlazybind,inlinehint,naked,%
568    noimplicitfloat,noinline,noredzone,noreturn,nounwind,optsize,readnone,%
569    readonly,returns_twice,ssp,sspreq,uwtable,%
570    module,asm,%
571    target,datalayout,%
572    sideeffect,alignstack,%
573    nuw,nsw,exact,inbounds,unnamed_addr},%
574  morekeywords=[2]{%
575    i1,i2,i4,i8,i16,i32,i64,i128,i256,i512,i1024,% <-- Most common integers
576    half,float,double,x86_fp80,fp128,ppc_fp128,x86mmx,%
577    void,label,metadata},%
578  alsoletter=.,%
579  sensitive=false,%
580  morecomment=[l];,%
581  morestring=[b]"%
582}
583\lst@definelanguage{Logo}%
584  {morekeywords={and,atan,arctan,both,break,bf,bl,butfirst,butlast,%
585      cbreak, close,co,continue,cos,count,clearscreen,cs,debquit,%
586      describe,diff,difference,ed,edit,either,emptyp,equalp,er,erase,%
587      errpause,errquit,fifp,filefprint,fifty,fileftype,fip,fileprint,%
588      fird,fileread,fity,filetype,fiwd,fileword,f,first,or,fp,fprint,%
589      fput,fty,ftype,full,fullscreen,go,bye,goodbye,gprop,greaterp,%
590      help,if,iff,iffalse,ift,iftrue,nth,item,keyp,llast,lessp,list,%
591      local,lput,make,max,maximum,memberp,memtrace,min,minimum,namep,%
592      not,numberp,oflush,openr,openread,openw,openwrite,op,output,%
593      pause,plist,pots,pow,pprop,pps,pr,print,product,quotient,random,%
594      rc,readchar,rl,readlist,remprop,repcount,repeat,request,rnd,run,%
595      se,sentence,sentencep,setc,setcolor,setipause,setqpause,po,show,%
596      sin,split,splitscreen,sqrt,stop,sum,test,text,textscreen,thing,%
597      to,tone,top,toplevel,type,untrace,wait,word,wordp,yaccdebug,is,%
598      mod,remainder,trace,zerop,back,bk,bto,btouch,fd,forward,fto,%
599      ftouch,getpen,heading,hit,hitoot,ht,hideturtle,loff,lampoff,lon,%
600      lampon,lt,left,lot,lotoot,lto,ltouch,penc,pencolor,pd,pendown,pe,%
601      penerase,penmode,pu,penup,px,penreverse,rt,right,rto,rtouch,%
602      scrunch,seth,setheading,setscrun,setscrunch,setxy,shownp,st,%
603      showturtle,towardsxy,clean,wipeclean,xcor,ycor,tur,turtle,%
604      display,dpy},%
605   sensitive=f% ???
606  }[keywords]%
607%%
608%% MetaPost definition (c) 2004 Brooks Moses
609%%   This definition is based on the language specifications
610%%   contained in the _User's Manual for Metapost_, with the core
611%%   language enhancements that are described in the _Drawing
612%%   Graphs with MetaPost_ documentation.
613%%
614\lst@definelanguage{MetaPost}%
615  {% keywords[1] = MetaPost primitives (not found in following tables)
616   morekeywords={end,begingroup,endgroup,beginfig,endfig,def,vardef,%
617      primary,secondary,tertiary,primarydef,secondarydef,tertiarydef,%
618      expr,suffix,text,enddef,if,fi,else,elseif,for,forsuffixes,%
619      forever,endfor,upto,downto,stop,until,tension,controls,on,off,%
620      btex,etex,within,input},
621   % keywords[2] = Operators (Tables 6-9 in MetaPost User's manual)
622   morekeywords=[2]{abs,and,angle,arclength,arctime,ASCII,bbox,bluepart,%
623      boolean,bot,ceiling,center,char,color,cosd,cutafter,cutbefore,%
624      cycle,decimal,dir,direction,directionpoint,directiontime,div,%
625      dotprod,floor,fontsize,greenpart,hex,infont,intersectionpoint,%
626      intersectiontimes,inverse,known,length,lft,llcorner,lrcorner,%
627      makepath,makepen,mexp,mlog,mod,normaldeviate,not,numeric,oct,%
628      odd,or,pair,path,pen,penoffset,picture,point,postcontrol,%
629      precontrol,redpart,reverse,rotated,round,rt,scaled,shifted,%
630      sind,slanted,sqrt,str,string,subpath,substring,top,transform,%
631      transformed,ulcorner,uniformdeviate,unitvector,unknown,%
632      urcorner,whatever,xpart,xscaled,xxpart,xypart,ypart,yscaled,%
633      yxpart,yypart,zscaled,of,reflectedabout,rotatedaround,ulft,urt,%
634      llft,lrt,readfrom,write,stroked,filled,textual,clipped,bounded,%
635      pathpart,penpart,dashpart,textpart,fontpart},%
636   % keywords[3] = Commands (Table 10)
637   morekeywords=[3]{addto,clip,cutdraw,draw,drawarrow,drawdblarrow,%
638      fill,filldraw,interim,let,loggingall,newinternal,pickup,%
639      save,setbounds,shipout,show,showdependencies,showtoken,%
640      showvariable,special,tracingall,tracingnone,undraw,unfill,%
641      unfilldraw,to,also,contour,doublepath,withcolor,withpen,%
642      dashed,randomseed},%
643   % keywords[4] = Function-Like Macros (Table 11)
644   morekeywords=[4]{boxit,boxjoin,bpath,buildcycle,circleit,dashpattern,%
645      decr,dotlabel,dotlabels,drawboxed,drawboxes,drawoptions,%
646      drawunboxed,fixpos,fixsize,incr,interpath,label,labels,max,min,pic,%
647      thelabel,z,image},%
648   % keywords[5] = Internal and Predefined Variables (Tables 3, 4)
649   morekeywords=[5]{ahangle,ahlength,bboxmargin,charcode,circmargin,%
650      day,defaultdx,defaultdy,defaultpen,defaultscale,labeloffset,%
651      linecap,linejoin,miterlimit,month,pausing,prologues,showstopping,%
652      time,tracingcapsules,tracingchoices,tracingcommands,%
653      tracingequations,tracinglostchars,tracingmacros,tracingonline,%
654      tracingoutput,tracingrestores,tracingspecs,tracingstats,%
655      tracingtitles,truecorners,warningcheck,year},
656   morekeywords=[5]{background,currentpen,currentpicture,cuttings,%
657      defaultfont},%
658   % keywords[6] = Predefined Constants (Table 5)
659   morekeywords=[6]{beveled,black,blue,bp,butt,cc,cm,dd,ditto,down,%
660      epsilon,evenly,false,fullcircle,green,halfcircle,identity,%
661      in,infinity,left,mitered,mm,nullpicture,origin,pc,pencircle,%
662      pt,quartercircle,red,right,rounded,squared,true,unitsquare,%
663      up,white,withdots},
664   sensitive=false,%
665   alsoother={0123456789$},%
666   morecomment=[l]\%,%
667   morestring=[mf]{input\ },%
668   morestring=[b]"%
669  }[keywords,comments,strings,mf]%
670%%
671%% Mizar definition (c) 2003 Adam Grabowski
672%%
673%% Mizar is freely available at URL www.mizar.org for the Linux x86,
674%% Solaris x86, and Windows operating systems.
675%%
676\lst@definelanguage{Mizar}%
677  {otherkeywords={->,(\#,\#),.=),\&},%
678   morekeywords={vocabulary,constructors,$1,$1,$2,$3,$4,$5,$6,$7,$8,%
679      @proof,according,aggregate,and,antonym,as,associativity,assume,%
680      asymmetry,attr,be,begin,being,by,canceled,case,cases,cluster,%
681      clusters,coherence,commutativity,compatibility,connectedness,%
682      consider,consistency,constructors,contradiction,correctness,def,%
683      deffunc,define,definition,definitions,defpred,end,environ,equals,%
684      ex,exactly,existence,for,from,func,given,hence,hereby,holds,%
685      idempotence,if,iff,implies,involutiveness,irreflexivity,is,it,%
686      let,means,mode,non,not,notation,now,of,or,otherwise,over,per,%
687      pred,prefix,projectivity,proof,provided,qua,reconsider,redefine,%
688      reflexivity,requirements,reserve,scheme,schemes,section,selector,%
689      set,st,struct,such,suppose,symmetry,synonym,take,that,the,then,%
690      theorem,theorems,thesis,thus,to,transitivity,uniqueness,%
691      vocabulary,where},%
692   sensitive=t,%
693   morecomment=[l]::%
694  }[keywords,comments]%
695\lst@definelanguage{Modula-2}%
696  {morekeywords={AND,ARRAY,BEGIN,BY,CASE,CONST,DIV,DO,ELSE,ELSIF,END,%
697      EXIT,EXPORT,FOR,FROM,IF,IMPLEMENTATION,IMPORT,IN,MOD,MODULE,NOT,%
698      OF,OR,POINTER,PROCEDURE,QUALIFIED,RECORD,REPEAT,RETURN,SET,THEN,%
699      TYPE,UNTIL,VAR,WHILE,WITH,ABS,BITSET,BOOLEAN,CAP,CARDINAL,CHAR,%
700      CHR,DEC,EXCL,FALSE,FLOAT,HALT,HIGH,INC,INCL,INTEGER,LONGCARD,%
701      LONGINT,LONGREAL,MAX,MIN,NIL,ODD,ORD,PROC,REAL,SIZE,TRUE,TRUNC,%
702      VAL,DEFINITION,LOOP},% added keywords due to Peter Bartke 99/07/22
703   sensitive,%
704   morecomment=[n]{(*}{*)},%
705   morestring=[d]',%
706   morestring=[d]"%
707  }[keywords,comments,strings]%
708\lst@definelanguage{MuPAD}{%
709   morekeywords={end,next,break,if,then,elif,else,end_if,case,end_case,%
710      otherwise,for,from,to,step,downto,in,end_for,while,end_while,%
711      repeat,until,end_repeat,or,and,not,xor,div,mod,union,minus,%
712      intersect,subset,proc,begin,end_proc,domain,end_domain,category,%
713      end_category,axiom,end_axiom,quit,delete,frame},%
714   morekeywords=[2]{NIL,FAIL,TRUE,FALSE,UNKNOWN,I,RD_INF,RD_NINF,%
715      RD_NAN,name,local,option,save,inherits,of,do},%
716   otherkeywords={\%if,?,!,:=,<,>,=,<=,<>,>=,==>,<=>,::,..,...,->,%
717      @,@@,\$},%
718   sensitive=true,%
719   morecomment=[l]{//},%
720   morecomment=[n]{/*}{*/},%
721   morestring=[b]",%
722   morestring=[d]{`}%
723  }[keywords,comments,strings]
724\lst@definelanguage{NASTRAN}
725  {morekeywords={ENDDATA},%
726   morecomment=[l]$,%
727   MoreSelectCharTable=%
728        \lst@CArgX BEGIN\ BULK\relax\lst@CDef{}%
729        {\lst@ifmode\else \ifnum\lst@length=\z@
730             \lst@EnterMode{\lst@GPmode}{\lst@modetrue
731                  \let\lst@currstyle\lst@gkeywords@sty}%
732         \fi \fi}%
733        {\ifnum\lst@mode=\lst@GPmode
734             \lst@XPrintToken \lst@LeaveMode
735         \fi}%
736  }[keywords,comments]%
737\lst@definelanguage{Oberon-2}%
738  {morekeywords={ARRAY,BEGIN,BOOLEAN,BY,CASE,CHAR,CONST,DIV,DO,ELSE,%
739      ELSIF,END,EXIT,FALSE,FOR,IF,IMPORT,IN,INTEGER,IS,LONGINT,%
740      LONGREAL,LOOP,MOD,MODULE,NIL,OF,OR,POINTER,PROCEDURE,REAL,RECORD,%
741      REPEAT,RETURN,SET,SHORTINT,THEN,TO,TRUE,TYPE,UNTIL,VAR,WHILE,%
742      WITH,ABS,ASH,CAP,CHR,COPY,DEC,ENTIER,EXCL,HALT,INC,INCL,LEN,LONG,%
743      MAX,MIN,NEW,ODD,ORD,SHORT,SIZE},%
744   sensitive,%
745   morecomment=[n]{(*}{*)},%
746   morestring=[d]',%
747   morestring=[d]"%
748  }[keywords,comments,strings]%
749%%
750%% OCL definition (c) 2000 Achim D. Brucker
751%%
752%% You are allowed to use, modify and distribute this code either under
753%% the terms of the LPPL (version 1.0 or later) or the GPL (version 2.0
754%% or later).
755%%
756\lst@definelanguage[decorative]{OCL}[OMG]{OCL}
757  {otherkeywords={@pre},%
758   morendkeywords={name,attributes,associatoinEnds,operations,%
759      supertypes,allSupertypes,allInstances,oclIsKindOf,oclIsTypeOf,%
760      oclAsType,oclInState,oclIsNew,evaluationType,abs,floor,round,max,%
761      min,div,mod,size,concat,toUpper,toLower,substring,includes,%
762      excludes,count,includesAll,exludesAll,isEmpty,notEmpty,sum,%
763      exists,forAll,isUnique,sortedBy,iterate,union,intersection,%
764      including,excluding,symmetricDifference,select,reject,collect,%
765      asSequence,asBag,asSequence,asSet,append,prepend,subSequence,at,%
766      first,last,true,false,isQuery}%
767  }%
768\lst@definelanguage[OMG]{OCL}%
769    {morekeywords={context,pre,inv,post},%
770    ndkeywords={or,xor,and,not,implies,if,then,else,endif},%
771    morekeywords=[3]{Boolean,Integer,Real,String,Set,Sequence,Bag,%
772       OclType,OclAny,OclExpression,Enumeration,Collection,},%
773    sensitive=t,%
774    morecomment=[l]--,%
775    morestring=[d]'%
776   }[keywords,comments,strings]%
777\lst@definelanguage{Plasm}%
778  {sensitive=false,%
779   morekeywords={aa,abs,ac,acolor,acos,actor,al,alias,align,and,%
780      animation,animation,appearance,apply,ar,arc,as,asin,assoc,atan,%
781      axialcamera,axialcameras,basehermite,bbox,bbox,bernstein,%
782      bernsteinbasis,bezier,beziercurve,beziermanifold,bezierstripe,%
783      beziersurface,bigger,biggest,bilinearsurface,binormal,%
784      biquadraticsurface,black,blend,blue,bottom,box,brown,bspize,%
785      bspline,bsplinebasis,c,cabinet,camera,cart,case,cat,catch,ceil,%
786      centeredcameras,centralcavalier,char,charseq,choose,circle,%
787      circumference,class,cmap,color,comp,computecoords,cone,%
788      conicalsurface,cons,control,convexcoords,convexhull,coonspatch,%
789      copy,cos,cosh,crease,crosspolytope,cube,cubiccardinal,%
790      cubiccardinalbasis,cubichermite,cubicubspline,cubicubsplinebasis,%
791      cuboid,curl,curvature,curve2cspath,curve2mapvect,cyan,cylinder,%
792      cylindricalsurface,d,deboor,def,depol,depth_sort,depth_test,%
793      derbernstein,derbernsteinbase,derbezier,determinant,difference,%
794      differencepr,dim,dimetric,dirproject,displaygraph,displaynubspline,%
795      displaynurbspline,distl,distr,div,divergence,dodecahedron,dot,down,%
796      dp,drawedges,drawforks,drawtree,ds,dsphere,dump,dumprep,ellipse,%
797      embed,end,eq,ex,exp,explode,export,extract_bodies,extract_polygons,%
798      extract_wires,extrude,extrusion,fact,false,feature,ff,fillcolor,%
799      filter,finitecone,first,flash,flashani,floor,fontcolor,fontheight,%
800      fontspacing,fontwidth,fractalsimplex,frame,frame,frameflash,fromto,%
801      gausscurvature,ge,grad,gradient,gradmap,gray,green,gt,help,hermite,%
802      hermitebasis,hermitesurface,hexahedron,icosahedron,id,idnt,if,in,%
803      inarcs,innerprod,inset,insl,insr,intersection,intersectionpr,%
804      intervals,intmax,intmin,intsto,inv,isa,isanimpol,isbool,ischar,%
805      isclosedshape,iscloseto,isempty,iseven,isfun,isfunvect,isge,isgt,%
806      isint,isintneg,isinto,isintpos,isle,islt,ismat,ismatof,isnat,%
807      isnull,isnum,isnumneg,isnumpos,isodd,isometric,isorthoshape,ispair,%
808      ispoint,ispointseq,ispol,ispoldim,ispolytope,ispurepol,isreal,%
809      isrealneg,isrealpos,isrealvect,isseq,isseqof,isshape,issimplex,%
810      issqrmat,isstring,isvect,iszero,jacobian,join,joints,k,last,le,%
811      left,leftcavalier,len,less,lesseq,lex,lift,light,linecolor,%
812      linesize,list,ln,load,loadlib,loop,lt,lxmy,magenta,map,mapshapes,%
813      markersize,mat,matdotprod,material,mathom,max,mean,meanpoint,med,%
814      merge,mesh,min,minkowski,mirror,mixedprod,mk,mkframe,mkpol,%
815      mkvector,mkversork,mod,model,move,mul,multextrude,mxby,mxmy,mxty,%
816      myfont,n,nat2string,neq,ngon,norm2,normalmap,not,nu_grid,nubspline,%
817      nubsplineknots,nurbspline,nurbsplineknots,octahedron,offset,%
818      onepoint,open,optimize,or,orange,ord,ortho,orthoproject,orthox,%
819      orthoy,orthoz,outarcs,outerloop,outerwarp,pairdiff,parallel,%
820      pascaltriangle,pdiff,pdifference,permutahedron,permutations,%
821      perspective,perspective,pi,pivotop,plane,planemapping,pmap,%
822      points2shape,polar,polyline,polymarker,polypoint,power,powerset,%
823      presort,principalnormal,print,prism,profileprodsurface,%
824      progressivesum,project,projection,purple,pyramid,q,quadarray,%
825      quadmesh,quote,r,raise,range,rationalbezier,rationalblend,%
826      rationalbspline,rationalize,red,rev,reverse,rgbacolor,right,%
827      rightcavalier,ring,rn,rotatedtext,rotationalsurface,rotn,rtail,%
828      ruledsurface,rxmy,s,save,scalarmatprod,scalarvectprod,schlegel2d,%
829      schlegel3d,sdifference,sdifferencepr,segment,sel,setand,setdiff,%
830      setfontcolor,setor,setxor,sex,shape_0,shape_1,shape2points,%
831      shape2pol,shapeclosed,shapecomb,shapediff,shapedist,%
832      shapeinbetweening,shapeinf,shapejoin,shapelen,shapenorm,%
833      shapenormal,shapeprod,shaperot,shapesum,shapesup,shapezero,shift,%
834      showprop,sign,signal,simplex,simplexpile,sin,sinh,size,skeleton,%
835      skew,smaller,smallest,solidifier,solidify,sort,sphere,spline,%
836      splinesampling,splitcells,splitpols,sqr,sqrt,star,string,%
837      stringtokens,struct,sub,svg,sweep,t,tail,tan,tangent,tanh,%
838      tensorprodsurface,tetrahedron,text,texture,textwithattributes,%
839      thinsolid,threepoints,time,tmax,tmin,top,torus,torusmap,trace,%
840      trans,tree,trianglefan,trianglestripe,trimetric,true,truncone,tt,%
841      tube,twopoints,uk,ukpol,ukpolf,union,unionpr,unitvect,unprune,up,%
842      vect2dtoangle,vect2mat,vectdiff,vectnorm,vectprod,vectsum,view,%
843      viewmodel,viewmodel,vrml,warp,warp,where,white,with,xcavalier,xor,%
844      xquadarray,xx,ycavalier,yellow},%
845   moredirectives={loadlib},%
846   otherkeywords={-,+,*,**,/,~,|,..,^,\&,\&\&,\#,\#\#},%
847   morecomment=[s]{\%}{\%},%
848   morestring=[b]',%
849   literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},%
850  }[keywords,directives,comments,strings]%
851\lst@definelanguage{PL/I}%
852  {morekeywords={ABS,ATAN,AUTOMATIC,AUTO,ATAND,BEGIN,BINARY,BIN,BIT,%
853      BUILTIN,BY,CALL,CHARACTER,CHAR,CHECK,COLUMN,COL,COMPLEX,CPLX,%
854      COPY,COS,COSD,COSH,DATA,DATE,DECIMAL,DEC,DECLARE,DCL,DO,EDIT,%
855      ELSE,END,ENDFILE,ENDPAGE,ENTRY,EXP,EXTERNAL,EXT,FINISH,FIXED,%
856      FIXEDOVERFLOW,FOFL,FLOAT,FORMAT,GET,GO,GOTO,IF,IMAG,INDEX,%
857      INITIAL,INIT,INTERNAL,INT,LABEL,LENGTH,LIKE,LINE,LIST,LOG,LOG2,%
858      LOG10,MAIN,MAX,MIN,MOD,NOCHECK,NOFIXEDOVERFLOW,NOFOFL,NOOVERFLOW,%
859      NOOFL,NOSIZE,NOUNDERFLOW,NOUFL,NOZERODIVIDE,NOZDIV,ON,OPTIONS,%
860      OVERFLOW,OFL,PAGE,PICTURE,PROCEDURE,PROC,PUT,READ,REPEAT,RETURN,%
861      RETURNS,ROUND,SIN,SIND,SINH,SIZE,SKIP,SQRT,STATIC,STOP,STRING,%
862      SUBSTR,SUM,SYSIN,SYSPRINT,TAN,TAND,TANH,THEN,TO,UNDERFLOW,UFL,%
863      VARYING,WHILE,WRITE,ZERODIVIDE,ZDIV},%
864   sensitive=f,%
865   morecomment=[s]{/*}{*/},%
866   morestring=[d]'%
867  }[keywords,comments,strings]%
868%%
869%% PostScript language definition (c) 2005 Christophe Jorssen.
870%%
871\lst@definelanguage{PostScript}{%
872  morekeywords={abs,add,aload,anchorsearch,and,arc,arcn,arct,arcto,array,ashow,
873    astore,atan,awidthshow,begin,bind,bitshift,bytesavailable,cachestatus,
874    ceiling,charpath,clear,cleartomark,cleardictstack,clip,clippath,closefile,
875    closepath,colorimage,concat,concatmatrix,condition,copy,copypage,cos,count,
876    countdictstack,countexecstack,counttomark,cshow,currentblackgeneration,
877    currentcacheparams,currentcmykcolor,currentcolor,currentcolorrendering,
878    currentcolorscreen,currentcolorspace,currentcolortransfer,currentcontext,
879    currentdash,currentdevparams,currentdict,currentfile,currentflat,currentfont,
880    currentglobal,currentgray,currentgstate,currenthalftone,currenthalftonephase,
881    currenthsbcolor,currentlinecap,currentlinejoin,currentlinewidth,currentmatrix,
882    currentmiterlimit,currentobjectformat,currentpacking,currentpagedevice,
883    currentpoint,currentrgbcolor,currentscreen,currentshared,currentstrokeadjust,
884    currentsystemparams,currenttransfer,currentundercolorremoval,currentuserparams,
885    curveto,cvi,cvlit,cvn,cvr,cvrs,cvs,cvx,def,defaultmatrix,definefont,
886    defineresource,defineusername,defineuserobject,deletefile,detach,deviceinfo,
887    dict,dictstack,div,dtransform,dup,
888    echo,eexec,end,eoclip,eofill,eoviewclip,eq,erasepage,errordict,exch,exec,
889    execform,execstack,execuserobject,executeonly,executive,exit,
890    exp,false,file,filenameforall,fileposition,fill,filter,findencoding,findfont,
891    findresource,flattenpath,floor,flush,flushfile,FontDirectory,for,forall,fork,ge,
892    get,getinterval,globaldict,GlobalFontDirectory,glyphshow,grestore,grestoreall,
893    gsave,gstate,gt,identmatrix,idiv,idtransform,if,ifelse,image,
894    imagemask,index,ineofill,infill,initclip,initgraphics,initmatrix,initviewclip,
895    instroke,internaldict,inueofill,inufill,inustroke,
896    invertmatrix,ISOLatin1Encoding,itransform,join,kshow,
897    known,languagelevel,le,length,lineto,ln,load,lock,log,loop,lt,
898    makefont,makepattern,mark,matrix,maxlength,mod,monitor,moveto,mul,ne,neg,
899    newpath,noaccess,not,notify,null,nulldevice,or,packedarray,
900    pathbbox,pathforall,pop,print,printobject,product,prompt,pstack,put,putinterval,
901    quit,rand,rcurveto,read,readhexstring,readline,readonly,readstring,
902    realtime,rectclip,rectfill,rectstroke,rectviewclip,renamefile,repeat,resetfile,
903    resourceforall,resourcestatus,restore,reversepath,revision,rlineto,rmoveto,roll,
904    rootfont,rotate,round,rrand,run,save,scale,scalefont,scheck,search,selectfont,
905    serialnumber,setbbox,setblackgeneration,setcachedevice,setcachedevice2,
906    setcachelimit,setcacheparams,setcharwidth,setcmykcolor,setcolor,
907    setcolorrendering,setcolorscreen,setcolorspace,setcolortransfer,setdash,
908    setdevparams,setfileposition,setflat,setfont,setglobal,setgray,setgstate,
909    sethalftone,sethalftonephase,sethsbcolor,setlinecap,setlinejoin,setlinewidth,
910    setmatrix,setmiterlimit,setobjectformat,setoverprint,setpacking,setpagedevice,
911    setpattern,setrgbcolor,setscreen,setshared,setstrokeadjust,setsystemparams,
912    settransfer,setucacheparams,setundercolorremoval,setuserparams,setvmthreshold,
913    shareddict,show,showpage,sin,sqrt,srand,stack,
914    StandardEncoding,start,startjob,status,statusdict,stop,stopped,store,string,
915    stringwidth,stroke,strokepath,sub,systemdict,transform,
916    translate,true,truncate,type,token,uappend,ucache,ucachestatus,
917    ueofill,ufill,undef,
918    upath,userdict,UserObjects,
919    usertime,ustroke,ustrokepath,version,viewclip,viewclippath,vmreclaim,
920    vmstatus,wait,wcheck,where,widthshow,write,writehexstring,writeobject,
921    writestring,wtranslation,xcheck,xor,xshow,xyshow,yield,yshow},
922  sensitive,
923  morecomment=[l]\%}[keywords,comments]
924%%
925%% Promela definition (c) 2004 William Thimbleby
926%%
927\lst@definelanguage{Promela}
928  {morekeywords={active,assert,atomic,bit,bool,break,byte,chan,d_step,%
929      Dproctype,do,else,empty,enabled,fi,full,goto,hidden,if,init,int,%
930      len,mtype,nempty,never,nfull,od,of,pcvalue,printf,priority,%
931      proctype,provided,run,short,skip,timeout,typedef,unless,unsigned,%
932      xr,xs,true,false,inline,eval},%
933   moredirectives={define,ifdef,ifndef,if,if,else,endif,undef,include},%
934   moredelim=*[directive]\#,%
935   morecomment=[s]{/*}{*/},%
936   morestring=[b]"%
937  }[keywords,comments,strings,directives]%
938%%
939%% PSTricks definition (c) 2006 Herbert Voss
940%%
941\lst@definelanguage{PSTricks}%
942  {morekeywords={%
943    begin,end,definecolor,multido,%
944    KillGlue,DontKillGlue,pslbrace,bsrbrace,psscalebox,psset,pstVerb,pstverb,%
945    pst@def,,psframebox,psclip,endclip,endpspicture,psframe,
946%%    pspicture,%
947    multirput,multips,Rput,rput,uput,cput,lput,%
948    newrgbcolor,newgray,newcmykcolor,
949%%
950%% pstricks-add
951    psStep,psgraph,psbrace,psPrintValue,
952%%
953%% pst-plot
954    psvlabel,pshlabel,psplot,psline,pscustom,pscurve,psccurve,%
955    readdata,savedata,fileplot,dataplot,listplot,%
956    psecurce,psgraph,parametricplot,%
957    psellipse,psaxes,ncline,nccurve,psbezier,parabola,%
958    qdisk,qline,clipbox,endpsclip,%
959    psgrid,pscircle,pscirclebox,psdiabox,pstribox,%
960    newpsfontdot,psdot,psdots,%
961    pspolygon,psdiamond,psoval,pstriangle,%
962    psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge,
963    pcline,pcdiag,pcdiagg,pccurve,pccurve,pcecurve,%
964    scalebox,scaleboxto,psmathboxtrue,everypsbox,psverbboxtrue,overlaybox,%
965    psoverlay,putoverlaybox,%
966    newpsstyle,newpsobject,%
967    moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,translate,scale,%
968    swapaxes,rotate,openshadow,closedshadow,movepath,lineto,rlineto,curveto,rcurveto,%
969    code,dim,coor,rcoor,file,arrows,setcolor,%
970    rotateleft,rotateright,rotatedown,%
971%%
972%% pst-node
973    nput,naput,nbput,ncput,%
974    ncarc,ncbox,ncangle,ncangles,ncloop,ncdiag,ncdiagg,ncarcbox,ncbar,%
975    cnodeput,nccircle,%
976    pnode,rnode,Rnode,Cnode,cnode,fnode,%
977    circlenode,ovalnode,trinode,dianode,%
978    psmatrix,endpsmatrix,psspan,%
979%%
980%% pst-tree
981    pstree,Tcircle,TCircle,Ttri,Tn,TC,Tc,Tfan,TR,Tr,Tdia,Toval,Tdot,Tp,Tf,%
982    skiplevel,skiplevels,endskiplevels,tspace,tlput,%
983%%
984%% pst-text
985    pscharpath,pstextpath,
986%%
987%% pst-barcode
988    psbarcode,
989%%
990%% pst-coil
991    psboxfill,pscoil,psCoil,pszigzag,nccoil,
992    psshadow,pstilt,psTilt,ThreeDput,
993%%
994%% pst-gr3d
995    PstGridThreeDNodeProcessor,%
996%%
997%% pst-vue3d
998    PstGridThreeD,
999    AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,SphereMeridienThreeD,
1000    QuadrillageThreeD,TetraedreThreeD,PyramideThreeD,ConeThreeD,CylindreThreeD,
1001    DodecahedronThreeD,ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD,
1002    SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,pNodeThreeD,CubeThreeD,%
1003%%
1004%% pst-3dplot
1005    pstThreeDCoor,pstThreeDDot,pstThreeDTriangle,pstThreeDCircle,pstPlanePut,%
1006    pstThreeDBox,pstThreeDEllipse,pstThreeDLine,pstThreeDPut,%
1007    pstThreeDNode,pstThreeDSquare,psplotThreeD,parametricplotThreeD,fileplotThreeD,%
1008    dataplotThreeD,pstScalePoints,%
1009%%
1010%% pst-circ
1011    resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,wire,tension,
1012    circledipole,multidipole,OA,transistor,Tswitch,potentiometer,transformer,
1013    optoCoupler,logic,
1014%%
1015%% pst-eucl
1016    pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,pstCircleOA,pstLineAB,%
1017%%
1018%% pst-func
1019    psBessel,psPolynomial,psFourier,psGaussI,psGauss,psSi,pssi,psCi,psci,%
1020%%
1021%% pst-infixplot
1022    psPlot,
1023%%
1024%% pst-ob3d
1025    PstDie,PstCube,
1026%%
1027%% pst-poly
1028    PstPolygon,pspolygonbox,
1029%%
1030%% pst-bar
1031    psbarchart,readpsbardata,psbarscale,newpsbarstyle,%
1032%%
1033%% pst-lens
1034    PstLens,%
1035%%
1036%% pst-geo
1037    WorldMap,WorldMapII,WorldMapThreeD,WorldMapThreeDII,pnodeMap,MapPut,%
1038%%
1039%% pst-autoseg
1040    asr,firstnode,merge,massoc,labelmerge,%
1041%%
1042%% gastex
1043    node,imark,fmark,rmark,drawqbpedge,drawedge,drawloop,%
1044%%
1045%% pst-labo
1046    Distillation,Ballon,
1047%%
1048%% pst-optic
1049    lens,Transform,%
1050%%
1051%% pst-light3d
1052    PstLightThreeDText,%
1053%%
1054%% calendrier
1055    Calendrier,%
1056%%
1057%% pst-osci
1058    Oscillo%
1059  },%
1060   sensitive,%
1061   alsoother={0123456789$_},%
1062   morecomment=[l]\% %
1063  }[keywords,comments]%
1064%%
1065%% Reduce definition (c) 2002 Geraint Paul Bevan
1066%%
1067\lst@definelanguage{Reduce}%
1068  {morekeywords={%
1069%% reserved identifiers
1070abs,acos,acosh,acot,acoth,acsc,acsch,%
1071adjprec,algebraic,algint,allbranch,allfac,and,%
1072antisymmetric,append,arglength,array,asec,asech,%
1073asin,asinh,atan,atan2,atanh,begin,bfspace,bye,%
1074card_no,ceiling,clear,clearrules,coeff,coeffn,%
1075cofactor,combineexpt,combinelogs,comment,comp,%
1076complex,conj,cons,cont,cos,cosh,cot,coth,cramer,%
1077cref,csc,csch,decompose,define,defn,deg,demo,den,%
1078depend,det,df,difference,dilog,display,div,do,e,%
1079echo,ed,editdef,ei,end,eps,eq,equal,erf,errcont,%
1080evallhseqp,eval_mode,even,evenp,exp,expandlogs,%
1081expr,expt,ezgcd,factor,factorial,factorize,fexpr,%
1082first,fix,fixp,floor,for,forall,foreach,fort,%
1083fort_width,freeof,fullroots,g,gcd,geq,go,goto,%
1084greaterp,high_pow,hypot,i,if,ifactor,impart,in,%
1085index,infinity,infix,input,int,integer,interpol,%
1086intstr,k,korder,lambda,lcm,lcof,length,leq,lessp,%
1087let,lhs,linear,linelength,lisp,list,listargp,%
1088listargs,ln,load,load_package,log,log10,logb,%
1089low_pow,lterm,macro,mainvar,mass,mat,match,%
1090mateigen,matrix,max,mcd,member,memq,min,minus,mkid,%
1091modular,msg,mshell,multiplicities,nat,neq,nero,%
1092nextprime,nil,nodepend,noncom,nonzero,nosplit,%
1093nospur,nullspace,num,numberp,odd,off,on,operator,%
1094or,order,ordp,out,output,part,pause,period,pf,pi,%
1095plus,precedence,precise,precision,pret,pri,primep,%
1096print_precision,procedure,product,quit,quotient,%
1097random,random_new_seed,rank,rat,ratarg,rational,%
1098rationalize,ratpri,real,rederr,reduct,remainder,%
1099remfac,remind,repart,repeat,rest,resultant,retry,%
1100return,reverse,revpri,rhs,rlisp88,%
1101root_multiplicity,round,roundall,roundbf,rounded,%
1102saveas,savestructr,scalar,sec,sech,second,set,%
1103setmod,setq,share,showrules,showtime,shut,sign,sin,%
1104sinh,smacro,solve,solvesingular,spur,sqrt,structr,%
1105sub,sum,symbolic,symmetric,t,tan,tanh,third,time,%
1106times,tp,tra,trace,trfac,trigform,trint,until,%
1107varname,vecdim,vector,weight,when,where,while,%
1108write,ws,wtlevel,%
1109%% identifiers with spaces
1110%% for all,for each,go to,such that,%
1111},%
1112  sensitive=false,%
1113  morecomment=[l]\%,%
1114  morecomment=[s]{COMMENT}{;},%
1115  morecomment=[s]{COMMENT}{$},%
1116  morestring="%
1117 }[keywords,comments,strings]%
1118%%
1119%% RSL definition (c) 2004 Brian Christensen
1120%%
1121\lst@definelanguage{RSL}%
1122  {morekeywords={Bool,Char,devt_relation,Int,Nat,Real,Text,Unit,abs,any,%
1123      as,axiom,card,case,channel,chaos,class,do,dom,elems,else,elsif,end,%
1124      extend,false,for,hd,hide,if,in,inds,initialise,int,len,let,local,%
1125      object,of,out,post,pre,read,real,rng,scheme,skip,stop,swap,%
1126      test_case,theory,then,tl,true,type,until,use,value,variable,while,%
1127      with,write},%
1128literate=%
1129{<}{$<$}{1}%
1130{>}{$>$}{1}%
1131{[}{$[$}{1}%%
1132{]}{$]$}{1}%%
1133{^}{{\mbox{$\widehat{\;}$}}}{1}%%
1134{'}{{\raisebox{1ex}[1ex][0ex]{\protect\scriptsize$\prime$}}}{1}%%
1135{||}{{\mbox{$\parallel$}}}{2}%%
1136{|-}{$\vdash$}{1}%%
1137{|=|}{{\mbox{$\lceil\!\rceil\!\!\!\!\!\!\;\lfloor\!\rfloor$}}}{1}%%
1138{**}{$\uparrow$}{1}%
1139{/\\}{$\wedge$}{1}%%
1140{inter}{$\cap$}{1}%%
1141{-\\}{$\lambda$}{1}%%
1142{->}{$\rightarrow$}{1}%%
1143{-m->}{{\mbox{$\rightarrow \hspace{-2.5\lst@width} _{m}\;$}}}{1}%
1144{-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow\hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}%
1145{-~->}{{\mbox{$\stackrel{\sim}{\rightarrow}$}}}{1}%%
1146{-set}{\bf{-set}}{4}%%
1147{-list}{{$^{\ast}$}}{1}%%
1148{-inflist}{$^\omega$}{1}%
1149{-infset}{{\mbox{{\bf -infset}}}}{7}%
1150{\#}{$\circ$}{1}%
1151{:-}{{\raisebox{.4ex}{\tiny $\bullet$}}}{1}%%
1152{=}{$=$}{1}%%
1153{==}{$==$}{2}%%
1154{=>}{$\Rightarrow$}{1}%%
1155{\ is\protect\^^M}{{$\;\equiv$}}{2}%
1156{\ is\ }{{$\equiv$}}{3}%%
1157{\ isin\protect\^^M}{$\;\in$}{2}%%
1158{~}{$\sim$}{1}%%
1159{~=}{$\neq$}{1}%%
1160{~isin}{$\notin$}{1}%%
1161{+>}{$\mapsto$}{1}%%
1162{++}{}{1}%
1163{|^|}{{\mbox{$\lceil\!\rceil$}}}{1}%%
1164{\\/}{$\vee$}{1}%%
1165{exists}{$\exists$}{1}%%
1166{union}{$\cup$}{1}%%
1167{>=}{$\geq$}{1}%%
1168{><}{$\times$}{1}%%
1169{>>}{$\supset$}{1}%
1170{>>=}{$\supseteq$}{1}%%
1171{<=}{$\leq$}{1}%%
1172{<<}{$\subset$}{1}%
1173{<.}{$\langle$}{1}%%
1174{<<=}{$\subseteq$}{1}%%
1175{<->}{$\leftrightarrow$}{1}%%
1176{[=}{$\sqsubseteq$}{1}%%
1177{\{=}{$\preceq$}{1}%%
1178{\ all\protect\^^M}{$\forall$}{2}%%
1179{\ all\ }{$\forall$}{3}%%
1180{!!}{$\dagger$}{1}%%
1181{always}{$\Box$}{1}%%
1182{.>}{$\rangle$}{1}%%
1183{`alpha}{$\alpha$}{1}%
1184{`beta}{$\beta$}{1}%
1185{`gamma}{$\gamma$}{1}%
1186{`delta}{$\delta$}{1}%
1187{`epsilon}{$\epsilon$}{1}%
1188{`zeta}{$\zeta$}{1}%
1189{`eta}{$\eta$}{1}%
1190{`theta}{$\theta$}{1}%
1191{`iota}{$\iota$}{1}%
1192{`kappa}{$\kappa$}{1}%
1193{`mu}{$\mu$}{1}%
1194{`nu}{$\nu$}{1}%
1195{`xi}{$\xi$}{1}%
1196{`pi}{$\pi$}{1}%
1197{`rho}{$\rho$}{1}%
1198{`sigma}{$\sigma$}{1}%
1199{`tau}{$\tau$}{1}%
1200{`upsilon}{$\upsilon$}{1}%
1201{`phi}{$\phi$}{1}%
1202{`chi}{$\chi$}{1}%
1203{`psi}{$\psi$}{1}%
1204{`omega}{$\omega$}{1}%
1205{`Gamma}{$\Gamma$}{1}%
1206{`Delta}{$\Delta$}{1}%
1207{`Theta}{$\Theta$}{1}%
1208{`Lambda}{$\Lambda$}{1}%
1209{`Xi}{$\Xi$}{1}%
1210{`Pi}{$\Pi$}{1}%
1211{`Sigma}{$\Sigma$}{1}%
1212{`Upsilon}{$\Upsilon$}{1}%
1213{`Phi}{$\Phi$}{1}%
1214{`Psi}{$\Psi$}{1}%
1215{`Omega}{$\Omega$}{1},%
1216   sensitive=true,%
1217   morecomment=[l]{--},%
1218   morecomment=[s]{/*}{*/}%
1219  }[keywords,comments]%
1220\lst@definelanguage[IBM]{Simula}[DEC]{Simula}{}%
1221\lst@definelanguage[DEC]{Simula}[67]{Simula}%
1222  {morekeywords={and,eq,eqv,ge,gt,hidden,imp,le,long,lt,ne,not,%
1223      options,or,protected,short}%
1224  }%
1225\lst@definelanguage[CII]{Simula}[67]{Simula}%
1226  {morekeywords={and,equiv,exit,impl,not,or,stop}}%
1227\lst@definelanguage[67]{Simula}%
1228  {morekeywords={activate,after,array,at,before,begin,boolean,%
1229      character,class,comment,delay,detach,do,else,end,external,false,%
1230      for,go,goto,if,in,inner,inspect,integer,is,label,name,new,none,%
1231      notext,otherwise,prior,procedure,qua,reactivate,real,ref,resume,%
1232      simset,simulation,step,switch,text,then,this,to,true,until,value,%
1233      virtual,when,while},%
1234   sensitive=f,%
1235   keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},%
1236   morestring=[d]",%
1237   morestring=[d]'%
1238  }[keywords,keywordcomments,strings]%
1239%%
1240%% SPARQL definition (c) 2006 Christoph Kiefer
1241%%
1242\lst@definelanguage{SPARQL}%
1243  {morekeywords={BASE,PREFIX,SELECT,DISTINCT,CONSTRUCT,DESCRIBE,ASK,%
1244        FROM,NAMED,WHERE,ORDER,BY,ASC,DESC,LIMIT,OFFSET,OPTIONAL,%
1245        GRAPH,UNION,FILTER,a,STR,LANG,LANGMATCHES,DATATYPE,BOUND,%
1246        isIRI,isURI,isBLANK,isLITERAL,REGEX,true,false},%
1247   sensitive=false,%
1248   morecomment=[l]\#,%
1249   morestring=[d]',%
1250   morestring=[d]"%
1251  }[keywords,comments,strings]%
1252\lst@definelanguage{S}[]{R}{}
1253\lst@definelanguage[PLUS]{S}[]{R}{}
1254\lst@definelanguage{R}%
1255  {keywords={abbreviate,abline,abs,acos,acosh,action,add1,add,%
1256      aggregate,alias,Alias,alist,all,anova,any,aov,aperm,append,apply,%
1257      approx,approxfun,apropos,Arg,args,array,arrows,as,asin,asinh,%
1258      atan,atan2,atanh,attach,attr,attributes,autoload,autoloader,ave,%
1259      axis,backsolve,barplot,basename,besselI,besselJ,besselK,besselY,%
1260      beta,binomial,body,box,boxplot,break,browser,bug,builtins,bxp,by,%
1261      c,C,call,Call,case,cat,category,cbind,ceiling,character,char,%
1262      charmatch,check,chol,chol2inv,choose,chull,class,close,cm,codes,%
1263      coef,coefficients,co,col,colnames,colors,colours,commandArgs,%
1264      comment,complete,complex,conflicts,Conj,contents,contour,%
1265      contrasts,contr,control,helmert,contrib,convolve,cooks,coords,%
1266      distance,coplot,cor,cos,cosh,count,fields,cov,covratio,wt,CRAN,%
1267      create,crossprod,cummax,cummin,cumprod,cumsum,curve,cut,cycle,D,%
1268      data,dataentry,date,dbeta,dbinom,dcauchy,dchisq,de,debug,%
1269      debugger,Defunct,default,delay,delete,deltat,demo,de,density,%
1270      deparse,dependencies,Deprecated,deriv,description,detach,%
1271      dev2bitmap,dev,cur,deviance,off,prev,,dexp,df,dfbetas,dffits,%
1272      dgamma,dgeom,dget,dhyper,diag,diff,digamma,dim,dimnames,dir,%
1273      dirname,dlnorm,dlogis,dnbinom,dnchisq,dnorm,do,dotplot,double,%
1274      download,dpois,dput,drop,drop1,dsignrank,dt,dummy,dump,dunif,%
1275      duplicated,dweibull,dwilcox,dyn,edit,eff,effects,eigen,else,%
1276      emacs,end,environment,env,erase,eval,equal,evalq,example,exists,%
1277      exit,exp,expand,expression,External,extract,extractAIC,factor,%
1278      fail,family,fft,file,filled,find,fitted,fivenum,fix,floor,for,%
1279      For,formals,format,formatC,formula,Fortran,forwardsolve,frame,%
1280      frequency,ftable,ftable2table,function,gamma,Gamma,gammaCody,%
1281      gaussian,gc,gcinfo,gctorture,get,getenv,geterrmessage,getOption,%
1282      getwd,gl,glm,globalenv,gnome,GNOME,graphics,gray,grep,grey,grid,%
1283      gsub,hasTsp,hat,heat,help,hist,home,hsv,httpclient,I,identify,if,%
1284      ifelse,Im,image,\%in\%,index,influence,measures,inherits,install,%
1285      installed,integer,interaction,interactive,Internal,intersect,%
1286      inverse,invisible,IQR,is,jitter,kappa,kronecker,labels,lapply,%
1287      layout,lbeta,lchoose,lcm,legend,length,levels,lgamma,library,%
1288      licence,license,lines,list,lm,load,local,locator,log,log10,log1p,%
1289      log2,logical,loglin,lower,lowess,ls,lsfit,lsf,ls,machine,Machine,%
1290      mad,mahalanobis,make,link,margin,match,Math,matlines,mat,matplot,%
1291      matpoints,matrix,max,mean,median,memory,menu,merge,methods,min,%
1292      missing,Mod,mode,model,response,mosaicplot,mtext,mvfft,na,nan,%
1293      names,omit,nargs,nchar,ncol,NCOL,new,next,NextMethod,nextn,%
1294      nlevels,nlm,noquote,NotYetImplemented,NotYetUsed,nrow,NROW,null,%
1295      numeric,\%o\%,objects,offset,old,on,Ops,optim,optimise,optimize,%
1296      options,or,order,ordered,outer,package,packages,page,pairlist,%
1297      pairs,palette,panel,par,parent,parse,paste,path,pbeta,pbinom,%
1298      pcauchy,pchisq,pentagamma,persp,pexp,pf,pgamma,pgeom,phyper,pico,%
1299      pictex,piechart,Platform,plnorm,plogis,plot,pmatch,pmax,pmin,%
1300      pnbinom,pnchisq,pnorm,points,poisson,poly,polygon,polyroot,pos,%
1301      postscript,power,ppoints,ppois,predict,preplot,pretty,Primitive,%
1302      print,prmatrix,proc,prod,profile,proj,prompt,prop,provide,%
1303      psignrank,ps,pt,ptukey,punif,pweibull,pwilcox,q,qbeta,qbinom,%
1304      qcauchy,qchisq,qexp,qf,qgamma,qgeom,qhyper,qlnorm,qlogis,qnbinom,%
1305      qnchisq,qnorm,qpois,qqline,qqnorm,qqplot,qr,Q,qty,qy,qsignrank,%
1306      qt,qtukey,quantile,quasi,quit,qunif,quote,qweibull,qwilcox,%
1307      rainbow,range,rank,rbeta,rbind,rbinom,rcauchy,rchisq,Re,read,csv,%
1308      csv2,fwf,readline,socket,real,Recall,rect,reformulate,regexpr,%
1309      relevel,remove,rep,repeat,replace,replications,report,require,%
1310      resid,residuals,restart,return,rev,rexp,rf,rgamma,rgb,rgeom,R,%
1311      rhyper,rle,rlnorm,rlogis,rm,rnbinom,RNGkind,rnorm,round,row,%
1312      rownames,rowsum,rpois,rsignrank,rstandard,rstudent,rt,rug,runif,%
1313      rweibull,rwilcox,sample,sapply,save,scale,scan,scan,screen,sd,se,%
1314      search,searchpaths,segments,seq,sequence,setdiff,setequal,set,%
1315      setwd,show,sign,signif,sin,single,sinh,sink,solve,sort,source,%
1316      spline,splinefun,split,sqrt,stars,start,stat,stem,step,stop,%
1317      storage,strstrheight,stripplot,strsplit,structure,strwidth,sub,%
1318      subset,substitute,substr,substring,sum,summary,sunflowerplot,svd,%
1319      sweep,switch,symbol,symbols,symnum,sys,status,system,t,table,%
1320      tabulate,tan,tanh,tapply,tempfile,terms,terrain,tetragamma,text,%
1321      time,title,topo,trace,traceback,transform,tri,trigamma,trunc,try,%
1322      ts,tsp,typeof,unclass,undebug,undoc,union,unique,uniroot,unix,%
1323      unlink,unlist,unname,untrace,update,upper,url,UseMethod,var,%
1324      variable,vector,Version,vi,warning,warnings,weighted,weights,%
1325      which,while,window,write,\%x\%,x11,X11,xedit,xemacs,xinch,xor,%
1326      xpdrows,xy,xyinch,yinch,zapsmall,zip},%
1327   otherkeywords={!,!=,~,$,*,\&,\%/\%,\%*\%,\%\%,<-,<<-,_,/},%
1328   alsoother={._$},%
1329   sensitive,%
1330   morecomment=[l]\#,%
1331   morestring=[d]",%
1332   morestring=[d]'% 2001 Robert Denham
1333  }%
1334\lst@definelanguage{SAS}%
1335  {procnamekeys={proc},%
1336   morekeywords={DATA,AND,OR,NOT,EQ,GT,LT,GE,LE,NE,INFILE,INPUT,DO,BY,%
1337      TO,SIN,COS,OUTPUT,END,PLOT,RUN,LIBNAME,VAR,TITLE,FIRSTOBS,OBS,%
1338      DELIMITER,DLM,EOF,ABS,DIM,HBOUND,LBOUND,MAX,MIN,MOD,SIGN,SQRT,%
1339      CEIL,FLOOR,FUZZ,INT,ROUND,TRUNC,DIGAMMA,ERF,ERFC,EXP,GAMMA,%
1340      LGAMMA,LOG,LOG2,LOG10,ARCOS,ARSIN,ATAN,COSH,SINH,TANH,TAN,%
1341      POISSON,PROBBETA,PROBBNML,PROBCHI,PROBF,PROBGAM,PROBHYPR,%
1342      PROBNEGB,PROBNORM,PROBT,BETAINV,CINV,FINV,GAMINV,PROBIT,TINV,CSS,%
1343      CV,KURTOSIS,MEAN,NMISS,RANGE,SKEWNESS,STD,STDERR,SUM,USS,NORMAL,%
1344      RANBIN,RANCAU,RANEXP,RANGAM,RANNOR,RANPOI,RANTBL,RANTRI,RANUNI,%
1345      UNIFORM,IF,THEN,ELSE,WHILE,UNTIL,DROP,KEEP,LABEL,DEFAULT,ARRAY,%
1346      MERGE,CARDS,CARDS4,PUT,SET,UPDATE,ABORT,DELETE,DISPLAY,LIST,%
1347      LOSTCARD,MISSING,STOP,WHERE,ARRAY,DROP,KEEP,WINDOW,LENGTH,RENAME,%
1348      RETAIN,MEANS,UNIVARIATE,SUMMARY,TABULATE,CORR,FREQ,FOOTNOTE,NOTE,%
1349      SHOW},%
1350   otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},%
1351   morestring=[d]'%
1352   }[keywords,comments,strings,procnames]%
1353\lst@definelanguage[AlLaTeX]{TeX}[LaTeX]{TeX}%
1354  {moretexcs={AtBeginDocument,AtBeginDvi,AtEndDocument,AtEndOfClass,%
1355      AtEndOfPackage,ClassError,ClassInfo,ClassWarning,%
1356      ClassWarningNoLine,CurrentOption,DeclareErrorFont,%
1357      DeclareFixedFont,DeclareFontEncoding,DeclareFontEncodingDefaults,%
1358      DeclareFontFamily,DeclareFontShape,DeclareFontSubstitution,%
1359      DeclareMathAccent,DeclareMathAlphabet,DeclareMathAlphabet,%
1360      DeclareMathDelimiter,DeclareMathRadical,DeclareMathSizes,%
1361      DeclareMathSymbol,DeclareMathVersion,DeclareOldFontCommand,%
1362      DeclareOption,DeclarePreloadSizes,DeclareRobustCommand,%
1363      DeclareSizeFunction,DeclareSymbolFont,DeclareSymbolFontAlphabet,%
1364      DeclareTextAccent,DeclareTextAccentDefault,DeclareTextCommand,%
1365      DeclareTextCommandDefault,DeclareTextComposite,%
1366      DeclareTextCompositeCommand,DeclareTextFontCommand,%
1367      DeclareTextSymbol,DeclareTextSymbolDefault,ExecuteOptions,%
1368      GenericError,GenericInfo,GenericWarning,IfFileExists,%
1369      InputIfFileExists,LoadClass,LoadClassWithOptions,MessageBreak,%
1370      OptionNotUsed,PackageError,PackageInfo,PackageWarning,%
1371      PackageWarningNoLine,PassOptionsToClass,PassOptionsToPackage,%
1372      ProcessOptionsProvidesClass,ProvidesFile,ProvidesFile,%
1373      ProvidesPackage,ProvideTextCommand,RequirePackage,%
1374      RequirePackageWithOptions,SetMathAlphabet,SetSymbolFont,%
1375      TextSymbolUnavailable,UseTextAccent,UseTextSymbol},%
1376   morekeywords={array,center,displaymath,document,enumerate,eqnarray,%
1377      equation,flushleft,flushright,itemize,list,lrbox,math,minipage,%
1378      picture,sloppypar,tabbing,tabular,trivlist,verbatim}%
1379  }%
1380\lst@definelanguage[LaTeX]{TeX}[common]{TeX}%
1381  {moretexcs={a,AA,aa,addcontentsline,addpenalty,addtocontents,%
1382      addtocounter,addtolength,addtoversion,addvspace,alph,Alph,and,%
1383      arabic,array,arraycolsep,arrayrulewidth,arraystretch,author,%
1384      baselinestretch,begin,bezier,bfseries,bibcite,bibdata,bibitem,%
1385      bibliography,bibliographystyle,bibstyle,bigskip,boldmath,%
1386      botfigrule,bottomfraction,Box,caption,center,CheckCommand,circle,%
1387      citation,cite,cleardoublepage,clearpage,cline,columnsep,%
1388      columnseprule,columnwidth,contentsline,dashbox,date,dblfigrule,%
1389      dblfloatpagefraction,dblfloatsep,dbltextfloatsep,dbltopfraction,%
1390      defaultscriptratio,defaultscriptscriptratio,depth,Diamond,%
1391      displaymath,document,documentclass,documentstyle,doublerulesep,%
1392      em,emph,endarray,endcenter,enddisplaymath,enddocument,%
1393      endenumerate,endeqnarray,endequation,endflushleft,endflushright,%
1394      enditemize,endlist,endlrbox,endmath,endminipage,endpicture,%
1395      endsloppypar,endtabbing,endtabular,endtrivlist,endverbatim,%
1396      enlargethispage,ensuremath,enumerate,eqnarray,equation,%
1397      evensidemargin,extracolsep,fbox,fboxrule,fboxsep,filecontents,%
1398      fill,floatpagefraction,floatsep,flushbottom,flushleft,flushright,%
1399      fnsymbol,fontencoding,fontfamily,fontseries,fontshape,fontsize,%
1400      fontsubfuzz,footnotemark,footnotesep,footnotetext,footskip,frac,%
1401      frame,framebox,fussy,glossary,headheight,headsep,height,hline,%
1402      hspace,I,include,includeonly,index,inputlineno,intextsep,%
1403      itemindent,itemize,itemsep,iterate,itshape,Join,kill,label,%
1404      labelsep,labelwidth,LaTeX,LaTeXe,leadsto,lefteqn,leftmargin,%
1405      leftmargini,leftmarginii,leftmarginiii,leftmarginiv,leftmarginv,%
1406      leftmarginvi,leftmark,lhd,lim,linebreak,linespread,linethickness,%
1407      linewidth,list,listfiles,listfiles,listparindent,lrbox,%
1408      makeatletter,makeatother,makebox,makeglossary,makeindex,%
1409      makelabel,MakeLowercase,MakeUppercase,marginpar,marginparpush,%
1410      marginparsep,marginparwidth,markboth,markright,math,mathbf,%
1411      mathellipsis,mathgroup,mathit,mathrm,mathsf,mathsterling,mathtt,%
1412      mathunderscore,mathversion,mbox,mdseries,mho,minipage,%
1413      multicolumn,multiput,NeedsTeXFormat,newcommand,newcounter,%
1414      newenvironment,newfont,newhelp,newlabel,newlength,newline,%
1415      newmathalphabet,newpage,newsavebox,newtheorem,nobreakspace,%
1416      nobreakspace,nocite,nocorr,nocorrlist,nofiles,nolinebreak,%
1417      nonumber,nopagebreak,normalcolor,normalfont,normalmarginpar,%
1418      numberline,obeycr,oddsidemargin,oldstylenums,onecolumn,oval,%
1419      pagebreak,pagenumbering,pageref,pagestyle,paperheight,paperwidth,%
1420      paragraphmark,parbox,parsep,partopsep,picture,poptabs,pounds,%
1421      protect,pushtabs,put,qbezier,qbeziermax,r,raggedleft,raisebox,%
1422      ref,refstepcounter,renewcommand,renewenvironment,restorecr,%
1423      reversemarginpar,rhd,rightmargin,rightmark,rmfamily,roman,Roman,%
1424      rootbox,rule,samepage,sbox,scshape,secdef,section,sectionmark,%
1425      selectfont,setcounter,settodepth,settoheight,settowidth,sffamily,%
1426      shortstack,showoutput,showoverfull,sloppy,sloppypar,slshape,%
1427      smallskip,sqsubset,sqsupset,SS,stackrel,stepcounter,stop,stretch,%
1428      subparagraphmark,subsectionmark,subsubsectionmark,sum,%
1429      suppressfloats,symbol,tabbing,tabbingsep,tabcolsep,tabular,%
1430      tabularnewline,textasciicircum,textasciitilde,textbackslash,%
1431      textbar,textbf,textbraceleft,textbraceright,textbullet,%
1432      textcircled,textcompwordmark,textdagger,textdaggerdbl,textdollar,%
1433      textellipsis,textemdash,textendash,textexclamdown,textfloatsep,%
1434      textfraction,textgreater,textheight,textit,textless,textmd,%
1435      textnormal,textparagraph,textperiodcentered,textquestiondown,%
1436      textquotedblleft,textquotedblright,textquoteleft,textquoteright,%
1437      textregistered,textrm,textsc,textsection,textsf,textsl,%
1438      textsterling,textsuperscript,texttrademark,texttt,textunderscore,%
1439      textup,textvisiblespace,textwidth,thanks,thefootnote,thempfn,%
1440      thempfn,thempfootnote,thepage,thepage,thicklines,thinlines,%
1441      thispagestyle,title,today,topfigrule,topfraction,topmargin,%
1442      topsep,totalheight,tracingfonts,trivlist,ttfamily,twocolumn,%
1443      typein,typeout,unboldmath,unitlength,unlhd,unrhd,upshape,usebox,%
1444      usecounter,usefont,usepackage,value,vector,verb,verbatim,vline,%
1445      vspace,width,%
1446      normalsize,small,footnotesize,scriptsize,tiny,large,Large,LARGE,%
1447      huge,Huge}%
1448  }%
1449\lst@definelanguage[plain]{TeX}[common]{TeX}%
1450  {moretexcs={advancepageno,beginsection,bf,bffam,bye,cal,cleartabs,%
1451      columns,dosupereject,endinsert,eqalign,eqalignno,fiverm,fivebf,%
1452      fivei,fivesy,folio,footline,hang,headline,it,itemitem,itfam,%
1453      leqalignno,magnification,makefootline,makeheadline,midinsert,mit,%
1454      mscount,nopagenumbers,normalbottom,of,oldstyle,pagebody,%
1455      pagecontents,pageinsert,pageno,plainoutput,preloaded,proclaim,rm,%
1456      settabs,sevenbf,seveni,sevensy,sevenrm,sl,slfam,supereject,%
1457      tabalign,tabs,tabsdone,tabsyet,tenbf,tenex,teni,tenit,tenrm,%
1458      tensl,tensy,tentt,textindent,topglue,topins,topinsert,tt,ttfam,%
1459      ttraggedright,vfootnote}%
1460  }%
1461\lst@definelanguage[common]{TeX}[primitive]{TeX}
1462  {moretexcs={active,acute,ae,AE,aleph,allocationnumber,allowbreak,%
1463      alpha,amalg,angle,approx,arccos,arcsin,arctan,arg,arrowvert,%
1464      Arrowvert,ast,asymp,b,backslash,bar,beta,bgroup,big,Big,bigbreak,%
1465      bigcap,bigcirc,bigcup,bigg,Bigg,biggl,Biggl,biggm,Biggm,biggr,%
1466      Biggr,bigl,Bigl,bigm,Bigm,bigodot,bigoplus,bigotimes,bigr,Bigr,%
1467      bigskip,bigskipamount,bigsqcup,bigtriangledown,bigtriangleup,%
1468      biguplus,bigvee,bigwedge,bmod,bordermatrix,bot,bowtie,brace,%
1469      braceld,bracelu,bracerd,braceru,bracevert,brack,break,breve,%
1470      buildrel,bullet,c,cap,cases,cdot,cdotp,cdots,centering,%
1471      centerline,check,chi,choose,circ,clubsuit,colon,cong,coprod,%
1472      copyright,cos,cosh,cot,coth,csc,cup,d,dag,dagger,dashv,ddag,%
1473      ddagger,ddot,ddots,deg,delta,Delta,det,diamond,diamondsuit,dim,%
1474      displaylines,div,do,dospecials,dot,doteq,dotfill,dots,downarrow,%
1475      Downarrow,downbracefill,egroup,eject,ell,empty,emptyset,endgraf,%
1476      endline,enskip,enspace,epsilon,equiv,eta,exists,exp,filbreak,%
1477      flat,fmtname,fmtversion,footins,footnote,footnoterule,forall,%
1478      frenchspacing,frown,gamma,Gamma,gcd,ge,geq,gets,gg,goodbreak,%
1479      grave,H,hat,hbar,heartsuit,hglue,hideskip,hidewidth,hom,%
1480      hookleftarrow,hookrightarrow,hphantom,hrulefill,i,ialign,iff,Im,%
1481      imath,in,inf,infty,int,interdisplaylinepenalty,%
1482      interfootnotelinepenalty,intop,iota,item,j,jmath,joinrel,jot,%
1483      kappa,ker,l,L,lambda,Lambda,land,langle,lbrace,lbrack,lceil,%
1484      ldotp,ldots,le,leavevmode,leftarrow,Leftarrow,leftarrowfill,%
1485      leftharpoondown,leftharpoonup,leftline,leftrightarrow,%
1486      Leftrightarrow,leq,lfloor,lg,lgroup,lhook,lim,liminf,limsup,line,%
1487      ll,llap,lmoustache,ln,lnot,log,longleftarrow,Longleftarrow,%
1488      longleftrightarrow,Longleftrightarrow,longmapsto,longrightarrow,%
1489      Longrightarrow,loop,lor,lq,magstep,magstep,magstephalf,mapsto,%
1490      mapstochar,mathhexbox,mathpalette,mathstrut,matrix,max,maxdimen,%
1491      medbreak,medskip,medskipamount,mid,min,models,mp,mu,multispan,%
1492      nabla,narrower,natural,ne,nearrow,neg,negthinspace,neq,newbox,%
1493      newcount,newdimen,newfam,newif,newinsert,newlanguage,newmuskip,%
1494      newread,newskip,newtoks,newwrite,next,ni,nobreak,nointerlineskip,%
1495      nonfrenchspacing,normalbaselines,normalbaselineskip,%
1496      normallineskip,normallineskiplimit,not,notin,nu,null,nwarrow,o,O,%
1497      oalign,obeylines,obeyspaces,odot,oe,OE,offinterlineskip,oint,%
1498      ointop,omega,Omega,ominus,ooalign,openup,oplus,oslash,otimes,%
1499      overbrace,overleftarrow,overrightarrow,owns,P,parallel,partial,%
1500      perp,phantom,phi,Phi,pi,Pi,pm,pmatrix,pmod,Pr,prec,preceq,prime,%
1501      prod,propto,psi,Psi,qquad,quad,raggedbottom,raggedright,rangle,%
1502      rbrace,rbrack,rceil,Re,relbar,Relbar,removelastskip,repeat,%
1503      rfloor,rgroup,rho,rhook,rightarrow,Rightarrow,rightarrowfill,%
1504      rightharpoondown,rightharpoonup,rightleftharpoons,rightline,rlap,%
1505      rmoustache,root,rq,S,sb,searrow,sec,setminus,sharp,showhyphens,%
1506      sigma,Sigma,sim,simeq,sin,sinh,skew,slash,smallbreak,smallint,%
1507      smallskip,smallskipamount,smash,smile,sp,space,spadesuit,sqcap,%
1508      sqcup,sqrt,sqsubseteq,sqsupseteq,ss,star,strut,strutbox,subset,%
1509      subseteq,succ,succeq,sum,sup,supset,supseteq,surd,swarrow,t,tan,%
1510      tanh,tau,TeX,theta,Theta,thinspace,tilde,times,to,top,tracingall,%
1511      triangle,triangleleft,triangleright,u,underbar,underbrace,%
1512      uparrow,Uparrow,upbracefill,updownarrow,Updownarrow,uplus,%
1513      upsilon,Upsilon,v,varepsilon,varphi,varpi,varrho,varsigma,%
1514      vartheta,vdash,vdots,vec,vee,vert,Vert,vglue,vphantom,wedge,%
1515      widehat,widetilde,wlog,wp,wr,xi,Xi,zeta}%
1516  }%
1517\lst@definelanguage[primitive]{TeX}%
1518  {moretexcs={above,abovedisplayshortskip,abovedisplayskip,aftergroup,%
1519      abovewithdelims,accent,adjdemerits,advance,afterassignment,atop,%
1520      atopwithdelims,badness,baselineskip,batchmode,begingroup,%
1521      belowdisplayshortskip,belowdisplayskip,binoppenalty,botmark,box,%
1522      boxmaxdepth,brokenpenalty,catcode,char,chardef,cleaders,closein,%
1523      closeout,clubpenalty,copy,count,countdef,cr,crcr,csname,day,%
1524      deadcycles,def,defaulthyphenchar,defaultskewchar,delcode,%
1525      delimiter,delimiterfactor,delimitershortfall,dimen,dimendef,%
1526      discretionary,displayindent,displaylimits,displaystyle,%
1527      displaywidowpenalty,displaywidth,divide,doublehyphendemerits,dp,%
1528      edef,else,emergencystretch,end,endcsname,endgroup,endinput,%
1529      endlinechar,eqno,errhelp,errmessage,errorcontextlines,%
1530      errorstopmode,escapechar,everycr,everydisplay,everyhbox,everyjob,%
1531      everymath,everypar,everyvbox,exhyphenpenalty,expandafter,fam,fi,%
1532      finalhypendemerits,firstmark,floatingpenalty,font,fontdimen,%
1533      fontname,futurelet,gdef,global,globaldefs,halign,hangafter,%
1534      hangindent,hbadness,hbox,hfil,hfill,hfilneg,hfuzz,hoffset,%
1535      holdinginserts,hrule,hsize,hskip,hss,ht,hyphenation,hyphenchar,%
1536      hyphenpenalty,if,ifcase,ifcat,ifdim,ifeof,iffalse,ifhbox,ifhmode,%
1537      ifinner,ifmmode,ifnum,ifodd,iftrue,ifvbox,ifvmode,ifvoid,ifx,%
1538      ignorespaces,immediate,indent,input,insert,insertpenalties,%
1539      interlinepenalty,jobname,kern,language,lastbox,lastkern,%
1540      lastpenalty,lastskip,lccode,leaders,left,lefthyphenmin,leftskip,%
1541      leqno,let,limits,linepenalty,lineskip,lineskiplimit,long,%
1542      looseness,lower,lowercase,mag,mark,mathaccent,mathbin,mathchar,%
1543      mathchardef,mathchoice,mathclose,mathcode,mathinner,mathop,%
1544      mathopen,mathord,mathpunct,mathrel,mathsurround,maxdeadcycles,%
1545      maxdepth,meaning,medmuskip,message,mkern,month,moveleft,%
1546      moveright,mskip,multiply,muskip,muskipdef,newlinechar,noalign,%
1547      noboundary,noexpand,noindent,nolimits,nonscript,nonstopmode,%
1548      nulldelimiterspace,nullfont,number,omit,openin,openout,or,outer,%
1549      output,outputpenalty,over,overfullrule,overline,overwithdelims,%
1550      pagedepth,pagefilllstretch,pagefillstretch,pagefilstretch,%
1551      pagegoal,pageshrink,pagestretch,pagetotal,par,parfillskip,%
1552      parindent,parshape,parskip,patterns,pausing,penalty,%
1553      postdisplaypenalty,predisplaypenalty,predisplaysize,pretolerance,%
1554      prevdepth,prevgraf,radical,raise,read,relax,relpenalty,right,%
1555      righthyphenmin,rightskip,romannumeral,scriptfont,%
1556      scriptscriptfont,scriptscriptstyle,scriptspace,scriptstyle,%
1557      scrollmode,setbox,setlanguage,sfcode,shipout,show,showbox,%
1558      showboxbreadth,showboxdepth,showlists,showthe,skewchar,skip,%
1559      skipdef,spacefactor,spaceskip,span,special,splitbotmark,%
1560      splitfirstmark,splitmaxdepth,splittopskip,string,tabskip,%
1561      textfont,textstyle,the,thickmuskip,thinmuskip,time,toks,toksdef,%
1562      tolerance,topmark,topskip,tracingcommands,tracinglostchars,%
1563      tracingmacros,tracingonline,tracingoutput,tracingpages,%
1564      tracingparagraphs,tracingrestores,tracingstats,uccode,uchyph,%
1565      underline,unhbox,unhcopy,unkern,unpenalty,unskip,unvbox,unvcopy,%
1566      uppercase,vadjust,valign,vbadness,vbox,vcenter,vfil,vfill,%
1567      vfilneg,vfuzz,voffset,vrule,vsize,vskip,vsplit,vss,vtop,wd,%
1568      widowpenalty,write,xdef,xleaders,xspaceskip,year},%
1569   sensitive,%
1570   alsoother={0123456789$_},%$ to make Emacs fontlocking happy
1571   morecomment=[l]\%%
1572  }[keywords,tex,comments]%
1573%%
1574%% Verilog definition (c) 2003 Cameron H. G. Wright <c.h.g.wright@ieee.org>
1575%%   Based on the IEEE 1364-2001 Verilog HDL standard
1576%%   Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis,"
1577%%        Prentice Hall, 2003. ISBN: 0-13-044911-3
1578%%
1579\lst@definelanguage{Verilog}%
1580  {morekeywords={% reserved keywords
1581      always,and,assign,automatic,begin,buf,bufif0,bufif1,case,casex,%
1582      casez,cell,cmos,config,deassign,default,defparam,design,disable,%
1583      edge,else,end,endcase,endconfig,endfunction,endgenerate,%
1584      endmodule,endprimitive,endspecify,endtable,endtask,event,for,%
1585      force,forever,fork,function,generate,genvar,highz0,highz1,if,%
1586      ifnone,incdir,include,initial,inout,input,instance,integer,join,%
1587      large,liblist,library,localparam,macromodule,medium,module,nand,%
1588      negedge,nmos,nor,noshowcancelled,not,notif0,notif1,or,output,%
1589      parameter,pmos,posedge,primitive,pull0,pull1,pulldown,pullup,%
1590      pulsestyle_onevent,pulsestyle_ondetect,rcmos,real,realtime,reg,%
1591      release,repeat,rnmos,rpmos,rtran,rtranif0,rtranif1,scalared,%
1592      showcancelled,signed,small,specify,specparam,strong0,strong1,%
1593      supply0,supply1,table,task,time,tran,tranif0,tranif1,tri,tri0,%
1594      tri1,triand,trior,trireg,unsigned,use,vectored,wait,wand,weak0,%
1595      weak1,while,wire,wor,xnor,xor},%
1596   morekeywords=[2]{% system tasks and functions
1597      $bitstoreal,$countdrivers,$display,$fclose,$fdisplay,$fmonitor,%
1598      $fopen,$fstrobe,$fwrite,$finish,$getpattern,$history,$incsave,%
1599      $input,$itor,$key,$list,$log,$monitor,$monitoroff,$monitoron,%
1600      $nokey},%
1601   morekeywords=[3]{% compiler directives
1602      `accelerate,`autoexpand_vectornets,`celldefine,`default_nettype,%
1603      `define,`else,`elsif,`endcelldefine,`endif,`endprotect,%
1604      `endprotected,`expand_vectornets,`ifdef,`ifndef,`include,%
1605      `no_accelerate,`noexpand_vectornets,`noremove_gatenames,%
1606      `nounconnected_drive,`protect,`protected,`remove_gatenames,%
1607      `remove_netnames,`resetall,`timescale,`unconnected_drive},%
1608   alsoletter=\`,%
1609   sensitive,%
1610   morecomment=[s]{/*}{*/},%
1611   morecomment=[l]//,% nonstandard
1612   morestring=[b]"%
1613  }[keywords,comments,strings]%
1614\endinput
1615%%
1616%% End of file `lstlang3.sty'.
Note: See TracBrowser for help on using the repository browser.