lstlang3.sty 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568
  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. %% (w)(c) 1996/1997/1998/1999/2000 Carsten Heinz and/or any other author
  10. %% listed elsewhere in this file.
  11. %%
  12. %% This file is distributed under the terms of the LaTeX Project Public
  13. %% License from CTAN archives in directory macros/latex/base/lppl.txt.
  14. %% Either version 1.0 or, at your option, any later version.
  15. %%
  16. %% This file is completely free and comes without any warranty.
  17. %%
  18. %% Permission is granted to change this file. You are not allowed to
  19. %% distribute any changed version of this file, neither under the same
  20. %% name nor under a different one.
  21. %%
  22. %% Send comments and ideas on the package, error reports and additional
  23. %% programming languages to <[email protected]>.
  24. %%
  25. \lst@definelanguage[68]{Algol}%
  26. {morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,%
  27. char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,%
  28. end,entier,eq,esac,exit,false,fi,file,flex,for,format,from,ge,%
  29. goto,gt,heap,if,im,in,int,is,isnt,le,leng,level,loc,long,lt,lwb,%
  30. minusab,mod,modab,mode,ne,nil,not,od,odd,of,op,or,ouse,out,over,%
  31. overab,par,plusab,plusto,pr,pragmat,prio,proc,re,real,ref,repr,%
  32. round,sema,shl,short,shorten,shr,sign,skip,string,struct,then,%
  33. timesab,to,true,union,up,upb,void,while},%
  34. sensitive=f,% ???
  35. morecomment=[s]{\#}{\#},%
  36. keywordcomment={co,comment}%
  37. }[keywords,comments,keywordcomments]%
  38. \lst@definelanguage[60]{Algol}%
  39. {morekeywords={array,begin,Boolean,code,comment,div,do,else,end,%
  40. false,for,goto,if,integer,label,own,power,procedure,real,step,%
  41. string,switch,then,true,until,value,while},%
  42. sensitive=f,% ???
  43. keywordcommentsemicolon={end}{else,end}{comment}%
  44. }[keywords,keywordcomments]%
  45. %%
  46. %% Visual Basic definition (c) 2001 Frédéric Jacquet
  47. %% <[email protected]>
  48. %%
  49. \lstdefinelanguage[Visual]{Basic}
  50. {morekeywords={AddressOf,Abs,And,AppActivate,Array,As,Asc,Atn,Base,%
  51. Beep,Binary,ByRef,ByVal,CVErr,Call,CallByName,Case,ChDir,ChDrive,%
  52. Choose,Chr,Close,Command,Compare,Comparison,Const,Cos,%
  53. CreateObject,CurDir,DDB,Date,DateAdd,DateDiff,DatePart,%
  54. DateSerial,DateValue,Day,Declare,Deftype,DeleteSetting,Dim,Dir,%
  55. Do,DoEvents,EOF,Each,Else,Empty,End,Enum,Environ,Eqv,Erase,Error,%
  56. Event,Exit,Exp,Explicit,FV,False,FileAttr,FileCopy,FileDateTime,%
  57. FileLen,Filter,Fix,For,Format,FormatCurrency,FormatDateRime,%
  58. FormatNumber,FormatPercent,Friend,Function,Get,GetAllSettings,%
  59. GetAttr,GetAutoServerSettings,GetObject,GetSetting,GoSub,GoTo,%
  60. Hex,Hour,IIf,IMEStatus,IPmt,IRR,If,Imp,Implements,InStr,InStrRev,%
  61. Input,InputBox,Int,Is,IsArray,IsDate,IsEmpty,IsError,IsMissing,%
  62. IsNull,IsNumeric,IsObject,Join,Kill,LBound,LCase,LOF,LSet,LTrim,%
  63. Left,Len,Let,Like,Line,Load,LoadPicture,LoadResData,%
  64. LoadResPicture,LoadResString,Loc,Lock,Lock,Log,Loop,MIRR,Math,Me,%
  65. Mid,Minute,MkDir,Mod,Month,MonthName,MsgBox,NPV,NPer,Name,New,%
  66. Next,Not,Nothing,Now,Null,Oct,On,Open,Option,Optional,Or,PPmt,PV,%
  67. Paramarray,Partition,Pmt,Print,Private,Property,Public,Put,%
  68. QBColor,RGB,RSet,RTrim,RaiseEvent,Randomize,Rate,ReDim,Rem,%
  69. Replace,Resume,Return,Right,RmDir,Rnd,Round,SLN,SYD,SavePicture,%
  70. SaveSetting,Second,Seek,Select,SendKeys,Set,SetAttr,Sgn,Shell,%
  71. Sin,Space,Spc,Split,Sqr,Static,Step,Stop,Str,StrComp,StrConv,%
  72. StrReverse,String,Sub,Switch,Tab,Tan,Then,Time,TimeSerial,%
  73. TimeValue,Timer,Trim,True,Type,TypeName,UBound,UCase,Unload,%
  74. Unlock,Val,VarType,Weekday,WeekdayName,Wend,While,Width,With,%
  75. Withevents,Write,Xor,Year},%
  76. sensitive=false,%
  77. morecomment=[l]\',%
  78. morestring=[b]"%
  79. }%
  80. %%
  81. %% Clean definition (c) 1999 José Romildo Malaquias <[email protected]>
  82. %%
  83. %% Clean 1.3 : some standard functional language: pure, lazy,
  84. %% polymorphic type system, modules, type classes,
  85. %% garbage collection, functions as first class citizens
  86. %%
  87. \lst@definelanguage{Clean}%
  88. {otherkeywords={:,::,=,:==,=:,=>,->,<-,<-:,\{,\},\{|,|\},\#,\#!,|,\&,[,],!,.,\\\\,;,_},%
  89. keywords={from,definition,implementation,import,module,system,case,code,%
  90. if,in,let,let!,of,where,with,infix,infixl,infixr},%
  91. ndkeywords={True,False,Start,Int,Real,Char,Bool,String,World,File,ProcId},%
  92. sensitive,%
  93. morecomment=[l]//%
  94. morecomment=[n]{/*}{*/},%
  95. morestring=[b]"%
  96. }[keywords,comments,strings]%
  97. \lst@definelanguage{Comal 80}%
  98. {morekeywords={AND,AUTO,CASE,DATA,DEL,DIM,DIV,DO,ELSE,ENDCASE,ENDIF,%
  99. ENDPROC,ENDWHILE,EOD,EXEC,FALSE,FOR,GOTO,IF,INPUT,INT,LIST,LOAD,%
  100. MOD,NEW,NEXT,NOT,OF,OR,PRINT,PROC,RANDOM,RENUM,REPEAT,RND,RUN,%
  101. SAVE,SELECT,STOP,TAB,THEN,TRUE,UNTIL,WHILE,ZONE},%
  102. sensitive=f,% ???
  103. morecomment=[l]//,%
  104. morestring=[d]"%
  105. }[keywords,comments,strings]%
  106. \lst@definelanguage{Elan}%
  107. {morekeywords={ABS,AND,BOOL,CAND,CASE,CAT,COLUMNS,CONCR,CONJ,CONST,%
  108. COR,DECR,DEFINES,DET,DIV,DOWNTO,ELIF,ELSE,END,ENDIF,ENDOP,%
  109. ENDPACKET,ENDPROC,ENDREP,ENDSELECT,FALSE,FI,FILE,FOR,FROM,IF,%
  110. INCR,INT,INV,LEAVE,LENGTH,LET,MOD,NOT,OF,OP,OR,OTHERWISE,PACKET,%
  111. PROC,REAL,REP,REPEAT,ROW,ROWS,SELECT,SIGN,STRUCT,SUB,TEXT,THEN,%
  112. TRANSP,TRUE,TYPE,UNTIL,UPTO,VAR,WHILE,WITH,XOR,%
  113. maxint,sign,abs,min,max,random,initializerandom,subtext,code,%
  114. replace,text,laenge,pos,compress,change,maxreal,smallreal,floor,%
  115. pi,e,ln,log2,log10,sqrt,exp,tan,tand,sin,sind,cos,cosd,arctan,%
  116. arctand,int,real,lastconversionok,put,putline,line,page,get,%
  117. getline,input,output,sequentialfile,maxlinelaenge,reset,eof,%
  118. close,complexzero,complexone,complexi,complex,realpart,imagpart,%
  119. dphi,phi,vector,norm,replace,matrix,idn,row,column,sub,%
  120. replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},%
  121. sensitive,%
  122. morestring=[d]"%
  123. }[keywords,strings]%
  124. \lst@definelanguage{Logo}%
  125. {morekeywords={and,atan,arctan,both,break,bf,bl,butfirst,butlast,%
  126. cbreak, close,co,continue,cos,count,clearscreen,cs,debquit,%
  127. describe,diff,difference,ed,edit,either,emptyp,equalp,er,erase,%
  128. errpause,errquit,fifp,filefprint,fifty,fileftype,fip,fileprint,%
  129. fird,fileread,fity,filetype,fiwd,fileword,f,first,or,fp,fprint,%
  130. fput,fty,ftype,full,fullscreen,go,bye,goodbye,gprop,greaterp,%
  131. help,if,iff,iffalse,ift,iftrue,nth,item,keyp,llast,lessp,list,%
  132. local,lput,make,max,maximum,memberp,memtrace,min,minimum,namep,%
  133. not,numberp,oflush,openr,openread,openw,openwrite,op,output,%
  134. pause,plist,pots,pow,pprop,pps,pr,print,product,quotient,random,%
  135. rc,readchar,rl,readlist,remprop,repcount,repeat,request,rnd,run,%
  136. se,sentence,sentencep,setc,setcolor,setipause,setqpause,po,show,%
  137. sin,split,splitscreen,sqrt,stop,sum,test,text,textscreen,thing,%
  138. to,tone,top,toplevel,type,untrace,wait,word,wordp,yaccdebug,is,%
  139. mod,remainder,trace,zerop,back,bk,bto,btouch,fd,forward,fto,%
  140. ftouch,getpen,heading,hit,hitoot,ht,hideturtle,loff,lampoff,lon,%
  141. lampon,lt,left,lot,lotoot,lto,ltouch,penc,pencolor,pd,pendown,pe,%
  142. penerase,penmode,pu,penup,px,penreverse,rt,right,rto,rtouch,%
  143. scrunch,seth,setheading,setscrun,setscrunch,setxy,shownp,st,%
  144. showturtle,towardsxy,clean,wipeclean,xcor,ycor,tur,turtle,%
  145. display,dpy},%
  146. sensitive=f% ???
  147. }[keywords]%
  148. \lst@definelanguage{Modula-2}%
  149. {morekeywords={AND,ARRAY,BEGIN,BY,CASE,CONST,DIV,DO,ELSE,ELSIF,END,%
  150. EXIT,EXPORT,FOR,FROM,IF,IMPLEMENTATION,IMPORT,IN,MOD,MODULE,NOT,%
  151. OF,OR,POINTER,PROCEDURE,QUALIFIED,RECORD,REPEAT,RETURN,SET,THEN,%
  152. TYPE,UNTIL,VAR,WHILE,WITH,ABS,BITSET,BOOLEAN,CAP,CARDINAL,CHAR,%
  153. CHR,DEC,EXCL,FALSE,FLOAT,HALT,HIGH,INC,INCL,INTEGER,LONGCARD,%
  154. LONGINT,LONGREAL,MAX,MIN,NIL,ODD,ORD,PROC,REAL,SIZE,TRUE,TRUNC,%
  155. VAL,DEFINITION,LOOP},% added keywords due to Peter Bartke 99/07/22
  156. sensitive,%
  157. morecomment=[n]{(*}{*)},%
  158. morestring=[d]',%
  159. morestring=[d]"%
  160. }[keywords,comments,strings]%
  161. \lst@definelanguage{Oberon-2}%
  162. {morekeywords={ARRAY,BEGIN,BOOLEAN,BY,CASE,CHAR,CONST,DIV,DO,ELSE,%
  163. ELSIF,END,EXIT,FALSE,FOR,IF,IMPORT,IN,INTEGER,IS,LONGINT,%
  164. LONGREAL,LOOP,MOD,MODULE,NIL,OF,OR,POINTER,PROCEDURE,REAL,RECORD,%
  165. REPEAT,RETURN,SET,SHORTINT,THEN,TO,TRUE,TYPE,UNTIL,VAR,WHILE,%
  166. WITH,ABS,ASH,CAP,CHR,COPY,DEC,ENTIER,EXCL,HALT,INC,INCL,LEN,LONG,%
  167. MAX,MIN,NEW,ODD,ORD,SHORT,SIZE},%
  168. sensitive,%
  169. morecomment=[n]{(*}{*)},%
  170. morestring=[d]',%
  171. morestring=[d]"%
  172. }[keywords,comments,strings]%
  173. %%
  174. %% OCL definition (c) 2000 Achim D. Brucker <[email protected]>
  175. %% You are allowed to use, modify and distribute this code either under
  176. %% the terms of the LPPL (version 1.0 or later) or the GPL (version 2.0 or later).
  177. %%
  178. %% First we define are very decorative style. In the OMG standard only the boolean (infix (?))
  179. %% operations are highlighted, but I think all OCL-defined operations should be
  180. %% highlighted, because they are \emph{guaranteed} to be side-effect-free (in OCL only side effect
  181. %% free evaluations or path expressions are allowed).
  182. %%
  183. \lst@definelanguage[decorative]{OCL}[OMG]{OCL}
  184. {otherkeywords={@pre},%
  185. morendkeywords={name,attributes,associatoinEnds,operations,%
  186. supertypes,allSupertypes,allInstances,oclIsKindOf,oclIsTypeOf,%
  187. oclAsType,oclInState,oclIsNew,evaluationType,abs,floor,round,max,%
  188. min,div,mod,size,concat,toUpper,toLower,substring,includes,%
  189. excludes,count,includesAll,exludesAll,isEmpty,notEmpty,sum,%
  190. exists,forAll,isUnique,sortedBy,iterate,union,intersection,%
  191. including,excluding,symmetricDifference,select,reject,collect,%
  192. asSequence,asBag,asSequence,asSet,append,prepend,subSequence,at,%
  193. first,last,true,false,isQuery}%
  194. }%
  195. %% Remark: "isQuery" is not real OCL, but a important Attribute of the
  196. %% underlying UML model.
  197. %%
  198. %% The dialect called \texttt{OMG} is a very spare version. If you use
  199. %% this variant with bold style for first and second order keywords you
  200. %% get the look and feel of the OMG standard.
  201. \lst@definelanguage[OMG]{OCL}%
  202. {morekeywords={context,pre,inv,post},
  203. ndkeywords={or,xor,and,not,implies,if,then,else,endif},%
  204. morerdkeywords={Boolean,Integer,Real,String,Set,Sequence,Bag,%
  205. OclType,OclAny,OclExpression,Enumeration,Collection,},%
  206. sensitive=t,%
  207. morecomment=[l]--,%
  208. morestring=[d]'%
  209. }[keywords,rdkeywords,comments,strings]%
  210. \lst@definelanguage{PL/I}%
  211. {morekeywords={ABS,ATAN,AUTOMATIC,AUTO,ATAND,BEGIN,BINARY,BIN,BIT,%
  212. BUILTIN,BY,CALL,CHARACTER,CHAR,CHECK,COLUMN,COL,COMPLEX,CPLX,%
  213. COPY,COS,COSD,COSH,DATA,DATE,DECIMAL,DEC,DECLARE,DCL,DO,EDIT,%
  214. ELSE,END,ENDFILE,ENDPAGE,ENTRY,EXP,EXTERNAL,EXT,FINISH,FIXED,%
  215. FIXEDOVERFLOW,FOFL,FLOAT,FORMAT,GET,GO,GOTO,IF,IMAG,INDEX,%
  216. INITIAL,INIT,INTERNAL,INT,LABEL,LENGTH,LIKE,LINE,LIST,LOG,LOG2,%
  217. LOG10,MAIN,MAX,MIN,MOD,NOCHECK,NOFIXEDOVERFLOW,NOFOFL,NOOVERFLOW,%
  218. NOOFL,NOSIZE,NOUNDERFLOW,NOUFL,NOZERODIVIDE,NOZDIV,ON,OPTIONS,%
  219. OVERFLOW,OFL,PAGE,PICTURE,PROCEDURE,PROC,PUT,READ,REPEAT,RETURN,%
  220. RETURNS,ROUND,SIN,SIND,SINH,SIZE,SKIP,SQRT,STATIC,STOP,STRING,%
  221. SUBSTR,SUM,SYSIN,SYSPRINT,TAN,TAND,TANH,THEN,TO,UNDERFLOW,UFL,%
  222. VARYING,WHILE,WRITE,ZERODIVIDE,ZDIV},%
  223. sensitive=f,%
  224. morecomment=[s]{/*}{*/},%
  225. morestring=[d]'%
  226. }[keywords,comments,strings]%
  227. \lst@definelanguage[IBM]{Simula}[DEC]{Simula}{}%
  228. \lst@definelanguage[DEC]{Simula}[67]{Simula}%
  229. {morekeywords={and,eq,eqv,ge,gt,hidden,imp,le,long,lt,ne,not,%
  230. options,or,protected,short}%
  231. }%
  232. \lst@definelanguage[CII]{Simula}[67]{Simula}%
  233. {morekeywords={and,equiv,exit,impl,not,or,stop}}%
  234. \lst@definelanguage[67]{Simula}%
  235. {morekeywords={activate,after,array,at,before,begin,boolean,%
  236. character,class,comment,delay,detach,do,else,end,external,false,%
  237. for,go,goto,if,in,inner,inspect,integer,is,label,name,new,none,%
  238. notext,otherwise,prior,procedure,qua,reactivate,real,ref,resume,%
  239. simset,simulation,step,switch,text,then,this,to,true,until,value,%
  240. virtual,when,while},%
  241. sensitive=f,%
  242. keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},%
  243. morestring=[d]",%
  244. morestring=[d]'%
  245. }[keywords,keywordcomments,strings]%
  246. \lst@definelanguage{S}[]{R}{}
  247. \lst@definelanguage[PLUS]{S}[]{R}{}
  248. \lst@definelanguage{R}%
  249. {keywords={abbreviate,abline,abs,acos,acosh,action,add1,add,%
  250. aggregate,alias,Alias,alist,all,anova,any,aov,aperm,append,apply,%
  251. approx,approxfun,apropos,Arg,args,array,arrows,as,asin,asinh,%
  252. atan,atan2,atanh,attach,attr,attributes,autoload,autoloader,ave,%
  253. axis,backsolve,barplot,basename,besselI,besselJ,besselK,besselY,%
  254. beta,binomial,body,box,boxplot,break,browser,bug,builtins,bxp,by,%
  255. c,C,call,Call,case,cat,category,cbind,ceiling,character,char,%
  256. charmatch,check,chol,chol2inv,choose,chull,class,close,cm,codes,%
  257. coef,coefficients,co,col,colnames,colors,colours,commandArgs,%
  258. comment,complete,complex,conflicts,Conj,contents,contour,%
  259. contrasts,contr,control,helmert,contrib,convolve,cooks,coords,%
  260. distance,coplot,cor,cos,cosh,count,fields,cov,covratio,wt,CRAN,%
  261. create,crossprod,cummax,cummin,cumprod,cumsum,curve,cut,cycle,D,%
  262. data,dataentry,date,dbeta,dbinom,dcauchy,dchisq,de,debug,%
  263. debugger,Defunct,default,delay,delete,deltat,demo,de,density,%
  264. deparse,dependencies,Deprecated,deriv,description,detach,%
  265. dev2bitmap,dev,cur,deviance,off,prev,,dexp,df,dfbetas,dffits,%
  266. dgamma,dgeom,dget,dhyper,diag,diff,digamma,dim,dimnames,dir,%
  267. dirname,dlnorm,dlogis,dnbinom,dnchisq,dnorm,do,dotplot,double,%
  268. download,dpois,dput,drop,drop1,dsignrank,dt,dummy,dump,dunif,%
  269. duplicated,dweibull,dwilcox,dyn,edit,eff,effects,eigen,else,%
  270. emacs,end,environment,env,erase,eval,equal,evalq,example,exists,%
  271. exit,exp,expand,expression,External,extract,extractAIC,factor,%
  272. fail,family,fft,file,filled,find,fitted,fivenum,fix,floor,for,%
  273. For,formals,format,formatC,formula,Fortran,forwardsolve,frame,%
  274. frequency,ftable,ftable2table,function,gamma,Gamma,gammaCody,%
  275. gaussian,gc,gcinfo,gctorture,get,getenv,geterrmessage,getOption,%
  276. getwd,gl,glm,globalenv,gnome,GNOME,graphics,gray,grep,grey,grid,%
  277. gsub,hasTsp,hat,heat,help,hist,home,hsv,httpclient,I,identify,if,%
  278. ifelse,Im,image,\%in\%,index,influence,measures,inherits,install,%
  279. installed,integer,interaction,interactive,Internal,intersect,%
  280. inverse,invisible,IQR,is,jitter,kappa,kronecker,labels,lapply,%
  281. layout,lbeta,lchoose,lcm,legend,length,levels,lgamma,library,%
  282. licence,license,lines,list,lm,load,local,locator,log,log10,log1p,%
  283. log2,logical,loglin,lower,lowess,ls,lsfit,lsf,ls,machine,Machine,%
  284. mad,mahalanobis,make,link,margin,match,Math,matlines,mat,matplot,%
  285. matpoints,matrix,max,mean,median,memory,menu,merge,methods,min,%
  286. missing,Mod,mode,model,response,mosaicplot,mtext,mvfft,na,nan,%
  287. names,omit,nargs,nchar,ncol,NCOL,new,next,NextMethod,nextn,%
  288. nlevels,nlm,noquote,NotYetImplemented,NotYetUsed,nrow,NROW,null,%
  289. numeric,\%o\%,objects,offset,old,on,Ops,optim,optimise,optimize,%
  290. options,or,order,ordered,outer,package,packages,page,pairlist,%
  291. pairs,palette,panel,par,parent,parse,paste,path,pbeta,pbinom,%
  292. pcauchy,pchisq,pentagamma,persp,pexp,pf,pgamma,pgeom,phyper,pico,%
  293. pictex,piechart,Platform,plnorm,plogis,plot,pmatch,pmax,pmin,%
  294. pnbinom,pnchisq,pnorm,points,poisson,poly,polygon,polyroot,pos,%
  295. postscript,power,ppoints,ppois,predict,preplot,pretty,Primitive,%
  296. print,prmatrix,proc,prod,profile,proj,prompt,prop,provide,%
  297. psignrank,ps,pt,ptukey,punif,pweibull,pwilcox,q,qbeta,qbinom,%
  298. qcauchy,qchisq,qexp,qf,qgamma,qgeom,qhyper,qlnorm,qlogis,qnbinom,%
  299. qnchisq,qnorm,qpois,qqline,qqnorm,qqplot,qr,Q,qty,qy,qsignrank,%
  300. qt,qtukey,quantile,quasi,quit,qunif,quote,qweibull,qwilcox,%
  301. rainbow,range,rank,rbeta,rbind,rbinom,rcauchy,rchisq,Re,read,csv,%
  302. csv2,fwf,readline,socket,real,Recall,rect,reformulate,regexpr,%
  303. relevel,remove,rep,repeat,replace,replications,report,require,%
  304. resid,residuals,restart,return,rev,rexp,rf,rgamma,rgb,rgeom,R,%
  305. rhyper,rle,rlnorm,rlogis,rm,rnbinom,RNGkind,rnorm,round,row,%
  306. rownames,rowsum,rpois,rsignrank,rstandard,rstudent,rt,rug,runif,%
  307. rweibull,rwilcox,sample,sapply,save,scale,scan,scan,screen,sd,se,%
  308. search,searchpaths,segments,seq,sequence,setdiff,setequal,set,%
  309. setwd,show,sign,signif,sin,single,sinh,sink,solve,sort,source,%
  310. spline,splinefun,split,sqrt,stars,start,stat,stem,step,stop,%
  311. storage,strstrheight,stripplot,strsplit,structure,strwidth,sub,%
  312. subset,substitute,substr,substring,sum,summary,sunflowerplot,svd,%
  313. sweep,switch,symbol,symbols,symnum,sys,status,system,t,table,%
  314. tabulate,tan,tanh,tapply,tempfile,terms,terrain,tetragamma,text,%
  315. time,title,topo,trace,traceback,transform,tri,trigamma,trunc,try,%
  316. ts,tsp,typeof,unclass,undebug,undoc,union,unique,uniroot,unix,%
  317. unlink,unlist,unname,untrace,update,upper,url,UseMethod,var,%
  318. variable,vector,Version,vi,warning,warnings,weighted,weights,%
  319. which,while,window,write,\%x\%,x11,X11,xedit,xemacs,xinch,xor,%
  320. xpdrows,xy,xyinch,yinch,zapsmall,zip},%
  321. otherkeywords={!,!=,~,$,*,\&,\%/\%,\%*\%,\%\%,<-,<<-,_,/},%
  322. alsoother={._$},%
  323. sensitive,%
  324. morecomment=[l]\#,%
  325. morestring=[d]"%
  326. }%
  327. \lst@definelanguage{SAS}%
  328. {prockeywords={proc},%
  329. morekeywords={DATA,AND,OR,NOT,EQ,GT,LT,GE,LE,NE,INFILE,INPUT,DO,BY,%
  330. TO,SIN,COS,OUTPUT,END,PLOT,RUN,LIBNAME,VAR,TITLE,FIRSTOBS,OBS,%
  331. DELIMITER,DLM,EOF,ABS,DIM,HBOUND,LBOUND,MAX,MIN,MOD,SIGN,SQRT,%
  332. CEIL,FLOOR,FUZZ,INT,ROUND,TRUNC,DIGAMMA,ERF,ERFC,EXP,GAMMA,%
  333. LGAMMA,LOG,LOG2,LOG10,ARCOS,ARSIN,ATAN,COSH,SINH,TANH,TAN,%
  334. POISSON,PROBBETA,PROBBNML,PROBCHI,PROBF,PROBGAM,PROBHYPR,%
  335. PROBNEGB,PROBNORM,PROBT,BETAINV,CINV,FINV,GAMINV,PROBIT,TINV,CSS,%
  336. CV,KURTOSIS,MEAN,NMISS,RANGE,SKEWNESS,STD,STDERR,SUM,USS,NORMAL,%
  337. RANBIN,RANCAU,RANEXP,RANGAM,RANNOR,RANPOI,RANTBL,RANTRI,RANUNI,%
  338. UNIFORM,IF,THEN,ELSE,WHILE,UNTIL,DROP,KEEP,LABEL,DEFAULT,ARRAY,%
  339. MERGE,CARDS,CARDS4,PUT,SET,UPDATE,ABORT,DELETE,DISPLAY,LIST,%
  340. LOSTCARD,MISSING,STOP,WHERE,ARRAY,DROP,KEEP,WINDOW,LENGTH,RENAME,%
  341. RETAIN,MEANS,UNIVARIATE,SUMMARY,TABULATE,CORR,FREQ,FOOTNOTE,NOTE,%
  342. SHOW},%
  343. otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},%
  344. morestring=[d]'%
  345. }%
  346. \lst@definelanguage[AlLaTeX]{TeX}[LaTeX]{TeX}%
  347. {moretexcs={AtBeginDocument,AtBeginDvi,AtEndDocument,AtEndOfClass,%
  348. AtEndOfPackage,ClassError,ClassInfo,ClassWarning,%
  349. ClassWarningNoLine,CurrentOption,DeclareErrorFont,%
  350. DeclareFixedFont,DeclareFontEncoding,DeclareFontEncodingDefaults,%
  351. DeclareFontFamily,DeclareFontShape,DeclareFontSubstitution,%
  352. DeclareMathAccent,DeclareMathAlphabet,DeclareMathAlphabet,%
  353. DeclareMathDelimiter,DeclareMathRadical,DeclareMathSizes,%
  354. DeclareMathSymbol,DeclareMathVersion,DeclareOldFontCommand,%
  355. DeclareOption,DeclarePreloadSizes,DeclareRobustCommand,%
  356. DeclareSizeFunction,DeclareSymbolFont,DeclareSymbolFontAlphabet,%
  357. DeclareTextAccent,DeclareTextAccentDefault,DeclareTextCommand,%
  358. DeclareTextCommandDefault,DeclareTextComposite,%
  359. DeclareTextCompositeCommand,DeclareTextFontCommand,%
  360. DeclareTextSymbol,DeclareTextSymbolDefault,ExecuteOptions,%
  361. GenericError,GenericInfo,GenericWarning,IfFileExists,%
  362. InputIfFileExists,LoadClass,LoadClassWithOptions,MessageBreak,%
  363. OptionNotUsed,PackageError,PackageInfo,PackageWarning,%
  364. PackageWarningNoLine,PassOptionsToClass,PassOptionsToPackage,%
  365. ProcessOptionsProvidesClass,ProvidesFile,ProvidesFile,%
  366. ProvidesPackage,ProvideTextCommand,RequirePackage,%
  367. RequirePackageWithOptions,SetMathAlphabet,SetSymbolFont,%
  368. TextSymbolUnavailable,UseTextAccent,UseTextSymbol},%
  369. morekeywords={array,center,displaymath,document,enumerate,eqnarray,%
  370. equation,flushleft,flushright,itemize,list,lrbox,math,minipage,%
  371. picture,sloppypar,tabbing,tabular,trivlist,verbatim}%
  372. }%
  373. \lst@definelanguage[LaTeX]{TeX}[common]{TeX}%
  374. {moretexcs={a,AA,aa,addcontentsline,addpenalty,addtocontents,%
  375. addtocounter,addtolength,addtoversion,addvspace,alph,Alph,and,%
  376. arabic,array,arraycolsep,arrayrulewidth,arraystretch,author,%
  377. baselinestretch,begin,bezier,bfseries,bibcite,bibdata,bibitem,%
  378. bibliography,bibliographystyle,bibstyle,bigskip,boldmath,%
  379. botfigrule,bottomfraction,Box,caption,center,CheckCommand,circle,%
  380. citation,cite,cleardoublepage,clearpage,cline,columnsep,%
  381. columnseprule,columnwidth,contentsline,dashbox,date,dblfigrule,%
  382. dblfloatpagefraction,dblfloatsep,dbltextfloatsep,dbltopfraction,%
  383. defaultscriptratio,defaultscriptscriptratio,depth,Diamond,%
  384. displaymath,document,documentclass,documentstyle,doublerulesep,%
  385. em,emph,endarray,endcenter,enddisplaymath,enddocument,%
  386. endenumerate,endeqnarray,endequation,endflushleft,endflushright,%
  387. enditemize,endlist,endlrbox,endmath,endminipage,endpicture,%
  388. endsloppypar,endtabbing,endtabular,endtrivlist,endverbatim,%
  389. enlargethispage,ensuremath,enumerate,eqnarray,equation,%
  390. evensidemargin,extracolsep,fbox,fboxrule,fboxsep,filecontents,%
  391. fill,floatpagefraction,floatsep,flushbottom,flushleft,flushright,%
  392. fnsymbol,fontencoding,fontfamily,fontseries,fontshape,fontsize,%
  393. fontsubfuzz,footnotemark,footnotesep,footnotetext,footskip,frac,%
  394. frame,framebox,fussy,glossary,headheight,headsep,height,hline,%
  395. hspace,I,include,includeonly,index,inputlineno,intextsep,%
  396. itemindent,itemize,itemsep,iterate,itshape,Join,kill,label,%
  397. labelsep,labelwidth,LaTeX,LaTeXe,leadsto,lefteqn,leftmargin,%
  398. leftmargini,leftmarginii,leftmarginiii,leftmarginiv,leftmarginv,%
  399. leftmarginvi,leftmark,lhd,lim,linebreak,linespread,linethickness,%
  400. linewidth,list,listfiles,listfiles,listparindent,lrbox,%
  401. makeatletter,makeatother,makebox,makeglossary,makeindex,%
  402. makelabel,MakeLowercase,MakeUppercase,marginpar,marginparpush,%
  403. marginparsep,marginparwidth,markboth,markright,math,mathbf,%
  404. mathellipsis,mathgroup,mathit,mathrm,mathsf,mathsterling,mathtt,%
  405. mathunderscore,mathversion,mbox,mdseries,mho,minipage,%
  406. multicolumn,multiput,NeedsTeXFormat,newcommand,newcounter,%
  407. newenvironment,newfont,newhelp,newlabel,newlength,newline,%
  408. newmathalphabet,newpage,newsavebox,newtheorem,nobreakspace,%
  409. nobreakspace,nocite,nocorr,nocorrlist,nofiles,nolinebreak,%
  410. nonumber,nopagebreak,normalcolor,normalfont,normalmarginpar,%
  411. numberline,obeycr,oddsidemargin,oldstylenums,onecolumn,oval,%
  412. pagebreak,pagenumbering,pageref,pagestyle,paperheight,paperwidth,%
  413. paragraphmark,parbox,parsep,partopsep,picture,poptabs,pounds,%
  414. protect,pushtabs,put,qbezier,qbeziermax,r,raggedleft,raisebox,%
  415. ref,refstepcounter,renewcommand,renewenvironment,restorecr,%
  416. reversemarginpar,rhd,rightmargin,rightmark,rmfamily,roman,Roman,%
  417. rootbox,rule,samepage,sbox,scshape,secdef,section,sectionmark,%
  418. selectfont,setcounter,settodepth,settoheight,settowidth,sffamily,%
  419. shortstack,showoutput,showoverfull,sloppy,sloppypar,slshape,%
  420. smallskip,sqsubset,sqsupset,SS,stackrel,stepcounter,stop,stretch,%
  421. subparagraphmark,subsectionmark,subsubsectionmark,sum,%
  422. suppressfloats,symbol,tabbing,tabbingsep,tabcolsep,tabular,%
  423. tabularnewline,textasciicircum,textasciitilde,textbackslash,%
  424. textbar,textbf,textbraceleft,textbraceright,textbullet,%
  425. textcircled,textcompwordmark,textdagger,textdaggerdbl,textdollar,%
  426. textellipsis,textemdash,textendash,textexclamdown,textfloatsep,%
  427. textfraction,textgreater,textheight,textit,textless,textmd,%
  428. textnormal,textparagraph,textperiodcentered,textquestiondown,%
  429. textquotedblleft,textquotedblright,textquoteleft,textquoteright,%
  430. textregistered,textrm,textsc,textsection,textsf,textsl,%
  431. textsterling,textsuperscript,texttrademark,texttt,textunderscore,%
  432. textup,textvisiblespace,textwidth,thanks,thefootnote,thempfn,%
  433. thempfn,thempfootnote,thepage,thepage,thicklines,thinlines,%
  434. thispagestyle,title,today,topfigrule,topfraction,topmargin,%
  435. topsep,totalheight,tracingfonts,trivlist,ttfamily,twocolumn,%
  436. typein,typeout,unboldmath,unitlength,unlhd,unrhd,upshape,usebox,%
  437. usecounter,usefont,usepackage,value,vector,verb,verbatim,vline,%
  438. vspace,width,%
  439. normalsize,small,footnotesize,scriptsize,tiny,large,Large,LARGE,%
  440. huge,Huge}%
  441. }%
  442. \lst@definelanguage[plain]{TeX}[common]{TeX}%
  443. {moretexcs={advancepageno,beginsection,bf,bffam,bye,cal,cleartabs,%
  444. columns,dosupereject,endinsert,eqalign,eqalignno,fiverm,fivebf,%
  445. fivei,fivesy,folio,footline,hang,headline,it,itemitem,itfam,%
  446. leqalignno,magnification,makefootline,makeheadline,midinsert,mit,%
  447. mscount,nopagenumbers,normalbottom,of,oldstyle,pagebody,%
  448. pagecontents,pageinsert,pageno,plainoutput,preloaded,proclaim,rm,%
  449. settabs,sevenbf,seveni,sevensy,sevenrm,sl,slfam,supereject,%
  450. tabalign,tabs,tabsdone,tabsyet,tenbf,tenex,teni,tenit,tenrm,%
  451. tensl,tensy,tentt,textindent,topglue,topins,topinsert,tt,ttfam,%
  452. ttraggedright,vfootnote}%
  453. }%
  454. \lst@definelanguage[common]{TeX}[primitive]{TeX}
  455. {moretexcs={active,acute,ae,AE,aleph,allocationnumber,allowbreak,%
  456. alpha,amalg,angle,approx,arccos,arcsin,arctan,arg,arrowvert,%
  457. Arrowvert,ast,asymp,b,backslash,bar,beta,bgroup,big,Big,bigbreak,%
  458. bigcap,bigcirc,bigcup,bigg,Bigg,biggl,Biggl,biggm,Biggm,biggr,%
  459. Biggr,bigl,Bigl,bigm,Bigm,bigodot,bigoplus,bigotimes,bigr,Bigr,%
  460. bigskip,bigskipamount,bigsqcup,bigtriangledown,bigtriangleup,%
  461. biguplus,bigvee,bigwedge,bmod,bordermatrix,bot,bowtie,brace,%
  462. braceld,bracelu,bracerd,braceru,bracevert,brack,break,breve,%
  463. buildrel,bullet,c,cap,cases,cdot,cdotp,cdots,centering,%
  464. centerline,check,chi,choose,circ,clubsuit,colon,cong,coprod,%
  465. copyright,cos,cosh,cot,coth,csc,cup,d,dag,dagger,dashv,ddag,%
  466. ddagger,ddot,ddots,deg,delta,Delta,det,diamond,diamondsuit,dim,%
  467. displaylines,div,do,dospecials,dot,doteq,dotfill,dots,downarrow,%
  468. Downarrow,downbracefill,egroup,eject,ell,empty,emptyset,endgraf,%
  469. endline,enskip,enspace,epsilon,equiv,eta,exists,exp,filbreak,%
  470. flat,fmtname,fmtversion,footins,footnote,footnoterule,forall,%
  471. frenchspacing,frown,gamma,Gamma,gcd,ge,geq,gets,gg,goodbreak,%
  472. grave,H,hat,hbar,heartsuit,hglue,hideskip,hidewidth,hom,%
  473. hookleftarrow,hookrightarrow,hphantom,hrulefill,i,ialign,iff,Im,%
  474. imath,in,inf,infty,int,interdisplaylinepenalty,%
  475. interfootnotelinepenalty,intop,iota,item,j,jmath,joinrel,jot,%
  476. kappa,ker,l,L,lambda,Lambda,land,langle,lbrace,lbrack,lceil,%
  477. ldotp,ldots,le,leavevmode,leftarrow,Leftarrow,leftarrowfill,%
  478. leftharpoondown,leftharpoonup,leftline,leftrightarrow,%
  479. Leftrightarrow,leq,lfloor,lg,lgroup,lhook,lim,liminf,limsup,line,%
  480. ll,llap,lmoustache,ln,lnot,log,longleftarrow,Longleftarrow,%
  481. longleftrightarrow,Longleftrightarrow,longmapsto,longrightarrow,%
  482. Longrightarrow,loop,lor,lq,magstep,magstep,magstephalf,mapsto,%
  483. mapstochar,mathhexbox,mathpalette,mathstrut,matrix,max,maxdimen,%
  484. medbreak,medskip,medskipamount,mid,min,models,mp,mu,multispan,%
  485. nabla,narrower,natural,ne,nearrow,neg,negthinspace,neq,newbox,%
  486. newcount,newdimen,newfam,newif,newinsert,newlanguage,newmuskip,%
  487. newread,newskip,newtoks,newwrite,next,ni,nobreak,nointerlineskip,%
  488. nonfrenchspacing,normalbaselines,normalbaselineskip,%
  489. normallineskip,normallineskiplimit,not,notin,nu,null,nwarrow,o,O,%
  490. oalign,obeylines,obeyspaces,odot,oe,OE,offinterlineskip,oint,%
  491. ointop,omega,Omega,ominus,ooalign,openup,oplus,oslash,otimes,%
  492. overbrace,overleftarrow,overrightarrow,owns,P,parallel,partial,%
  493. perp,phantom,phi,Phi,pi,Pi,pm,pmatrix,pmod,Pr,prec,preceq,prime,%
  494. prod,propto,psi,Psi,qquad,quad,raggedbottom,raggedright,rangle,%
  495. rbrace,rbrack,rceil,Re,relbar,Relbar,removelastskip,repeat,%
  496. rfloor,rgroup,rho,rhook,rightarrow,Rightarrow,rightarrowfill,%
  497. rightharpoondown,rightharpoonup,rightleftharpoons,rightline,rlap,%
  498. rmoustache,root,rq,S,sb,searrow,sec,setminus,sharp,showhyphens,%
  499. sigma,Sigma,sim,simeq,sin,sinh,skew,slash,smallbreak,smallint,%
  500. smallskip,smallskipamount,smash,smile,sp,space,spadesuit,sqcap,%
  501. sqcup,sqrt,sqsubseteq,sqsupseteq,ss,star,strut,strutbox,subset,%
  502. subseteq,succ,succeq,sum,sup,supset,supseteq,surd,swarrow,t,tan,%
  503. tanh,tau,TeX,theta,Theta,thinspace,tilde,times,to,top,tracingall,%
  504. triangle,triangleleft,triangleright,u,underbar,underbrace,%
  505. uparrow,Uparrow,upbracefill,updownarrow,Updownarrow,uplus,%
  506. upsilon,Upsilon,v,varepsilon,varphi,varpi,varrho,varsigma,%
  507. vartheta,vdash,vdots,vec,vee,vert,Vert,vglue,vphantom,wedge,%
  508. widehat,widetilde,wlog,wp,wr,xi,Xi,zeta}%
  509. }%
  510. \lst@definelanguage[primitive]{TeX}%
  511. {moretexcs={above,abovedisplayshortskip,abovedisplayskip,aftergroup,%
  512. abovewithdelims,accent,adjdemerits,advance,afterassignment,atop,%
  513. atopwithdelims,badness,baselineskip,batchmode,begingroup,%
  514. belowdisplayshortskip,belowdisplayskip,binoppenalty,botmark,box,%
  515. boxmaxdepth,brokenpenalty,catcode,char,chardef,cleaders,closein,%
  516. closeout,clubpenalty,copy,count,countdef,cr,crcr,csname,day,%
  517. deadcycles,def,defaulthyphenchar,defaultskewchar,delcode,%
  518. delimiter,delimiterfactor,delimitershortfall,dimen,dimendef,%
  519. discretionary,displayindent,displaylimits,displaystyle,%
  520. displaywidowpenalty,displaywidth,divide,doublehyphendemerits,dp,%
  521. edef,else,emergencystretch,end,endcsname,endgroup,endinput,%
  522. endlinechar,eqno,errhelp,errmessage,errorcontextlines,%
  523. errorstopmode,escapechar,everycr,everydisplay,everyhbox,everyjob,%
  524. everymath,everypar,everyvbox,exhyphenpenalty,expandafter,fam,fi,%
  525. finalhypendemerits,firstmark,floatingpenalty,font,fontdimen,%
  526. fontname,futurelet,gdef,global,globaldefs,halign,hangafter,%
  527. hangindent,hbadness,hbox,hfil,hfill,hfilneg,hfuzz,hoffset,%
  528. holdinginserts,hrule,hsize,hskip,hss,ht,hyphenation,hyphenchar,%
  529. hyphenpenalty,if,ifcase,ifcat,ifdim,ifeof,iffalse,ifhbox,ifhmode,%
  530. ifinner,ifmmode,ifnum,ifodd,iftrue,ifvbox,ifvmode,ifvoid,ifx,%
  531. ignorespaces,immediate,indent,input,insert,insertpenalties,%
  532. interlinepenalty,jobname,kern,language,lastbox,lastkern,%
  533. lastpenalty,lastskip,lccode,leaders,left,lefthyphenmin,leftskip,%
  534. leqno,let,limits,linepenalty,lineskip,lineskiplimits,long,%
  535. looseness,lower,lowercase,mag,mark,mathaccent,mathbin,mathchar,%
  536. mathchardef,mathchoice,mathclose,mathcode,mathinner,mathop,%
  537. mathopen,mathord,mathpunct,mathrel,mathsurround,maxdeadcycles,%
  538. maxdepth,meaning,medmuskip,message,mkern,month,moveleft,%
  539. moveright,mskip,multiply,muskip,muskipdef,newlinechar,noalign,%
  540. noboundary,noexpand,noindent,nolimits,nonscript,nonstopmode,%
  541. nulldelimiterspace,nullfont,number,omit,openin,openout,or,outer,%
  542. output,outputpenalty,over,overfullrule,overline,overwithdelims,%
  543. pagedepth,pagefilllstretch,pagefillstretch,pagefilstretch,%
  544. pagegoal,pageshrink,pagestretch,pagetotal,par,parfillskip,%
  545. parindent,parshape,parskip,patterns,pausing,penalty,%
  546. postdisplaypenalty,predisplaypenalty,predisplaysize,pretolerance,%
  547. prevdepth,prevgraf,radical,raise,read,relax,relpenalty,right,%
  548. righthyphenmin,rightskip,romannumeral,scriptfont,%
  549. scriptscriptfont,scriptscriptstyle,scriptspace,scriptstyle,%
  550. scrollmode,setbox,setlanguage,sfcode,shipout,show,showbox,%
  551. showboxbreadth,showboxdepth,showlists,showthe,skewchar,skip,%
  552. skipdef,spacefactor,spaceskip,span,special,splitbotmark,%
  553. splitfirstmark,splitmaxdepth,splittopskip,string,tabskip,%
  554. textfont,textstyle,the,thickmuskip,thinmuskip,time,toks,toksdef,%
  555. tolerance,topmark,topskip,tracingcommands,tracinglostchars,%
  556. tracingmacros,tracingonline,tracingoutput,tracingpages,%
  557. tracingparagraphs,tracingrestores,tracingstats,uccode,uchyph,%
  558. underline,unhbox,unhcopy,unkern,unpenalty,unskip,unvbox,unvcopy,%
  559. uppercase,vadjust,valign,vbadness,vbox,vcenter,vfil,vfill,%
  560. vfilneg,vfuzz,voffset,vrule,vsize,vskip,vsplit,vss,vtop,wd,%
  561. widowpenalty,write,xdef,xleaders,xspaceskip,year},%
  562. sensitive,%
  563. alsoother={0123456789$_},%
  564. morecomment=[l]\%%
  565. }[keywords,tex,comments]%
  566. \endinput
  567. %%
  568. %% End of file `lstlang3.sty'.