comparison paper/lstdrvrs.dtx @ 0:aae08d907517

first commit
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Fri, 26 Dec 2014 07:09:22 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:aae08d907517
1 % \iffalse
2 %
3 %<*driver>
4 \documentclass{ltxdoc}
5 \EnableCrossrefs
6 \CodelineIndex
7 \begin{document}
8 \DocInput{lstdrvrs.dtx}
9 \end{document}
10 %</driver>
11 % \fi
12 %
13 %
14 % \DoNotIndex{\[,\{,\},\],\1,\2,\3,\4,\5,\6,\7,\8,\9,\0}
15 % \DoNotIndex{\`,\,,\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_}
16 % \DoNotIndex{\askforoverwritefalse,\askforoverwritetrue,\batchfile}
17 % \DoNotIndex{\begin,\def,\else,\@empty,\end,\endpreamble,\expandafter}
18 % \DoNotIndex{\fi,\file,\from,\gdef,\generate,\ifnum,\ifx,\input}
19 % \DoNotIndex{\keepsilent,\lccode,\let,\lowercase,\preamble,\relax}
20 % \DoNotIndex{\undefined}
21 %
22 %
23 % \title{Language, Style and Format drivers\\ for \textsf{Listings 1.3}\\ {\large by Carsten Heinz and individual authors:}}
24 % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}}
25 % \date{}
26 %
27 % \maketitle
28 %
29 % \newwrite\authors \immediate\openout\authors lstdrvrs.tmp\relax
30 % \gdef\lstthanks#1#2#3{#1\global\let\lstthanks\lstthanksb\lstwrite{#1}}
31 % \gdef\lstthanksb#1#2#3{#1\lstwrite{\string\and\space#1}}
32 % \gdef\lstwrite#1{\begingroup\let~\space\def\"{\string\"}\def\'{\string\'}\immediate\write\authors{#1}\endgroup}
33 %
34 % \newcommand*\lsthelper[4]{#1}
35 %
36 %
37 % \section{Installation and configuration}
38 %
39 % \begingroup
40 % \begin{macrocode}
41 %% The listings package is copyright 1996--2004 Carsten Heinz, and
42 %% continued maintenance on the package is copyright 2006--2007 Brooks Moses.
43 %% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/
44 %% 2007 any individual author listed in this file.
45 %%
46 %% This file is distributed under the terms of the LaTeX Project Public
47 %% License from CTAN archives in directory macros/latex/base/lppl.txt.
48 %% Either version 1.3 or, at your option, any later version.
49 %%
50 %% This file is completely free and comes without any warranty.
51 %%
52 %% Send comments and ideas on the package, error reports and additional
53 %% programming languages to Brooks Moses at <bmoses@dpdx.net>.
54 %%
55 % \end{macrocode}
56 % \endgroup
57 %
58 % \begingroup
59 % \begin{macrocode}
60 %<*install>
61 \input docstrip
62 \preamble
63 \endpreamble
64
65 \ifToplevel{
66 \usedir{tex/latex/listings}
67 \keepsilent
68 \askonceonly
69 }
70
71
72 \generate{
73 \file{lstlang1.sty}{\from{lstdrvrs.dtx}{lang1}}
74 \file{lstlang2.sty}{\from{lstdrvrs.dtx}{lang2}}
75 \file{lstlang3.sty}{\from{lstdrvrs.dtx}{lang3}}
76 }
77
78
79 \ifToplevel{
80 \Msg{*}
81 \Msg{* You probably need to move all created `.sty' and `.cfg'}
82 \Msg{* files into a directory searched by TeX.}
83 \Msg{*}
84 \Msg{* Run `lstdrvrs.dtx' through LaTeX2e to get the documentation.}
85 \Msg{*}
86 }
87
88 \endbatchfile
89 %</install>
90 % \end{macrocode}
91 % \endgroup
92 %
93 % \begingroup
94 % \begin{macrocode}
95 %<*config>
96 % \end{macrocode}
97 % \endgroup
98 % We mainly define default dialects.
99 % \begin{macrocode}
100 \ProvidesFile{listings.cfg}[2007/02/22 1.4 listings configuration]
101 \def\lstlanguagefiles
102 {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty}
103 \lstset{defaultdialect=[R/3 6.10]ABAP,
104 defaultdialect=[2005]Ada,
105 defaultdialect=[68]Algol,
106 defaultdialect=[gnu]Awk,
107 defaultdialect=[ANSI]C,
108 defaultdialect=[light]Caml,
109 defaultdialect=[1985]Cobol,
110 defaultdialect=[WinXP]command.com,
111 defaultdialect=[ISO]C++,
112 defaultdialect=[95]Fortran,
113 defaultdialect=[5.2]Mathematica,
114 defaultdialect=[OMG]OCL,
115 defaultdialect=[Standard]Pascal,
116 defaultdialect=[67]Simula,
117 defaultdialect=[plain]TeX,
118 defaultdialect=[97]VRML}
119 \lstalias[]{TclTk}[tk]{tcl}
120 % \end{macrocode}
121 % And now some shortcuts for the ABAP versions (provided by Knut Lickert).
122 % I (Knut) think the leading R/2, R/3 is not necessary (The support for R/2
123 % is finished). The version number with letter is important for the
124 % runtime-system, but the programming language should be the same
125 % for each version.
126 % \begin{macrocode}
127 \lstalias[6.1]{ABAP}[R/3 6.10]{ABAP}
128 \lstalias[3.1]{ABAP}[R/3 3.1C]{ABAP}
129 \lstalias[4.6]{ABAP}[R/3 4.6C]{ABAP}
130 % \end{macrocode}
131 % \begingroup
132 % \begin{macrocode}
133 %</config>
134 % \end{macrocode}
135 % \endgroup
136 %
137 % \begin{macrocode}
138 %<+lang1>\ProvidesFile{lstlang1.sty}
139 %<+lang2>\ProvidesFile{lstlang2.sty}
140 %<+lang3>\ProvidesFile{lstlang3.sty}
141 %<-config> [2004/09/05 1.3 listings language file]
142 % \end{macrocode}
143 %
144 %
145 % \section{Language drivers}
146 %
147 %
148 % \subsection{Abap}
149 %
150 % \lstthanks{Knut Lickert}{knut.lickert@gmx.de}{2000/08/01,2001/12/29,2002/04/11}
151 % added support for Abap.\footnote{In this section `I' is Knut Lickert.}
152 %
153 % \begingroup
154 % \begin{macrocode}
155 %<*lang2>
156 % \end{macrocode}
157 % \begin{macrocode}
158 %%
159 %% Abap definition by Knut Lickert
160 %%
161 % \end{macrocode}
162 %
163 % There are some other new commands in release 6.10.
164 % They will follow later, but up to now I don't work
165 % with 6.10.
166 %
167 % \begin{macrocode}
168 \lst@definelanguage[R/3 6.10]{ABAP}[R/3 4.6C]{ABAP}%
169 {morekeywords={try,endtry},%
170 }[keywords,comments,strings]
171 % \end{macrocode}
172 % \begin{macrocode}
173 \lst@definelanguage[R/3 4.6C]{ABAP}[R/3 3.1]{ABAP}%
174 {morekeywords={method,ref,class,create,object,%
175 methods,endmethod,private,protected,public,section,%
176 catch,system-exceptions,endcatch,%
177 },%
178 moreprocnamekeys={class},%
179 literate={->}{{$\rightarrow$}}1{=>}{{$\Rightarrow$}}1,%
180 }[keywords,comments,strings,procnames]
181 % \end{macrocode}
182 % Yes there are also some more releases in R/3 (2.1\ldots), but I
183 % know them not really. So let's start with R/3~3.1.
184 % \begin{macrocode}
185 \lst@definelanguage[R/3 3.1]{ABAP}[R/2 5.0]{ABAP}{}%
186 % \end{macrocode}
187 % As I remember all this commands exists in R/2. Many commands are
188 % new in R/2~5.0 (compared with R/2 4.3). But as I am not using
189 % R/2~4.3 any more, I start with R/2~5.0.
190 % \begin{macrocode}
191 \lst@definelanguage[R/2 5.0]{ABAP}%
192 {sensitive=f,%
193 procnamekeys={report,program,form,function,module},%
194 morekeywords={*,add,after,alias,analyzer,and,append,appending,area,assign,at,%
195 authority-check,before,binary,blank,break-point,calendar,call,%
196 case,change,changing,check,clear,cnt,co,collect,commit,common,%
197 component,compute,condense,corresponding,cos,cp,cs,currency-conversion,%
198 cursor,data,database,dataset,decimals,define,delete,deleting,dequeue,%
199 describe,detail,dialog,directory,div,divide,do,documentation,%
200 during,dynpro,else,end-of-page,end-of-selection,endat,endcase,%
201 enddo,endfor,endform,endif,endloop,endmodule,endselect,%
202 endwhile,enqueue,exceptions,exit,exp,export,exporting,extract,%
203 field,fields,field-groups,field-symbols,find,for,form,format,free,%
204 from,function,generating,get,giving,hide,id,if,import,%
205 importing,in,incl,include,initial,initialization,input,insert,%
206 interrupt,into,is,language,leave,leading,left-justified,like,line,lines,line-count,
207 line-selection,list-processing,load,local,log,logfile,loop,%
208 margin,mark,mask,memory,menue,message,mod,modify,module,move,%
209 move-text,multiply,na,new,new-line,new-page,no-gaps,np,ns,%
210 number,obligatory,occurs,of,on,or,others,output,parameter,%
211 parameters,parts,perform,pf-status,places,position,process,%
212 raise,raising,ranges,read,refresh,refresh-dynpro,reject,remote,%
213 replace,report,reserve,reset,restart,right-justified,run,screen,scroll,search,%
214 segments,select,select-options,selection-screen,set,shift,sin,%
215 single,sqrt,start-of-selection,statement,structure,submit,%
216 subtract,summary,summing,suppress,system,table,tables,task,%
217 text,time,to,top-of-page,trace,transaction,transfer,%
218 transfer-dynpro,translate,type,unpack,update,user-command,%
219 using,value,when,where,while,window,with,workfile,write,},%
220 morecomment=[l]",%
221 morecomment=[f][commentstyle][0]*,%
222 morestring=[d]'%
223 }[keywords,comments,strings,procnames]
224 % \end{macrocode}
225 % This section for R/2~4.3 is not really maintained. It is just what I remember
226 % of the past.
227 % \begin{macrocode}
228 \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}%
229 {deletekeywords={function,importing,exporting,changing,exceptions,%
230 raise,raising}%
231 }[keywords,comments,strings]
232 % \end{macrocode}
233 % \begin{macrocode}
234 %</lang2>
235 % \end{macrocode}
236 % \endgroup
237 %
238 %
239 % \subsection{ACSL}
240 %
241 % This language was provided by \lstthanks{Andreas~Matthias}{amat@kabsi.at}
242 % {2000/03/21}. I'm sorry for forgetting to add this language for a long time.
243 % \begingroup
244 % \begin{macrocode}
245 %<*lang1>
246 % \end{macrocode}
247 % \begin{macrocode}
248 %%
249 %% ACSL definition (c) 2000 by Andreas Matthias
250 %%
251 \lst@definelanguage{ACSL}[90]{Fortran}%
252 {morekeywords={algorithm,cinterval,constant,derivative,discrete,%
253 dynamic,errtag,initial,interval,maxterval,minterval,%
254 merror,xerror,nsteps,procedural,save,schedule,sort,%
255 table,terminal,termt,variable},%
256 sensitive=false,%
257 morecomment=[l]!%
258 }[keywords, comments]%
259 % \end{macrocode}
260 % \begin{macrocode}
261 %</lang1>
262 % \end{macrocode}
263 % \endgroup
264 %
265 %
266 % \subsection{Ada}
267 %
268 % Data come from
269 % \begin{itemize}
270 % \item
271 % \textsc{Barnes, John Gilbert Presslie}:
272 % \textbf{Programming in Ada plus language reference manual};
273 % {\copyright} 1991 Addison-Wesley Publishing Company, Inc.;
274 % ISBN 0-201-56539-0.
275 % \end{itemize}
276 % \lstthanks{Torsten~Neuer}{tneuer@inwise.de}{1998/11/23} added support for
277 % Ada 95. I changed the definition to reduce the required string memory.
278 % \begingroup
279 % \begin{macrocode}
280 %<*lang1>
281 % \end{macrocode}
282 % \begin{macrocode}
283 %%
284 %% Ada 95 definition (c) Torsten Neuer
285 %%
286 %% Ada 2005 definition (c) 2006 Santiago Urue\~{n}a Pascual
287 %% <Santiago.Uruena@upm.es>
288 %%
289 \lst@definelanguage[2005]{Ada}[95]{Ada}%
290 {morekeywords={interface,overriding,synchronized}}%
291 % \end{macrocode}
292 % \begin{macrocode}
293 \lst@definelanguage[95]{Ada}[83]{Ada}%
294 {morekeywords={abstract,aliased,protected,requeue,tagged,until}}%
295 % \end{macrocode}
296 % \begin{macrocode}
297 \lst@definelanguage[83]{Ada}%
298 {morekeywords={abort,abs,accept,access,all,and,array,at,begin,body,%
299 case,constant,declare,delay,delta,digits,do,else,elsif,end,entry,%
300 exception,exit,for,function,generic,goto,if,in,is,limited,loop,%
301 mod,new,not,null,of,or,others,out,package,pragma,private,%
302 procedure,raise,range,record,rem,renames,return,reverse,select,%
303 separate,subtype,task,terminate,then,type,use,when,while,with,%
304 xor},%
305 sensitive=f,%
306 morecomment=[l]--,%
307 morestring=[m]",% percent not defined as stringizer so far
308 morestring=[m]'%
309 }[keywords,comments,strings]%
310 % \end{macrocode}
311 % \begin{macrocode}
312 %</lang1>
313 % \end{macrocode}
314 % \endgroup
315 %
316 %
317 % \subsection{Algol}
318 %
319 % Data come from
320 % \begin{itemize}
321 % \item
322 % \textsc{Uwe Pape}:
323 % \textbf{Programmieren in ALGOL 60};
324 % {\copyright} 1973 Carl Hanser Verlag M\"unchen;
325 % ISBN 3-446-11605-2
326 % \item
327 % \textsc{Frank G.\ Pagan}:
328 % \textbf{A practical guide to ALGOL 68};
329 % {\copyright} 1976 by John Wiley $\&$ Sohn Ltd.;
330 % ISBN 0-471-65746-8 (Cloth); ISBN 0-471-65747-6 (Pbk).
331 % \end{itemize}
332 % The definition of Algol 68 doesn't support comments enclosed by \rlap{/}c.
333 % \begingroup
334 % \begin{macrocode}
335 %<*lang3>
336 % \end{macrocode}
337 % \begin{macrocode}
338 \lst@definelanguage[68]{Algol}%
339 % ??? should 'i' be a keyword
340 {morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,%
341 char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,%
342 end,entier,eq,esac,exit,false,fi,file,flex,for,format,from,ge,%
343 goto,gt,heap,if,im,in,int,is,isnt,le,leng,level,loc,long,lt,lwb,%
344 minusab,mod,modab,mode,ne,nil,not,od,odd,of,op,or,ouse,out,over,%
345 overab,par,plusab,plusto,pr,pragmat,prio,proc,re,real,ref,repr,%
346 round,sema,shl,short,shorten,shr,sign,skip,string,struct,then,%
347 timesab,to,true,union,up,upb,void,while},%
348 sensitive=f,% ???
349 morecomment=[s]{\#}{\#},%
350 keywordcomment={co,comment}%
351 }[keywords,comments,keywordcomments]%
352 % \end{macrocode}
353 % \begin{macrocode}
354 \lst@definelanguage[60]{Algol}%
355 {morekeywords={array,begin,Boolean,code,comment,div,do,else,end,%
356 false,for,goto,if,integer,label,own,power,procedure,real,step,%
357 string,switch,then,true,until,value,while},%
358 sensitive=f,% ???
359 keywordcommentsemicolon={end}{else,end}{comment}%
360 }[keywords,keywordcomments]%
361 %</lang3>
362 % \end{macrocode}
363 % \endgroup
364 %
365 %
366 % \subsection{Assembler}
367 %
368 % Credits go to \lstthanks{Michael~Franke}{-}{2006/05/13}.
369 % \begingroup
370 % \begin{macrocode}
371 %<*lang3>
372 %%
373 %% Motorola 68K definition (c) 2006 Michael Franke
374 %%
375 \lst@definelanguage[Motorola68k]{Assembler}%
376 {morekeywords={ABCD,ADD,%
377 ADDA,ADDI,ADDQ,ADDX,AND,ANDI,ASL,ASR,BCC,BLS,BCS,BLT,BEQ,BMI,BF,BNE,BGE,BPL,%
378 BGT,BT,BHI,BVC,BLE,BVS,BCHG,BCLR,BRA,BSET,BSR,BTST,CHK,CLR,CMP,CMPA,CMPI,CMPM,%
379 DBCC,DBLS,DBCS,DBLT,DBEQ,DBMI,DBF,DBNE,DBGE,DBPL,DBGT,DBT,DBHI,DBVC,DBLE,DBVS,DIVS,%
380 DIVU,EOR,EORI,EXG,EXT,ILLEGAL,JMP,JSR,LEA,LINK,LSL,LSR,MOVE,MOVEA,MOVEM,MOVEP,MOVEQ,%
381 MULS,MULU,NBCD,NEG,NEGX,NOP,NOT,OR,ORI,PEA,RESET,ROL,ROR,ROXL,ROXR,RTE,RTR,RTS,SBCD,%
382 SCC,SLS,SCS,SLT,SEQ,SMI,SF,SNE,SGE,SPL,SGT,ST,SHI,SVC,SLE,SVS,STOP,SUB,SUBA,SUBI,SUBQ,%
383 SUBX,SWAP,TAS,TRAP,TRAPV,TST,UNLK},%
384 sensitive=false,%
385 morecomment=[l]*,%
386 morecomment=[l];%
387 }[keywords,comments,strings]
388 %</lang3>
389 % \end{macrocode}
390 %
391 % Credits go to \lstthanks{Andrew~Zabolotny}{zap@cobra.ru}{2002/07/05}.
392 % \begingroup
393 % \begin{macrocode}
394 %<*lang3>
395 %%
396 %% x86masm definition (c) 2002 Andrew Zabolotny
397 %%
398 \lst@definelanguage[x86masm]{Assembler}%
399 {morekeywords={al,ah,ax,eax,bl,bh,bx,ebx,cl,ch,cx,ecx,dl,dh,dx,edx,%
400 si,esi,di,edi,bp,ebp,sp,esp,cs,ds,es,ss,fs,gs,cr0,cr1,cr2,cr3,%
401 db0,db1,db2,db3,db4,db5,db6,db7,tr0,tr1,tr2,tr3,tr4,tr5,tr6,tr7,%
402 st,aaa,aad,aam,aas,adc,add,and,arpl,bound,bsf,bsr,bswap,bt,btc,%
403 btr,bts,call,cbw,cdq,clc,cld,cli,clts,cmc,cmp,cmps,cmpsb,cmpsw,%
404 cmpsd,cmpxchg,cwd,cwde,daa,das,dec,div,enter,hlt,idiv,imul,in,%
405 inc,ins,int,into,invd,invlpg,iret,ja,jae,jb,jbe,jc,jcxz,jecxz,%
406 je,jg,jge,jl,jle,jna,jnae,jnb,jnbe,jnc,jne,jng,jnge,jnl,jnle,%
407 jno,jnp,jns,jnz,jo,jp,jpe,jpo,js,jz,jmp,lahf,lar,lea,leave,lgdt,%
408 lidt,lldt,lmsw,lock,lods,lodsb,lodsw,lodsd,loop,loopz,loopnz,%
409 loope,loopne,lds,les,lfs,lgs,lss,lsl,ltr,mov,movs,movsb,movsw,%
410 movsd,movsx,movzx,mul,neg,nop,not,or,out,outs,pop,popa,popad,%
411 popf,popfd,push,pusha,pushad,pushf,pushfd,rcl,rcr,rep,repe,%
412 repne,repz,repnz,ret,retf,rol,ror,sahf,sal,sar,sbb,scas,seta,%
413 setae,setb,setbe,setc,sete,setg,setge,setl,setle,setna,setnae,%
414 setnb,setnbe,setnc,setne,setng,setnge,setnl,setnle,setno,setnp,%
415 setns,setnz,seto,setp,setpe,setpo,sets,setz,sgdt,shl,shld,shr,%
416 shrd,sidt,sldt,smsw,stc,std,sti,stos,stosb,stosw,stosd,str,sub,%
417 test,verr,verw,wait,wbinvd,xadd,xchg,xlatb,xor,fabs,fadd,fbld,%
418 fbstp,fchs,fclex,fcom,fcos,fdecstp,fdiv,fdivr,ffree,fiadd,ficom,%
419 fidiv,fidivr,fild,fimul,fincstp,finit,fist,fisub,fisubr,fld,fld1,%
420 fldl2e,fldl2t,fldlg2,fldln2,fldpi,fldz,fldcw,fldenv,fmul,fnop,%
421 fpatan,fprem,fprem1,fptan,frndint,frstor,fsave,fscale,fsetpm,%
422 fsin,fsincos,fsqrt,fst,fstcw,fstenv,fstsw,fsub,fsubr,ftst,fucom,%
423 fwait,fxam,fxch,fxtract,fyl2x,fyl2xp1,f2xm1},%
424 morekeywords=[2]{.align,.alpha,assume,byte,code,comm,comment,.const,%
425 .cref,.data,.data?,db,dd,df,dosseg,dq,dt,dw,dword,else,end,endif,%
426 endm,endp,ends,eq,equ,.err,.err1,.err2,.errb,.errdef,.errdif,%
427 .erre,.erridn,.errnb,.errndef,.errnz,event,exitm,extrn,far,%
428 .fardata,.fardata?,fword,ge,group,gt,high,if,if1,if2,ifb,ifdef,%
429 ifdif,ife,ifidn,ifnb,ifndef,include,includelib,irp,irpc,label,%
430 .lall,le,length,.lfcond,.list,local,low,lt,macro,mask,mod,.model,%
431 name,ne,near,offset,org,out,page,proc,ptr,public,purge,qword,.%
432 radix,record,rept,.sall,seg,segment,.seq,.sfcond,short,size,%
433 .stack,struc,subttl,tbyte,.tfcond,this,title,type,.type,width,%
434 word,.xall,.xcref,.xlist},%
435 alsoletter=.,alsodigit=?,%
436 sensitive=f,%
437 morestring=[b]",%
438 morestring=[b]',%
439 morecomment=[l];%
440 }[keywords,comments,strings]
441 %</lang3>
442 % \end{macrocode}
443 % \endgroup
444 %
445 %
446 % \subsection{Awk}
447 %
448 % Thanks to \lstthanks{Dr.~Christoph~Giess}{Ch.Giess@gmx.de}{2003/07/15} for
449 % providing these definitions.
450 % \begingroup
451 % \begin{macrocode}
452 %<*lang1>
453 %%
454 %% awk definitions (c) Christoph Giess
455 %%
456 \lst@definelanguage[gnu]{Awk}[POSIX]{Awk}%
457 {morekeywords={and,asort,bindtextdomain,compl,dcgettext,gensub,%
458 lshift,mktime,or,rshift,strftime,strtonum,systime,xor,extension}%
459 }%
460 % \end{macrocode}
461 % \begin{macrocode}
462 \lst@definelanguage[POSIX]{Awk}%
463 {keywords={BEGIN,END,close,getline,next,nextfile,print,printf,%
464 system,fflush,atan2,cos,exp,int,log,rand,sin,sqrt,srand,gsub,%
465 index,length,match,split,sprintf,strtonum,sub,substr,tolower,%
466 toupper,if,while,do,for,break,continue,delete,exit,function,%
467 return},%
468 sensitive,%
469 morecomment=[l]\#,%
470 morecomment=[l]//,%
471 morecomment=[s]{/*}{*/},%
472 morestring=[b]"%
473 }[keywords,comments,strings]%
474 %</lang1>
475 % \end{macrocode}
476 % \endgroup
477 %
478 %
479 % \subsection{Basic}
480 %
481 % Credits go to \lstthanks{Robert Frank}{rf7@ukc.ac.uk}{2002/07/05}.
482 % \begingroup
483 % \begin{macrocode}
484 %<*lang1>
485 %%
486 %% Visual Basic definition (c) 2002 Robert Frank
487 %%
488 \lst@definelanguage[Visual]{Basic}
489 {morekeywords={Abs,Array,Asc,AscB,AscW,Atn,Avg,CBool,CByte,CCur,%
490 CDate,CDbl,Cdec,Choose,Chr,ChrB,ChrW,CInt,CLng,Command,Cos,%
491 Count,CreateObject,CSng,CStr,CurDir,CVar,CVDate,CVErr,Date,%
492 DateAdd,DateDiff,DatePart,DateSerial,DateValue,Day,DDB,Dir,%
493 DoEvents,Environ,EOF,Error,Exp,FileAttr,FileDateTime,FileLen,%
494 Fix,Format,FreeFile,FV,GetAllStrings,GetAttr,%
495 GetAutoServerSettings,GetObject,GetSetting,Hex,Hour,IIf,%
496 IMEStatus,Input,InputB,InputBox,InStr,InstB,Int,Integer,IPmt,%
497 IsArray,IsDate,IsEmpty,IsError,IsMissing,IsNull,IsNumeric,%
498 IsObject,LBound,LCase,Left,LeftB,Len,LenB,LoadPicture,Loc,LOF,%
499 Log,Ltrim,Max,Mid,MidB,Min,Minute,MIRR,Month,MsgBox,Now,NPer,%
500 NPV,Oct,Partition,Pmt,PPmt,PV,QBColor,Rate,RGB,Right,RightB,Rnd,%
501 Rtrim,Second,Seek,Sgn,Shell,Sin,SLN,Space,Spc,Sqr,StDev,StDevP,%
502 Str,StrComp,StrConv,String,Switch,Sum,SYD,Tab,Tan,Time,Timer,%
503 TimeSerial,TimeValue,Trim,TypeName,UBound,Ucase,Val,Var,VarP,%
504 VarType,Weekday,Year},% functions
505 morekeywords=[2]{Accept,Activate,Add,AddCustom,AddFile,AddFromFile,%
506 AddFromTemplate,AddItem,AddNew,AddToAddInToolbar,%
507 AddToolboxProgID,Append,AppendChunk,Arrange,Assert,AsyncRead,%
508 BatchUpdate,BeginTrans,Bind,Cancel,CancelAsyncRead,CancelBatch,%
509 CancelUpdate,CanPropertyChange,CaptureImage,CellText,CellValue,%
510 Circle,Clear,ClearFields,ClearSel,ClearSelCols,Clone,Close,Cls,%
511 ColContaining,ColumnSize,CommitTrans,CompactDatabase,Compose,%
512 Connect,Copy,CopyQueryDef,CreateDatabase,CreateDragImage,%
513 CreateEmbed,CreateField,CreateGroup,CreateIndex,CreateLink,%
514 CreatePreparedStatement,CreatePropery,CreateQuery,%
515 CreateQueryDef,CreateRelation,CreateTableDef,CreateUser,%
516 CreateWorkspace,Customize,Delete,DeleteColumnLabels,%
517 DeleteColumns,DeleteRowLabels,DeleteRows,DoVerb,Drag,Draw,Edit,%
518 EditCopy,EditPaste,EndDoc,EnsureVisible,EstablishConnection,%
519 Execute,ExtractIcon,Fetch,FetchVerbs,Files,FillCache,Find,%
520 FindFirst,FindItem,FindLast,FindNext,FindPrevious,Forward,%
521 GetBookmark,GetChunk,GetClipString,GetData,GetFirstVisible,%
522 GetFormat,GetHeader,GetLineFromChar,GetNumTicks,GetRows,%
523 GetSelectedPart,GetText,GetVisibleCount,GoBack,GoForward,Hide,%
524 HitTest,HoldFields,Idle,InitializeLabels,InsertColumnLabels,%
525 InsertColumns,InsertObjDlg,InsertRowLabels,InsertRows,Item,%
526 KillDoc,Layout,Line,LinkExecute,LinkPoke,LinkRequest,LinkSend,%
527 Listen,LoadFile,LoadResData,LoadResPicture,LoadResString,%
528 LogEvent,MakeCompileFile,MakeReplica,MoreResults,Move,MoveData,%
529 MoveFirst,MoveLast,MoveNext,MovePrevious,NavigateTo,NewPage,%
530 NewPassword,NextRecordset,OLEDrag,OnAddinsUpdate,OnConnection,%
531 OnDisconnection,OnStartupComplete,Open,OpenConnection,%
532 OpenDatabase,OpenQueryDef,OpenRecordset,OpenResultset,OpenURL,%
533 Overlay,PaintPicture,Paste,PastSpecialDlg,PeekData,Play,Point,%
534 PopulatePartial,PopupMenu,Print,PrintForm,PropertyChanged,Pset,%
535 Quit,Raise,RandomDataFill,RandomFillColumns,RandomFillRows,%
536 rdoCreateEnvironment,rdoRegisterDataSource,ReadFromFile,%
537 ReadProperty,Rebind,ReFill,Refresh,RefreshLink,RegisterDatabase,%
538 Reload,Remove,RemoveAddInFromToolbar,RemoveItem,Render,%
539 RepairDatabase,Reply,ReplyAll,Requery,ResetCustom,%
540 ResetCustomLabel,ResolveName,RestoreToolbar,Resync,Rollback,%
541 RollbackTrans,RowBookmark,RowContaining,RowTop,Save,SaveAs,%
542 SaveFile,SaveToFile,SaveToolbar,SaveToOle1File,Scale,ScaleX,%
543 ScaleY,Scroll,Select,SelectAll,SelectPart,SelPrint,Send,%
544 SendData,Set,SetAutoServerSettings,SetData,SetFocus,SetOption,%
545 SetSize,SetText,SetViewport,Show,ShowColor,ShowFont,ShowHelp,%
546 ShowOpen,ShowPrinter,ShowSave,ShowWhatsThis,SignOff,SignOn,Size,%
547 Span,SplitContaining,StartLabelEdit,StartLogging,Stop,%
548 Synchronize,TextHeight,TextWidth,ToDefaults,TwipsToChartPart,%
549 TypeByChartType,Update,UpdateControls,UpdateRecord,UpdateRow,%
550 Upto,WhatsThisMode,WriteProperty,ZOrder},% methods
551 morekeywords=[3]{AccessKeyPress,AfterAddFile,AfterChangeFileName,%
552 AfterCloseFile,AfterColEdit,AfterColUpdate,AfterDelete,%
553 AfterInsert,AfterLabelEdit,AfterRemoveFile,AfterUpdate,%
554 AfterWriteFile,AmbienChanged,ApplyChanges,Associate,%
555 AsyncReadComplete,AxisActivated,AxisLabelActivated,%
556 AxisLabelSelected,AxisLabelUpdated,AxisSelected,%
557 AxisTitleActivated,AxisTitleSelected,AxisTitleUpdated,%
558 AxisUpdated,BeforeClick,BeforeColEdit,BeforeColUpdate,%
559 BeforeConnect,BeforeDelete,BeforeInsert,BeforeLabelEdit,%
560 BeforeLoadFile,BeforeUpdate,ButtonClick,ButtonCompleted,%
561 ButtonGotFocus,ButtonLostFocus,Change,ChartActivated,%
562 ChartSelected,ChartUpdated,Click,ColEdit,Collapse,ColResize,%
563 ColumnClick,Compare,ConfigChageCancelled,ConfigChanged,%
564 ConnectionRequest,DataArrival,DataChanged,DataUpdated,DblClick,%
565 Deactivate,DeviceArrival,DeviceOtherEvent,DeviceQueryRemove,%
566 DeviceQueryRemoveFailed,DeviceRemoveComplete,DeviceRemovePending,%
567 DevModeChange,Disconnect,DisplayChanged,Dissociate,%
568 DoGetNewFileName,Done,DonePainting,DownClick,DragDrop,DragOver,%
569 DropDown,EditProperty,EnterCell,EnterFocus,Event,ExitFocus,%
570 Expand,FootnoteActivated,FootnoteSelected,FootnoteUpdated,%
571 GotFocus,HeadClick,InfoMessage,Initialize,IniProperties,%
572 ItemActivated,ItemAdded,ItemCheck,ItemClick,ItemReloaded,%
573 ItemRemoved,ItemRenamed,ItemSeletected,KeyDown,KeyPress,KeyUp,%
574 LeaveCell,LegendActivated,LegendSelected,LegendUpdated,%
575 LinkClose,LinkError,LinkNotify,LinkOpen,Load,LostFocus,%
576 MouseDown,MouseMove,MouseUp,NodeClick,ObjectMove,%
577 OLECompleteDrag,OLEDragDrop,OLEDragOver,OLEGiveFeedback,%
578 OLESetData,OLEStartDrag,OnAddNew,OnComm,Paint,PanelClick,%
579 PanelDblClick,PathChange,PatternChange,PlotActivated,%
580 PlotSelected,PlotUpdated,PointActivated,PointLabelActivated,%
581 PointLabelSelected,PointLabelUpdated,PointSelected,%
582 PointUpdated,PowerQuerySuspend,PowerResume,PowerStatusChanged,%
583 PowerSuspend,QueryChangeConfig,QueryComplete,QueryCompleted,%
584 QueryTimeout,QueryUnload,ReadProperties,Reposition,%
585 RequestChangeFileName,RequestWriteFile,Resize,ResultsChanged,%
586 RowColChange,RowCurrencyChange,RowResize,RowStatusChanged,%
587 SelChange,SelectionChanged,SendComplete,SendProgress,%
588 SeriesActivated,SeriesSelected,SeriesUpdated,SettingChanged,%
589 SplitChange,StateChanged,StatusUpdate,SysColorsChanged,%
590 Terminate,TimeChanged,TitleActivated,TitleSelected,%
591 TitleActivated,UnboundAddData,UnboundDeleteRow,%
592 UnboundGetRelativeBookmark,UnboundReadData,UnboundWriteData,%
593 Unload,UpClick,Updated,Validate,ValidationError,WillAssociate,%
594 WillChangeData,WillDissociate,WillExecute,WillUpdateRows,%
595 WithEvents,WriteProperties},% VB-events
596 morekeywords=[4]{AppActivate,Base,Beep,Call,Case,ChDir,ChDrive,%
597 Const,Declare,DefBool,DefByte,DefCur,DefDate,DefDbl,DefDec,%
598 DefInt,DefLng,DefObj,DefSng,DefStr,Deftype,DefVar,DeleteSetting,%
599 Dim,Do,Else,ElseIf,End,Enum,Erase,Event,Exit,Explicit,FileCopy,%
600 For,ForEach,Friend,Function,Get,GoSub,GoTo,If,Implements,Kill,%
601 Let,LineInput,Lock,Lset,MkDir,Name,Next,OnError,On,Option,%
602 Private,Property,Public,Put,RaiseEvent,Randomize,ReDim,Rem,%
603 Reset,Resume,Return,RmDir,Rset,SavePicture,SaveSetting,%
604 SendKeys,SetAttr,Static,Sub,Then,Type,Unlock,Wend,While,Width,%
605 With,Write},% statements
606 sensitive=false,%
607 keywordcomment=rem,%
608 MoreSelectCharTable=\def\lst@BeginKC@{% chmod
609 \lst@ResetToken
610 \lst@BeginComment\lst@GPmode{{\lst@commentstyle}%
611 \lst@Lmodetrue\lst@modetrue}\@empty},%
612 morecomment=[l]{'},%
613 morecomment=[s]{/*}{*/},%
614 morestring=[b]",%
615 }[keywords,comments,strings,keywordcomments]
616 %</lang1>
617 % \end{macrocode}
618 % Thanks to \lsthelper{Jonathan~de~Halleux}{dehalleux@pelikhan.com}
619 % {2002/12/27}{missing comma} for reporting a missing comma after
620 % \texttt{MoreSelectCharTable}, which was the cause of a problem
621 % reported by \lsthelper{Robert~Frank}{rf7@ukc.ac.uk}{2002/10/27}
622 % {indention with language={[Visual]Basic} in optional argument}.
623 % \lsthelper{Martina~Hansel}{Martina.Hansel@fhtw-berlin.de}{2003/05/29}
624 % {missing comma} also found the bug and the fix.
625 % \endgroup
626 %
627 %
628 % \subsection{Clean}
629 %
630 % Thanks to \lstthanks{Jos\'e~Romildo~Malaquias}{romildo@iceb.ufop.br}{2000/08/08}.
631 % \lsthelper{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12}{missing comma}
632 % found a missing comma
633 % \begingroup
634 % \begin{macrocode}
635 %<*lang3>
636 %%
637 %% Clean definition (c) 1999 Jos\'e Romildo Malaquias
638 %%
639 %% Clean 1.3 : some standard functional language: pure, lazy,
640 %% polymorphic type system, modules, type classes,
641 %% garbage collection, functions as first class citizens
642 %%
643 \lst@definelanguage{Clean}%
644 {otherkeywords={:,::,=,:==,=:,=>,->,<-,<-:,\{,\},\{|,|\},\#,\#!,|,\&,%
645 [,],!,.,\\\\,;,_},%
646 morekeywords={from,definition,implementation,import,module,system,%
647 case,code,if,in,let,let!,of,where,with,infix,infixl,infixr},%
648 morendkeywords={True,False,Start,Int,Real,Char,Bool,String,World,%
649 File,ProcId},%
650 sensitive,%
651 morecomment=[l]//,% missing comma: Markus Pahlow
652 morecomment=[n]{/*}{*/},%
653 morestring=[b]"%
654 }[keywords,comments,strings]%
655 %</lang3>
656 % \end{macrocode}
657 % \endgroup
658 %
659 %
660 % \subsection{Corba IDL}
661 %
662 % This language definition is due to \lstthanks{Jens~T.~Berger~Thielemann}
663 % {jensthi@ifi.uio.no}{1999/11/28}.
664 % \begingroup
665 % \begin{macrocode}
666 %<*lang2>
667 %%
668 %% Corba IDL definition (c) 1999 Jens T. Berger Thielemann
669 %%
670 \lst@definelanguage[CORBA]{IDL}%
671 {morekeywords={any,attribute,boolean,case,char,const,context,default,%
672 double,enum,exception,fixed,float,in,inout,interface,long,module,%
673 native,Object,octet,oneway,out,raises,readonly,sequence,short,%
674 string,struct,switch,typedef,union,unsigned,void,wchar,wstring,%
675 FALSE,TRUE},%
676 sensitive,%
677 moredirectives={define,elif,else,endif,error,if,ifdef,ifndef,line,%
678 include,pragma,undef,warning},%
679 moredelim=*[directive]\#,%
680 morecomment=[l]//,%
681 morecomment=[s]{/*}{*/},%
682 morestring=[b]"%
683 }[keywords,comments,strings,directives]%
684 %</lang2>
685 % \end{macrocode}
686 % \endgroup
687 %
688 %
689 % \subsection{C, C++, et al}
690 %
691 % \begingroup
692 % \begin{macrocode}
693 %<*lang1>
694 % \end{macrocode}
695 % For compatibility the `ANSI' language is defined in terms of ISO.
696 % \begin{macrocode}
697 \lst@definelanguage[ANSI]{C++}[ISO]{C++}{}%
698 % \end{macrocode}
699 % \lstthanks{Michael Piefel}{piefel@informatik.hu-berlin.de}{2001/11/21}
700 % suggested some more changes and added GNU C++.
701 % \begin{macrocode}
702 \lst@definelanguage[GNU]{C++}[ISO]{C++}%
703 {morekeywords={__attribute__,__extension__,__restrict,__restrict__,%
704 typeof,__typeof__},%
705 }%
706 % \end{macrocode}
707 % \begin{macrocode}
708 \lst@definelanguage[Visual]{C++}[ISO]{C++}%
709 {morekeywords={__asm,__based,__cdecl,__declspec,dllexport,%
710 dllimport,__except,__fastcall,__finally,__inline,__int8,__int16,%
711 __int32,__int64,naked,__stdcall,thread,__try,__leave},%
712 }%
713 % \end{macrocode}
714 % \begin{macrocode}
715 \lst@definelanguage[ISO]{C++}[ANSI]{C}%
716 {morekeywords={and,and_eq,asm,bad_cast,bad_typeid,bitand,bitor,bool,%
717 catch,class,compl,const_cast,delete,dynamic_cast,explicit,export,%
718 false,friend,inline,mutable,namespace,new,not,not_eq,operator,or,%
719 or_eq,private,protected,public,reinterpret_cast,static_cast,%
720 template,this,throw,true,try,typeid,type_info,typename,using,%
721 virtual,wchar_t,xor,xor_eq},%
722 }%
723 % \end{macrocode}
724 % \begin{macrocode}
725 %</lang1>
726 % \end{macrocode}
727 % \endgroup
728 %
729 % Objective-C is due to \lstthanks{Detlev~Dr\"oge}
730 %{droege@informatik.uni-koblenz.de}{1997/11/04}.
731 % \begingroup
732 % \begin{macrocode}
733 %<*lang1>
734 % \end{macrocode}
735 % \begin{macrocode}
736 %%
737 %% Objective-C definition (c) 1997 Detlev Droege
738 %%
739 \lst@definelanguage[Objective]{C}[ANSI]{C}
740 {morekeywords={bycopy,id,in,inout,oneway,out,self,super,%
741 @class,@defs,@encode,@end,@implementation,@interface,@private,%
742 @protected,@protocol,@public,@selector},%
743 moredirectives={import}%
744 }%
745 % \end{macrocode}
746 % \begin{macrocode}
747 %</lang1>
748 % \end{macrocode}
749 % \endgroup
750 %
751 %
752 % \lstthanks{J\"org~Viermann}{}{2004/07/17} provided the keywords for Handel-C.
753 % \begingroup
754 % \begin{macrocode}
755 %<*lang1>
756 % \end{macrocode}
757 % \begin{macrocode}
758 %%
759 %% Handel-C definition, refer http://www.celoxica.com
760 %%
761 \lst@definelanguage[Handel]{C}[ANSI]{C}
762 {morekeywords={assert,chan,chanin,chanout,clock,delay,expr,external,%
763 external_divide,family,ifselect,in,inline,interface,internal,%
764 internal_divid,intwidth,let,macro,mpram,par,part,prialt,proc,ram,%
765 releasesema,reset,rom,select,sema,set,seq,shared,signal,try,%
766 reset,trysema,typeof,undefined,width,with,wom},%
767 }%
768 % \end{macrocode}
769 % \begin{macrocode}
770 %</lang1>
771 % \end{macrocode}
772 % \endgroup
773 %
774 %
775 % \begingroup
776 % \begin{macrocode}
777 %<*lang1>
778 % \end{macrocode}
779 % \begin{macrocode}
780 \lst@definelanguage[ANSI]{C}%
781 {morekeywords={auto,break,case,char,const,continue,default,do,double,%
782 else,enum,extern,float,for,goto,if,int,long,register,return,%
783 short,signed,sizeof,static,struct,switch,typedef,union,unsigned,%
784 void,volatile,while},%
785 sensitive,%
786 morecomment=[s]{/*}{*/},%
787 morecomment=[l]//,% nonstandard
788 morestring=[b]",%
789 morestring=[b]',%
790 moredelim=*[directive]\#,%
791 moredirectives={define,elif,else,endif,error,if,ifdef,ifndef,line,%
792 include,pragma,undef,warning}%
793 }[keywords,comments,strings,directives]%
794 % \end{macrocode}
795 % \begin{macrocode}
796 %</lang1>
797 % \end{macrocode}
798 % \endgroup
799 %
800 % \begingroup
801 % \begin{macrocode}
802 %<*lang1>
803 % \end{macrocode}
804 % Thanks go to \lstthanks{Martin~Brodbeck}{Martin.Brodbeck@gmx.de}{2002/03/17}.
805 % \begin{macrocode}
806 %%
807 %% C-Sharp definition (c) 2002 Martin Brodbeck
808 %%
809 \lst@definelanguage[Sharp]{C}%
810 {morekeywords={abstract,base,bool,break,byte,case,catch,char,checked,%
811 class,const,continue,decimal,default,delegate,do,double,else,%
812 enum,event,explicit,extern,false,finally,fixed,float,for,foreach,%
813 goto,if,implicit,in,int,interface,internal,is,lock,long,%
814 namespace,new,null,object,operator,out,override,params,private,%
815 protected,public,readonly,ref,return,sbyte,sealed,short,sizeof,%
816 static,string,struct,switch,this,throw,true,try,typeof,uint,%
817 ulong,unchecked,unsafe,ushort,using,virtual,void,while,%
818 as,volatile,stackalloc},% Kai K\"ohne
819 sensitive,%
820 morecomment=[s]{/*}{*/},%
821 morecomment=[l]//,%
822 morestring=[b]"
823 }[keywords,comments,strings]%
824 % \end{macrocode}
825 % \begin{macrocode}
826 %</lang1>
827 % \end{macrocode}
828 % \endgroup
829 %
830 %
831 % \subsection{Caml and Objective Caml}
832 %
833 % \lstthanks{Patrick~Cousot}{Patrick.Cousot@wanadoo.fr}{1999/01/09} mailed me
834 % the definition. \lsthelper{Tom~Hirschowitz}{tom.hirschowitz@inria.fr}
835 % {2003/05/27}{missing keywords: object, ref} added two keywords.
836 % \begingroup
837 % \begin{macrocode}
838 %<*lang2>
839 % \end{macrocode}
840 % \begin{macrocode}
841 %%
842 %% (Objective) Caml definition (c) 1999 Patrick Cousot
843 %%
844 %% Objective CAML and Caml light are freely available, together with a
845 %% reference manual, at URL ftp.inria.fr/lang/caml-light for the Unix,
846 %% Windows and Macintosh OS operating systems.
847 %%
848 \lst@definelanguage[Objective]{Caml}[light]{Caml}
849 {deletekeywords={not,prefix,value,where},%
850 morekeywords={assert,asr,class,closed,constraint,external,false,%
851 functor,include,inherit,land,lazy,lor,lsl,lsr,lxor,method,mod,%
852 module,new,open,parser,private,sig,struct,true,val,virtual,when,%
853 object,ref},% TH
854 }%
855 % \end{macrocode}
856 % \begin{macrocode}
857 \lst@definelanguage[light]{Caml}
858 {morekeywords={and,as,begin,do,done,downto,else,end,exception,for,%
859 fun,function,if,in,let,match,mutable,not,of,or,prefix,rec,then,%
860 to,try,type,value,where,while,with},%
861 sensitive,%
862 morecomment=[n]{(*}{*)},%
863 morestring=[b]",%
864 moredelim=*[directive]\#,%
865 moredirectives={open,close,include}%
866 }[keywords,comments,strings,directives]%
867 % \end{macrocode}
868 % \begin{macrocode}
869 %</lang2>
870 % \end{macrocode}
871 % \endgroup
872 %
873 %
874 % \subsection{Common Intermediate Language}
875 %
876 % This langauge definition for CIL (Common Intermediate Language, part
877 % of Microsoft's .NET interface) was provided by
878 % \lsthelper{Olaf~Conradi}{-}{2006/08/23}.
879 %
880 % \begingroup
881 % \begin{macrocode}
882 %<*lang3>
883 % \end{macrocode}
884 % \begin{macrocode}
885 \lstdefinelanguage{CIL}%
886 {morekeywords=[1]{assembly,beforefieldinit,class,default,cdecl,cil,corflags,%
887 culture,custom,data,entrypoint,fastcall,field,file,%
888 hidebysig,hash,il,imagebase,locals,managed,marshall,%
889 maxstack,mresource,method,module,namespace,publickey,%
890 stdcall,subsystem,thiscall,unmanaged,vararg,ver,vtfixup,%
891 % types
892 bool,char,float32,float64,int,int8,int16,int32,%
893 int64,method,native,object,string,modopt,modreq,pinned,%
894 typedref,valuetype,unsigned,void,%
895 % defining types
896 abstract,ansi,auto,autochar,beforefieldinit,boxed,class,%
897 explicit,extends,implements,interface,famandassem,family,%
898 famorassem,inherits,nested,override,pack,private,property,%
899 public,rtspecialname,sealed,sequential,serializable,size,%
900 specialname,static,unicode,%
901 % postfix
902 algorithm,alignment,extern,init,from,nometadata,with},%
903 morekeywords=[2]{add,and,arglist,beq,bge,bgt,ble,blt,bne,br,break,brfalse,%
904 brtrue,call,calli,ceq,cgt,ckfinite,clt,conv,cpblk,div,%
905 dup,endfilter,endfinally,initblk,jmp,ldarg,ldarga,ldc,%
906 ldftn,ldind,ldloc,ldloca,ldnull,leave,localloc,mul,neg,%
907 nop,not,or,pop,rem,ret,shl,shr,starg,stind,stloc,sub,%
908 switch,xor,%
909 % prefix
910 tail,unaligned,volatile,%
911 % postfix
912 un,s,ovf,%
913 % object
914 box,callvirt,castclass,cpobj,cctor,ctor,initobj,isinst,%
915 ldelem,ldelema,ldfld,ldflda,ldlen,ldobj,ldsfld,ldsflda,%
916 ldstr,ldtoken,ldvirtftn,mkrefany,newarr,newobj,refanytype,%
917 refanyval,rethrow,sizeof,stelem,stfld,stobj,stsfld,throw,%
918 unbox},%
919 sensitive=true,%
920 morecomment=[l]{//},%
921 morestring=[b]"%
922 }[keywords,comments,strings]%
923 % \end{macrocode}
924 % \begin{macrocode}
925 %</lang3>
926 % \end{macrocode}
927 % \endgroup
928 %
929 %
930 % \subsection{Cobol}
931 %
932 % Keywords are not marked if their names are broken by EOL, for example DEBUG-
933 % CONTENTS. Sometimes portions of a string are not printed as a string.
934 % This happens if the double quote is not doubled to insert a quote,
935 % e.g.~|""bad" cobol"| won't be printed correctly.
936 % \begingroup
937 % \begin{macrocode}
938 %<*lang2>
939 % \end{macrocode}
940 % \begin{macrocode}
941 \lst@definelanguage[ibm]{Cobol}[1985]{Cobol}%
942 {morekeywords={ADDRESS,BEGINNING,COMP-3,COMP-4,COMPUTATIONAL,%
943 COMPUTATIONAL-3,COMPUTATIONAL-4,DISPLAY-1,EGCS,EJECT,ENDING,%
944 ENTRY,GOBACK,ID,MORE-LABELS,NULL,NULLS,PASSWORD,RECORDING,%
945 RETURN-CODE,SERVICE,SKIP1,SKIP2,SKIP3,SORT-CONTROL,SORT-RETURN,%
946 SUPPRESS,TITLE,WHEN-COMPILED},%
947 }%
948 % \end{macrocode}
949 % \begin{macrocode}
950 \lst@definelanguage[1985]{Cobol}[1974]{Cobol}%
951 {morekeywords={ALPHABET,ALPHABETIC-LOWER,ALPHABETIC-UPPER,%
952 ALPHANUMERIC,ALPHANUMERIC-EDITED,ANY,CLASS,COMMON,CONTENT,%
953 CONTINUE,DAY-OF-WEEK,END-ADD,END-CALL,END-COMPUTE,END-DELETE,%
954 END-DIVIDE,END-EVALUATE,END-IF,END-MULTIPLY,END-PERFORM,END-READ,%
955 END-RECEIVE,END-RETURN,END-REWRITE,END-SEARCH,END-START,%
956 END-STRING,END-SUBTRACT,END-UNSTRING,END-WRITE,EVALUATE,EXTERNAL,%
957 FALSE,GLOBAL,INITIALIZE,NUMERIC-EDITED,ORDER,OTHER,%
958 PACKED-DECIMAL,PADDING,PURGE,REFERENCE,RELOAD,REPLACE,STANDARD-1,%
959 STANDARD-2,TEST,THEN,TRUE},%
960 }%
961 % \end{macrocode}
962 % \begin{macrocode}
963 \lst@definelanguage[1974]{Cobol}%
964 {morekeywords={ACCEPT,ACCESS,ADD,ADVANCING,AFTER,ALL,ALPHABETIC,ALSO,%
965 ALTER,ALTERNATE,AND,ARE,AREA,AREAS,ASCENDING,ASSIGN,AT,AUTHOR,%
966 BEFORE,BINARY,BLANK,BLOCK,BOTTOM,BY,CALL,CANCEL,CD,CF,CH,%
967 CHARACTER,CHARACTERS,CLOCK-UNITS,CLOSE,COBOL,CODE,CODE-SET,%
968 COLLATING,COLUMN,COMMA,COMMUNICATION,COMP,COMPUTE,CONFIGURATION,%
969 CONTAINS,CONTROL,CONTROLS,CONVERTING,COPY,CORR,CORRESPONDING,%
970 COUNT,CURRENCY,DATA,DATE,DATE-COMPILED,DATE-WRITTEN,DAY,DE,%
971 DEBUG-CONTENTS,DEGUB-ITEM,DEBUG-LINE,DEBUG-NAME,DEBUG-SUB1,%
972 DEBUG-SUB2,DEBUG-SUB3,DEBUGGING,DECIMAL-POINT,DECLARATIVES,%
973 DELETE,DELIMITED,DELIMITER,DEPENDING,DESCENDING,DESTINATION,%
974 DETAIL,DISABLE,DISPLAY,DIVIDE,DIVISION,DOWN,DUPLICATES,DYNAMIC,%
975 EGI,ELSE,EMI,ENABLE,END,END-OF-PAGE,ENTER,ENVIRONMENT,EOP,EQUAL,%
976 ERROR,ESI,EVERY,EXCEPTION,EXIT,EXTEND,FD,FILE,FILE-CONTROL,%
977 FILLER,FINAL,FIRST,FOOTING,FOR,FROM,GENERATE,GIVING,GO,GREATER,%
978 GROUP,HEADING,HIGH-VALUE,HIGH-VALUES,I-O,I-O-CONTROL,%
979 IDENTIFICATION,IF,IN,INDEX,INDEXED,INDICATE,INITIAL,INITIATE,%
980 INPUT,INPUT-OUTPUT,INSPECT,INSTALLATION,INTO,INVALID,IS,JUST,%
981 JUSTIFIED,KEY,LABEL,LAST,LEADING,LEFT,LENGTH,LESS,LIMIT,LIMITS,%
982 LINAGE,LINAGE-COUNTER,LINE,LINE-COUNTER,LINES,LINKAGE,LOCK,%
983 LOW-VALUE,LOW-VALUES,MEMORY,MERGE,MESSAGE,MODE,MODULES,MOVE,%
984 MULTIPLE,MULTIPLY,NATIVE,NEGATIVE,NEXT,NO,NOT,NUMBER,NUMERIC,%
985 OBJECT-COMPUTER,OCCURS,OF,OFF,OMITTED,ON,OPEN,OPTIONAL,OR,%
986 ORGANIZATION,OUTPUT,OVERFLOW,PAGE,PAGE-COUNTER,PERFORM,PF,PH,PIC,%
987 PICTURE,PLUS,POINTER,POSITION,PRINTING,POSITIVE,PRINTING,%
988 PROCEDURE,PROCEDURES,PROCEED,PROGRAM,PROGRAM-ID,QUEUE,QUOTE,%
989 QUOTES,RANDOM,RD,READ,RECEIVE,RECORD,RECORDING,RECORDS,REDEFINES,%
990 REEL,REFERENCES,RELATIVE,RELEASE,REMAINDER,REMOVAL,RENAMES,%
991 REPLACING,REPORT,REPORTING,REPORTS,RERUN,RESERVE,RESET,RETURN,%
992 REVERSED,REWIND,REWRITE,RF,RH,RIGHT,ROUNDED,RUN,SAME,SD,SEARCH,%
993 SECTION,SECURITY,SEGMENT,SEGMENT-LIMIT,SELECT,SEND,SENTENCE,%
994 SEPARATE,SEQUENCE,SEQUENTIAL,SET,SIGN,SIZE,SORT,SORT-MERGE,%
995 SOURCE,SOURCE-COMPUTER,SPACE,SPACES,SPECIAL-NAMES,STANDARD,START,%
996 STATUS,STOP,STRING,SUB-QUEUE-1,SUB-QUEUE-2,SUB-QUEUE-3,SUBTRACT,%
997 SUM,SYMBOLIC,SYNC,SYNCHRONIZED,TABLE,TALLYING,TAPE,TERMINAL,%
998 TERMINATE,TEXT,THAN,THROUGH,THRU,TIME,TIMES,TO,TOP,TRAILING,TYPE,%
999 UNIT,UNSTRING,UNTIL,UP,UPON,USAGE,USE,USING,VALUE,VALUES,VARYING,%
1000 WHEN,WITH,WORDS,WORKING-STORAGE,WRITE,ZERO,ZEROES,ZEROS},%
1001 alsodigit=-,%
1002 sensitive=f,% ???
1003 morecomment=[f][commentstyle][6]*,%
1004 morestring=[d]"% ??? doubled
1005 }[keywords,comments,strings]%
1006 % \end{macrocode}
1007 % \texttt{commentstyle} (not the surrounding brackets) have been added after
1008 % a bug report by \lsthelper{Stephen Reindl}{Stephen.Reindl@vodafone.de}
1009 % {2002/05/28}{no commentstyle in Cobol}.
1010 % \begin{macrocode}
1011 %</lang2>
1012 % \end{macrocode}
1013 % \endgroup
1014 %
1015 %
1016 % \subsection{Comal 80}
1017 %
1018 % The data is from
1019 % \begin{itemize}
1020 % \item
1021 % \textsc{Borge R. Christensen}:
1022 % \textbf{Strukturierte Programmierung mit COMAL 80} [aus dem
1023 % D\"anischen \"ubertragen und bearbeitet von Margarete Kragh];
1024 % 2., verb.\ Auflage -- M\"unchen; Wien: Oldenburg, 1985;
1025 % ISBN 3-486-26902-X.
1026 % \end{itemize}
1027 % \begingroup
1028 % \begin{macrocode}
1029 %<*lang3>
1030 % \end{macrocode}
1031 % \begin{macrocode}
1032 \lst@definelanguage{Comal 80}%
1033 {morekeywords={AND,AUTO,CASE,DATA,DEL,DIM,DIV,DO,ELSE,ENDCASE,ENDIF,%
1034 ENDPROC,ENDWHILE,EOD,EXEC,FALSE,FOR,GOTO,IF,INPUT,INT,LIST,LOAD,%
1035 MOD,NEW,NEXT,NOT,OF,OR,PRINT,PROC,RANDOM,RENUM,REPEAT,RND,RUN,%
1036 SAVE,SELECT,STOP,TAB,THEN,TRUE,UNTIL,WHILE,ZONE},%
1037 sensitive=f,% ???
1038 morecomment=[l]//,%
1039 morestring=[d]"%
1040 }[keywords,comments,strings]%
1041 % \end{macrocode}
1042 % \begin{macrocode}
1043 %</lang3>
1044 % \end{macrocode}
1045 % \endgroup
1046 %
1047 %
1048 % \subsection{COMMAND.COM Batch Files}
1049 %
1050 % This definition for DOS and Windows batch files is from
1051 % \lstthanks{Stephan Hennig}{-}{2006/10/11}.
1052 %
1053 % \begingroup
1054 % \begin{macrocode}
1055 %<*lang3>
1056 % \end{macrocode}
1057 % \begin{macrocode}
1058 \lst@definelanguage[WinXP]{command.com}%
1059 {morekeywords={assoc,at,attrib,bootcfg,break,cacls,call,cd,chcp,chdir,%
1060 chkdsk,chkntfs,cls,cmd,cmdextversion,color,comp,compact,convert,copy,%
1061 date,defined,del,dir,diskcomp,diskcopy,do,doskey,echo,else,endlocal,%
1062 erase,errorlevel,exist,exit,fc,find,findstr,for,format,ftype,goto,%
1063 graftabl,help,if,in,label,md,mkdir,mode,more,move,not,off,path,%
1064 pause,popd,print,prompt,pushd,rd,recover,ren,rename,replace,rmdir,%
1065 set,setlocal,shift,sort,start,subst,time,title,tree,type,ver,%
1066 verify,vol,xcopy},%
1067 sensitive=false,%
1068 alsoother={@},%
1069 alsoletter={\%~:-/},%
1070 morecomment=[l]{rem},%
1071 morecomment=[l]{reM},%
1072 morecomment=[l]{rEm},%
1073 morecomment=[l]{rEM},%
1074 morecomment=[l]{Rem},%
1075 morecomment=[l]{ReM},%
1076 morecomment=[l]{REm},%
1077 morecomment=[l]{REM},%
1078 morestring=[d]"%
1079 }[keywords,comments,strings]%
1080 % \end{macrocode}
1081 % \begin{macrocode}
1082 %</lang3>
1083 % \end{macrocode}
1084 % \endgroup
1085 %
1086 %
1087 % \subsection{Comsol Multiphysics}
1088 %
1089 % Comsol Multiphysics (Prior to version 3.2 known as Femlab) can be used
1090 % standalone or as an extension to MatLab. This definition is due to
1091 % \lstthanks{Martin~Heller}{-}{2006/05/10}.
1092 %
1093 % Unfortunately, there is a conflict in that Comsol is case-insensitive,
1094 % whereas Matlab is case-sensitive; \textsf{listings} does not
1095 % currently support different case-sensitivities in the same listing.
1096 %
1097 % \begingroup
1098 % \begin{macrocode}
1099 %<*lang3>
1100 % \end{macrocode}
1101 % \begin{macrocode}
1102 \lst@definelanguage{Comsol}%
1103 {morekeywords={%
1104 adaption,arc1,arc2,arrayr,assemble,asseminit,beziercurve2,block2,%
1105 block3,bsplinecurve2,bsplinecurve3,bsplinesurf3,bypassplot,cardg,%
1106 ccoeffgroup,chamfer,checkgeom,circ1,circ2,coeff2cell,comsol,%
1107 cone2,cone3,Contents,createhexes,createprisms,createquads,csgbl2,%
1108 csgbl3,csgcmpbz,csgimplbz,csginitaux,csginitnr,csgproputil,%
1109 csgrbconv,csgunique3,csguniquep,csgversion,csgvvovl,curve2,%
1110 curve3,cylinder2,cylinder3,dat2str,defastget,display,drawgetobj,%
1111 drawreobj,drawsetobj,dst,duplicate,dxflayers,dxfread,dxfwrite,%
1112 econe2,econe3,eigloop,elcconstr,elcplbnd,elcplextr,elcplproj,%
1113 elcplscalar,elempty,elemreobj,eleqc,eleqw,elevate,elgeom,ellip1,%
1114 ellip2,ellipsoid2,ellipsoid3,ellipsoidgen_fl23,elmat,elovar,%
1115 elpconstr,elshape,elvar,elvarm,embed,extrude,face3,faceprim3,%
1116 fastsetop,fem2jxfem,femblocksu,femdiff,femeig,femexport,femgui,%
1117 femimport,femiter,femlab,femlin,femmesh,femmeshexp,femnlin,%
1118 femplot,femsfun,femsim,femsimlowlevel,femsimserver,femsol,%
1119 femsolver,femstate,femstruct,femtime,femwave,festyle,fieldnames,%
1120 fillet,fl1d,fl2d,fl3d,flaction,flafun,flappconvert,flappobj,%
1121 flaxisequal,flbase,flbinary,flc1hs,flc2hs,flcanpnt,flcell2draw,%
1122 flclear,flcolorbar,flcompact,flconeplot,flcontour2mesh,%
1123 flcontour2meshaux,flconvreact,flconvreact1d,flconvreact2d,%
1124 flconvreact3d,flcyl,fldc1hs,fldc2hs,fldegree,fldegreer3,%
1125 fldegreet3,fldimvarsget,fldisp,fldraw2cell,fldrawnow,fldsmhs,%
1126 fldsmsign,flevalmat,flexch,flexchprop,flfastgeom,flform,flgc,%
1127 flgcbo,flgdconv,flgeom2cellstr,flgeomadj,flgeomarcize,flgeomec,%
1128 flgeomed,flgeomepol,flgeomes,flgeomfc,flgeomfd,flgeomfdp,%
1129 flgeomff1,flgeomff2,flgeomfn,flgeomfs,flgeomgetlocalsys,%
1130 flgeominit,flgeominitprop,flgeomitransform,flgeomloft,flgeommesh,%
1131 flgeomnbs,flgeomnes,flgeomnmr,flgeomnv,flgeompsinv,flgeomrmsing,%
1132 flgeomrotp,flgeomsd,flgeomsdim,flgeomse,flgeomsf2,flgeomspm,%
1133 flgeomtransform,flgeomud,flgeomvtx,flgetdraw,flheat,flheat1d,%
1134 flheat2d,flheat3d,flhelmholtz,flhelmholtz1d,flhelmholtz2d,%
1135 flhelmholtz3d,flim2curve,flinterp1,fliscont,flismember,%
1136 flisnumeric,fljaction,fllaplace,fllaplace1d,fllaplace2d,%
1137 fllaplace3d,flload,flloadfl,flloadmatfile,flloadmfile,%
1138 fllobj2cellstr,flmakeevalstr,flmapsoljac,flmat2str,flmatch,%
1139 flmesh2spline,flmesh2splineaux,flml65setup,flngdof,flnull,%
1140 flnullorth,flpde,flpdeac,flpdec,flpdec1d,flpdec2d,flpdec3d,%
1141 flpdedc,flpdedc2d,flpdedc3d,flpdedf,flpdedf1d,flpdedf2d,%
1142 flpdedf3d,flpdees,flpdees2d,flpdees3d,flpdeg,flpdeg1d,flpdeg2d,%
1143 flpdeg3d,flpdeht,flpdeht1d,flpdeht2d,flpdeht3d,flpdems,flpdems2d,%
1144 flpdems3d,flpdens,flpdens2d,flpdens3d,flpdepn,flpdeps,flpdesm3d,%
1145 flpdew,flpdew1d,flpdew2d,flpdew3d,flpdewb,flpdewb1d,flpdewb2d,%
1146 flpdewb3d,flpdewc,flpdewc1d,flpdewc2d,flpdewc3d,flpdewe,%
1147 flpdewe3d,flpdewp,flpdewp2d,flpdewp3d,flplot,flpoisson,%
1148 flpoisson1d,flpoisson2d,flpoisson3d,flpric2,flpric3,flreobj,%
1149 flreport,flresolvepath,flsave,flschrodinger,flschrodinger1d,%
1150 flschrodinger2d,flschrodinger3d,flsde,flsdp,flsdt,flsetalpha,%
1151 flsetdraw,flsmhs,flsmsign,flspnull,fltherm_cond1,fltrg,flversion,%
1152 flversions,flverver,flwave,flwave1d,flwave2d,flwave3d,%
1153 flwriteghist,formstr,gdsread,gencyl2,gencyl3,genextrude,%
1154 genextrudeaux,geom,geom0,geom0get,geom1,geom1get,geom2,geom2get,%
1155 geom3,geom3get,geom3j2m,geom3m2j,geomaddlblmargin,geomanalyze,%
1156 geomarrayr,geomassign,geomcoerce,geomcomp,geomconnect,geomcopy,%
1157 geomcsg,geomdel,geomedit,geomexport,geomfile,geomget,%
1158 geomgetlabels,geomgetwrkpln,geomimport,geominfo,geominfoaux,%
1159 geomlblplot,geomload,geomnumparse,geomobject,geomparse,geomplot,%
1160 geomplot1,geomplot2,geomplot3,geomposition,geomproputil,%
1161 geomreconstruct,geomreobj,geomserver,geomspline,geomsurf,%
1162 geomupdate,get,getfemgeom,getisocurve,getjptr,getmesh,getsdim,%
1163 getvmatrixexch,handlesolnumstr,helix1,helix2,helix3,hexahedron2,%
1164 hexahedron3,histfrommat,idst,igesread,importplotdata,isempty,%
1165 isfield,isfunc,isscript,javaclass,jproputil,jptr2geom,jptrgeom1,%
1166 jptrgeom1_fl23,jptrgeom2,jptrgeom2_fl23,jptrgeom3,jptrgeom3_fl23,%
1167 keiter,line1,line2,loadobj,loft,matlabinterpdata,mesh2geom,%
1168 meshassign,meshcaseadd,meshcasedel,meshcaseutil,meshcheck,%
1169 meshembed,meshenrich,meshenrich1,meshenrich2,meshenrich3,%
1170 meshexport,meshextend,meshextrude,meshget,meshimport,meshinit,%
1171 meshintegrate,meshmap,meshoptim,meshparse,meshplot,meshplot1,%
1172 meshplot2,meshplot3,meshplotproputil,meshpoi,meshproputil,%
1173 meshptplot,meshqual,meshrefine,meshrevolve,meshsmooth,%
1174 meshsmooth2,meshsweep,meshvolume,minus,mirror,mkreflparams,%
1175 mmsolve,modetype,move,moveglobalfields,mphproputil,mtimes,%
1176 multiphysics,mypostinterp,notscript,onlyelsconstr,outassign,%
1177 paramgeom,pde2draw,pde2equ,pde2fem,pde2geom,pdeblxpd,plus,point1,%
1178 point2,point3,poisson,poly1,poly2,postanim,postapplysettings,%
1179 postarrow,postarrowbnd,postcolorbar,postcont,postcontdomind,%
1180 postcoord,postcopyprop,postcrossplot,postdistrprops,posteval,%
1181 postflow,postfnd,postgeomplot,postgetfem,postgetstylecolor,%
1182 postglobaleval,postglobalplot,postgp,postinit,postint,postinterp,%
1183 postiso,postlin,postmakecontcol,postmax,postmaxmin,postmin,%
1184 postmkcontbar,postmknormexpr,postmovie,postnewplot,%
1185 postoldmaxminprops,postpd2pm,postplot,postplotconstants,%
1186 postpm2pd,postprinc,postprincbnd,postprocgui,postproputil,%
1187 postslice,postsurf,posttet,posttitle,print2file,pyramid2,%
1188 pyramid3,rect1,rect2,restorefields,revolve,rmfield,rotate,%
1189 rotmatrix,scale,serialize,set,setmesh,sh2str,sharg_2_5,shbub,%
1190 shdisc,shdiv,shherm,shlag,shvec,simplecoerce,simreobj,slblocks,%
1191 solassign,solid0,solid1,solid2,solid3,solidprim3,solproputil,%
1192 solsize,solveraddcases,sphere2,sphere3,spiceimport,splineaux,%
1193 split,splittoprim,square1,square2,stlread,submode,submodes,%
1194 subsasgn,subsref,tangent,taucs,tetrahedron2,tetrahedron3,%
1195 tobsplines,torus2,torus3,transform,update,updateassoc,%
1196 updateassocinfo,updatefem,updateguistruct,updateobj,vrmlread,%
1197 xmeshinfo,xmeshinit},%
1198 sensitive=false,%
1199 morecomment=[l]\%,%
1200 morestring=[m]'%
1201 }[keywords,comments,strings]%
1202 % \end{macrocode}
1203 % \begin{macrocode}
1204 %</lang3>
1205 % \end{macrocode}
1206 % \endgroup
1207 %
1208 %
1209 % \subsection{bash, csh, and sh}
1210 %
1211 % csh is from \lstthanks{Kai~Below}{below@tu-harburg.de}{1998/09/21},
1212 % but he pointed out that some keywords are probably missing.
1213 % \begingroup
1214 % \begin{macrocode}
1215 %<*lang1>
1216 % \end{macrocode}
1217 % \begin{macrocode}
1218 %%
1219 %% csh definition (c) 1998 Kai Below
1220 %%
1221 \lst@definelanguage{csh}
1222 {morekeywords={alias,awk,cat,echo,else,end,endif,endsw,exec,exit,%
1223 foreach,glob,goto,history,if,logout,nice,nohup,onintr,repeat,sed,%
1224 set,setenv,shift,source,switch,then,time,while,umask,unalias,%
1225 unset,wait,while,@,env,argv,child,home,ignoreeof,noclobber,%
1226 noglob,nomatch,path,prompt,shell,status,verbose,print,printf,%
1227 sqrt,BEGIN,END},%
1228 morecomment=[l]\#,%
1229 morestring=[d]"%
1230 }[keywords,comments,strings]%
1231 % \end{macrocode}
1232 % Thanks to \lstthanks{Riccardo~Murri}{riccardo.murri@gmx.it}{2003/09/24}
1233 % for the following two definitions.
1234 % \begin{macrocode}
1235 %%
1236 %% bash,sh definition (c) 2003 Riccardo Murri <riccardo.murri@gmx.it>
1237 %%
1238 \lst@definelanguage{bash}[]{sh}%
1239 {morekeywords={alias,bg,bind,builtin,command,compgen,complete,%
1240 declare,disown,enable,fc,fg,history,jobs,et,local,logout,printf,%
1241 pushd,popd,select,set,suspend,shopt,source,times,type,typeset,%
1242 ulimit,unalias,wait},%
1243 }%
1244 \lst@definelanguage{sh}%
1245 {morekeywords={awk,break,case,cat,cd,continue,do,done,echo,else,%
1246 env,eval,exec,expr,exit,export,false,fi,for,function,getopts,%
1247 hash,history,if,kill,nice,nohup,ps,pwd,read,readonly,return,%
1248 sed,shift,test,then,times,trap,true,umask,unset,until,while},%
1249 morecomment=[l]\#,%
1250 morestring=[d]"%
1251 }[keywords,comments,strings]%
1252 %</lang1>
1253 % \end{macrocode}
1254 % \endgroup
1255 %
1256 %
1257 % \subsection{Delphi}
1258 %
1259 % I took the data from Delphi 1.0 (?) online help.
1260 % \lstthanks{Christian~Gudrian}{chrigu@kawo1.rwth-aachen.de}{2001/08/16}
1261 % provided the `double slash' comment.
1262 % \begingroup
1263 % \begin{macrocode}
1264 %<*lang2>
1265 % \end{macrocode}
1266 % \begin{macrocode}
1267 \lst@definelanguage{Delphi}%
1268 {morekeywords={and,as,asm,array,begin,case,class,const,constructor,%
1269 destructor,div,do,downto,else,end,except,exports,file,finally,%
1270 for,function,goto,if,implementation,in,inherited,inline,%
1271 initialization,interface,is,label,library,mod,nil,not,object,of,%
1272 or,packed,procedure,program,property,raise,record,repeat,set,%
1273 shl,shr,string,then,to,try,type,unit,until,uses,var,while,with,%
1274 xor,%
1275 absolute,abstract,assembler,at,cdecl,default,dynamic,export,%
1276 external,far,forward,index,name,near,nodefault,on,override,%
1277 private,protected,public,published,read,resident,storedDir,%
1278 virtual,write},%
1279 morendkeywords={Abs,AddExitProc,Addr,AllocMem,AnsiCompareStr,%
1280 AnsiCompareText,AnsiLowerCase,AnsiUpperCase,Append,AppendStr,%
1281 ArcTan,AssignCrt,Assigned,AssignFile,BlockRead,BlockWrite,Break,%
1282 ChangeFileExt,ChDir,Chr,CloseFile,ClrEol,ClrScr,Concat,Continue,%
1283 Copy,Cos,CSeg,CursorTo,Date,DateTimeToFileDate,DateTimeToStr,%
1284 DateTimeToString,DateToStr,DayOfWeek,Dec,DecodeDate,DecodeTime,%
1285 Delete,DeleteFile,DiskFree,DiskSize,Dispose,DisposeStr,%
1286 DoneWinCrt,DSeg,EncodeDate,EncodeTime,Eof,Eoln,Erase,Exclude,%
1287 Exit,Exp,ExpandFileName,ExtractFileExt,ExtractFileName,%
1288 ExtractFilePath,FileAge,FileClose,FileDateToDateTime,FileExists,%
1289 FileGetAttr,FileGetDate,FileOpen,FilePos,FileRead,FileSearch,%
1290 FileSeek,FileSetAttr,FileSetDate,FileSize,FillChar,FindClose,%
1291 FindFirst,FindNext,FloatToDecimal,FloatToStrF,FloatToStr,%
1292 FloatToText,FloatToTextFmt,Flush,FmtLoadStr,FmtStr,Format,%
1293 FormatBuf,FormatDateTime,FormatFloat,Frac,Free,FreeMem,GetDir,%
1294 GetMem,GotoXY,Halt,Hi,High,Inc,Include,InitWinCrt,Insert,Int,%
1295 IntToHex,IntToStr,IOResult,IsValidIdent,KeyPressed,Length,Ln,Lo,%
1296 LoadStr,Low,LowerCase,MaxAvail,MemAvail,MkDir,Move,New,NewStr,%
1297 Now,Odd,Ofs,Ord,ParamCount,ParamStr,Pi,Pos,Pred,Ptr,Random,%
1298 Randomize,Read,ReadBuf,ReadKey,Readln,ReAllocMem,Rename,%
1299 RenameFile,Reset,Rewrite,RmDir,Round,RunError,ScrollTo,Seek,%
1300 SeekEof,SeekEoln,Seg,SetTextBuf,Sin,SizeOf,SPtr,Sqr,Sqrt,SSeg,%
1301 Str,StrCat,StrComp,StrCopy,StrDispose,StrECopy,StrEnd,StrFmt,%
1302 StrLCat,StrIComp,StrLComp,StrLCopy,StrLen,StrLFmt,StrLIComp,%
1303 StrLower,StrMove,StrNew,StrPas,StrPCopy,StrPos,StrScan,StrRScan,%
1304 StrToDate,StrToDateTime,StrToFloat,StrToInt,StrToIntDef,%
1305 StrToTime,StrUpper,Succ,Swap,TextToFloat,Time,TimeToStr,%
1306 TrackCursor,Trunc,Truncate,TypeOf,UpCase,UpperCase,Val,WhereX,%
1307 WhereY,Write,WriteBuf,WriteChar,Writeln},%
1308 sensitive=f,%
1309 morecomment=[s]{(*}{*)},%
1310 morecomment=[s]{\{}{\}},%
1311 morecomment=[l]{//},% 2001 Christian Gudrian
1312 morestring=[d]'%
1313 }[keywords,comments,strings]%
1314 % \end{macrocode}
1315 % \begin{macrocode}
1316 %</lang2>
1317 % \end{macrocode}
1318 % \endgroup
1319 %
1320 %
1321 % \subsection{Eiffel}
1322 %
1323 % Data is from
1324 % \begin{itemize}
1325 % \item
1326 % \textsc{Bertrand Meyer}: \textbf{Eiffel: the language};
1327 % Prentice Hall International (UK) Ldt, 1992;
1328 % ISBN 0-13-247925-7.
1329 % \end{itemize}
1330 % \begingroup
1331 % \begin{macrocode}
1332 %<*lang2>
1333 % \end{macrocode}
1334 % \begin{macrocode}
1335 \lst@definelanguage{Eiffel}%
1336 {morekeywords={alias,all,and,as,BIT,BOOLEAN,CHARACTER,check,class,%
1337 creation,Current,debug,deferred,do,DOUBLE,else,elseif,end,%
1338 ensure,expanded,export,external,false,feature,from,frozen,if,%
1339 implies,indexing,infix,inherit,inspect,INTEGER,invariant,is,%
1340 like,local,loop,NONE,not,obsolete,old,once,or,POINTER,prefix,%
1341 REAL,redefine,rename,require,rescue,Result,retry,select,%
1342 separate,STRING,strip,then,true,undefine,unique,until,variant,%
1343 when,xor},%
1344 sensitive,%
1345 morecomment=[l]--,%
1346 morestring=[d]",%
1347 }[keywords,comments,strings]%
1348 % \end{macrocode}
1349 % The key=value \texttt{stringtest=false} has been removed after a bug
1350 % report from \lsthelper{Xavier~Cr\'egut}{cregut@enseeiht.fr}{2002/09/09}
1351 % {stringtest no more part of package}.
1352 % \begin{macrocode}
1353 %</lang2>
1354 % \end{macrocode}
1355 % \endgroup
1356 %
1357 %
1358 % \subsection{Elan}
1359 %
1360 % The data come from
1361 % \begin{itemize}
1362 % \item
1363 % \textsc{Leo~H.~Klingen, Jochen Liedtke}:
1364 % \textbf{Programmieren mit ELAN};
1365 % B.G.\ Teubner, Stuttgart 1983; ISBN 3-519-02507-8.
1366 % \end{itemize}
1367 % \begingroup
1368 % \begin{macrocode}
1369 %<*lang3>
1370 % \end{macrocode}
1371 % \begin{macrocode}
1372 \lst@definelanguage{Elan}%
1373 {morekeywords={ABS,AND,BOOL,CAND,CASE,CAT,COLUMNS,CONCR,CONJ,CONST,%
1374 COR,DECR,DEFINES,DET,DIV,DOWNTO,ELIF,ELSE,END,ENDIF,ENDOP,%
1375 ENDPACKET,ENDPROC,ENDREP,ENDSELECT,FALSE,FI,FILE,FOR,FROM,IF,%
1376 INCR,INT,INV,LEAVE,LENGTH,LET,MOD,NOT,OF,OP,OR,OTHERWISE,PACKET,%
1377 PROC,REAL,REP,REPEAT,ROW,ROWS,SELECT,SIGN,STRUCT,SUB,TEXT,THEN,%
1378 TRANSP,TRUE,TYPE,UNTIL,UPTO,VAR,WHILE,WITH,XOR,%
1379 maxint,sign,abs,min,max,random,initializerandom,subtext,code,%
1380 replace,text,laenge,pos,compress,change,maxreal,smallreal,floor,%
1381 pi,e,ln,log2,log10,sqrt,exp,tan,tand,sin,sind,cos,cosd,arctan,%
1382 arctand,int,real,lastconversionok,put,putline,line,page,get,%
1383 getline,input,output,sequentialfile,maxlinelaenge,reset,eof,%
1384 close,complexzero,complexone,complexi,complex,realpart,imagpart,%
1385 dphi,phi,vector,norm,replace,matrix,idn,row,column,sub,%
1386 replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},%
1387 sensitive,%
1388 morestring=[d]"%
1389 }[keywords,strings]%
1390 % \end{macrocode}
1391 % \begin{macrocode}
1392 %</lang3>
1393 % \end{macrocode}
1394 % \endgroup
1395 %
1396 %
1397 % \subsection{Erlang}
1398 %
1399 % Thanks to \lstthanks{Daniel~Gazard}{gazard_d@epita.fr}{2003/05/31}.
1400 % \begingroup
1401 % \begin{macrocode}
1402 %<*lang3>
1403 % \end{macrocode}
1404 % \begin{macrocode}
1405 %%
1406 %% Erlang definition (c) 2003 Daniel Gazard
1407 %%
1408 \lst@definelanguage{erlang}%
1409 {morekeywords={abs,after,and,apply,atom,atom_to_list,band,binary,%
1410 binary_to_list,binary_to_term,bor,bsl,bsr,bxor,case,catch,%
1411 date,div,element,erase,end,exit,export,float,float_to_list,%
1412 get,halt,hash,hd,if,info,import,integer,integer_to_list,%
1413 length,link,list,list_to_atom,list_to_float,list_to_integer,%
1414 list_to_tuple,module,node,nodes,now,of,or,pid,port,ports,%
1415 processes,put,receive,reference,register,registered,rem,%
1416 round,self,setelement,size,spawn,throw,time,tl,trace,trunc,%
1417 tuple,tuple_to_list,unlink,unregister,whereis,error,false,%
1418 infinity,nil,ok,true,undefined,when},%
1419 otherkeywords={->,!,[,],\{,\}},%
1420 morecomment=[l]\%,%
1421 morestring=[b]",%
1422 morestring=[b]'%
1423 }[keywords,comments,strings]%
1424 % \end{macrocode}
1425 % \begin{macrocode}
1426 %</lang3>
1427 % \end{macrocode}
1428 % \endgroup
1429 %
1430 %
1431 % \subsection{Euphoria}
1432 %
1433 % \lstthanks{Detlef~Reimers}{dreimers@aol.com}{1998/08/30} sent me the language
1434 % definition.
1435 % \begingroup
1436 % \begin{macrocode}
1437 %<*lang2>
1438 % \end{macrocode}
1439 % \begin{macrocode}
1440 %%
1441 %% Euphoria definition (c) 1998 Detlef Reimers
1442 %%
1443 \lst@definelanguage{Euphoria}%
1444 % for Euphoria 2.0, Rapid Deployment Software, Kanada
1445 {morekeywords={abort,and,and_bits,append,arctan,atom,by,call,%
1446 call_proc,call_func,c_proc,c_func,clear_screen,close,%
1447 command_line,compare,constant,cos,do,date,else,elsif,end,exit,%
1448 find,floor,for,function,getc,getenv,get_key,gets,global,%
1449 get_pixel,if,include,integer,length,log,match,machine_func,%
1450 machine_proc,mem_copy,mem_set,not,not_bits,or,object,open,%
1451 or_bits,procedure,puts,position,prepend,print,printf,power,peek,%
1452 poke,pixel,poke4,peek4s,peek4u,return,rand,repeat,remainder,%
1453 routine_id,sequence,sqrt,sin,system,sprintf,then,type,to,time,%
1454 trace,tan,while,with,without,xor,xor_bits},%
1455 sensitive,%
1456 morecomment=[l]--,%
1457 morestring=[d]',%
1458 morestring=[d]"%
1459 }[keywords,comments,strings]%
1460 % \end{macrocode}
1461 % \begin{macrocode}
1462 %</lang2>
1463 % \end{macrocode}
1464 % \endgroup
1465 %
1466 %
1467 % \subsection{Fortran}
1468 %
1469 % Took things from
1470 % \begin{itemize}
1471 % \item
1472 % \textsc{Karl Hans M\"uller}:
1473 % \textbf{Fortran 77: Programmierungsanleitung};
1474 % 3., v\"ollig neu bearb.\ Aufl.\ -- Mannheim; Wien; Z\"urich:
1475 % Bibliographisches Institut, 1984;
1476 % ISBN 3-411-05804-8
1477 % \item
1478 % \textsc{Thomas Michel}: \textbf{Fortran 90: Lehr-- und Handbuch};
1479 % Mannheim; Leipzig; Wien; Z\"urich: BI-Wiss.-Verlag, 1994;
1480 % ISBN 3-411-16861-7.
1481 % \end{itemize}
1482 % \begingroup
1483 % \begin{macrocode}
1484 %<*lang1>
1485 % \end{macrocode}
1486 % \lsthelper{Denis Girou}{Denis.Girou@idris.fr}{1998/07/26}{Fortran 95=90}
1487 % proposed to have Fortran 95 and Fortran 90 to be equivalent.
1488 % \begin{macrocode}
1489 \lst@definelanguage[90]{Fortran}[95]{Fortran}{}
1490 % \end{macrocode}
1491 % There is no |morecomment=[f]| in Fortran 90 since otherwise CONTAINS could
1492 % start a comment. This problem was reported by \lsthelper{Magne Rudshaug}
1493 % {magne@ife.no}{1998/01/09}{no morecomment=[f] in Fortran 90}.
1494 % Moreover the keyword INCLUDE is due to him.
1495 % \begin{macrocode}
1496 \lst@definelanguage[95]{Fortran}[77]{Fortran}%
1497 {deletekeywords=SAVE,%
1498 morekeywords={ACTION,ADVANCE,ALLOCATE,ALLOCATABLE,ASSIGNMENT,CASE,%
1499 CONTAINS,CYCLE,DEALLOCATE,DEFAULT,DELIM,EXIT,INCLUDE,IN,NONE,IN,%
1500 OUT,INTENT,INTERFACE,IOLENGTH,KIND,LEN,MODULE,NAME,NAMELIST,NMT,%
1501 NULLIFY,ONLY,OPERATOR,OPTIONAL,OUT,PAD,POINTER,POSITION,PRIVATE,%
1502 PUBLIC,READWRITE,RECURSIVE,RESULT,SELECT,SEQUENCE,SIZE,STAT,%
1503 TARGET,USE,WHERE,WHILE,BLOCKDATA,DOUBLEPRECISION,%
1504 ENDBLOCKDATA,ENDFILE,ENDFUNCTION,ENDINTERFACE,%
1505 ENDMODULE,ENDPROGRAM,ENDSELECT,ENDSUBROUTINE,ENDTYPE,ENDWHERE,%
1506 INOUT,SELECTCASE},%
1507 deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug
1508 morecomment=[l]!%
1509 }%
1510 % \end{macrocode}
1511 % As proposed by \lsthelper{J\"orn Wilms}{wilms@rocinante.colorado.edu}
1512 % {1997/07/07}{Fortran with \lstsensitivefalse} keywords are \emph{not} case
1513 % sensitive. Also, note that Fortran 77 (and fixed-format source in later
1514 % versions) allows space in keywords; thus, this list contains some of the
1515 % more common variants (e.g., `GO TO' and `GOTO').
1516 % \begin{macrocode}
1517 \lst@definelanguage[77]{Fortran}%
1518 {morekeywords={ACCESS,ASSIGN,BACKSPACE,BLANK,BLOCK,CALL,CHARACTER,%
1519 CLOSE,COMMON,COMPLEX,CONTINUE,DATA,DIMENSION,DIRECT,DO,DOUBLE,%
1520 ELSE,ELSEIF,END,ENDIF,ENDDO,ENTRY,EOF,EQUIVALENCE,ERR,EXIST,EXTERNAL,%
1521 FILE,FMT,FORM,FORMAT,FORMATTED,FUNCTION,GO,TO,GOTO,IF,IMPLICIT,%
1522 INQUIRE,INTEGER,INTRINSIC,IOSTAT,LOGICAL,NAMED,NEXTREC,NUMBER,%
1523 OPEN,OPENED,PARAMETER,PAUSE,PRECISION,PRINT,PROGRAM,READ,REAL,%
1524 REC,RECL,RETURN,REWIND,SEQUENTIAL,STATUS,STOP,SUBROUTINE,THEN,%
1525 TYPE,UNFORMATTED,UNIT,WRITE,SAVE},%
1526 sensitive=f,%% not Fortran-77 standard, but allowed in Fortran-95 %%
1527 morecomment=[f]*,%
1528 morecomment=[f]C,%
1529 morecomment=[f]c,%
1530 morestring=[d]",%% not Fortran-77 standard, but allowed in Fortran-95 %%
1531 morestring=[d]'%
1532 }[keywords,comments,strings]%
1533 % \end{macrocode}
1534 % \begin{macrocode}
1535 %</lang1>
1536 % \end{macrocode}
1537 % \endgroup
1538 %
1539 %
1540 % \subsection{Guarded Command Language (GCL)}
1541 %
1542 % As you can read below, \lstthanks{Mark~van~Eijk}{mark@luon.net}{2002/10/30}
1543 % provided this language definition.
1544 % \begingroup
1545 % \begin{macrocode}
1546 %<*lang2>
1547 % \end{macrocode}
1548 % \begin{macrocode}
1549 %%
1550 %% Guarded Command Language (GCL) definition
1551 %% (c) 2002 Mark van Eijk
1552 %%
1553 \lst@definelanguage{GCL}%
1554 {morekeywords={const,con,var,array,of,skip,if,fi,do,od,div,mod},%
1555 literate={|[}{\ensuremath{|\hskip -0.1em[}}2%
1556 {]|}{\ensuremath{]\hskip -0.1em|}}2%
1557 {[]}{\ensuremath{[\hskip -0.1em]}}2%
1558 {->}{\ensuremath{\rightarrow}~}2%
1559 {==}{\ensuremath{\equiv}~}2%
1560 {>=}{\ensuremath{\geq}~}2%
1561 {<=}{\ensuremath{\leq}~}2%
1562 {/\\}{\ensuremath{\land}~}2%
1563 {\\/}{\ensuremath{\lor}~}2%
1564 {!}{\ensuremath{\lnot}}1%
1565 {!=}{\ensuremath{\neq}~}2%
1566 {max}{\ensuremath{\uparrow}}1%
1567 {min}{\ensuremath{\downarrow}}1,%
1568 sensitive=f,%
1569 morecomment=[s]{\{}{\}},%
1570 morestring=[d]'%
1571 }[keywords,comments,strings]%
1572 % \end{macrocode}
1573 % \begin{macrocode}
1574 %</lang2>
1575 % \end{macrocode}
1576 % \endgroup
1577 %
1578 %
1579 % \subsection{Gnuplot}
1580 %
1581 % Thanks to \lsthelper{Dr.~Christoph~Giess}{Ch.Giess@gmx.de}{2003/07/15}{} for
1582 % providing this definition.
1583 % \begingroup
1584 % \begin{macrocode}
1585 %<*lang2>
1586 %%
1587 %% gnuplot definition (c) Christoph Giess
1588 %%
1589 \lst@definelanguage{Gnuplot}%
1590 {keywords={abs,acos,acosh,arg,asin,asinh,atan,atan2,atanh,besj0,%
1591 besj1,besy0,besy1,ceil,cos,cosh,erf,erfc,exp,floor,gamma,ibeta,%
1592 inverf,igamma,imag,invnorm,int,lgamma,log,log10,norm,rand,real,%
1593 sgn,sin,sinh,sqrt,tan,tanh,column,tm_hour,tm_mday,tm_min,tm_mon,%
1594 tm_sec,tm_wday,tm_yday,tm_year,valid,cd,call,clear,exit,fit,%
1595 help,if,load,pause,plot,print,pwd,quit,replot,reread,reset,save,%
1596 set,show,shell,splot,test,update,angles,arrow,autoscale,border,%
1597 boxwidth,clabel,clip,cntrparam,contour,data,dgrid3d,dummy,%
1598 format,function,functions,grid,hidden3d,isosamples,key,keytitle,%
1599 label,logscale,mapping,offsets,output,parametric,pointsize,%
1600 polar,rrange,samples,size,style,surface,terminal,tics,time,%
1601 timefmt,title,trange,urange,variables,view,vrange,xdata,xlabel,%
1602 xmargin,xrange,xtics,mxtics,mytics,xdtics,xmtics,xzeroaxis,%
1603 ydata,ylabel,yrange,ytics,ydtics,ymtics,yzeroaxis,zdata,zero,%
1604 zeroaxis,zlabel,zrange,ztics,zdtics,zmtics,timefm,using,title,%
1605 with,index,every,thru,smooth},%
1606 sensitive,%
1607 comment=[l]\#,%
1608 morestring=[b]",%
1609 morestring=[b]',%
1610 }[keywords,comments,strings]%
1611 %</lang2>
1612 % \end{macrocode}
1613 % \endgroup
1614 %
1615 %
1616 % \subsection{Haskell}
1617 %
1618 % Thanks to \lstthanks{Peter~Bartke}{bartke@inf.fu-berlin.de}{1999/11/18} for
1619 % providing the new definition.
1620 % \begingroup
1621 % \begin{macrocode}
1622 %<*lang2>
1623 % \end{macrocode}
1624 % \begin{macrocode}
1625 %%
1626 %% Haskell98 as implemented in Hugs98. See http://www.haskell.org
1627 %% All keywords from Prelude and Standard Libraries
1628 %% (c) 1999 Peter Bartke
1629 %%
1630 \lst@definelanguage{Haskell}%
1631 {otherkeywords={=>},%
1632 morekeywords={abstype,if,then,else,case,class,data,default,deriving,%
1633 hiding,if,in,infix,infixl,infixr,import,instance,let,module,%
1634 newtype,of,qualified,type,where,do,AbsoluteSeek,AppendMode,%
1635 Array,BlockBuffering,Bool,BufferMode,Char,Complex,Double,Either,%
1636 FilePath,Float,Int,Integer,IO,IOError,Ix,LineBuffering,Maybe,%
1637 Ordering,NoBuffering,ReadMode,ReadWriteMode,ReadS,RelativeSeek,%
1638 SeekFromEnd,SeekMode,ShowS,StdGen,String,Void,Bounded,Enum,Eq,%
1639 Eval,ExitCode,exitFailure,exitSuccess,Floating,Fractional,%
1640 Functor,Handle,HandlePosn,IOMode,Integral,List,Monad,MonadPlus,%
1641 MonadZero,Num,Numeric,Ord,Random,RandomGen,Ratio,Rational,Read,%
1642 Real,RealFloat,RealFrac,Show,System,Prelude,EQ,False,GT,Just,%
1643 Left,LT,Nothing,Right,WriteMode,True,abs,accum,accumArray,%
1644 accumulate,acos,acosh,all,and,any,ap,appendFile,applyM,%
1645 approxRational,array,asTypeOf,asin,asinh,assocs,atan,atan2,atanh,%
1646 bounds,bracket,bracket_,break,catch,catMaybes,ceiling,chr,cis,%
1647 compare,concat,concatMap,conjugate,const,cos,cosh,curry,cycle,%
1648 decodeFloat,delete,deleteBy,deleteFirstsBy,denominator,%
1649 digitToInt,div,divMod,drop,dropWhile,either,elem,elems,elemIndex,%
1650 elemIndices,encodeFloat,enumFrom,enumFromThen,enumFromThenTo,%
1651 enumFromTo,error,even,exitFailure,exitWith,exp,exponent,fail,%
1652 filter,filterM,find,findIndex,findIndices,flip,floatDigits,%
1653 floatRadix,floatRange,floatToDigits,floor,foldl,foldM,foldl1,%
1654 foldr,foldr1,fromDouble,fromEnum,fromInt,fromInteger,%
1655 fromIntegral,fromJust,fromMaybe,fromRat,fromRational,%
1656 fromRealFrac,fst,gcd,genericLength,genericTake,genericDrop,%
1657 genericSplitAt,genericIndex,genericReplicate,getArgs,getChar,%
1658 getContents,getEnv,getLine,getProgName,getStdGen,getStdRandom,%
1659 group,groupBy,guard,hClose,hFileSize,hFlush,hGetBuffering,%
1660 hGetChar,hGetContents,hGetLine,hGetPosn,hIsClosed,hIsEOF,hIsOpen,%
1661 hIsReadable,hIsSeekable,hIsWritable,hLookAhead,hPutChar,hPutStr,%
1662 hPutStrLn,hPrint,hReady,hSeek,hSetBuffering,hSetPosn,head,%
1663 hugsIsEOF,hugsHIsEOF,hugsIsSearchErr,hugsIsNameErr,%
1664 hugsIsWriteErr,id,ioError,imagPart,index,indices,init,inits,%
1665 inRange,insert,insertBy,interact,intersect,intersectBy,%
1666 intersperse,intToDigit,ioeGetErrorString,ioeGetFileName,%
1667 ioeGetHandle,isAlreadyExistsError,isAlreadyInUseError,isAlpha,%
1668 isAlphaNum,isAscii,isControl,isDenormalized,isDoesNotExistError,%
1669 isDigit,isEOF,isEOFError,isFullError,isHexDigit,isIEEE,%
1670 isIllegalOperation,isInfinite,isJust,isLower,isNaN,%
1671 isNegativeZero,isNothing,isOctDigit,isPermissionError,isPrefixOf,%
1672 isPrint,isSpace,isSuffixOf,isUpper,isUserError,iterate,ixmap,%
1673 join,last,lcm,length,lex,lexDigits,lexLitChar,liftM,liftM2,%
1674 liftM3,liftM4,liftM5,lines,listArray,listToMaybe,log,logBase,%
1675 lookup,magnitude,makePolar,map,mapAccumL,mapAccumR,mapAndUnzipM,%
1676 mapM,mapM_,mapMaybe,max,maxBound,maximum,maximumBy,maybe,%
1677 maybeToList,min,minBound,minimum,minimumBy,mkPolar,mkStdGen,%
1678 mplus,mod,msum,mzero,negate,next,newStdGen,not,notElem,nub,nubBy,%
1679 null,numerator,odd,openFile,or,ord,otherwise,partition,phase,pi,%
1680 polar,pred,print,product,properFraction,putChar,putStr,putStrLn,%
1681 quot,quotRem,random,randomIO,randomR,randomRIO,randomRs,randoms,%
1682 rangeSize,read,readDec,readFile,readFloat,readHex,readInt,readIO,%
1683 readList,readLitChar,readLn,readParen,readOct,readSigned,reads,%
1684 readsPrec,realPart,realToFrac,recip,rem,repeat,replicate,return,%
1685 reverse,round,scaleFloat,scanl,scanl1,scanr,scanr1,seq,sequence,%
1686 sequence_,setStdGen,show,showChar,showEFloat,showFFloat,%
1687 showFloat,showGFloat,showInt,showList,showLitChar,showParen,%
1688 showSigned,showString,shows,showsPrec,significand,signum,sin,%
1689 sinh,snd,sort,sortBy,span,split,splitAt,sqrt,stderr,stdin,stdout,%
1690 strict,subtract,succ,sum,system,tail,tails,take,takeWhile,tan,%
1691 tanh,toEnum,toInt,toInteger,toLower,toRational,toUpper,transpose,%
1692 truncate,try,uncurry,undefined,unfoldr,union,unionBy,unless,%
1693 unlines,until,unwords,unzip,unzip3,unzip4,unzip5,unzip6,unzip7,%
1694 userError,when,words,writeFile,zero,zip,zip3,zip4,zip5,zip6,zip7,%
1695 zipWith,zipWithM,zipWithM_,zipWith3,zipWith4,zipWith5,zipWith6,%
1696 zipWith7},%
1697 sensitive,%
1698 morecomment=[l]--,%
1699 morecomment=[n]{\{-}{-\}},%
1700 morestring=[b]"%
1701 }[keywords,comments,strings]%
1702 % \end{macrocode}
1703 % \begin{macrocode}
1704 %</lang2>
1705 % \end{macrocode}
1706 % \endgroup
1707 %
1708 %
1709 % \subsection{HTML}
1710 %
1711 % I'm quite the opposite of a HTML wizard. In particular this is true for the
1712 % defined keywords. \lstthanks{Matthias~Bethke}{-}{2003/09/01} helped me out
1713 % and extended the list.
1714 % \begingroup
1715 % \begin{macrocode}
1716 %<*lang1>
1717 % \end{macrocode}
1718 % \begin{macrocode}
1719 \lst@definelanguage{HTML}%
1720 {morekeywords={A,ABBR,ACRONYM,ADDRESS,APPLET,AREA,B,BASE,BASEFONT,%
1721 BDO,BIG,BLOCKQUOTE,BODY,BR,BUTTON,CAPTION,CENTER,CITE,CODE,COL,%
1722 COLGROUP,DD,DEL,DFN,DIR,DIV,DL,DOCTYPE,DT,EM,FIELDSET,FONT,FORM,%
1723 FRAME,FRAMESET,HEAD,HR,H1,H2,H3,H4,H5,H6,HTML,I,IFRAME,IMG,INPUT,%
1724 INS,ISINDEX,KBD,LABEL,LEGEND,LH,LI,LINK,LISTING,MAP,META,MENU,%
1725 NOFRAMES,NOSCRIPT,OBJECT,OPTGROUP,OPTION,P,PARAM,PLAINTEXT,PRE,%
1726 OL,Q,S,SAMP,SCRIPT,SELECT,SMALL,SPAN,STRIKE,STRING,STRONG,STYLE,%
1727 SUB,SUP,TABLE,TBODY,TD,TEXTAREA,TFOOT,TH,THEAD,TITLE,TR,TT,U,UL,%
1728 VAR,XMP,%
1729 accesskey,action,align,alink,alt,archive,axis,background,bgcolor,%
1730 border,cellpadding,cellspacing,charset,checked,cite,class,classid,%
1731 code,codebase,codetype,color,cols,colspan,content,coords,data,%
1732 datetime,defer,disabled,dir,event,error,for,frameborder,headers,%
1733 height,href,hreflang,hspace,http-equiv,id,ismap,label,lang,link,%
1734 longdesc,marginwidth,marginheight,maxlength,media,method,multiple,%
1735 name,nohref,noresize,noshade,nowrap,onblur,onchange,onclick,%
1736 ondblclick,onfocus,onkeydown,onkeypress,onkeyup,onload,onmousedown,%
1737 profile,readonly,onmousemove,onmouseout,onmouseover,onmouseup,%
1738 onselect,onunload,rel,rev,rows,rowspan,scheme,scope,scrolling,%
1739 selected,shape,size,src,standby,style,tabindex,text,title,type,%
1740 units,usemap,valign,value,valuetype,vlink,vspace,width,xmlns},%
1741 tag=**[s]<>,%
1742 sensitive=f,%
1743 morestring=[d]",% ??? doubled
1744 % \end{macrocode}
1745 % Now we take care of comments.
1746 % We don't enter comment mode if we aren't inside |<>|.
1747 % \begin{macrocode}
1748 MoreSelectCharTable=%
1749 \lst@CArgX--\relax\lst@DefDelimB{}{}%
1750 {\ifnum\lst@mode=\lst@tagmode\else
1751 \expandafter\@gobblethree
1752 \fi}%
1753 \lst@BeginComment\lst@commentmode{{\lst@commentstyle}}%
1754 \lst@CArgX--\relax\lst@DefDelimE{}{}{}%
1755 \lst@EndComment\lst@commentmode
1756 }[keywords,comments,strings,html]%
1757 % \end{macrocode}
1758 % \lsthelper{Peter~Biechele}{peter.biechele@physik.uni-freiburg.de}
1759 % {1999/07/01}{! Missing $\}$ inserted} reported a problem which was due to
1760 % missing |\@empty| in value of |SelectCharTable|. And after receiving a bug
1761 % report from \lsthelper{Jochen Schneider}{jschneider@ds3.etech.haw-hamburg.de}
1762 % {2002/04/05}{use of \lst@thestyle doesn't match its definition} I converted
1763 % the version 0.21 contents of |MoreSelectCharTable| to version 1.0.
1764 % \begin{macrocode}
1765 %</lang1>
1766 % \end{macrocode}
1767 % \endgroup
1768 %
1769 %
1770 % \subsection{IDL}
1771 %
1772 % The definition is from \lstthanks{J\"urgen~Heim}
1773 % {heim@astro.uni-tuebingen.de}{1998/07/27}.
1774 % \begingroup
1775 % \begin{macrocode}
1776 %<*lang2>
1777 % \end{macrocode}
1778 % \begin{macrocode}
1779 %%
1780 %% IDL definition (c) 1998 Juergen Heim
1781 %%
1782 \lst@definelanguage{IDL}%
1783 {morekeywords={and,begin,case,common,do,else,end,endcase,endelse,%
1784 endfor,endif,endrep,endwhile,eq,for,function,ge,goto,gt,if,le,lt,%
1785 mod,ne,not,of,on_ioerror,or,pro,repeat,return,then,until,while,%
1786 xor,on_error,openw,openr,openu,print,printf,printu,plot,read,%
1787 readf,readu,writeu,stop},%
1788 sensitive=f,%
1789 morecomment=[l];,%
1790 morestring=[d]'%
1791 }[keywords,comments,strings]%
1792 % \end{macrocode}
1793 % \begin{macrocode}
1794 %</lang2>
1795 % \end{macrocode}
1796 % \endgroup
1797 %
1798 %
1799 % \subsection{Inform}
1800 %
1801 % Thanks to \lstthanks{Jonathan~Sauer}{jonathan.sauer@gmx.de}{2003/11/10}
1802 % for this language definition. \lsthelper{Ulrike Fischer}{-}{2004/04/21}
1803 % {Bug in listings.sty} pointed out that |\lstdefinelanguage| should be
1804 % |\lst@definelanguage|.
1805 % \begingroup
1806 % \begin{macrocode}
1807 %<*lang2>
1808 % \end{macrocode}
1809 % \begin{macrocode}
1810 %%
1811 %% Inform definition (c) 2003 Jonathan Sauer
1812 %%
1813 \lst@definelanguage{inform}{%
1814 % Language keywords
1815 morekeywords={breakdo,else,false,for,has,hasnt,if,%
1816 in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,%
1817 private,property,provides,return,rfalse,rtrue,self,string,%
1818 switch,to,true,until,while,with,%
1819 creature,held,multiexcept,multiheld,multiinside,noun,number,%
1820 scope,topic},%
1821 %
1822 % Inform functions
1823 morekeywords=[2]{box,child,children,font,give,inversion,metaclass,move,%
1824 new_line,parent,print,print_ret,read,remove,restore,sibling,%
1825 save,spaces,quit,style,bold,underline,reverse,roman remaining,%
1826 create,destroy,recreate,copy},%
1827 %
1828 % Inform definitions
1829 morekeywords=[3]{Attribute,Array,Class,Constant,Default,End,Endif,Extend,%
1830 Global,Ifdef,Iffalse,Ifndef,Ifnot,Iftrue,Include,Object,%
1831 Property,Verb,Release,Serial,Statusline},%
1832 %
1833 % Library attributes
1834 morekeywords=[4]{absent,animate,clothing,concealed,container,door,edible,%
1835 enterable,female,general,light,lockable locked,male,moved,%
1836 neuter,on,open,openable,pluralname,proper,scenery,scored,%
1837 static,supporter,switchable,talkable,transparent,visited,%
1838 workflag,worn},%
1839 %
1840 % Libary properties
1841 morekeywords=[5]{n_to,s_to,e_to,w_to,ne_to,nw_to,se_to,sw_to,in_to,%
1842 out_to,u_to,d_to,add_to_scope,after,article,articles,before,%
1843 cant_go,capacity,daemon,describe,description,door_dir,door_to,%
1844 each_turn,found_in,grammar,initial,inside_description,invent,%
1845 life,list_together,name number,orders,parse_name,plural,%
1846 react_after,react_before,short_name,short_name_indef,time_left,%
1847 time_out,when_closed,when_open,when_on,when_off,%
1848 with_key},
1849 %
1850 % Library routines
1851 morekeywords=[6]{Achieved,AfterRoutines,AllowPushDir,Banner,ChangePlayer,%
1852 CommonAncestor,DictionaryLookup,GetGNAOfObject,HasLightSource,%
1853 IndirectlyContains,IsSeeThrough,Locale,LoopOverScope,LTI_Insert,%
1854 MoveFloatingObjects,NextWord,NextWordStopped,NounDomain,%
1855 ObjectIsUntouchable OffersLight,ParseToken,PlaceInScope,PlayerTo,%
1856 PronounNotice,PronounValue,ScopeWithin,SetPronoun,SetTime,%
1857 StartDaemon,StartTimer,StopDaemon,StopTimer,TestScope,TryNumber,%
1858 UnsignedCompare,WordAddress,WordInProperty,WordLength,%
1859 WriteListFrom,YesOrNo},%
1860 %
1861 % Library,entry points
1862 morekeywords=[7]{AfterLife,AfterPrompt,Amusing,BeforeParsing,ChooseObjects,%
1863 DarkToDark,DeathMessage,GamePostRoutine GamePreRoutine,%
1864 Initialise,InScope,LookRoutine,NewRoom,ParseNoun,ParseNumber,%
1865 ParserError,PrintRank,PrintTaskName,PrintVerb,TimePasses,%
1866 UnknownVerb},%
1867 %
1868 % Library constants
1869 morekeywords=[8]{NEWLINE_BIT,INDENT_BIT,FULLINV_BIT,ENGLISH_BIT,RECURSE_BIT,%
1870 ALWAYS_BIT,TERSE_BIT,PARTINV_BIT,DEFART_BIT,WORKFLAG_BIT,%
1871 ISARE_BIT,CONCEAL_BIT},%
1872 %
1873 % Library,meta actions
1874 morekeywords=[9]{Pronouns,Quit,Restart,Restore,Save,Verify,ScriptOn,ScriptOff,%
1875 NotifyOn,NotifyOff,Places,Objects,Score,FullScore,Version,LMode1,%
1876 LMode2,Lmode3},%
1877 %
1878 % Library,main actions
1879 morekeywords=[10]{Close,Disrobe,Drop,Eat,Empty,EmptyT,Enter,Examine,Exit,GetOff,%
1880 Give,Go,GoIn,Insert,Inv,InvTall,InvWide,Lock,Look,Open,PutOn,Remove,%
1881 Search,Show,SwitchOff,SwitchOn,Take,Transfer,Unlock VagueGo,%
1882 Wear},%
1883 %
1884 % Library,stub actions
1885 morekeywords=[11]{Answer,Ask,AskFor,Attack,Blow,Burn,Buy,Climb,Consult,Cut,Dig,%
1886 Drink,Fill,Jump,JumpOver,Kiss,Listen,LookUnder,Mild,No,Pray,Pull,%
1887 Push,PushDir,Rub,Set,SetTo,Sing,Sleep,Smell,,Sleep,Smell,Sorry,%
1888 Squeeze,Strong,Swim,Swing,Taste,Tell,Think,ThrowAt,Tie,Touch,Turn,%
1889 Wait,Wake,WakeOther,Wave,WaveHands,Yes},%
1890 %
1891 otherkeywords={->,-->},%
1892 sensitive=false,%
1893 morestring=[d]{"},%
1894 morecomment=[l]{!}%
1895 }[keywords,comments,strings]%
1896 % \end{macrocode}
1897 % \begin{macrocode}
1898 %</lang2>
1899 % \end{macrocode}
1900 % \endgroup
1901 %
1902 %
1903 % \subsection{Java}
1904 %
1905 % \lstthanks{Robert~Wenner}{robert.wenner@gmx.de}{2003/03/27} sent in the
1906 % first of the following two definitions.
1907 % \begingroup
1908 % \begin{macrocode}
1909 %<*lang1>
1910 % \end{macrocode}
1911 % \begin{macrocode}
1912 %%
1913 %% AspectJ definition (c) Robert Wenner
1914 %%
1915 \lst@definelanguage[AspectJ]{Java}[]{Java}%
1916 {morekeywords={%
1917 adviceexecution,after,args,around,aspect,aspectOf,before,%
1918 call,cflow,cflowbelow,%
1919 % declare error,declare parents,declare precedence,
1920 % declare soft,declare warning,
1921 execution,get,handler,if,initialization,issingleton,pointcut,%
1922 percflow,percflowbelow,perthis,pertarget,preinitialization,%
1923 privileged,proceed,returning,set,staticinitialization,strictfp,%
1924 target,this,thisEnclosingJoinPoint,thisJoinPoint,throwing,%
1925 within,withincode},%
1926 MoreSelectCharTable=%
1927 \lst@DefSaveDef{`.}\lst@umdot{\lst@umdot\global\let\lst@derefop\@empty}%
1928 \ifx\lst@derefinstalled\@empty\else
1929 \global\let\lst@derefinstalled\@empty
1930 \lst@AddToHook{Output}%
1931 {\lst@ifkeywords
1932 \ifx\lst@derefop\@empty
1933 \global\let\lst@derefop\relax
1934 \ifx\lst@thestyle\lst@gkeywords@sty
1935 \ifx\lst@currstyle\relax
1936 \let\lst@thestyle\lst@identifierstyle
1937 \else
1938 \let\lst@thestyle\lst@currstyle
1939 \fi
1940 \fi
1941 \fi
1942 \fi}
1943 \lst@AddToHook{BOL}{\global\let\lst@derefop\relax}%
1944 \lst@AddTo\lst@ProcessSpace{\global\let\lst@derefop\relax}%
1945 \fi
1946 }%
1947 % \end{macrocode}
1948 % \begin{macrocode}
1949 %</lang1>
1950 % \end{macrocode}
1951 % \endgroup
1952 %
1953 % Got data from \texttt{http://java.sun.com}.
1954 % \begingroup
1955 % \begin{macrocode}
1956 %<*lang1>
1957 % \end{macrocode}
1958 % \begin{macrocode}
1959 \lst@definelanguage{Java}%
1960 {morekeywords={abstract,boolean,break,byte,case,catch,char,class,%
1961 const,continue,default,do,double,else,extends,false,final,%
1962 finally,float,for,goto,if,implements,import,instanceof,int,%
1963 interface,label,long,native,new,null,package,private,protected,%
1964 public,return,short,static,super,switch,synchronized,this,throw,%
1965 throws,transient,true,try,void,volatile,while},%
1966 sensitive,%
1967 morecomment=[l]//,%
1968 morecomment=[s]{/*}{*/},%
1969 morestring=[b]",%
1970 morestring=[b]',%
1971 }[keywords,comments,strings]%
1972 % \end{macrocode}
1973 % \lsthelper{Herbert Voss}{Herbert.Voss@alumni.TU-Berlin.de}{2002/07/30}
1974 % {missing keyword label} added the keyword \texttt{label}.
1975 % \begin{macrocode}
1976 %</lang1>
1977 % \end{macrocode}
1978 % \endgroup
1979 %
1980 % \lstthanks{Martine~Gautier}{Martine.Gautier@loria.fr}{2004/03/30} made the
1981 % following contribution.
1982 % \begingroup
1983 % \begin{macrocode}
1984 %<*lang1>
1985 % \end{macrocode}
1986 % \begin{macrocode}
1987 %%
1988 %% ByteCodeJava definition (c) 2004 Martine Gautier
1989 %%
1990 \lst@definelanguage{JVMIS}%
1991 {morekeywords={aaload,astore,aconst_null,aload,aload_0,aload_1,%
1992 aload_2,aload_3,anewarray,areturn,arraylength,astore,astore_0,%
1993 astore_1,astore_2,astore_3,athrow,baload,bastore,bipush,caload,%
1994 castore,checkcast,d2f,d2i,d2l,dadd,daload,dastore,dcmpg,dcmpl,%
1995 dconst_0,dconst_1,ddiv,dload,dload_0,dload_1,dload_2,dload_3,%
1996 dmul,dneg,drem,dreturn,dstore,dstore_0,dstore_1,dstore_2,%
1997 dstore_3,dsub,dup,dup_x1,dup_x2,dup2,dup2_x1,dup2_x2,f2d,%
1998 f2i,f2l,fadd,faload,fastore,fcmpg,fcmpl,fconst_0,fconst_1,%
1999 fconst_2,fdiv,fload,fload_0,fload_1,fload_2,fload_3,fmul,%
2000 fneg,frem,freturn,fstore,fstore_0,fstore_1,fstore_2,fstore_3,%
2001 fsub,getfield,getstatic,goto,goto_w,i2b,i2c,i2d,i2f,i2l,i2s,%
2002 iadd,iaload,iand,iastore,iconst_0,iconst_1,iconst_2,iconst_3,%
2003 iconst_4,iconst_5,idiv,if_acmpeq,if_acmpne,if_icmpeq,if_icmpne,%
2004 if_icmplt,if_cmpge,if_cmpgt,if_cmple,ifeq,ifne,iflt,ifge,ifgt,%
2005 ifle,ifnonnull,ifnull,iinc,iload,iload_0,iload_1,iload_2,%
2006 iload_3,imul,ineg,instanceof,invokeinterface,invokespecial,%
2007 invokestatic,invokevirtual,ior,irem,ireturn,ishl,ishr,istore,%
2008 istore_0,istore_1,istore_2,istore_3,isub,iushr,ixor,jsr,jsr_w,%
2009 l2d,l2f,l2i,ladd,laload,land,lastore,lcmp,lconst_0,lconst_1,%
2010 ldc,ldc_w,ldc2_w,ldiv,lload,lload_0,lload_1,lload_2,lload_3,%
2011 lmul,lneg,lookupswitch,lor,lrem,lreturn,lshl,lshr,lstore,%
2012 lstore_0,lstore_1,lstore_2,lstore_3,lsub,lushr,lxor,%
2013 monitorenter,monitorexit,multianewarray,new,newarray,nop,pop,%
2014 pop2,putfield,putstatic,ret,return,saload,sastore,sipush,swap,%
2015 tableswitch,wide,limit,locals,stack},%
2016 }[keywords]%
2017 % \end{macrocode}
2018 % \begin{macrocode}
2019 %</lang1>
2020 % \end{macrocode}
2021 % \endgroup
2022 %
2023 %
2024 % \subsection{ksh}
2025 %
2026 % Thanks to \lstthanks{Jeffrey Ratcliffe}{Jeffrey.Ratcliffe@m.eads.net}
2027 % {2002/02/21} for this language definition.
2028 % \begingroup
2029 % \begin{macrocode}
2030 %<*lang3>
2031 % \end{macrocode}
2032 % \begin{macrocode}
2033 \lst@definelanguage{ksh}
2034 {morekeywords={alias,awk,cat,echo,else,elif,fi,exec,exit,%
2035 for,in,do,done,select,case,esac,while,until,function,%
2036 time,export,cd,eval,fc,fg,kill,let,pwd,read,return,rm,%
2037 glob,goto,history,if,logout,nice,nohup,onintr,repeat,sed,%
2038 set,setenv,shift,source,switch,then,umask,unalias,%
2039 unset,wait,@,env,argv,child,home,ignoreeof,noclobber,%
2040 noglob,nomatch,path,prompt,shell,status,verbose,print,printf,%
2041 sqrt,BEGIN,END},%
2042 morecomment=[l]\#,%
2043 morestring=[d]",%
2044 morestring=[d]',%
2045 morestring=[d]`%
2046 }[keywords,comments,strings]%
2047 % \begin{macrocode}
2048 %</lang3>
2049 % \end{macrocode}
2050 % \lsthelper{Herbert Voss}{Herbert.Voss@alumni.TU-Berlin.de}{2002/10/28}
2051 % {[Fwd: Re: Probleme mit Paket listings bei ksh]} suggested to add the
2052 % string delimiter |`|.
2053 % \endgroup
2054 %
2055 %
2056 % \subsection{Lingo}
2057 %
2058 % Thanks to \lstthanks{Mark Schade}{-}{2006/07/26} for this language definition.
2059 % \begingroup
2060 % \begin{macrocode}
2061 %<*lang3>
2062 % \end{macrocode}
2063 % \begin{macrocode}
2064 \lst@definelanguage{Lingo}
2065 {morekeywords={abort,after,and,before,do,down,halt,me,new,not,of,%
2066 on,or,otherwise,pass,put,result,return,set,tell,the,then,to,with,%
2067 repeat,while,case,if,else,true,false,global,property,\_global,\_key,%
2068 \_mouse,\_movie,\_player,\_sound,\_system,abbr,abbrev,abbreviated,abs,%
2069 actionsenabled,activateapplication,activatewindow,active3drenderer,%
2070 activecastlib,activewindow,actorlist,add,addat,addbackdrop,addcamera,%
2071 addchild,addmodifier,addoverlay,addprop,addtoworld,addvertex,alert,%
2072 alerthook,alignment,allowcustomcaching,allowgraphicmenu,allowsavelocal,%
2073 allowtransportcontrol,allowvolumecontrol,allowzooming,alphathreshold,%
2074 ambient,ambientcolor,ancestor,angle,anglebetween,animationenabled,%
2075 antialias,antialiasthreshold,append,applicationname,applicationpath,%
2076 appminimize,atan,attenuation,attributevalue,auto,autoblend,automask,%
2077 autotab,axisangle,back,backcolor,backdrop,backgroundcolor,backspace,%
2078 beep,beepon,beginrecording,beginsprite,beveldepth,beveltype,bgcolor,%
2079 bias,bitand,bitmap,bitmapsizes,bitnot,bitor,bitrate,bitspersample,%
2080 bitxor,blend,blendconstant,blendconstantlist,blendfactor,blendfunction,%
2081 blendfunctionlist,blendlevel,blendrange,blendsource,blendsourcelist,%
2082 blendtime,bone,bonesplayer,border,both,bottom,bottomcap,bottomradius,%
2083 bottomspacing,boundary,boundingsphere,box,boxdropshadow,boxtype,%
2084 breakconnection,breakloop,brightness,broadcastprops,browsername,%
2085 buffersize,build,buttonsenabled,buttonstyle,buttontype,bytesstreamed,%
2086 boolean,cachedocverify,cachesize,call,callancestor,camera,cameracount,%
2087 cameraposition,camerarotation,cancelidleload,castlib,castlibnum,%
2088 castmemberlist,center,centerregpoint,centerstage,changearea,channelcount,%
2089 char,characterset,charpostoloc,chars,charspacing,chartonum,%
2090 checkboxaccess,checkboxtype,checkmark,checknetmessages,child,chunksize,%
2091 clearatrender,clearcache,clearerror,clearframe,clearglobals,clearvalue,%
2092 clickloc,clickmode,clickon,clone,clonedeep,clonemodelfromcastmember,%
2093 clonemotionfromcastmember,close,closed,closewindow,closexlib,collision,%
2094 collisiondata,collisionnormal,color,world,colorbuffer,colorbufferdepth,%
2095 colordepth,colorlist,colorrange,colors,colorsteps,commanddown,comments,%
2096 compressed,connecttonetserver,constrainh,constraint,constrainv,,%
2097 continue,controldown,controller,copypixels,copyrightinfo,copyto,%
2098 copytoclipboard,cos,count,cpuhogticks,creaseangle,creases,[contains],%
2099 createfolder,createmask,creatematte,creationdate,creator,crop,cross,%
2100 crossproduct,cuepassed,cuepointnames,cuepointtimes,currentloopstate,%
2101 currentspritenum,currenttime,cursor,cursorsize,curve,cylinder,ate,day,%
2102 deactivateapplication,deactivatewindow,debug,debugplaybackenabled,%
2103 decaymode,defaultrect,defaultrectmode,delay,delete,deleteall,deleteat,%
2104 deletecamera,deletefolder,deleteframe,deletegroup,deletelight,%
2105 deletemodel,deletemodelresource,deletemotion,deleteone,deleteprop,%
2106 deleteshader,deletetexture,deletevertex,density,depth,depthbufferdepth,%
2107 desktoprectlist,diffuse,diffusecolor,diffuselightmap,%
2108 digitalvideotimescale,digitalvideotype,direction,directionalcolor,%
2109 directionalpreset,directtostage,disableimagingtransformation,displayface,%
2110 displaymode,distanceto,distribution,dither,done,doneparsing,dot,%
2111 dotproduct,doubleclick,downloadnetthing,drag,draw,drawrect,dropshadow,%
2112 duplicate,duplicateframe,duration,editable,editshortcutsenabled,%
2113 elapsedtime,emissive,emitter,empty,emulatemultibuttonmouse,enabled,%
2114 enablehotspot,end,endangle,endcolor,endframe,endrecording,endsprite,%
2115 endtime,enter,enterframe,environment,erase,error,eventpassmode,%
2116 exchange,exists,exit,exitframe,exitlock,exp,externalevent,%
2117 externalparamcount,externalparamname,externalparamvalue,extractalpha,%
2118 extrude3d,face,fadein,fadeout,fadeto,far,field,fieldofview,filename,%
2119 fill,fillcolor,fillcycles,filldirection,filled,fillmode,filloffset,%
2120 fillscale,findempty,findlabel,findpos,findposnear,finishidleload,%
2121 firstindent,fixedlinespace,fixedrate,fixstagesize,flashrect,flashtostage,%
2122 flat,fliph,flipv,float,floatp,floatprecision,flush,flushinputevents,%
2123 fog,folderchar,font,fontsize,fontstyle,forecolor,forget,frame,%
2124 framecount,framelabel,framepalette,framerate,frameready,framescript,%
2125 framesound1,framesound2,framestohms,frametempo,frametransition,freeblock,%
2126 freebytes,fromcastmember,fromimageobject,front,frontwindow,%
2127 generatenormals,getaprop,getat,getbehaviordescription,getbehaviortooltip,%
2128 getboneid,geterror,geterrorstring,gethardwareinfo,gethotspotrect,getlast,%
2129 getlatestnetid,getnetaddresscookie,getneterrorstring,getnetmessage,%
2130 getnetoutgoingbytes,getnettext,getnormalized,getnthfilenameinfolder,%
2131 getnumberwaitingnetmessages,getone,getpeerconnectionlist,getpixel,%
2132 getplaylist,getpos,getpref,getprop,getpropat,getpropertydescriptionlist,%
2133 getrendererservices,getstreamstatus,gettemppath,getworldtransform,globals,%
2134 glossmap,go,gotoframe,gotonetmovie,gotonetpage,gradienttype,gravity,%
2135 group,handler,handlers,height,heightvertices,high,highlightpercentage,%
2136 highlightstrength,hilite,hither,hittest,hmstoframes,hold,hotspot,html,%
2137 hyperlink,hyperlinkclicked,hyperlinkrange,hyperlinks,hyperlinkstate,%
2138 id3tags,identity,idle,idlehandlerperiod,idleloaddone,idleloadmode,%
2139 idleloadperiod,idleloadtag,idlereadchunksize,ilk,image,imagecompression,%
2140 imageenabled,imagequality,immovable,importfileinto,inflate,ink,inker,%
2141 inlineimeenabled,insertbackdrop,insertframe,insertoverlay,inside,%
2142 installmenu,instance,integer,integerp,interface,interpolate,%
2143 interpolateto,intersect,index,interval,inverse,invert,invertmask,%
2144 isbusy,isinworld,isoktoattach,ispastcuepoint,item,itemdelimiter,kerning,%
2145 kerningthreshold,key,keyboardfocussprite,keycode,keydown,keydownscript,%
2146 keyframeplayer,keypressed,keyup,keyupscript,label,labellist,last,%
2147 lastchannel,lastclick,lastevent,lastframe,lastkey,lastroll,left,%
2148 leftindent,length,lengthvertices,level,lifetime,light,line,linearlist,%
2149 linecolor,linecount,linedirection,lineheight,lineoffset,linepostolocv,%
2150 linesize,linkas,linked,list,listp,loaded,loadfile,loc,loch,locked,%
2151 locktranslation,loctocharpos,locv,locvtolinepos,locz,lod,log,long,%
2152 loop,loopcount,loopendtime,loopsremaining,loopstarttime,machinetype,%
2153 magnitude,map,mapImageToStage,mapmembertostage,mapstagetomember,margin,%
2154 marker,markerlist,mask,max,maxinteger,maxspeed,mci,media,mediaready,%
2155 member,membernum,members,memorysize,menu,mesh,meshdeform,milliseconds,%
2156 min,minspeed,modal,mode,model,modela,modelb,modelresource,%
2157 modelsunderloc,modelsunderray,modelunderloc,modified,modifiedby,%
2158 modifieddate,modifier,modifiers,month,mostrecentcuepoint,motion,%
2159 mousechar,mousedown,mousedownscript,mouseenter,mouseh,mouseitem,%
2160 mouseleave,mouselevel,mouseline,mouseloc,mousemember,mouseoverbutton,%
2161 mouseup,mouseupoutside,mouseupscript,mousev,mousewithin,mouseword,move,%
2162 moveablesprite,movetoback,movetofront,movevertex,movevertexhandle,%
2163 movewindow,movie,movieaboutinfo,moviecopyrightinfo,moviefilefreesize,%
2164 moviefilesize,moviefileversion,movieimagecompression,movieimagequality,%
2165 moviename,moviepath,movierate,movietime,moviextralist,mpeglayer,%
2166 multiply,multisound,name,near,nearfiltering,neighbor,netabort,netdone,%
2167 neterror,netlastmoddate,netmime,netpresent,netstatus,nettextresult,%
2168 netthrottleticks,newcamera,newcurve,newgroup,newlight,newmesh,newmodel,%
2169 newmodelresource,newmotion,newshader,newtexture,next,none,normalize,%
2170 normallist,normals,nothing,notify,nudge,number,numchannels,%
2171 numparticles,numsegments,numtochar,objectp,offset,open,openresfile,%
2172 openwindow,openxlib,optiondown,organizationname,originalfont,originh,%
2173 originmode,originpoint,originv,orthoheight,overlay,pageheight,palette,%
2174 palettemapping,paletteref,paletteindex,pan,paragraph,param,paramcount,%
2175 parent,parsestring,particle,pasteclipboardinto,path,pathname,%
2176 pathstrength,pattern,pause,pausedatstart,pausestate,percentplayed,%
2177 percentstreamed,period,perpendicularto,persistent,pi,picture,picturep,%
2178 plane,platform,play,playbackmode,playfile,playing,playlist,playnext,%
2179 playrate,point,pointat,pointatorientation,pointinhyperlink,%
2180 pointofcontact,pointtochar,pointtoitem,pointtoline,pointtoparagraph,%
2181 pointtoword,position,positionreset,posterframe,postnettext,power,%
2182 preferred3drenderer,preload,preloadbuffer,preloadeventabort,preloadmember,%
2183 preloadmode,preloadmovie,preloadnetthing,preloadram,preloadtime,%
2184 premultiply,prepareframe,preparemovie,prerotate,prescale,pretranslate,%
2185 previous,primitives,printfrom,productversion,projection,projectionangle,%
2186 propList,proxyserver,pttohotspotid,puppet,puppetpalette,puppetsound,%
2187 puppetsprite,puppettempo,puppettransition,purgepriority,%
2188 qtregisteraccesskey,qtunregisteraccesskey,quad,quality,queue,quit,quote,%
2189 radius,ramneeded,random,randomseed,randomvector,rateshift,rawnew,read,%
2190 readvalue,recordfont,rect,ref,reflectionmap,reflectivity,region,%
2191 registerforevent,registerscript,regpoint,regpointvertex,removebackdrop,%
2192 removefromworld,removelast,removemodifier,removeoverlay,rename,renderer,%
2193 rendererdevicelist,renderformat,renderstyle,resetworld,resizewindow,%
2194 resolution,resolve,resolvea,resolveb,resource,restart,resume,%
2195 reverttoworlddefaults,rewind,rgb,rgba4444,rgba5550,rgba5551,rgba5650,%
2196 rgba8880,rgba8888,right,rightindent,rightmousedown,rightmouseup,%
2197 rollover,romanlingo,rootlock,rootnode,rotate,rotation,rotationreset,%
2198 rtf,runmode,runpropertydialog,safeplayer,samplecount,samplerate,%
2199 samplesize,save,savedlocal,savemovie,scale,scalemode,score,scorecolor,%
2200 scoreselection,script,scriptexecutionstyle,scriptinstancelist,scriptlist,%
2201 scriptnum,scriptsenabled,scripttext,scripttype,scrollbyline,scrollbypage,%
2202 scrolltop,sds,searchcurrentfolder,searchpath,searchpaths,seconds,%
2203 selectedtext,selection,selend,selstart,sendallsprites,sendevent,%
2204 sendnetmessage,sendsprite,serialnumber,setalpha,setaprop,setat,%
2205 setcollisioncallback,setflashproperty,setnetbufferlimits,%
2206 setnetmessagehandler,setpixel,setplaylist,setpref,setprop,setscriptlist,%
2207 settrackenabled,setvariable,shader,shaderlist,shadowpercentage,%
2208 shadowstrength,shapetype,shiftdown,shininess,shockwave3d,short,%
2209 showglobals,showlocals,showprops,showresfile,showxlib,shutdown,%
2210 silhouettes,sin,size,sizerange,skew,sleep,smoothness,sort,sound,%
2211 soundbusy,soundchannel,sounddevice,sounddevicelist,soundenabled,%
2212 soundkeepdevice,soundlevel,soundmixmedia,source,sourcerect,space,%
2213 specular,specularcolor,specularlightmap,sphere,spotangle,spotdecay,%
2214 sprite,spritenum,spritespacetoworldspace,sqrt,stage,stagebottom,%
2215 stagecolor,stageleft,stageright,stagetoflash,stagetop,standard,%
2216 startangle,startframe,startmovie,starttime,starttimer,state,static,%
2217 status,stepframe,stilldown,stop,stopevent,stopmovie,stoptime,stream,%
2218 streammode,streamname,streamsize,streamstatus,string,stringp,%
2219 strokecolor,strokewidth,style,subdivision,sweep,swing,switchcolordepth,%
2220 symbol,symbolp,systemdate,tab,tabcount,tabs,tan,target,%
2221 tellstreamstatus,tension,text,texture,texturecoordinatelist,%
2222 texturecoordinates,texturelayer,texturelist,texturemember,texturemode,%
2223 texturemodelist,texturerenderformat,texturerepeat,texturerepeatlist,%
2224 texturetransform,texturetransformlist,texturetype,thumbnail,ticks,tilt,%
2225 time,timeout,timeouthandler,timeoutkeydown,timeoutlapsed,timeoutlength,%
2226 timeoutlist,timeoutmouse,timeoutplay,timeoutscript,timer,timescale,%
2227 title,titlevisible,toon,top,topcap,topradius,topspacing,trace,%
2228 traceload,tracelogfile,trackcount,trackenabled,tracknextkeytime,%
2229 tracknextsampletime,trackpreviouskeytime,trackprevioussampletime,%
2230 trackstarttime,trackstoptime,tracktext,tracktype,trails,transform,%
2231 transitiontype,translate,triggercallback,trimwhitespace,tunneldepth,%
2232 tweened,tweenmode,type,[transparent],union,unload,unloadmember,%
2233 unloadmovie,unregisterallevents,update,updateframe,updatelock,%
2234 updatemovieenabled,updatestage,url,usealpha,usediffusewithtexture,%
2235 usefastquads,usehypertextstyles,uselineoffset,userdata,username,value,%
2236 vector,version,vertex,vertexlist,vertices,video,videoforwindowspresent,%
2237 viewh,viewpoint,viewscale,viewv,visibility,visible,void,voidp,volume,%
2238 volumeinfo,wait,waitfornetconnection,warpmode,width,widthvertices,wind,%
2239 window,windowlist,windowpresent,windowtype,word,wordwrap,world,%
2240 worldposition,worldspacetospritespace,worldtransform,wraptransform,%
2241 wraptransformlist,write,writevalue,,xaxis,xtra,xtralist,xtras,,yaxis,%
2242 year,yon,zaxis,zoombox,zoomwindow,repeat,Conditional,Boolean,TypeDef,%
2243 Statement,Operator,String,Comment,Identifier,Special,x,y,z}
2244 sensitive=false,
2245 morecomment=[l]{--},
2246 morestring=[b]",
2247 }[keywords,comments,strings]%
2248 % \begin{macrocode}
2249 %</lang3>
2250 % \end{macrocode}
2251 % \endgroup
2252 %
2253 %
2254 % \subsection{Lisp, AutoLisp}
2255 %
2256 % Most data are from
2257 % \begin{itemize}
2258 % \item
2259 % \textsc{Guy Steele}:
2260 % \textbf{Common Lisp};
2261 % Copyright 1990 by Digital Equipment Corporation;
2262 % ISBN 1-55558-042-4.
2263 % \end{itemize}
2264 % Thanks to \lsthelper{Aslak Raanes}{araanes@ifi.ntnu.no}{1997/11/24}{single
2265 % comment in Lisp} for the `single comment' delimiters. The keywords are the
2266 % `one-word' functions and macros of Common Lisp, i.e.~words not containing a
2267 % minus. But I left out the \texttt{caaaar}, \ldots{} functions.
2268 % If anyone types them in, I'd like to get them.
2269 % \begingroup
2270 % \begin{macrocode}
2271 %<*lang2>
2272 % \end{macrocode}
2273 % \begin{macrocode}
2274 \lst@definelanguage{Lisp}%
2275 {morekeywords={abort,abs,acons,acos,acosh,adjoin,alphanumericp,alter,%
2276 append,apply,apropos,aref,arrayp,ash,asin,asinh,assoc,atan,atanh,%
2277 atom,bit,boole,boundp,break,butlast,byte,catenate,ceiling,cerror,%
2278 char,character,characterp,choose,chunk,cis,close,clrhash,coerce,%
2279 collect,commonp,compile,complement,complex,complexp,concatenate,%
2280 conjugate,cons,consp,constantp,continue,cos,cosh,cotruncate,%
2281 count,delete,denominator,describe,directory,disassemble,%
2282 documentation,dpb,dribble,ed,eighth,elt,enclose,endp,eq,eql,%
2283 equal,equalp,error,eval,evalhook,evenp,every,exp,expand,export,%
2284 expt,fboundp,fceiling,fdefinition,ffloor,fifth,fill,find,first,%
2285 float,floatp,floor,fmakunbound,format,fourth,fround,ftruncate,%
2286 funcall,functionp,gatherer,gcd,generator,gensym,gentemp,get,getf,%
2287 gethash,identity,imagpart,import,inspect,integerp,intern,%
2288 intersection,tively,isqrt,keywordp,last,latch,lcm,ldb,ldiff,%
2289 length,list,listen,listp,load,log,logand,logbitp,logcount,logeqv,%
2290 logior,lognand,lognor,lognot,logtest,logxor,macroexpand,%
2291 makunbound,map,mapc,mapcan,mapcar,mapcon,maphash,mapl,maplist,%
2292 mask,max,member,merge,min,mingle,minusp,mismatch,mod,namestring,%
2293 nbutlast,nconc,nintersection,ninth,not,notany,notevery,nreconc,%
2294 nreverse,nsublis,nsubst,nth,nthcdr,null,numberp,numerator,nunion,%
2295 oddp,open,packagep,pairlis,pathname,pathnamep,phase,plusp,%
2296 position,positions,pprint,previous,princ,print,proclaim,provide,%
2297 random,rassoc,rational,rationalize,rationalp,read,readtablep,%
2298 realp,realpart,reduce,rem,remhash,remove,remprop,replace,require,%
2299 rest,revappend,reverse,room,round,rplaca,rplacd,sbit,scan,schar,%
2300 search,second,series,set,seventh,shadow,signal,signum,sin,sinh,%
2301 sixth,sleep,some,sort,split,sqrt,streamp,string,stringp,sublis,%
2302 subseq,subseries,subsetp,subst,substitute,subtypep,svref,sxhash,%
2303 symbolp,tailp,tan,tanh,tenth,terpri,third,truename,truncate,%
2304 typep,unexport,unintern,union,until,values,vector,vectorp,warn,%
2305 write,zerop,and,assert,case,ccase,cond,ctypecase,decf,declaim,%
2306 defclass,defconstant,defgeneric,defmacro,defmethod,defpackage,%
2307 defparameter,defsetf,defstruct,deftype,defun,defvar,do,dolist,%
2308 dotimes,ecase,encapsulated,etypecase,flet,formatter,gathering,%
2309 incf,iterate,labels,let,locally,loop,macrolet,mapping,or,pop,%
2310 producing,prog,psetf,psetq,push,pushnew,remf,return,rotatef,%
2311 setf,shiftf,step,time,trace,typecase,unless,untrace,when},%
2312 sensitive,% ???
2313 alsodigit=-,%
2314 morecomment=[l];,%
2315 morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes
2316 morestring=[b]"%
2317 }[keywords,comments,strings]%
2318 % \end{macrocode}
2319 % \begin{macrocode}
2320 %</lang2>
2321 % \end{macrocode}
2322 % \endgroup
2323 %
2324 %
2325 % \begingroup
2326 % \begin{macrocode}
2327 %<*lang2>
2328 % \end{macrocode}
2329 % \lstthanks{Stefan Lagotzki}{info@lagotzki.de}{2001/10/28} warned me to
2330 % define this as a lisp dialect \ldots
2331 % \begin{macrocode}
2332 %%
2333 %% AutoLISP/VisualLISP - Stefan Lagotzki, info@lagotzki.de
2334 %%
2335 \lst@definelanguage[Auto]{Lisp}%
2336 {morekeywords={abs,acad_colordlg,acad_helpdlg,acad_strlsort,%
2337 action_tile,add_list,alert,alloc,and,angle,angtof,angtos,append,%
2338 apply,arx,arxload,arxunload,ascii,assoc,atan,atof,atoi,atom,%
2339 atoms-family,autoarxload,autoload,Boole,boundp,caddr,cadr,car,%
2340 cdr,chr,client_data_tile,close,command,cond,cons,cos,cvunit,%
2341 defun,defun-q,defun-q-list-ref,defun-q-list-set,dictadd,dictnext,%
2342 dictremove,dictrename,dictsearch,dimx_tile,dimy_tile,distance,%
2343 distof,done_dialog,end_image,end_list,entdel,entget,entlast,%
2344 entmake,entmakex,entmod,entnext,entsel,entupd,eq,equal,*error*,%
2345 eval,exit,exp,expand,expt,fill_image,findfile,fix,float,foreach,%
2346 function,gc,gcd,get_attr,get_tile,getangle,getcfg,getcname,%
2347 getcorner,getdist,getenv,getfiled,getint,getkword,getorient,%
2348 getpoint,getreal,getstring,getvar,graphscr,grclear,grdraw,grread,%
2349 grtext,grvecs,handent,help,if,initdia,initget,inters,itoa,lambda,%
2350 last,layoutlist,length,list,listp,load,load_dialog,log,logand,%
2351 logior,lsh,mapcar,max,mem,member,menucmd,menugroup,min,minusp,%
2352 mode_tile,namedobjdict,nentsel,nentselp,new_dialog,not,nth,%
2353 null,numberp,open,or,osnap,polar,prin1,princ,print,progn,prompt,%
2354 quit,quote,read,read-char,read-line,redraw,regapp,rem,repeat,%
2355 reverse,rtos,set,set_tile,setcfg,setenv,setfunhelp,setq,%
2356 setvar,setview,sin,slide_image,snvalid,sqrt,ssadd,ssdel,ssget,%
2357 ssgetfirst,sslength,ssmemb,ssname,ssnamex,sssetfirst,startapp,%
2358 start_dialog,start_image,start_list,strcase,strcat,strlen,subst,%
2359 substr,tablet,tblnext,tblobjname,tblsearch,term_dialog,terpri,%
2360 textbox,textpage,textscr,trace,trans,type,unload_dialog,untrace,%
2361 vector_image,ver,vl-acad-defun,vl-acad-undefun,vl-arx-import,%
2362 vl-bb-ref,vl-bb-set,vl-catch-all-apply,%
2363 vl-catch-all-error-message,vl-catch-all-error-p,vl-cmdf,vl-consp,%
2364 vl-directory-files,vl-doc-export,vl-doc-import,vl-doc-ref,%
2365 vl-doc-set,vl-every,vl-exit-with-error,vl-exit-with-value,%
2366 vl-file-copy,vl-file-delete,vl-file-directory-p,vl-file-rename,%
2367 vl-file-size,vl-file-systime,vl-filename-base,%
2368 vl-filename-directory,vl-filename-extension,vl-filename-mktemp,%
2369 vl-get-resource,vl-list*,vl-list->string,%
2370 vl-list-exported-functions,vl-list-length,vl-list-loaded-vlx,%
2371 vl-load-all,vl-load-com,vl-load-reactors,vl-member-if,%
2372 vl-member-if-not,vl-position,vl-prin1-to-string,%
2373 vl-princ-to-string,vl-propagate,vl-registry-delete,%
2374 vl-registry-descendents,vl-registry-read,vl-registry-write,%
2375 vl-remove,vl-remove-if,vl-remove-if-not,vl-some,vl-sort,%
2376 vl-sort-i,vl-string->list,vl-string-elt,vl-string-left-trim,%
2377 vl-string-mismatch,vl-string-position,vl-string-right-trim,%
2378 vl-string-search,vl-string-subst,vl-string-translate,%
2379 vl-string-trim,vl-symbol-name,vl-symbol-value,vl-symbolp,%
2380 vl-unload-vlx,vl-vbaload,vl-vbarun,vl-vlx-loaded-p,vlax-3D-point,%
2381 vlax-add-cmd,vlax-create-object,vlax-curve-getArea,%
2382 vlax-curve-getDistAtParam,vlax-curve-getDistAtPoint,%
2383 vlax-curve-getEndParam,vlax-curve-getEndPoint,%
2384 vlax-curve-getParamAtDist,vlax-curve-getParamAtPoint,%
2385 vlax-curve-getPointAtDist,vlax-curve-getPointAtParam,%
2386 vlax-curve-getStartParam,vlax-curve-getStartPoint,%
2387 vlax-curve-isClosed,vlax-curve-isPeriodic,vlax-curve-isPlanar,%
2388 vlax-curve-getClosestPointTo,%
2389 vlax-curve-getClosestPointToProjection,vlax-curve-getFirstDeriv,%
2390 vlax-curve-getSecondDeriv,vlax-dump-object,%
2391 vlax-ename->vla-object,vlax-erased-p,vlax-for,%
2392 vlax-get-acad-object,vlax-get-object,vlax-get-or-create-object,%
2393 vlax-get-property,vlax-import-type-library,vlax-invoke-method,%
2394 vlax-ldata-delete,vlax-ldata-get,vlax-ldata-list,vlax-ldata-put,%
2395 vlax-ldata-test,vlax-make-safearray,vlax-make-variant,%
2396 vlax-map-collection,vlax-method-applicable-p,%
2397 vlax-object-released-p,vlax-product-key,%
2398 vlax-property-available-p,vlax-put-property,vlax-read-enabled-p,%
2399 vlax-release-object,vlax-remove-cmd,vlax-safearray-fill,%
2400 vlax-safearray-get-dim,vlax-safearray-get-element,%
2401 vlax-safearray-get-l-bound,vlax-safearray-get-u-bound,%
2402 vlax-safearray-put-element,vlax-safearray-type,%
2403 vlax-safearray->list,vlax-tmatrix,vlax-typeinfo-available-p,%
2404 vlax-variant-change-type,vlax-variant-type,vlax-variant-value,%
2405 vlax-vla-object->ename,vlax-write-enabled-p,vlisp-compile,%
2406 vlr-acdb-reactor,vlr-add,vlr-added-p,vlr-beep-reaction,%
2407 vlr-command-reactor,vlr-current-reaction-name,vlr-data,%
2408 vlr-data-set,vlr-deepclone-reactor,vlr-docmanager-reactor,%
2409 vlr-dwg-reactor,vlr-dxf-reactor,vlr-editor-reactor,%
2410 vlr-insert-reactor,vlr-linker-reactor,vlr-lisp-reactor,%
2411 vlr-miscellaneous-reactor,vlr-mouse-reactor,vlr-notification,%
2412 vlr-object-reactor,vlr-owner-add,vlr-owner-remove,vlr-owners,%
2413 vlr-pers,vlr-pers-list,vlr-pers-p,vlr-pers-release,%
2414 vlr-reaction-names,vlr-reaction-set,vlr-reactions,vlr-reactors,%
2415 vlr-remove,vlr-remove-all,vlr-set-notification,%
2416 vlr-sysvar-reactor,vlr-toolbar-reactor,vlr-trace-reaction,%
2417 vlr-type,vlr-types,vlr-undo-reactor,vlr-wblock-reactor,%
2418 vlr-window-reactor,vlr-xref-reactor,vports,wcmatch,while,%
2419 write-char,write-line,xdroom,xdsize,zerop},%
2420 alsodigit=->,%
2421 otherkeywords={1+,1-},%
2422 sensitive=false,%
2423 morecomment=[l];,%
2424 morecomment=[l];;,%
2425 morestring=[b]"%
2426 }[keywords,comments,strings]%
2427 % \end{macrocode}
2428 % \begin{macrocode}
2429 %</lang2>
2430 % \end{macrocode}
2431 % \endgroup
2432 %
2433 %
2434 % \subsection{Logo}
2435 %
2436 % I don't know where the keywords are from and what kind of Logo it is.
2437 % Help me!
2438 % \begingroup
2439 % \begin{macrocode}
2440 %<*lang3>
2441 % \end{macrocode}
2442 % \begin{macrocode}
2443 \lst@definelanguage{Logo}%
2444 % ??? {end,unix} also keywords
2445 {morekeywords={and,atan,arctan,both,break,bf,bl,butfirst,butlast,%
2446 cbreak, close,co,continue,cos,count,clearscreen,cs,debquit,%
2447 describe,diff,difference,ed,edit,either,emptyp,equalp,er,erase,%
2448 errpause,errquit,fifp,filefprint,fifty,fileftype,fip,fileprint,%
2449 fird,fileread,fity,filetype,fiwd,fileword,f,first,or,fp,fprint,%
2450 fput,fty,ftype,full,fullscreen,go,bye,goodbye,gprop,greaterp,%
2451 help,if,iff,iffalse,ift,iftrue,nth,item,keyp,llast,lessp,list,%
2452 local,lput,make,max,maximum,memberp,memtrace,min,minimum,namep,%
2453 not,numberp,oflush,openr,openread,openw,openwrite,op,output,%
2454 pause,plist,pots,pow,pprop,pps,pr,print,product,quotient,random,%
2455 rc,readchar,rl,readlist,remprop,repcount,repeat,request,rnd,run,%
2456 se,sentence,sentencep,setc,setcolor,setipause,setqpause,po,show,%
2457 sin,split,splitscreen,sqrt,stop,sum,test,text,textscreen,thing,%
2458 to,tone,top,toplevel,type,untrace,wait,word,wordp,yaccdebug,is,%
2459 mod,remainder,trace,zerop,back,bk,bto,btouch,fd,forward,fto,%
2460 ftouch,getpen,heading,hit,hitoot,ht,hideturtle,loff,lampoff,lon,%
2461 lampon,lt,left,lot,lotoot,lto,ltouch,penc,pencolor,pd,pendown,pe,%
2462 penerase,penmode,pu,penup,px,penreverse,rt,right,rto,rtouch,%
2463 scrunch,seth,setheading,setscrun,setscrunch,setxy,shownp,st,%
2464 showturtle,towardsxy,clean,wipeclean,xcor,ycor,tur,turtle,%
2465 display,dpy},%
2466 sensitive=f% ???
2467 }[keywords]%
2468 % \end{macrocode}
2469 % \begin{macrocode}
2470 %</lang3>
2471 % \end{macrocode}
2472 % \endgroup
2473 %
2474 %
2475 % \subsection{Make}
2476 %
2477 % \lstthanks{Rolf~Niepraschk}{niepraschk@ptb.de}{2000/01/10} sent me the new
2478 % definitions. \lstthanks{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12}
2479 % found a missing comma and added some keywords, which improve the highlighting
2480 % with |makemacrouse=true| (but I haven't tested this).
2481 % \begingroup
2482 % \begin{macrocode}
2483 %<*lang2>
2484 % \end{macrocode}
2485 % \begin{macrocode}
2486 %%
2487 %% Make definitions (c) 2000 Rolf Niepraschk
2488 %%
2489 \lst@definelanguage[gnu]{make}%
2490 {morekeywords={SHELL,MAKE,MAKEFLAGS,$@,$\%,$<,$?,$^,$+,$*,%
2491 @,^,<,\%,+,?,*,% Markus Pahlow
2492 export,unexport,include,override,define,ifdef,ifneq,ifeq,else,%
2493 endif,vpath,subst,patsubst,strip,findstring,filter,filter-out,%
2494 sort,dir,notdir,suffix,basename,addsuffix,addprefix,join,word,%
2495 words,firstword,wildcard,shell,origin,foreach,%
2496 @D,@F,*D,*F,\%D,\%F,<D,<F,^D,^F,+D,+F,?D,?F,%
2497 AR,AS,CC,CXX,CO,CPP,FC,GET,LEX,PC,YACC,YACCR,MAKEINFO,TEXI2DVI,%
2498 WEAVE,CWEAVE,TANGLE,CTANGLE,RM,M2C,LINT,COMPILE,LINK,PREPROCESS,%
2499 CHECKOUT,%
2500 ARFLAGS,ASFLAGS,CFLAGS,CXXFLAGS,COFLAGS,CPPFLAGS,FFLAGS,GFLAGS,%
2501 LDFLAGS,LOADLIBES,LFLAGS,PFLAGS,RFLAGS,YFLAGS,M2FLAGS,MODFLAGS,%
2502 LINTFLAGS,MAKEINFO_FLAGS,TEXI2DVI_FLAGS,COFLAGS,GFLAGS,%
2503 OUTPUT_OPTION,SCCS_OUTPUT_OPTION,% missing comma: Markus Pahlow
2504 .PHONY,.SUFFIXES,.DEFAULT,.PRECIOUS,.INTERMEDIATE,.SECONDARY,%
2505 .IGNORE,.SILENT,.EXPORT_ALL_VARIABLES,MAKEFILES,VPATH,MAKESHELL,%
2506 MAKELEVEL,MAKECMDGOALS,SUFFIXES},%
2507 sensitive=true,
2508 morecomment=[l]\#,%
2509 morestring=[b]"%
2510 }[keywords,comments,strings,make]%
2511 % \end{macrocode}
2512 % \begin{macrocode}
2513 \lst@definelanguage{make}
2514 {morekeywords={SHELL,MAKE,MAKEFLAGS,$@,$\%,$<,$?,$^,$+,$*},%
2515 sensitive=true,%
2516 morecomment=[l]\#,%
2517 morestring=[b]"%
2518 }[keywords,comments,strings,make]%
2519 % \end{macrocode}
2520 % The two \texttt{[b]}-arguments have been added after a bug report by
2521 % \lsthelper{Dr.~Jobst~Hoffmann}{2002/06/24,2002/09/05}{language=make leads
2522 % to: Use of \lst@FindAlias doesn't match its definition}.
2523 % \begin{macrocode}
2524 %</lang2>
2525 % \end{macrocode}
2526 % \endgroup
2527 %
2528 %
2529 % \subsection{Matlab}
2530 %
2531 % I took the keywords from \texttt{http://www.utexas.edu/math/Matlab/Manual},
2532 % but I removed the keywords |i|, |j| and |tmp|---the change was proposed by
2533 % \lsthelper{Kai Below}{below@tu-harburg.de}{1998/09/21}{Matlab: keywords
2534 % i,j,tmp removed}.
2535 % \begingroup
2536 % \begin{macrocode}
2537 %<*lang1>
2538 % \end{macrocode}
2539 % \begin{macrocode}
2540 \lst@definelanguage{Matlab}%
2541 {morekeywords={gt,lt,gt,lt,amp,abs,acos,acosh,acot,acoth,acsc,acsch,%
2542 all,angle,ans,any,asec,asech,asin,asinh,atan,atan2,atanh,auread,%
2543 auwrite,axes,axis,balance,bar,bessel,besselk,bessely,beta,%
2544 betainc,betaln,blanks,bone,break,brighten,capture,cart2pol,%
2545 cart2sph,caxis,cd,cdf2rdf,cedit,ceil,chol,cla,clabel,clc,clear,%
2546 clf,clock,close,colmmd,Colon,colorbar,colormap,ColorSpec,colperm,%
2547 comet,comet3,compan,compass,computer,cond,condest,conj,contour,%
2548 contour3,contourc,contrast,conv,conv2,cool,copper,corrcoef,cos,%
2549 cosh,cot,coth,cov,cplxpair,cputime,cross,csc,csch,csvread,%
2550 csvwrite,cumprod,cumsum,cylinder,date,dbclear,dbcont,dbdown,%
2551 dbquit,dbstack,dbstatus,dbstep,dbstop,dbtype,dbup,ddeadv,ddeexec,%
2552 ddeinit,ddepoke,ddereq,ddeterm,ddeunadv,deblank,dec2hex,deconv,%
2553 del2,delete,demo,det,diag,diary,diff,diffuse,dir,disp,dlmread,%
2554 dlmwrite,dmperm,dot,drawnow,echo,eig,ellipj,ellipke,else,elseif,%
2555 end,engClose,engEvalString,engGetFull,engGetMatrix,engOpen,%
2556 engOutputBuffer,engPutFull,engPutMatrix,engSetEvalCallback,%
2557 engSetEvalTimeout,engWinInit,eps,erf,erfc,erfcx,erfinv,error,%
2558 errorbar,etime,etree,eval,exist,exp,expint,expm,expo,eye,fclose,%
2559 feather,feof,ferror,feval,fft,fft2,fftshift,fgetl,fgets,figure,%
2560 fill,fill3,filter,filter2,find,findstr,finite,fix,flag,fliplr,%
2561 flipud,floor,flops,fmin,fmins,fopen,for,format,fplot,fprintf,%
2562 fread,frewind,fscanf,fseek,ftell,full,function,funm,fwrite,fzero,%
2563 gallery,gamma,gammainc,gammaln,gca,gcd,gcf,gco,get,getenv,%
2564 getframe,ginput,global,gplot,gradient,gray,graymon,grid,griddata,%
2565 gtext,hadamard,hankel,help,hess,hex2dec,hex2num,hidden,hilb,hist,%
2566 hold,home,hostid,hot,hsv,hsv2rgb,if,ifft,ifft2,imag,image,%
2567 imagesc,Inf,info,input,int2str,interp1,interp2,interpft,inv,%
2568 invhilb,isempty,isglobal,ishold,isieee,isinf,isletter,isnan,%
2569 isreal,isspace,issparse,isstr,jet,keyboard,kron,lasterr,lcm,%
2570 legend,legendre,length,lin2mu,line,linspace,load,log,log10,log2,%
2571 loglog,logm,logspace,lookfor,lower,ls,lscov,lu,magic,matClose,%
2572 matDeleteMatrix,matGetDir,matGetFp,matGetFull,matGetMatrix,%
2573 matGetNextMatrix,matGetString,matlabrc,matlabroot,matOpen,%
2574 matPutFull,matPutMatrix,matPutString,max,mean,median,menu,mesh,%
2575 meshc,meshgrid,meshz,mexAtExit,mexCallMATLAB,mexdebug,%
2576 mexErrMsgTxt,mexEvalString,mexFunction,mexGetFull,mexGetMatrix,%
2577 mexGetMatrixPtr,mexPrintf,mexPutFull,mexPutMatrix,mexSetTrapFlag,%
2578 min,more,movie,moviein,mu2lin,mxCalloc,mxCopyCharacterToPtr,%
2579 mxCopyComplex16ToPtr,mxCopyInteger4ToPtr,mxCopyPtrToCharacter,%
2580 mxCopyPtrToComplex16,mxCopyPtrToInteger4,mxCopyPtrToReal8,%
2581 mxCopyReal8ToPtr,mxCreateFull,mxCreateSparse,mxCreateString,%
2582 mxFree,mxFreeMatrix,mxGetIr,mxGetJc,mxGetM,mxGetN,mxGetName,%
2583 mxGetNzmax,mxGetPi,mxGetPr,mxGetScalar,mxGetString,mxIsComplex,%
2584 mxIsFull,mxIsNumeric,mxIsSparse,mxIsString,mxIsTypeDouble,%
2585 mxSetIr,mxSetJc,mxSetM,mxSetN,mxSetName,mxSetNzmax,mxSetPi,%
2586 mxSetPr,NaN,nargchk,nargin,nargout,newplot,nextpow2,nnls,nnz,%
2587 nonzeros,norm,normest,null,num2str,nzmax,ode23,ode45,orient,orth,%
2588 pack,pascal,patch,path,pause,pcolor,pi,pink,pinv,plot,plot3,%
2589 pol2cart,polar,poly,polyder,polyeig,polyfit,polyval,polyvalm,%
2590 pow2,print,printopt,prism,prod,pwd,qr,qrdelete,qrinsert,quad,%
2591 quad8,quit,quiver,qz,rand,randn,randperm,rank,rat,rats,rbbox,%
2592 rcond,real,realmax,realmin,refresh,rem,reset,reshape,residue,%
2593 return,rgb2hsv,rgbplot,rootobject,roots,rose,rosser,rot90,rotate,%
2594 round,rref,rrefmovie,rsf2csf,save,saxis,schur,sec,sech,semilogx,%
2595 semilogy,set,setstr,shading,sign,sin,sinh,size,slice,sort,sound,%
2596 spalloc,sparse,spaugment,spconvert,spdiags,specular,speye,spfun,%
2597 sph2cart,sphere,spinmap,spline,spones,spparms,sprandn,sprandsym,%
2598 sprank,sprintf,spy,sqrt,sqrtm,sscanf,stairs,startup,std,stem,%
2599 str2mat,str2num,strcmp,strings,strrep,strtok,subplot,subscribe,%
2600 subspace,sum,surf,surface,surfc,surfl,surfnorm,svd,symbfact,%
2601 symmmd,symrcm,tan,tanh,tempdir,tempname,terminal,text,tic,title,%
2602 toc,toeplitz,trace,trapz,tril,triu,type,uicontrol,uigetfile,%
2603 uimenu,uiputfile,unix,unwrap,upper,vander,ver,version,view,%
2604 viewmtx,waitforbuttonpress,waterfall,wavread,wavwrite,what,%
2605 whatsnew,which,while,white,whitebg,who,whos,wilkinson,wk1read,%
2606 wk1write,xlabel,xor,ylabel,zeros,zlabel,zoom},%
2607 sensitive,%
2608 morecomment=[l]\%,%
2609 morestring=[m]'%
2610 }[keywords,comments,strings]%
2611 % \end{macrocode}
2612 % \begin{macrocode}
2613 %</lang1>
2614 % \end{macrocode}
2615 % \endgroup
2616 %
2617 %
2618 % \subsection{Mathematica}
2619 %
2620 % \lstthanks{Michael Wiese}{wiese@itwm.uni-kl.de}{1999/02/25} typed in all the
2621 % keywords for the 1.0 and 3.0 versions.
2622 % \lstthanks{Oliver~Ruebenkoenig}{-}{2006/07/17} wrote a script to generate
2623 % the lists for the 5.2 version.
2624 % \begingroup
2625 % \begin{macrocode}
2626 %<*lang1>
2627 % \end{macrocode}
2628 % \begin{macrocode}
2629 \lst@definelanguage[5.2]{Mathematica}[3.0]{Mathematica}%%
2630 {morekeywords={Above,AbsoluteOptions,AbsoluteTiming,AccountingForm,%
2631 AccuracyGoal,Active,ActiveItem,AddOnHelpPath,%
2632 AdjustmentBox,AdjustmentBoxOptions,After,AiryAiPrime,%
2633 AlgebraicRulesData,Algebraics,Alias,AlignmentMarker,%
2634 AllowInlineCells,AllowScriptLevelChange,Analytic,AnimationCycleOffset,%
2635 AnimationCycleRepetitions,AnimationDirection,AnimationDisplayTime,ApartSquareFree,%
2636 AppellF1,ArgumentCountQ,ArrayDepth,ArrayPlot,%
2637 ArrayQ,ArrayRules,AspectRatioFixed,Assuming,%
2638 Assumptions,AutoDelete,AutoEvaluateEvents,AutoGeneratedPackage,%
2639 AutoIndent,AutoIndentSpacings,AutoItalicWords,AutoloadPath,%
2640 AutoOpenNotebooks,AutoOpenPalettes,AutoScroll,AutoSpacing,%
2641 AutoStyleOptions,Axis,BackgroundTasksSettings,Backsubstitution,%
2642 Backward,Baseline,Before,BeginDialogPacket,%
2643 BeginFrontEndInteractionPacket,Below,BezoutMatrix,BinaryFormat,%
2644 BinaryGet,BinaryRead,BinaryReadList,BinaryWrite,%
2645 BitAnd,BitNot,BitOr,BitXor,%
2646 Black,BlankForm,Blue,Boole,%
2647 Booleans,Bottom,Bounds,Box,%
2648 BoxBaselineShift,BoxData,BoxDimensions,BoxFormFormatTypes,%
2649 BoxFrame,BoxMargins,BoxRegion,Brown,%
2650 Buchberger,Button,ButtonBox,ButtonBoxOptions,%
2651 ButtonCell,ButtonContents,ButtonData,ButtonEvaluator,%
2652 ButtonExpandable,ButtonFrame,ButtonFunction,ButtonMargins,%
2653 ButtonMinHeight,ButtonNote,ButtonNotebook,ButtonSource,%
2654 ButtonStyle,ButtonStyleMenuListing,ByteOrdering,CallPacket,%
2655 CarmichaelLambda,Cell,CellAutoOverwrite,CellBaseline,%
2656 CellBoundingBox,CellBracketOptions,CellContents,CellDingbat,%
2657 CellEditDuplicate,CellElementsBoundingBox,CellElementSpacings,CellEvaluationDuplicate,%
2658 CellFrame,CellFrameColor,CellFrameLabelMargins,CellFrameLabels,%
2659 CellFrameMargins,CellGroup,CellGroupData,CellGrouping,%
2660 CellGroupingRules,CellHorizontalScrolling,CellLabel,CellLabelAutoDelete,%
2661 CellLabelMargins,CellLabelPositioning,CellMargins,CellObject,%
2662 CellOpen,CellPasswords,CellPrint,CellSize,%
2663 CellStyle,CellTags,CellularAutomaton,Center,%
2664 CharacterEncoding,CharacterEncodingsPath,CharacteristicPolynomial,CharacterRange,%
2665 CheckAll,CholeskyDecomposition,Clip,ClipboardNotebook,%
2666 Closed,ClosingAutoSave,CoefficientArrays,CoefficientDomain,%
2667 CofactorExpansion,ColonForm,ColorFunctionScaling,ColorRules,%
2668 ColorSelectorSettings,Column,ColumnAlignments,ColumnLines,%
2669 ColumnsEqual,ColumnSpacings,ColumnWidths,CommonDefaultFormatTypes,%
2670 CompileOptimizations,CompletionsListPacket,Complexes,ComplexityFunction,%
2671 Compose,ComposeSeries,ConfigurationPath,ConjugateTranspose,%
2672 Connect,ConsoleMessage,ConsoleMessagePacket,ConsolePrint,%
2673 ContentsBoundingBox,ContextToFileName,ContinuedFraction,ConversionOptions,%
2674 ConversionRules,ConvertToBitmapPacket,ConvertToPostScript,ConvertToPostScriptPacket,%
2675 Copyable,CoshIntegral,CounterAssignments,CounterBox,%
2676 CounterBoxOptions,CounterEvaluator,CounterFunction,CounterIncrements,%
2677 CounterStyle,CounterStyleMenuListing,CreatePalettePacket,Cross,%
2678 CurrentlySpeakingPacket,Cyan,CylindricalDecomposition,DampingFactor,%
2679 DataRange,Debug,DebugTag,Decimal,%
2680 DedekindEta,DefaultDuplicateCellStyle,DefaultFontProperties,DefaultFormatType,%
2681 DefaultFormatTypeForStyle,DefaultInlineFormatType,DefaultInputFormatType,
2682 DefaultNaturalLanguage,%
2683 DefaultNewCellStyle,DefaultNewInlineCellStyle,DefaultNotebook,DefaultOutputFormatType,%
2684 DefaultStyleDefinitions,DefaultTextFormatType,DefaultTextInlineFormatType,DefaultValues,%
2685 DefineExternal,DegreeLexicographic,DegreeReverseLexicographic,Deletable,%
2686 DeleteContents,DeletionWarning,DelimiterFlashTime,DelimiterMatching,%
2687 Delimiters,DependentVariables,DiacriticalPositioning,DialogLevel,%
2688 DifferenceOrder,DigitCharacter,DigitCount,DiracDelta,%
2689 Direction,DirectoryName,DisableConsolePrintPacket,DiscreteDelta,%
2690 DisplayAnimation,DisplayEndPacket,DisplayFlushImagePacket,DisplayForm,%
2691 DisplayPacket,DisplayRules,DisplaySetSizePacket,DisplayString,%
2692 DivisionFreeRowReduction,DOSTextFormat,DoubleExponential,DoublyInfinite,%
2693 Down,DragAndDrop,DrawHighlighted,DualLinearProgramming,%
2694 DumpGet,DumpSave,Edit,Editable,%
2695 EditButtonSettings,EditCellTagsSettings,EditDefinition,EditIn,%
2696 Element,EliminationOrder,EllipticExpPrime,EllipticNomeQ,%
2697 EllipticReducedHalfPeriods,EllipticThetaPrime,Empty,EnableConsolePrintPacket,%
2698 Encoding,EndAdd,EndDialogPacket,EndFrontEndInteractionPacket,%
2699 EndOfLine,EndOfString,Enter,EnterExpressionPacket,%
2700 EnterTextPacket,EqualColumns,EqualRows,EquatedTo,%
2701 Erfi,ErrorBox,ErrorBoxOptions,ErrorNorm,%
2702 ErrorPacket,ErrorsDialogSettings,Evaluatable,EvaluatePacket,%
2703 EvaluationCell,EvaluationCompletionAction,EvaluationMonitor,EvaluationNotebook,%
2704 Evaluator,EvaluatorNames,EventEvaluator,ExactNumberQ,%
2705 ExactRootIsolation,Except,ExcludedForms,Exists,%
2706 ExitDialog,ExponentPosition,ExponentStep,Export,%
2707 ExportAutoReplacements,ExportPacket,ExportString,ExpressionPacket,%
2708 ExpToTrig,Extension,ExternalCall,ExternalDataCharacterEncoding,%
2709 Extract,Fail,FEDisableConsolePrintPacket,FEEnableConsolePrintPacket,%
2710 Fibonacci,File,FileFormat,FileInformation,%
2711 FileName,FileNameDialogSettings,FindFit,FindInstance,%
2712 FindMaximum,FindSettings,FitAll,FlushPrintOutputPacket,%
2713 Font,FontColor,FontFamily,FontName,%
2714 FontPostScriptName,FontProperties,FontReencoding,FontSize,%
2715 FontSlant,FontSubstitutions,FontTracking,FontVariations,%
2716 FontWeight,ForAll,FormatRules,FormatTypeAutoConvert,%
2717 FormatValues,FormBox,FormBoxOptions,Forward,%
2718 ForwardBackward,FourierCosTransform,FourierParameters,FourierSinTransform,%
2719 FourierTransform,FractionalPart,FractionBox,FractionBoxOptions,%
2720 FractionLine,FrameBox,FrameBoxOptions,FresnelC,%
2721 FresnelS,FromContinuedFraction,FromDigits,FrontEndExecute,%
2722 FrontEndObject,FrontEndStackSize,FrontEndToken,FrontEndTokenExecute,%
2723 FrontEndVersion,Full,FullAxes,FullSimplify,%
2724 FunctionExpand,FunctionInterpolation,GaussKronrod,GaussPoints,%
2725 GenerateBitmapCaches,GenerateConditions,GeneratedCell,GeneratedParameters,%
2726 Generic,GetBoundingBoxSizePacket,GetContext,GetFileName,%
2727 GetFrontEndOptionsDataPacket,GetLinebreakInformationPacket,%
2728 GetMenusPacket,GetPageBreakInformationPacket,%
2729 Glaisher,GlobalPreferences,GlobalSession,Gradient,%
2730 GraphicsData,GraphicsGrouping,Gray,Green,%
2731 Grid,GridBaseline,GridBox,GridBoxOptions,%
2732 GridCreationSettings,GridDefaultElement,GridFrame,GridFrameMargins,%
2733 GroupPageBreakWithin,HarmonicNumber,Hash,HashTable,%
2734 HeadCompose,HelpBrowserLookup,HelpBrowserNotebook,HelpBrowserSettings,%
2735 HessenbergDecomposition,Hessian,HoldAllComplete,HoldComplete,%
2736 HoldPattern,Horizontal,HorizontalForm,HorizontalScrollPosition,%
2737 HTMLSave,Hypergeometric0F1Regularized,Hypergeometric1F1Regularized,%
2738 Hypergeometric2F1Regularized,%
2739 HypergeometricPFQ,HypergeometricPFQRegularized,HyperlinkCreationSettings,Hyphenation,%
2740 HyphenationOptions,IgnoreCase,ImageCache,ImageCacheValid,%
2741 ImageMargins,ImageOffset,ImageRangeCache,ImageRegion,%
2742 ImageResolution,ImageRotated,ImageSize,Import,%
2743 ImportAutoReplacements,ImportString,IncludeFileExtension,IncludeSingularTerm,%
2744 IndentingNewlineSpacings,IndentMaxFraction,IndexCreationOptions,Inequality,%
2745 InexactNumberQ,InexactNumbers,Inherited,InitializationCell,%
2746 InitializationCellEvaluation,InitializationCellWarning,%
2747 InlineCounterAssignments,InlineCounterIncrements,%
2748 InlineRules,InputAliases,InputAutoFormat,InputAutoReplacements,%
2749 InputGrouping,InputNamePacket,InputNotebook,InputPacket,%
2750 InputSettings,InputStringPacket,InputToBoxFormPacket,InputToInputForm,%
2751 InputToStandardForm,InsertionPointObject,IntegerExponent,IntegerPart,%
2752 Integers,Interactive,Interlaced,InterpolationOrder,%
2753 InterpolationPoints,InterpolationPrecision,InterpretationBox,%
2754 InterpretationBoxOptions,%
2755 InterpretTemplate,InterruptSettings,Interval,IntervalIntersection,%
2756 IntervalMemberQ,IntervalUnion,InverseBetaRegularized,InverseEllipticNomeQ,%
2757 InverseErf,InverseErfc,InverseFourierCosTransform,
2758 InverseFourierSinTransform,%
2759 InverseFourierTransform,InverseGammaRegularized,InverseJacobiCD,%
2760 InverseJacobiCN,%
2761 InverseJacobiCS,InverseJacobiDC,InverseJacobiDN,InverseJacobiDS,%
2762 InverseJacobiNC,InverseJacobiND,InverseJacobiNS,InverseJacobiSC,%
2763 InverseJacobiSD,InverseLaplaceTransform,InverseWeierstrassP,InverseZTransform,%
2764 Jacobian,JacobiCD,JacobiCN,JacobiCS,%
2765 JacobiDC,JacobiDN,JacobiDS,JacobiNC,%
2766 JacobiND,JacobiNS,JacobiSC,JacobiSD,%
2767 JordanDecomposition,K,Khinchin,KleinInvariantJ,%
2768 KroneckerDelta,Language,LanguageCategory,LaplaceTransform,%
2769 Larger,Launch,LayoutInformation,Left,%
2770 LetterCharacter,Lexicographic,LicenseID,LimitsPositioning,%
2771 LimitsPositioningTokens,LinearSolveFunction,LinebreakAdjustments,LineBreakWithin,%
2772 LineForm,LineIndent,LineSpacing,LineWrapParts,%
2773 LinkActivate,LinkClose,LinkConnect,LinkConnectedQ,%
2774 LinkCreate,LinkError,LinkFlush,LinkHost,%
2775 LinkInterrupt,LinkLaunch,LinkMode,LinkObject,%
2776 LinkOpen,LinkOptions,LinkPatterns,LinkProtocol,%
2777 LinkRead,LinkReadHeld,LinkReadyQ,Links,%
2778 LinkWrite,LinkWriteHeld,ListConvolve,ListCorrelate,%
2779 Listen,ListInterpolation,ListQ,LiteralSearch,%
2780 LongestMatch,LongForm,Loopback,LUBackSubstitution,%
2781 LUDecomposition,MachineID,MachineName,MachinePrecision,%
2782 MacintoshSystemPageSetup,Magenta,Magnification,MakeBoxes,%
2783 MakeExpression,MakeRules,Manual,MatchLocalNameQ,%
2784 MathematicaNotation,MathieuC,MathieuCharacteristicA,MathieuCharacteristicB,%
2785 MathieuCharacteristicExponent,MathieuCPrime,MathieuS,MathieuSPrime,%
2786 MathMLForm,MathMLText,MatrixRank,Maximize,%
2787 MaxIterations,MaxPlotPoints,MaxPoints,MaxRecursion,%
2788 MaxStepFraction,MaxSteps,MaxStepSize,Mean,%
2789 Median,MeijerG,MenuPacket,MessageOptions,%
2790 MessagePacket,MessagesNotebook,MetaCharacters,Method,%
2791 MethodOptions,Minimize,MinRecursion,MinSize,%
2792 Mode,ModularLambda,MonomialOrder,MonteCarlo,%
2793 Most,MousePointerNote,MultiDimensional,MultilaunchWarning,%
2794 MultilineFunction,MultiplicativeOrder,Multiplicity,Nand,%
2795 NeedCurrentFrontEndPackagePacket,NeedCurrentFrontEndSymbolsPacket,%
2796 NestedScriptRules,NestWhile,%
2797 NestWhileList,NevilleThetaC,NevilleThetaD,NevilleThetaN,%
2798 NevilleThetaS,Newton,Next,NHoldAll,%
2799 NHoldFirst,NHoldRest,NMaximize,NMinimize,%
2800 NonAssociative,NonPositive,Nor,Norm,%
2801 NormalGrouping,NormalSelection,NormFunction,Notebook,%
2802 NotebookApply,NotebookAutoSave,NotebookClose,NotebookConvert,%
2803 NotebookConvertSettings,NotebookCreate,NotebookCreateReturnObject,NotebookDefault,%
2804 NotebookDelete,NotebookDirectory,NotebookFind,NotebookFindReturnObject,%
2805 NotebookGet,NotebookGetLayoutInformationPacket,NotebookGetMisspellingsPacket,%
2806 NotebookInformation,%
2807 NotebookLocate,NotebookObject,NotebookOpen,NotebookOpenReturnObject,%
2808 NotebookPath,NotebookPrint,NotebookPut,NotebookPutReturnObject,%
2809 NotebookRead,NotebookResetGeneratedCells,Notebooks,NotebookSave,%
2810 NotebookSaveAs,NotebookSelection,NotebookSetupLayoutInformationPacket,%
2811 NotebooksMenu,%
2812 NotebookWrite,NotElement,NProductExtraFactors,NProductFactors,%
2813 NRoots,NSumExtraTerms,NSumTerms,NumberMarks,%
2814 NumberMultiplier,NumberString,NumericFunction,NumericQ,%
2815 NValues,Offset,OLEData,OneStepRowReduction,%
2816 Open,OpenFunctionInspectorPacket,OpenSpecialOptions,OptimizationLevel,%
2817 OptionInspectorSettings,OptionQ,OptionsPacket,OptionValueBox,%
2818 OptionValueBoxOptions,Orange,Ordering,Oscillatory,%
2819 OutputAutoOverwrite,OutputFormData,OutputGrouping,OutputMathEditExpression,%
2820 OutputNamePacket,OutputToOutputForm,OutputToStandardForm,Over,%
2821 Overflow,Overlaps,Overscript,OverscriptBox,%
2822 OverscriptBoxOptions,OwnValues,PadLeft,PadRight,%
2823 PageBreakAbove,PageBreakBelow,PageBreakWithin,PageFooterLines,%
2824 PageFooters,PageHeaderLines,PageHeaders,PalettePath,%
2825 PaperWidth,ParagraphIndent,ParagraphSpacing,ParameterVariables,%
2826 ParentConnect,ParentForm,Parenthesize,PasteBoxFormInlineCells,%
2827 Path,PatternTest,PeriodicInterpolation,Pick,%
2828 Piecewise,PiecewiseExpand,Pink,Pivoting,%
2829 PixelConstrained,Placeholder,Plain,Plot3Matrix,%
2830 PointForm,PolynomialForm,PolynomialReduce,Polynomials,%
2831 PowerModList,Precedence,PreferencesPath,PreserveStyleSheet,%
2832 Previous,PrimaryPlaceholder,Primes,PrincipalValue,%
2833 PrintAction,PrintingCopies,PrintingOptions,PrintingPageRange,%
2834 PrintingStartingPageNumber,PrintingStyleEnvironment,PrintPrecision,%
2835 PrivateCellOptions,%
2836 PrivateEvaluationOptions,PrivateFontOptions,PrivateNotebookOptions,PrivatePaths,%
2837 ProductLog,PromptForm,Purple,Quantile,%
2838 QuasiMonteCarlo,QuasiNewton,RadicalBox,RadicalBoxOptions,%
2839 RandomSeed,RationalFunctions,Rationals,RawData,%
2840 RawMedium,RealBlockForm,Reals,Reap,%
2841 Red,Refine,Refresh,RegularExpression,%
2842 Reinstall,Release,Removed,RenderingOptions,%
2843 RepeatedString,ReplaceList,Rescale,ResetMenusPacket,%
2844 Resolve,ResumePacket,ReturnExpressionPacket,ReturnInputFormPacket,%
2845 ReturnPacket,ReturnTextPacket,Right,Root,%
2846 RootReduce,RootSum,Row,RowAlignments,%
2847 RowBox,RowLines,RowMinHeight,RowsEqual,%
2848 RowSpacings,RSolve,RuleCondition,RuleForm,%
2849 RulerUnits,Saveable,SaveAutoDelete,ScreenRectangle,%
2850 ScreenStyleEnvironment,ScriptBaselineShifts,ScriptLevel,ScriptMinSize,%
2851 ScriptRules,ScriptSizeMultipliers,ScrollingOptions,ScrollPosition,%
2852 Second,SectionGrouping,Selectable,SelectedNotebook,%
2853 Selection,SelectionAnimate,SelectionCell,SelectionCellCreateCell,%
2854 SelectionCellDefaultStyle,SelectionCellParentStyle,SelectionCreateCell,%
2855 SelectionDuplicateCell,%
2856 SelectionEvaluate,SelectionEvaluateCreateCell,SelectionMove,SelectionSetStyle,%
2857 SelectionStrategy,SendFontInformationToKernel,SequenceHold,SequenceLimit,%
2858 SeriesCoefficient,SetBoxFormNamesPacket,SetEvaluationNotebook,%
2859 SetFileLoadingContext,%
2860 SetNotebookStatusLine,SetOptionsPacket,SetSelectedNotebook,%
2861 SetSpeechParametersPacket,%
2862 SetValue,ShortestMatch,ShowAutoStyles,ShowCellBracket,%
2863 ShowCellLabel,ShowCellTags,ShowClosedCellArea,ShowContents,%
2864 ShowCursorTracker,ShowGroupOpenCloseIcon,ShowPageBreaks,ShowSelection,%
2865 ShowShortBoxForm,ShowSpecialCharacters,ShowStringCharacters,%
2866 ShrinkWrapBoundingBox,%
2867 SingleLetterItalics,SingularityDepth,SingularValueDecomposition,%
2868 SingularValueList,%
2869 SinhIntegral,Smaller,Socket,SolveDelayed,%
2870 SoundAndGraphics,Sow,Space,SpaceForm,%
2871 SpanAdjustments,SpanCharacterRounding,SpanLineThickness,SpanMaxSize,%
2872 SpanMinSize,SpanningCharacters,SpanSymmetric,Sparse,%
2873 SparseArray,SpeakTextPacket,SpellingDictionaries,SpellingDictionariesPath,%
2874 SpellingOptions,SpellingSuggestionsPacket,Spherical,Split,%
2875 SqrtBox,SqrtBoxOptions,StandardDeviation,StandardForm,%
2876 StartingStepSize,StartOfLine,StartOfString,StartupSound,%
2877 StepMonitor,StieltjesGamma,StoppingTest,StringCases,%
2878 StringCount,StringExpression,StringFreeQ,StringQ,%
2879 StringReplaceList,StringReplacePart,StringSplit,StripBoxes,%
2880 StripWrapperBoxes,StructuredSelection,StruveH,StruveL,%
2881 StyleBox,StyleBoxAutoDelete,StyleBoxOptions,StyleData,%
2882 StyleDefinitions,StyleForm,StyleMenuListing,StyleNameDialogSettings,%
2883 StylePrint,StyleSheetPath,Subresultants,SubscriptBox,%
2884 SubscriptBoxOptions,Subsets,Subsuperscript,SubsuperscriptBox,%
2885 SubsuperscriptBoxOptions,SubtractFrom,SubValues,SugarCube,%
2886 SuperscriptBox,SuperscriptBoxOptions,SuspendPacket,SylvesterMatrix,%
2887 SymbolName,Syntax,SyntaxForm,SyntaxPacket,%
2888 SystemException,SystemHelpPath,SystemStub,Tab,%
2889 TabFilling,TabSpacings,TagBox,TagBoxOptions,%
2890 TaggingRules,TagStyle,TargetFunctions,TemporaryVariable,%
2891 TensorQ,TeXSave,TextAlignment,TextBoundingBox,%
2892 TextData,TextJustification,TextLine,TextPacket,%
2893 TextParagraph,TextRendering,TextStyle,ThisLink,%
2894 TimeConstraint,TimeVariable,TitleGrouping,ToBoxes,%
2895 ToColor,ToFileName,Toggle,ToggleFalse,%
2896 Tolerance,TooBig,Top,ToRadicals,%
2897 Total,Tr,TraceAction,TraceInternal,%
2898 TraceLevel,TraditionalForm,TraditionalFunctionNotation,TraditionalNotation,%
2899 TraditionalOrder,TransformationFunctions,TransparentColor,Trapezoidal,%
2900 TrigExpand,TrigFactor,TrigFactorList,TrigReduce,%
2901 TrigToExp,Tuples,UnAlias,Underflow,%
2902 Underoverscript,UnderoverscriptBox,UnderoverscriptBoxOptions,Underscript,%
2903 UnderscriptBox,UnderscriptBoxOptions,UndocumentedTestFEParserPacket,%
2904 UndocumentedTestGetSelectionPacket,%
2905 UnitStep,Up,URL,Using,%
2906 V2Get,Value,ValueBox,ValueBoxOptions,%
2907 ValueForm,Variance,Verbatim,Verbose,%
2908 VerboseConvertToPostScriptPacket,VerifyConvergence,VerifySolutions,Version,%
2909 VersionNumber,Vertical,VerticalForm,ViewPointSelectorSettings,%
2910 Visible,VisibleCell,WeierstrassHalfPeriods,WeierstrassInvariants,%
2911 WeierstrassSigma,WeierstrassZeta,White,Whitespace,%
2912 WhitespaceCharacter,WindowClickSelect,WindowElements,WindowFloating,%
2913 WindowFrame,WindowFrameElements,WindowMargins,WindowMovable,%
2914 WindowSize,WindowTitle,WindowToolbars,WindowWidth,%
2915 WordBoundary,WordCharacter,WynnDegree,XMLElement},%
2916 morendkeywords={$,$AddOnsDirectory,$AnimationDisplayFunction,%
2917 $AnimationFunction,%
2918 $Assumptions,$BaseDirectory,$BoxForms,$ByteOrdering,%
2919 $CharacterEncoding,$ConditionHold,$CurrentLink,$DefaultPath,%
2920 $ExportEncodings,$ExportFormats,$FormatType,$FrontEnd,%
2921 $HistoryLength,$HomeDirectory,$ImportEncodings,$ImportFormats,%
2922 $InitialDirectory,$InstallationDate,$InstallationDirectory,%
2923 $InterfaceEnvironment,%
2924 $LaunchDirectory,$LicenseExpirationDate,$LicenseID,$LicenseProcesses,%
2925 $LicenseServer,$MachineDomain,$MaxExtraPrecision,$MaxLicenseProcesses,%
2926 $MaxNumber,$MaxPiecewiseCases,$MaxPrecision,$MaxRootDegree,%
2927 $MinNumber,$MinPrecision,$NetworkLicense,$NumberMarks,%
2928 $Off,$OutputForms,$ParentLink,$ParentProcessID,%
2929 $PasswordFile,$PathnameSeparator,$PreferencesDirectory,$PrintForms,%
2930 $PrintLiteral,$ProcessID,$ProcessorType,$ProductInformation,%
2931 $ProgramName,$PSDirectDisplay,$RandomState,$RasterFunction,%
2932 $RootDirectory,$SetParentLink,$SoundDisplay,$SuppressInputFormHeads,%
2933 $SystemCharacterEncoding,$SystemID,$TemporaryPrefix,$TextStyle,%
2934 $TopDirectory,$TraceOff,$TraceOn,$TracePattern,%
2935 $TracePostAction,$TracePreAction,$UserAddOnsDirectory,$UserBaseDirectory,%
2936 $UserName,Constant,Flat,HoldAll,%
2937 HoldAllComplete,HoldFirst,HoldRest,Listable,%
2938 Locked,NHoldAll,NHoldFirst,NHoldRest,%
2939 NumericFunction,OneIdentity,Orderless,Protected,%
2940 ReadProtected,SequenceHold},%
2941 }%
2942 % \end{macrocode}
2943 % \begin{macrocode}
2944 %%
2945 %% Mathematica definitions (c) 1999 Michael Wiese
2946 %%
2947 \lst@definelanguage[3.0]{Mathematica}[1.0]{Mathematica}%
2948 {morekeywords={Abort,AbortProtect,AbsoluteDashing,AbsolutePointSize,%
2949 AbsoluteThickness,AbsoluteTime,AccountingFormAiry,AiPrime,AiryBi,%
2950 AiryBiPrime,Alternatives,AnchoredSearch,AxesEdge,AxesOrigin,%
2951 AxesStyle,Background,BetaRegularized,BoxStyle,C,CheckAbort,%
2952 Circle,ClebschGordan,CMYKColor,ColorFunction,ColorOutput,Compile,%
2953 Compiled,CompiledFunction,ComplexExpand,ComposeList,Composition,%
2954 ConstrainedMax,ConstrainedMin,Contexts,ContextToFilename,%
2955 ContourLines,Contours,ContourShading,ContourSmoothing,%
2956 ContourStyle,CopyDirectory,CopyFile,CosIntegral,CreateDirectory,%
2957 Cuboid,Date,DeclarePackage,DefaultColor,DefaultFont,Delete,%
2958 DeleteCases,DeleteDirectory,DeleteFile,Dialog,DialogIndent,%
2959 DialogProlog,DialogSymbols,DigitQ,Directory,DirectoryStack,Disk,%
2960 Dispatch,DownValues,DSolve,Encode,Epilog,Erfc,Evaluate,%
2961 ExponentFunction,FaceGrids,FileByteCount,FileDate,FileNames,%
2962 FileType,Find,FindList,FixedPointList,FlattenAt,Fold,FoldList,%
2963 Frame,FrameLabel,FrameStyle,FrameTicks,FromCharacterCode,%
2964 FromDate,FullGraphics,FullOptions,GammaRegularized,%
2965 GaussianIntegers,GraphicsArray,GraphicsSpacing,GridLines,%
2966 GroebnerBasis,Heads,HeldPart,HomeDirectory,Hue,IgnoreCases,%
2967 InputStream,Install,InString,IntegerDigits,InterpolatingFunction,%
2968 InterpolatingPolynomial,Interpolation,Interrupt,InverseFunction,%
2969 InverseFunctions,JacobiZeta,LetterQ,LinearProgramming,ListPlay,%
2970 LogGamma,LowerCaseQ,MachineNumberQ,MantissaExponent,MapIndexed,%
2971 MapThread,MatchLocalNames,MatrixExp,MatrixPower,MeshRange,%
2972 MeshStyle,MessageList,Module,NDSolve,NSolve,NullRecords,%
2973 NullWords,NumberFormat,NumberPadding,NumberSigns,OutputStream,%
2974 PaddedForm,ParentDirectory,Pause,Play,PlayRange,PlotRegion,%
2975 PolygonIntersections,PolynomialGCD,PolynomialLCM,PolynomialMod,%
2976 PostScript,PowerExpand,PrecisionGoal,PrimePi,Prolog,%
2977 QRDecomposition,Raster,RasterArray,RealDigits,Record,RecordLists,%
2978 RecordSeparators,ReleaseHold,RenameDirectory,RenameFile,%
2979 ReplaceHeldPart,ReplacePart,ResetDirectory,Residue,%
2980 RiemannSiegelTheta,RiemannSiegelZ,RotateLabel,SameTest,%
2981 SampleDepth,SampledSoundFunction,SampledSoundList,SampleRate,%
2982 SchurDecomposition,SessionTime,SetAccuracy,SetDirectory,%
2983 SetFileDate,SetPrecision,SetStreamPosition,Shallow,SignPadding,%
2984 SinIntegral,SixJSymbol,Skip,Sound,SpellingCorrection,%
2985 SphericalRegion,Stack,StackBegin,StackComplete,StackInhibit,%
2986 StreamPosition,Streams,StringByteCount,StringConversion,%
2987 StringDrop,StringInsert,StringPosition,StringReplace,%
2988 StringReverse,StringTake,StringToStream,SurfaceColor,%
2989 SyntaxLength,SyntaxQ,TableAlignments,TableDepth,%
2990 TableDirections,TableHeadings,TableSpacing,ThreeJSymbol,TimeUsed,%
2991 TimeZone,ToCharacterCode,ToDate,ToHeldExpression,TokenWords,%
2992 ToLowerCase,ToUpperCase,Trace,TraceAbove,TraceBackward,%
2993 TraceDepth,TraceDialog,TraceForward,TraceOff,TraceOn,%
2994 TraceOriginal,TracePrint,TraceScan,Trig,Unevaluated,Uninstall,%
2995 UnsameQ,UpperCaseQ,UpValues,ViewCenter,ViewVertical,With,Word,%
2996 WordSearch,WordSeparators},%
2997 morendkeywords={Stub,Temporary,$Aborted,$BatchInput,$BatchOutput,%
2998 $CreationDate,$DefaultFont,$DumpDates,$DumpSupported,$Failed,%
2999 $Input,$Inspector,$IterationLimit,$Language,$Letters,$Linked,%
3000 $LinkSupported,$MachineEpsilon,$MachineID,$MachineName,%
3001 $MachinePrecision,$MachineType,$MaxMachineNumber,$MessageList,%
3002 $MessagePrePrint,$MinMachineNumber,$ModuleNumber,$NewMessage,%
3003 $NewSymbol,$Notebooks,$OperatingSystem,$Packages,$PipeSupported,%
3004 $PreRead,$ReleaseNumber,$SessionID,$SoundDisplayFunction,%
3005 $StringConversion,$StringOrder,$SyntaxHandler,$TimeUnit,%
3006 $VersionNumber}%
3007 }%
3008 % \end{macrocode}
3009 % \begin{macrocode}
3010 \lst@definelanguage[1.0]{Mathematica}%
3011 {morekeywords={Abs,Accuracy,AccurayGoal,AddTo,AiryAi,AlgebraicRules,%
3012 AmbientLight,And,Apart,Append,AppendTo,Apply,ArcCos,ArcCosh,%
3013 ArcCot,ArcCoth,ArcCsc,ArcCsch,ArcSec,ArcSech,ArcSin,ArcSinh,%
3014 ArcTan,ArcTanh,Arg,ArithmeticGeometricMean,Array,AspectRatio,%
3015 AtomQ,Attributes,Axes,AxesLabel,BaseForm,Begin,BeginPackage,%
3016 BernoulliB,BesselI,BesselJ,BesselK,BesselY,Beta,Binomial,Blank,%
3017 BlankNullSequence,BlankSequence,Block,Boxed,BoxRatios,Break,Byte,%
3018 ByteCount,Cancel,Cases,Catch,Ceiling,CForm,Character,Characters,%
3019 ChebyshevT,ChebyshevU,Check,Chop,Clear,ClearAll,ClearAttributes,%
3020 ClipFill,Close,Coefficient,CoefficientList,Collect,ColumnForm,%
3021 Complement,Complex,CompoundExpression,Condition,Conjugate,%
3022 Constants,Context,Continuation,Continue,ContourGraphics,%
3023 ContourPlot,Cos,Cosh,Cot,Coth,Count,Csc,Csch,Cubics,Cyclotomic,%
3024 D,Dashing,Decompose,Decrement,Default,Definition,Denominator,%
3025 DensityGraphics,DensityPlot,Depth,Derivative,Det,DiagonalMatrix,%
3026 DigitBlock,Dimensions,DirectedInfinity,Display,DisplayFunction,%
3027 Distribute,Divide,DivideBy,Divisors,DivisorSigma,Do,Dot,Drop,Dt,%
3028 Dump,EdgeForm,Eigensystem,Eigenvalues,Eigenvectors,Eliminate,%
3029 EllipticE,EllipticExp,EllipticF,EllipticK,EllipticLog,EllipticPi,%
3030 EllipticTheta,End,EndPackage,EngineeringForm,Environment,Equal,%
3031 Erf,EulerE,EulerPhi,EvenQ,Exit,Exp,Expand,ExpandAll,%
3032 ExpandDenominator,ExpandNumerator,ExpIntegralE,ExpIntegralEi,%
3033 Exponent,Expression,ExtendedGCD,FaceForm,Factor,FactorComplete,%
3034 Factorial,Factorial2,FactorInteger,FactorList,FactorSquareFree,%
3035 FactorSquareFreeList,FactorTerms,FactorTermsList,FindMinimum,%
3036 FindRoot,First,Fit,FixedPoint,Flatten,Floor,FontForm,For,Format,%
3037 FormatType,FortranForm,Fourier,FreeQ,FullDefinition,FullForm,%
3038 Function,Gamma,GCD,GegenbauerC,General,Get,Goto,Graphics,%
3039 Graphics3D,GrayLevel,Greater,GreaterEqual,Head,HermiteH,%
3040 HiddenSurface,Hold,HoldForm,Hypergeometric0F1,Hypergeometric1F1,%
3041 Hypergeometric2F1,HypergeometricU,Identity,IdentityMatrix,If,Im,%
3042 Implies,In,Increment,Indent,Infix,Information,Inner,Input,%
3043 InputForm,InputString,Insert,Integer,IntegerQ,Integrate,%
3044 Intersection,Inverse,InverseFourier,InverseJacobiSN,%
3045 InverseSeries,JacobiAmplitude,JacobiP,JacobiSN,JacobiSymbol,Join,%
3046 Label,LaguerreL,Last,LatticeReduce,LCM,LeafCount,LegendreP,%
3047 LegendreQ,LegendreType,Length,LerchPhi,Less,LessEqual,Level,%
3048 Lighting,LightSources,Limit,Line,LinearSolve,LineBreak,List,%
3049 ListContourPlot,ListDensityPlot,ListPlot,ListPlot3D,Literal,Log,%
3050 LogicalExpand,LogIntegral,MainSolve,Map,MapAll,MapAt,MatchQ,%
3051 MatrixForm,MatrixQ,Max,MaxBend,MaxMemoryUsed,MemberQ,%
3052 MemoryConstrained,MemoryInUse,Mesh,Message,MessageName,Messages,%
3053 Min,Minors,Minus,Mod,Modulus,MoebiusMu,Multinomial,N,NameQ,Names,%
3054 NBernoulliB,Needs,Negative,Nest,NestList,NIntegrate,%
3055 NonCommutativeMultiply,NonConstants,NonNegative,Normal,Not,%
3056 NProduct,NSum,NullSpace,Number,NumberForm,NumberPoint,NumberQ,%
3057 NumberSeparator,Numerator,O,OddQ,Off,On,OpenAppend,OpenRead,%
3058 OpenTemporary,OpenWrite,Operate,Optional,Options,Or,Order,%
3059 OrderedQ,Out,Outer,OutputForm,PageHeight,PageWidth,%
3060 ParametricPlot,ParametricPlot3D,Part,Partition,PartitionsP,%
3061 PartitionsQ,Pattern,Permutations,Plot,Plot3D,PlotDivision,%
3062 PlotJoined,PlotLabel,PlotPoints,PlotRange,PlotStyle,Pochhammer,%
3063 Plus,Point,PointSize,PolyGamma,Polygon,PolyLog,PolynomialQ,%
3064 PolynomialQuotient,PolynomialRemainder,Position,Positive,Postfix,%
3065 Power,PowerMod,PrecedenceForm,Precision,PreDecrement,Prefix,%
3066 PreIncrement,Prepend,PrependTo,Prime,PrimeQ,Print,PrintForm,%
3067 Product,Protect,PseudoInverse,Put,PutAppend,Quartics,Quit,%
3068 Quotient,Random,Range,Rational,Rationalize,Raw,Re,Read,ReadList,%
3069 Real,Rectangle,Reduce,Remove,RenderAll,Repeated,RepeatedNull,%
3070 Replace,ReplaceAll,ReplaceRepeated,Rest,Resultant,Return,Reverse,%
3071 RGBColor,Roots,RotateLeft,RotateRight,Round,RowReduce,Rule,%
3072 RuleDelayed,Run,RunThrough,SameQ,Save,Scaled,Scan,ScientificForm,%
3073 Sec,Sech,SeedRandom,Select,Sequence,SequenceForm,Series,%
3074 SeriesData,Set,SetAttributes,SetDelayed,SetOptions,Shading,Share,%
3075 Short,Show,Sign,Signature,Simplify,Sin,SingularValues,Sinh,%
3076 Skeleton,Slot,SlotSequence,Solve,SolveAlways,Sort,%
3077 SphericalHarmonicY,Splice,Sqrt,StirlingS1,StirlingS2,String,%
3078 StringBreak,StringForm,StringJoin,StringLength,StringMatchQ,%
3079 StringSkeleton,Subscript,Subscripted,Subtract,SubtractForm,Sum,%
3080 Superscript,SurfaceGraphics,Switch,Symbol,Table,TableForm,TagSet,%
3081 TagSetDelayed,TagUnset,Take,Tan,Tanh,ToString,TensorRank,TeXForm,%
3082 Text,TextForm,Thickness,Thread,Through,Throw,Ticks,%
3083 TimeConstrained,Times,TimesBy,Timing,ToExpression,Together,%
3084 ToRules,ToString,TotalHeight,TotalWidth,Transpose,TreeForm,TrueQ,%
3085 Unequal,Union,Unique,Unprotect,Unset,Update,UpSet,UpSetDelayed,%
3086 ValueQ,Variables,VectorQ,ViewPoint,WeierstrassP,%
3087 WeierstrassPPrime,Which,While,WorkingPrecision,Write,WriteString,%
3088 Xor,ZeroTest,Zeta},%
3089 morendkeywords={All,Automatic,Catalan,ComplexInfinity,Constant,%
3090 Degree,E,EndOfFile,EulerGamma,False,Flat,GoldenRatio,HoldAll,%
3091 HoldFirst,HoldRest,I,Indeterminate,Infinity,Listable,Locked,%
3092 Modular,None,Null,OneIdentity,Orderless,Pi,Protected,%
3093 ReadProtected,True,$CommandLine,$Context,$ContextPath,$Display,%
3094 $DisplayFunction,$Echo,$Epilog,$IgnoreEOF,$Line,$Messages,%
3095 $Output,$Path,$Post,$Pre,$PrePrint,$RecursionLimit,$System,%
3096 $Urgent,$Version},%
3097 sensitive,%
3098 morecomment=[s]{(*}{*)},%
3099 morestring=[d]"%
3100 }[keywords,comments,strings]%
3101 % \end{macrocode}
3102 % \begin{macrocode}
3103 %</lang1>
3104 % \end{macrocode}
3105 % \endgroup
3106 %
3107 %
3108 % \subsection{Mercury}
3109 %
3110 % \lstthanks{Dominique~de~Waleffe}{ddw@miscrit.be}{1997/11/24} mailed me the
3111 % data and \lstthanks{Ralph~Becket}{rbeck@microsoft.com}{2001/05/01} extended
3112 % the definition.
3113 % \begingroup
3114 % \begin{macrocode}
3115 %<*lang2>
3116 % \end{macrocode}
3117 % \begin{macrocode}
3118 %%
3119 %% Mercury definition (c) 1997 Dominique de Waleffe
3120 %% Extended (c) 2001 Ralph Becket
3121 %%
3122 \lst@definelanguage{Mercury}%
3123 {otherkeywords={::,->,-->,--->,:-,==,=>,<=,<=>},%
3124 morekeywords={module,include_module,import_module,interface,%
3125 end_module,implementation,mode,is,failure,semidet,nondet,det,%
3126 multi,erroneous,inst,in,out,di,uo,ui,type,typeclass,instance,%
3127 where,with_type,pred,func,lambda,impure,semipure,if,then,else,%
3128 some,all,not,true,fail,pragma,memo,no_inline,inline,loop_check,%
3129 minimal_model,fact_table,type_spec,terminates,does_not_terminate,%
3130 check_termination,promise_only_solution,unsafe_promise_unique,%
3131 source_file,obsolete,import,export,c_header_code,c_code,%
3132 foreign_code,foreign_proc,may_call_mercury,will_not_call_mercury,%
3133 thread_safe,not_thread_safe},%
3134 sensitive=t,%
3135 morecomment=[l]\%,%
3136 morecomment=[s]{/*}{*/},%
3137 morestring=[bd]",%
3138 morestring=[bd]'%
3139 }[keywords,comments,strings]%
3140 % \end{macrocode}
3141 % \begin{macrocode}
3142 %</lang2>
3143 % \end{macrocode}
3144 % \endgroup
3145 %
3146 %
3147 % \subsection{MetaPost}
3148 %
3149 % \lstthanks{Uwe~Siart}{uwe.siart@ei.tum.de}{2003/03/28} provided the
3150 % keywords for a previous version. The current language definition comes
3151 % from \lstthanks{Brooks~Moses}{}{2004/08/07}.
3152 % \begingroup
3153 % \begin{macrocode}
3154 %<*lang3>
3155 % \end{macrocode}
3156 % \begin{macrocode}
3157 %%
3158 %% MetaPost definition (c) 2004 Brooks Moses
3159 %% This definition is based on the language specifications
3160 %% contained in the _User's Manual for Metapost_, with the core
3161 %% language enhancements that are described in the _Drawing
3162 %% Graphs with MetaPost_ documentation.
3163 %%
3164 \lst@definelanguage{MetaPost}%
3165 {% keywords[1] = MetaPost primitives (not found in following tables)
3166 morekeywords={end,begingroup,endgroup,beginfig,endfig,def,vardef,%
3167 primary,secondary,tertiary,primarydef,secondarydef,tertiarydef,%
3168 expr,suffix,text,enddef,if,fi,else,elseif,for,forsuffixes,%
3169 forever,endfor,upto,downto,stop,until,tension,controls,on,off,%
3170 btex,etex,within,input},
3171 % keywords[2] = Operators (Tables 6-9 in MetaPost User's manual)
3172 morekeywords=[2]{abs,and,angle,arclength,arctime,ASCII,bbox,bluepart,%
3173 boolean,bot,ceiling,center,char,color,cosd,cutafter,cutbefore,%
3174 cycle,decimal,dir,direction,directionpoint,directiontime,div,%
3175 dotprod,floor,fontsize,greenpart,hex,infont,intersectionpoint,%
3176 intersectiontimes,inverse,known,length,lft,llcorner,lrcorner,%
3177 makepath,makepen,mexp,mlog,mod,normaldeviate,not,numeric,oct,%
3178 odd,or,pair,path,pen,penoffset,picture,point,postcontrol,%
3179 precontrol,redpart,reverse,rotated,round,rt,scaled,shifted,%
3180 sind,slanted,sqrt,str,string,subpath,substring,top,transform,%
3181 transformed,ulcorner,uniformdeviate,unitvector,unknown,%
3182 urcorner,whatever,xpart,xscaled,xxpart,xypart,ypart,yscaled,%
3183 yxpart,yypart,zscaled,of,reflectedabout,rotatedaround,ulft,urt,%
3184 llft,lrt,readfrom,write,stroked,filled,textual,clipped,bounded,%
3185 pathpart,penpart,dashpart,textpart,fontpart},%
3186 % keywords[3] = Commands (Table 10)
3187 morekeywords=[3]{addto,clip,cutdraw,draw,drawarrow,drawdblarrow,%
3188 fill,filldraw,interim,let,loggingall,newinternal,pickup,%
3189 save,setbounds,shipout,show,showdependencies,showtoken,%
3190 showvariable,special,tracingall,tracingnone,undraw,unfill,%
3191 unfilldraw,to,also,contour,doublepath,withcolor,withpen,%
3192 dashed,randomseed},%
3193 % keywords[4] = Function-Like Macros (Table 11)
3194 morekeywords=[4]{boxit,boxjoin,bpath,buildcycle,circleit,dashpattern,%
3195 decr,dotlabel,dotlabels,drawboxed,drawboxes,drawoptions,%
3196 drawunboxed,fixpos,fixsize,incr,interpath,label,labels,max,min,pic,%
3197 thelabel,z,image},%
3198 % keywords[5] = Internal and Predefined Variables (Tables 3, 4)
3199 morekeywords=[5]{ahangle,ahlength,bboxmargin,charcode,circmargin,%
3200 day,defaultdx,defaultdy,defaultpen,defaultscale,labeloffset,%
3201 linecap,linejoin,miterlimit,month,pausing,prologues,showstopping,%
3202 time,tracingcapsules,tracingchoices,tracingcommands,%
3203 tracingequations,tracinglostchars,tracingmacros,tracingonline,%
3204 tracingoutput,tracingrestores,tracingspecs,tracingstats,%
3205 tracingtitles,truecorners,warningcheck,year},
3206 morekeywords=[5]{background,currentpen,currentpicture,cuttings,%
3207 defaultfont},%
3208 % keywords[6] = Predefined Constants (Table 5)
3209 morekeywords=[6]{beveled,black,blue,bp,butt,cc,cm,dd,ditto,down,%
3210 epsilon,evenly,false,fullcircle,green,halfcircle,identity,%
3211 in,infinity,left,mitered,mm,nullpicture,origin,pc,pencircle,%
3212 pt,quartercircle,red,right,rounded,squared,true,unitsquare,%
3213 up,white,withdots},
3214 sensitive=false,%
3215 alsoother={0123456789$},%
3216 morecomment=[l]\%,%
3217 morestring=[mf]{input\ },%
3218 morestring=[b]"%
3219 }[keywords,comments,strings,mf]%
3220 % \end{macrocode}
3221 % \begin{macrocode}
3222 %</lang3>
3223 % \end{macrocode}
3224 % \endgroup
3225 %
3226 %
3227 % \subsection{Miranda}
3228 %
3229 % Thanks to \lstthanks{Peter~Bartke}{bartke@inf.fu-berlin.de}{1999/01/30}
3230 % for providing the definition.
3231 % \begingroup
3232 % \begin{macrocode}
3233 %<*lang2>
3234 % \end{macrocode}
3235 % \begin{macrocode}
3236 %%
3237 %% Miranda definition (c) 1998 Peter Bartke
3238 %%
3239 %% Miranda: pure lazy functional language with polymorphic type system,
3240 %% garbage collection and functions as first class citizens
3241 %%
3242 \lst@definelanguage{Miranda}%
3243 {morekeywords={abstype,div,if,mod,otherwise,readvals,show,type,where,%
3244 with,bool,char,num,sys_message,False,True,Appendfile,Closefile,%
3245 Exit,Stderr,Stdout,System,Tofile,\%include,\%export,\%free,%
3246 \%insert,abs,and,arctan,cjustify,code,concat,const,converse,cos,%
3247 decode,digit,drop,dropwhile,entier,error,exp,filemode,filter,%
3248 foldl,foldl1,foldr,foldr1,force,fst,getenv,hd,hugenum,id,index,%
3249 init,integer,iterate,last,lay,layn,letter,limit,lines,ljustify,%
3250 log,log10,map,map2,max,max2,member,merge,min,min2,mkset,neg,%
3251 numval,or,pi,postfix,product,read,rep,repeat,reverse,rjustify,%
3252 scan,seq,showfloat,shownum,showscaled,sin,snd,sort,spaces,sqrt,%
3253 subtract,sum,system,take,takewhile,tinynum,tl,transpose,undef,%
3254 until,zip2,zip3,zip4,zip5,zip6,zip},%
3255 sensitive,%
3256 morecomment=[l]||,%
3257 morestring=[b]"%
3258 }[keywords,comments,strings]%
3259 % \end{macrocode}
3260 % \begin{macrocode}
3261 %</lang2>
3262 % \end{macrocode}
3263 % \endgroup
3264 %
3265 %
3266 %
3267 % \subsection{Mizar}
3268 %
3269 % As you can read below, \lstthanks{Adam~Grabowski}{adam@mizar.org}
3270 % {2003/03/29} provided this language definition.
3271 % \begingroup
3272 % \begin{macrocode}
3273 %<*lang3>
3274 % \end{macrocode}
3275 % \begin{macrocode}
3276 %%
3277 %% Mizar definition (c) 2003 Adam Grabowski
3278 %%
3279 %% Mizar is freely available at URL www.mizar.org for the Linux x86,
3280 %% Solaris x86, and Windows operating systems.
3281 %%
3282 \lst@definelanguage{Mizar}%
3283 {otherkeywords={->,(\#,\#),.=),\&},%
3284 morekeywords={vocabulary,constructors,$1,$1,$2,$3,$4,$5,$6,$7,$8,%
3285 @proof,according,aggregate,and,antonym,as,associativity,assume,%
3286 asymmetry,attr,be,begin,being,by,canceled,case,cases,cluster,%
3287 clusters,coherence,commutativity,compatibility,connectedness,%
3288 consider,consistency,constructors,contradiction,correctness,def,%
3289 deffunc,define,definition,definitions,defpred,end,environ,equals,%
3290 ex,exactly,existence,for,from,func,given,hence,hereby,holds,%
3291 idempotence,if,iff,implies,involutiveness,irreflexivity,is,it,%
3292 let,means,mode,non,not,notation,now,of,or,otherwise,over,per,%
3293 pred,prefix,projectivity,proof,provided,qua,reconsider,redefine,%
3294 reflexivity,requirements,reserve,scheme,schemes,section,selector,%
3295 set,st,struct,such,suppose,symmetry,synonym,take,that,the,then,%
3296 theorem,theorems,thesis,thus,to,transitivity,uniqueness,%
3297 vocabulary,where},%
3298 sensitive=t,%
3299 morecomment=[l]::%
3300 }[keywords,comments]%
3301 % \end{macrocode}
3302 % \begin{macrocode}
3303 %</lang3>
3304 % \end{macrocode}
3305 % \endgroup
3306 %
3307 %
3308 % \subsection{ML}
3309 %
3310 % Thanks to \lstthanks{Torben~Hoffmann}{toho@it.dtu.dk}{1999/02/18} for
3311 % providing the definition.
3312 % \begingroup
3313 % \begin{macrocode}
3314 %<*lang2>
3315 % \end{macrocode}
3316 % \begin{macrocode}
3317 %%
3318 %% ML definition (c) 1999 Torben Hoffmann
3319 %%
3320 \lst@definelanguage{ML}%
3321 {morekeywords={abstype,and,andalso,as,case,do,datatype,else,end,%
3322 eqtype,exception,fn,fun,functor,handle,if,in,include,infix,%
3323 infixr,let,local,nonfix,of,op,open,orelse,raise,rec,sharing,sig,%
3324 signature,struct,structure,then,type,val,with,withtype,while},%
3325 sensitive,%
3326 morecomment=[n]{(*}{*)},%
3327 morestring=[d]"%
3328 }[keywords,comments,strings]%
3329 % \end{macrocode}
3330 % \begin{macrocode}
3331 %</lang2>
3332 % \end{macrocode}
3333 % \endgroup
3334 %
3335 %
3336 % \subsection{Modula-2}
3337 %
3338 % Took data from
3339 % \begin{itemize}
3340 % \item
3341 % \textsc{Niklaus Wirth}: \textbf{Programmieren in Modula-2},
3342 % \"Ubers.\ Guido Pfeiffer;
3343 % 2.\ Auflage -- Berlin; Heidelberg; New York; London; Paris; Tokyo;
3344 % Hong Kong: Springer, 1991;
3345 % ISBN 3-540-51689-1.
3346 % \end{itemize}
3347 % \begingroup
3348 % \begin{macrocode}
3349 %<*lang3>
3350 % \end{macrocode}
3351 % \begin{macrocode}
3352 \lst@definelanguage{Modula-2}%
3353 {morekeywords={AND,ARRAY,BEGIN,BY,CASE,CONST,DIV,DO,ELSE,ELSIF,END,%
3354 EXIT,EXPORT,FOR,FROM,IF,IMPLEMENTATION,IMPORT,IN,MOD,MODULE,NOT,%
3355 OF,OR,POINTER,PROCEDURE,QUALIFIED,RECORD,REPEAT,RETURN,SET,THEN,%
3356 TYPE,UNTIL,VAR,WHILE,WITH,ABS,BITSET,BOOLEAN,CAP,CARDINAL,CHAR,%
3357 CHR,DEC,EXCL,FALSE,FLOAT,HALT,HIGH,INC,INCL,INTEGER,LONGCARD,%
3358 LONGINT,LONGREAL,MAX,MIN,NIL,ODD,ORD,PROC,REAL,SIZE,TRUE,TRUNC,%
3359 VAL,DEFINITION,LOOP},% added keywords due to Peter Bartke 99/07/22
3360 sensitive,%
3361 morecomment=[n]{(*}{*)},%
3362 morestring=[d]',%
3363 morestring=[d]"%
3364 }[keywords,comments,strings]%
3365 % \end{macrocode}
3366 % \begin{macrocode}
3367 %</lang3>
3368 % \end{macrocode}
3369 % \endgroup
3370 %
3371 %
3372 % \subsection{MuPAD}
3373 %
3374 % This definition was provided by \lstthanks{Christopher~Creutzig}
3375 % {ccr@mupad.de}{2002/10/15}. Again thanks to \lsthelper{Ulrike Fischer}
3376 % {-}{2004/04/23}{Re: Bug in listings.sty} for pointing to a missing |@|
3377 % in |\lstdefinelanguage|.
3378 % \begingroup
3379 % \begin{macrocode}
3380 %<*lang3>
3381 % \end{macrocode}
3382 % \begin{macrocode}
3383 \lst@definelanguage{MuPAD}{%
3384 morekeywords={end,next,break,if,then,elif,else,end_if,case,end_case,%
3385 otherwise,for,from,to,step,downto,in,end_for,while,end_while,%
3386 repeat,until,end_repeat,or,and,not,xor,div,mod,union,minus,%
3387 intersect,subset,proc,begin,end_proc,domain,end_domain,category,%
3388 end_category,axiom,end_axiom,quit,delete,frame},%
3389 morekeywords=[2]{NIL,FAIL,TRUE,FALSE,UNKNOWN,I,RD_INF,RD_NINF,%
3390 RD_NAN,name,local,option,save,inherits,of,do},%
3391 otherkeywords={\%if,?,!,:=,<,>,=,<=,<>,>=,==>,<=>,::,..,...,->,%
3392 @,@@,\$},%
3393 sensitive=true,%
3394 morecomment=[l]{//},%
3395 morecomment=[n]{/*}{*/},%
3396 morestring=[b]",%
3397 morestring=[d]{`}%
3398 }[keywords,comments,strings]
3399 % \end{macrocode}
3400 % \begin{macrocode}
3401 %</lang3>
3402 % \end{macrocode}
3403 % \endgroup
3404 %
3405 %
3406 % \subsection{NASTRAN}
3407 %
3408 % \begingroup
3409 % \begin{macrocode}
3410 %<*lang3>
3411 % \end{macrocode}
3412 % The definition is from \lsthelper{Jeffrey Ratcliffe}
3413 % {Jeffrey.Ratcliffe@m.eads.net}{2002/02/21}{}---except the
3414 % \texttt{MoreSelectCharTable} part which simulates the keyword
3415 % \texttt{BEGIN BULK}.
3416 % \begin{macrocode}
3417 \lst@definelanguage{NASTRAN}
3418 {morekeywords={ENDDATA},%
3419 morecomment=[l]$,%
3420 MoreSelectCharTable=%
3421 \lst@CArgX BEGIN\ BULK\relax\lst@CDef{}%
3422 {\lst@ifmode\else \ifnum\lst@length=\z@
3423 \lst@EnterMode{\lst@GPmode}{\lst@modetrue
3424 \let\lst@currstyle\lst@gkeywords@sty}%
3425 \fi \fi}%
3426 {\ifnum\lst@mode=\lst@GPmode
3427 \lst@XPrintToken \lst@LeaveMode
3428 \fi}%
3429 }[keywords,comments]%
3430 % \end{macrocode}
3431 % \begin{macrocode}
3432 %</lang3>
3433 % \end{macrocode}
3434 % \endgroup
3435 %
3436 %
3437 % \subsection{Oberon-2}
3438 %
3439 % \begingroup
3440 % \begin{macrocode}
3441 %<*lang3>
3442 % \end{macrocode}
3443 % \begin{macrocode}
3444 \lst@definelanguage{Oberon-2}%
3445 {morekeywords={ARRAY,BEGIN,BOOLEAN,BY,CASE,CHAR,CONST,DIV,DO,ELSE,%
3446 ELSIF,END,EXIT,FALSE,FOR,IF,IMPORT,IN,INTEGER,IS,LONGINT,%
3447 LONGREAL,LOOP,MOD,MODULE,NIL,OF,OR,POINTER,PROCEDURE,REAL,RECORD,%
3448 REPEAT,RETURN,SET,SHORTINT,THEN,TO,TRUE,TYPE,UNTIL,VAR,WHILE,%
3449 WITH,ABS,ASH,CAP,CHR,COPY,DEC,ENTIER,EXCL,HALT,INC,INCL,LEN,LONG,%
3450 MAX,MIN,NEW,ODD,ORD,SHORT,SIZE},%
3451 sensitive,%
3452 morecomment=[n]{(*}{*)},%
3453 morestring=[d]',%
3454 morestring=[d]"%
3455 }[keywords,comments,strings]%
3456 % \end{macrocode}
3457 % \begin{macrocode}
3458 %</lang3>
3459 % \end{macrocode}
3460 % \endgroup
3461 %
3462 %
3463 % \subsection{OCL}
3464 %
3465 % This definition is based on chapter 7 of the OMG UML standard version 1.3:
3466 % \begin{itemize}
3467 % \item
3468 % \textsc{OMG}:
3469 % \textbf{OMG Unified Modeling Language Specification};
3470 % {\copyright} 1999 OMG;
3471 % Available at \texttt{ftp://ftp.omg.org/pub/docs/ad/99-06-08.pdf}.
3472 % \end{itemize}%
3473 % This language is due to \lstthanks{Achim~D.~Brucker}
3474 % {brucker@informatik.uni-freiburg.de}{2000/08/14}.
3475 %
3476 % \begingroup
3477 % \begin{macrocode}
3478 %<*lang3>
3479 % \end{macrocode}
3480 % \begin{macrocode}
3481 %%
3482 %% OCL definition (c) 2000 Achim D. Brucker
3483 %%
3484 %% You are allowed to use, modify and distribute this code either under
3485 %% the terms of the LPPL (version 1.0 or later) or the GPL (version 2.0
3486 %% or later).
3487 %%
3488 % \end{macrocode}
3489 % First we define are very decorative style. In the OMG standard only the
3490 % boolean (infix (?)) operations are highlighted, but I think all OCL-defined
3491 % operations should be highlighted, because they are \emph{guaranteed} to be
3492 % side-effect-free (in OCL only side effect free evaluations or path
3493 % expressions are allowed).
3494 % \begin{macrocode}
3495 \lst@definelanguage[decorative]{OCL}[OMG]{OCL}
3496 {otherkeywords={@pre},%
3497 morendkeywords={name,attributes,associatoinEnds,operations,%
3498 supertypes,allSupertypes,allInstances,oclIsKindOf,oclIsTypeOf,%
3499 oclAsType,oclInState,oclIsNew,evaluationType,abs,floor,round,max,%
3500 min,div,mod,size,concat,toUpper,toLower,substring,includes,%
3501 excludes,count,includesAll,exludesAll,isEmpty,notEmpty,sum,%
3502 exists,forAll,isUnique,sortedBy,iterate,union,intersection,%
3503 including,excluding,symmetricDifference,select,reject,collect,%
3504 asSequence,asBag,asSequence,asSet,append,prepend,subSequence,at,%
3505 first,last,true,false,isQuery}%
3506 }%
3507 % \end{macrocode}
3508 % Remark: "isQuery" is not real OCL, but a important attribute of the
3509 % underlying UML model.
3510 %
3511 % The dialect called \texttt{OMG} is a very spare version. If you use
3512 % this variant with bold style for first and second order keywords you
3513 % get the look and feel of the OMG standard. First order keywords are the
3514 % OCL context declarations (see section 7.3 of the OMG standard):
3515 % \begin{macrocode}
3516 \lst@definelanguage[OMG]{OCL}%
3517 {morekeywords={context,pre,inv,post},%
3518 % \end{macrocode}
3519 % Second order keywords are the operation which are defined for type
3520 % Boolean (see pages 7-34/35 of the OMG standard) and the let-operation
3521 % (in principle these are the infix operations):
3522 % \begin{macrocode}
3523 ndkeywords={or,xor,and,not,implies,if,then,else,endif},%
3524 % \end{macrocode}
3525 % Third order keywords are the basic data types as declared in section 7.4 of
3526 % the OMG standard:
3527 % \begin{macrocode}
3528 morekeywords=[3]{Boolean,Integer,Real,String,Set,Sequence,Bag,%
3529 OclType,OclAny,OclExpression,Enumeration,Collection,},%
3530 sensitive=t,%
3531 morecomment=[l]--,%
3532 morestring=[d]'%
3533 }[keywords,comments,strings]%
3534 % \end{macrocode}
3535 % After a bug report by \lsthelper{Martin~S\"u\ss kraut}{Edon.Myder@web.de}
3536 % {2003/01/30}{morerdkeywords doesn't exist any more} \texttt{morerdkeywords}
3537 % has been changed to the correct optional argument \texttt{[3]}.
3538 % \begin{macrocode}
3539 %</lang3>
3540 % \end{macrocode}
3541 % \endgroup
3542 %
3543 %
3544 % \subsection{Octave}
3545 %
3546 % \begingroup
3547 % \begin{macrocode}
3548 %<*lang1>
3549 % \end{macrocode}
3550 % As you can read below the definition is due to \lstthanks{Ulrich~G.~Wortmann}
3551 % {uliw@erdw.ethz.ch}{2002/02/18}{}. Additions due to \lstthanks{Sebastian~%
3552 % Schubert}{-}{2006/05/11}.
3553 % \begin{macrocode}
3554 %%
3555 %% Octave definition (c) 2001,2002 Ulrich G. Wortmann
3556 %%
3557 \lst@definelanguage{Octave}%
3558 {morekeywords={gt,lt,amp,abs,acos,acosh,acot,acoth,acsc,acsch,%
3559 all,angle,ans,any,asec,asech,asin,asinh,atan,atan2,atanh,auread,%
3560 auwrite,axes,axis,balance,bar,bessel,besselk,bessely,beta,%
3561 betainc,betaln,blanks,bone,break,brighten,capture,cart2pol,%
3562 cart2sph,caxis,cd,cdf2rdf,cedit,ceil,chol,cla,clabel,clc,clear,%
3563 clf,clock,close,colmmd,Colon,colorbar,colormap,ColorSpec,colperm,%
3564 comet,comet3,compan,compass,computer,cond,condest,conj,contour,%
3565 contour3,contourc,contrast,conv,conv2,cool,copper,corrcoef,cos,%
3566 cosh,cot,coth,cov,cplxpair,cputime,cross,csc,csch,csvread,%
3567 csvwrite,cumprod,cumsum,cylinder,date,dbclear,dbcont,dbdown,%
3568 dbquit,dbstack,dbstatus,dbstep,dbstop,dbtype,dbup,ddeadv,ddeexec,%
3569 ddeinit,ddepoke,ddereq,ddeterm,ddeunadv,deblank,dec2hex,deconv,%
3570 del2,delete,demo,det,diag,diary,diff,diffuse,dir,disp,dlmread,%
3571 dlmwrite,dmperm,dot,drawnow,echo,eig,ellipj,ellipke,else,elseif,%
3572 end,engClose,engEvalString,engGetFull,engGetMatrix,engOpen,%
3573 engOutputBuffer,engPutFull,engPutMatrix,engSetEvalCallback,%
3574 engSetEvalTimeout,engWinInit,eps,erf,erfc,erfcx,erfinv,%
3575 errorbar,etime,etree,eval,exist,exp,expint,expm,expo,eye,fclose,%
3576 feather,feof,ferror,feval,fft,fft2,fftshift,fgetl,fgets,figure,%
3577 fill,fill3,filter,filter2,find,findstr,finite,fix,flag,fliplr,%
3578 flipud,floor,flops,fmin,fmins,fopen,for,format,fplot,fprintf,%
3579 fread,frewind,fscanf,fseek,ftell,full,function,funm,fwrite,fzero,%
3580 gallery,gamma,gammainc,gammaln,gca,gcd,gcf,gco,get,getenv,%
3581 getframe,ginput,global,gplot,gradient,gray,graymon,grid,griddata,%
3582 gtext,hadamard,hankel,help,hess,hex2dec,hex2num,hidden,hilb,hist,%
3583 hold,home,hostid,hot,hsv,hsv2rgb,if,ifft,ifft2,imag,image,%
3584 imagesc,Inf,info,input,int2str,interp1,interp2,interpft,inv,%
3585 invhilb,isempty,isglobal,ishold,isieee,isinf,isletter,isnan,%
3586 isreal,isspace,issparse,isstr,jet,keyboard,kron,lasterr,lcm,%
3587 legend,legendre,length,lin2mu,line,linspace,load,log,log10,log2,%
3588 loglog,logm,logspace,lookfor,lower,ls,lscov,lu,magic,matClose,%
3589 matDeleteMatrix,matGetDir,matGetFp,matGetFull,matGetMatrix,%
3590 matGetNextMatrix,matGetString,matlabrc,matlabroot,matOpen,%
3591 matPutFull,matPutMatrix,matPutString,max,mean,median,menu,mesh,%
3592 meshc,meshgrid,meshz,mexAtExit,mexCallMATLAB,mexdebug,%
3593 mexErrMsgTxt,mexEvalString,mexFunction,mexGetFull,mexGetMatrix,%
3594 mexGetMatrixPtr,mexPrintf,mexPutFull,mexPutMatrix,mexSetTrapFlag,%
3595 min,more,movie,moviein,mu2lin,mxCalloc,mxCopyCharacterToPtr,%
3596 mxCopyComplex16ToPtr,mxCopyInteger4ToPtr,mxCopyPtrToCharacter,%
3597 mxCopyPtrToComplex16,mxCopyPtrToInteger4,mxCopyPtrToReal8,%
3598 mxCopyReal8ToPtr,mxCreateFull,mxCreateSparse,mxCreateString,%
3599 mxFree,mxFreeMatrix,mxGetIr,mxGetJc,mxGetM,mxGetN,mxGetName,%
3600 mxGetNzmax,mxGetPi,mxGetPr,mxGetScalar,mxGetString,mxIsComplex,%
3601 mxIsFull,mxIsNumeric,mxIsSparse,mxIsString,mxIsTypeDouble,%
3602 mxSetIr,mxSetJc,mxSetM,mxSetN,mxSetName,mxSetNzmax,mxSetPi,%
3603 mxSetPr,NaN,nargchk,nargin,nargout,newplot,nextpow2,nnls,nnz,%
3604 nonzeros,norm,normest,null,num2str,nzmax,ode23,ode45,orient,orth,%
3605 pack,pascal,patch,path,pause,pcolor,pi,pink,pinv,plot,plot3,%
3606 pol2cart,polar,poly,polyder,polyeig,polyfit,polyval,polyvalm,%
3607 pow2,print,printopt,prism,prod,pwd,qr,qrdelete,qrinsert,quad,%
3608 quad8,quit,quiver,qz,rand,randn,randperm,rank,rat,rats,rbbox,%
3609 rcond,real,realmax,realmin,refresh,rem,reset,reshape,residue,%
3610 return,rgb2hsv,rgbplot,rootobject,roots,rose,rosser,rot90,rotate,%
3611 round,rref,rrefmovie,rsf2csf,save,saxis,schur,sec,sech,semilogx,%
3612 semilogy,set,setstr,shading,sign,sin,sinh,size,slice,sort,sound,%
3613 spalloc,sparse,spaugment,spconvert,spdiags,specular,speye,spfun,%
3614 sph2cart,sphere,spinmap,spline,spones,spparms,sprandn,sprandsym,%
3615 sprank,sprintf,spy,sqrt,sqrtm,sscanf,stairs,startup,std,stem,%
3616 str2mat,str2num,strcmp,strings,strrep,strtok,subplot,subscribe,%
3617 subspace,sum,surf,surface,surfc,surfl,surfnorm,svd,symbfact,%
3618 symmmd,symrcm,tan,tanh,tempdir,tempname,terminal,text,tic,title,%
3619 toc,toeplitz,trace,trapz,tril,triu,type,uicontrol,uigetfile,%
3620 uimenu,uiputfile,unix,unwrap,upper,vander,ver,version,view,%
3621 viewmtx,waitforbuttonpress,waterfall,wavread,wavwrite,what,%
3622 whatsnew,which,while,white,whitebg,who,whos,wilkinson,wk1read,%
3623 stderr,stdout,plot,set,endif,wk1write,xlabel,xor,ylabel,zeros,%
3624 zlabel,zoom,endwhile,endfunction,printf,case,switch,otherwise,%
3625 system,lsode,endfor,error,ones,oneplot,__gnuplot_set__,do,until},%
3626 sensitive=t,%
3627 morecomment=[l]\#,%
3628 morecomment=[l]\#\#,%
3629 morecomment=[l]\%,%
3630 morestring=[m]',%
3631 morestring=[m]"%
3632 }[keywords,comments,strings]%
3633 % \end{macrocode}
3634 % \begin{macrocode}
3635 %</lang1>
3636 % \end{macrocode}
3637 % \endgroup
3638 %
3639 %
3640 % \subsection{Oz}
3641 %
3642 % \begingroup
3643 % \begin{macrocode}
3644 %<*lang2>
3645 % \end{macrocode}
3646 % Thanks to \lstthanks{Andres~Becerra~Sandoval}{abecerra@univalle.edu.co}
3647 % {2003/10/02} for providing this language definition.
3648 % \begin{macrocode}
3649 %%
3650 %% Oz definition (c) Andres Becerra Sandoval
3651 %%
3652 \lst@definelanguage{Oz}%
3653 {morekeywords={andthen,at,attr,case,catch,choice,class,%
3654 cond,declare,define,dis,div,else,elsecase,%
3655 elseif,end,export,fail,false,feat,finally,%
3656 from,fun,functor,if,import,in,local,%
3657 lock,meth,mod,not,of,or,orelse,%
3658 prepare,proc,prop,raise,require,self,skip,%
3659 then,thread,true,try,unit},%
3660 sensitive=true,%
3661 morecomment=[l]{\%},%
3662 morecomment=[s]{/*}{*/},%
3663 morestring=[b]",%
3664 morestring=[d]'%
3665 }[keywords,comments,strings]%
3666 % \end{macrocode}
3667 % \begin{macrocode}
3668 %</lang2>
3669 % \end{macrocode}
3670 % \endgroup
3671 %
3672 %
3673 % \subsection{Pascal}
3674 %
3675 % \begingroup
3676 % \begin{macrocode}
3677 %<*lang1>
3678 % \end{macrocode}
3679 % Thanks to \lsthelper{Andreas Stephan}{Andreas.Stephan@victoria.de}{1998/04/07}
3680 % {alpha, byte, pack, unpack} for reporting non-keywords alpha, byte, pack and
3681 % unpack.
3682 % \begin{macrocode}
3683 \lst@definelanguage[XSC]{Pascal}[Standard]{Pascal}
3684 {deletekeywords={alfa,byte,pack,unpack},% 1998 Andreas Stephan
3685 morekeywords={dynamic,external,forward,global,module,nil,operator,%
3686 priority,sum,type,use,dispose,mark,page,release,cimatrix,%
3687 cinterval,civector,cmatrix,complex,cvector,dotprecision,imatrix,%
3688 interval,ivector,rmatrix,rvector,string,im,inf,re,sup,chr,comp,%
3689 eof,eoln,expo,image,ival,lb,lbound,length,loc,mant,maxlength,odd,%
3690 ord,pos,pred,round,rval,sign,substring,succ,trunc,ub,ubound}%
3691 }%
3692 % \end{macrocode}
3693 % \begin{macrocode}
3694 \lst@definelanguage[Borland6]{Pascal}[Standard]{Pascal}
3695 {morekeywords={asm,constructor,destructor,implementation,inline,%
3696 interface,nil,object,shl,shr,string,unit,uses,xor},%
3697 morendkeywords={Abs,Addr,ArcTan,Chr,Concat,Copy,Cos,CSeg,DiskFree,%
3698 DiskSize,DosExitCode,DosVersion,DSeg,EnvCount,EnvStr,Eof,Eoln,%
3699 Exp,FExpand,FilePos,FileSize,Frac,FSearch,GetBkColor,GetColor,%
3700 GetDefaultPalette,GetDriverName,GetEnv,GetGraphMode,GetMaxMode,%
3701 GetMaxX,GetMaxY,GetModeName,GetPaletteSize,GetPixel,GetX,GetY,%
3702 GraphErrorMsg,GraphResult,Hi,ImageSize,InstallUserDriver,%
3703 InstallUserFont,Int,IOResult,KeyPressed,Length,Lo,MaxAvail,%
3704 MemAvail,MsDos,Odd,Ofs,Ord,OvrGetBuf,OvrGetRetry,ParamCount,%
3705 ParamStr,Pi,Pos,Pred,Ptr,Random,ReadKey,Round,SeekEof,SeekEoln,%
3706 Seg,SetAspectRatio,Sin,SizeOf,Sound,SPtr,Sqr,Sqrt,SSeg,Succ,%
3707 Swap,TextHeight,TextWidth,Trunc,TypeOf,UpCase,WhereX,WhereY,%
3708 Append,Arc,Assign,AssignCrt,Bar,Bar3D,BlockRead,BlockWrite,ChDir,%
3709 Circle,ClearDevice,ClearViewPort,Close,CloseGraph,ClrEol,ClrScr,%
3710 Dec,Delay,Delete,DelLine,DetectGraph,Dispose,DrawPoly,Ellipse,%
3711 Erase,Exec,Exit,FillChar,FillEllipse,FillPoly,FindFirst,FindNext,%
3712 FloodFill,Flush,FreeMem,FSplit,GetArcCoords,GetAspectRatio,%
3713 GetDate,GetDefaultPalette,GetDir,GetCBreak,GetFAttr,%
3714 GetFillSettings,GetFTime,GetImage,GetIntVec,GetLineSettings,%
3715 GetMem,GetPalette,GetTextSettings,GetTime,GetVerify,%
3716 GetViewSettings,GoToXY,Halt,HighVideo,Inc,InitGraph,Insert,%
3717 InsLine,Intr,Keep,Line,LineRel,LineTo,LowVideo,Mark,MkDir,Move,%
3718 MoveRel,MoveTo,MsDos,New,NormVideo,NoSound,OutText,OutTextXY,%
3719 OvrClearBuf,OvrInit,OvrInitEMS,OvrSetBuf,PackTime,PieSlice,%
3720 PutImage,PutPixel,Randomize,Rectangle,Release,Rename,%
3721 RestoreCrtMode,RmDir,RunError,Sector,Seek,SetActivePage,%
3722 SetAllPalette,SetBkColor,SetCBreak,SetColor,SetDate,SetFAttr,%
3723 SetFillPattern,SetFillStyle,SetFTime,SetGraphBufSize,%
3724 SetGraphMode,SetIntVec,SetLineStyle,SetPalette,SetRGBPalette,%
3725 SetTextBuf,SetTextJustify,SetTextStyle,SetTime,SetUserCharSize,%
3726 SetVerify,SetViewPort,SetVisualPage,SetWriteMode,Sound,Str,%
3727 SwapVectors,TextBackground,TextColor,TextMode,Truncate,%
3728 UnpackTime,Val,Window}%
3729 }%
3730 % \end{macrocode}
3731 % \begin{macrocode}
3732 \lst@definelanguage[Standard]{Pascal}%
3733 {morekeywords={alfa,and,array,begin,boolean,byte,case,char,const,div,%
3734 do,downto,else,end,false,file,for,function,get,goto,if,in,%
3735 integer,label,maxint,mod,new,not,of,or,pack,packed,page,program,%
3736 put,procedure,read,readln,real,record,repeat,reset,rewrite,set,%
3737 text,then,to,true,type,unpack,until,var,while,with,write,%
3738 writeln},%
3739 sensitive=f,%
3740 morecomment=[s]{(*}{*)},%
3741 morecomment=[s]{\{}{\}},%
3742 morestring=[d]'%
3743 }[keywords,comments,strings]%
3744 % \end{macrocode}
3745 % \begin{macrocode}
3746 %</lang1>
3747 % \end{macrocode}
3748 % \endgroup
3749 %
3750 %
3751 % \subsection{Perl}
3752 %
3753 % I got the data from \texttt{http://www.perl.com}. But I wish to thank
3754 % \lsthelper{Herbert~Weinhandl}{weinhand@grz08u.unileoben.ac.at}{}{} for the
3755 % book `Learning Perl'.
3756 % \begingroup
3757 % \begin{macrocode}
3758 %<*lang1>
3759 % \end{macrocode}
3760 % \begin{macrocode}
3761 \lst@definelanguage{Perl}%
3762 {morekeywords={abs,accept,alarm,atan2,bind,binmode,bless,caller,%
3763 chdir,chmod,chomp,chop,chown,chr,chroot,close,closedir,connect,%
3764 continue,cos,crypt,dbmclose,dbmopen,defined,delete,die,do,dump,%
3765 each,else,elsif,endgrent,endhostent,endnetent,endprotoent,%
3766 endpwent,endservent,eof,eval,exec,exists,exit,exp,fcntl,fileno,%
3767 flock,for,foreach,fork,format,formline,getc,getgrent,getgrgid,%
3768 getgrnam,gethostbyaddr,gethostbyname,gethostent,getlogin,%
3769 getnetbyaddr,getnetbyname,getnetent,getpeername,getpgrp,%
3770 getppid,getpriority,getprotobyname,getprotobynumber,getprotoent,%
3771 getpwent,getpwnam,getpwuid,getservbyname,getservbyport,%
3772 getservent,getsockname,getsockopt,glob,gmtime,goto,grep,hex,if,%
3773 import,index,int,ioctl,join,keys,kill,last,lc,lcfirst,length,%
3774 link,listen,local,localtime,log,lstat,m,map,mkdir,msgctl,msgget,%
3775 msgrcv,msgsnd,my,next,no,oct,open,opendir,ord,pack,package,pipe,%
3776 pop,pos,print,printf,prototype,push,q,qq,quotemeta,qw,qx,rand,%
3777 read,readdir,readlink,recv,redo,ref,rename,require,reset,return,%
3778 reverse,rewinddir,rindex,rmdir,s,scalar,seek,seekdir,select,%
3779 semctl,semget,semop,send,setgrent,sethostent,setnetent,setpgrp,%
3780 setpriority,setprotoent,setpwent,setservent,setsockopt,shift,%
3781 shmctl,shmget,shmread,shmwrite,shutdown,sin,sleep,socket,%
3782 socketpair,sort,splice,split,sprintf,sqrt,srand,stat,study,sub,%
3783 substr,symlink,syscall,sysopen,sysread,system,syswrite,tell,%
3784 telldir,tie,tied,time,times,tr,truncate,uc,ucfirst,umask,undef,%
3785 unless,unlink,unpack,unshift,untie,until,use,utime,values,vec,%
3786 wait,waitpid,wantarray,warn,while,write,y},%
3787 sensitive,%
3788 morecomment=[l]\#,%
3789 morestring=[b]",%
3790 morestring=[b]',%
3791 MoreSelectCharTable=%
3792 \lst@ReplaceInput{\$\#}{\lst@ProcessOther\$\lst@ProcessOther\#}%
3793 }[keywords,comments,strings]%
3794 % \end{macrocode}
3795 % \begin{macrocode}
3796 %</lang1>
3797 % \end{macrocode}
3798 % \endgroup
3799 %
3800 %
3801 % \subsection{PHP}
3802 %
3803 % \lstthanks{Luca Balzerani}{lou@latoserver.it}{2002/04/06,2002/04/16} sent me
3804 % this language definition.
3805 % \begingroup
3806 % \begin{macrocode}
3807 %<*lang2>
3808 % \end{macrocode}
3809 % \begin{macrocode}
3810 %%
3811 %% PHP definition by Luca Balzerani
3812 %%
3813 \lst@definelanguage{PHP}%
3814 {morekeywords={%
3815 %--- core language
3816 <?,?>,::,break,case,continue,default,do,else,%
3817 elseif,for,foreach,if,include,require,phpinfo,%
3818 switch,while,false,FALSE,true,TRUE,%
3819 %--- apache functions
3820 apache_lookup_uri,apache_note,ascii2ebcdic,ebcdic2ascii,%
3821 virtual,apache_child_terminate,apache_setenv,%
3822 %--- array functions
3823 array,array_change_key_case,array_chunk,array_count_values,%
3824 array_filter,array_flip,array_fill,array_intersect,%
3825 array_keys,array_map,array_merge,array_merge_recursive,%
3826 array_pad,array_pop,array_push,array_rand,array_reverse,%
3827 array_shift,array_slice,array_splice,array_sum,array_unique,%
3828 array_values,array_walk,arsort,asort,compact,count,current,each,%
3829 extract,in_array,array_search,key,krsort,ksort,list,natsort,%
3830 next,pos,prev,range,reset,rsort,shuffle,sizeof,sort,uasort,%
3831 usort,%
3832 %--- aspell functions
3833 aspell_new,aspell_check,aspell_check_raw,aspell_suggest,%
3834 %--- bc functions
3835 bcadd,bccomp,bcdiv,bcmod,bcmul,bcpow,bcscale,bcsqrt,bcsub,%
3836 %--- bzip2 functions
3837 bzclose,bzcompress,bzdecompress,bzerrno,bzerror,bzerrstr,%
3838 bzopen,bzread,bzwrite,%
3839 %--- calendar functions
3840 JDToGregorian,GregorianToJD,JDToJulian,JulianToJD,JDToJewish,%
3841 JDToFrench,FrenchToJD,JDMonthName,JDDayOfWeek,easter_date,%
3842 unixtojd,jdtounix,cal_days_in_month,cal_to_jd,cal_from_jd,%
3843 %--- ccvs functions
3844 ccvs_init,ccvs_done,ccvs_new,ccvs_add,ccvs_delete,ccvs_auth,%
3845 ccvs_reverse,ccvs_sale,ccvs_void,ccvs_status,ccvs_count,%
3846 ccvs_report,ccvs_command,ccvs_textvalue,%
3847 %--- classobj functions
3848 call_user_method,call_user_method_array,class_exists,get_class,%
3849 get_class_vars,get_declared_classes,get_object_vars,%
3850 is_a,is_subclass_of,method_exists,%
3851 %--- com functions
3852 COM,VARIANT,com_load,com_invoke,com_propget,com_get,com_propput,%
3853 com_set,com_addref,com_release,com_isenum,com_load_typelib,%
3854 %--- cpdf functions
3855 cpdf_add_annotation,cpdf_add_outline,cpdf_arc,cpdf_begin_text,%
3856 cpdf_clip,cpdf_close,cpdf_closepath,cpdf_closepath_fill_stroke,%
3857 cpdf_continue_text,cpdf_curveto,cpdf_end_text,cpdf_fill,%
3858 cpdf_finalize,cpdf_finalize_page,%
3859 cpdf_import_jpeg,cpdf_lineto,cpdf_moveto,cpdf_newpath,cpdf_open,%
3860 cpdf_page_init,cpdf_place_inline_image,cpdf_rect,cpdf_restore,%
3861 cpdf_rmoveto,cpdf_rotate,cpdf_rotate_text,cpdf_save,%
3862 cpdf_scale,cpdf_set_char_spacing,cpdf_set_creator,%
3863 cpdf_set_font,cpdf_set_horiz_scaling,cpdf_set_keywords,%
3864 cpdf_set_page_animation,cpdf_set_subject,cpdf_set_text_matrix,%
3865 cpdf_set_text_rendering,cpdf_set_text_rise,cpdf_set_title,%
3866 cpdf_setdash,cpdf_setflat,cpdf_setgray,cpdf_setgray_fill,%
3867 cpdf_setlinecap,cpdf_setlinejoin,cpdf_setlinewidth,%
3868 cpdf_setrgbcolor,cpdf_setrgbcolor_fill,cpdf_setrgbcolor_stroke,%
3869 cpdf_show_xy,cpdf_stringwidth,cpdf_set_font_directories,%
3870 cpdf_set_viewer_preferences,cpdf_stroke,cpdf_text,%
3871 cpdf_set_action_url,%
3872 %--- crack functions
3873 crack_opendict,crack_closedict,crack_check,crack_getlastmessage,%
3874 %--- ctype functions
3875 ctype_alnum,ctype_alpha,ctype_cntrl,ctype_digit,ctype_lower,%
3876 ctype_print,ctype_punct,ctype_space,ctype_upper,ctype_xdigit,%
3877 %--- curl functions
3878 curl_init,curl_setopt,curl_exec,curl_close,curl_version,%
3879 curl_error,curl_getinfo,%
3880 %--- cybercash functions
3881 cybercash_encr,cybercash_decr,cybercash_base64_encode,%
3882 %--- cybermut functions
3883 cybermut_creerformulairecm,cybermut_testmac,%
3884 %--- cyrus functions
3885 cyrus_connect,cyrus_authenticate,cyrus_bind,cyrus_unbind,%
3886 cyrus_close,%
3887 %--- datetime functions
3888 checkdate,date,getdate,gettimeofday,gmdate,gmmktime,gmstrftime,%
3889 microtime,mktime,strftime,time,strtotime,%
3890 %--- dbase functions
3891 dbase_create,dbase_open,dbase_close,dbase_pack,dbase_add_record,%
3892 dbase_delete_record,dbase_get_record,%
3893 dbase_numfields,dbase_numrecords,%
3894 %--- dba functions
3895 dba_close,dba_delete,dba_exists,dba_fetch,dba_firstkey,%
3896 dba_nextkey,dba_popen,dba_open,dba_optimize,dba_replace,%
3897 %--- dbm functions
3898 dbmopen,dbmclose,dbmexists,dbmfetch,dbminsert,dbmreplace,%
3899 dbmfirstkey,dbmnextkey,dblist,%
3900 %--- dbx functions
3901 dbx_close,dbx_connect,dbx_error,dbx_query,dbx_sort,dbx_compare,%
3902 %--- dio functions
3903 dio_open,dio_read,dio_write,dio_truncate,dio_stat,dio_seek,%
3904 dio_close,%
3905 %--- dir functions
3906 chroot,chdir,dir,closedir,getcwd,opendir,readdir,rewinddir,%
3907 %--- dotnet functions
3908 dotnet_load,%
3909 %--- errorfunc functions
3910 error_log,error_reporting,restore_error_handler,%
3911 trigger_error,user_error,%
3912 %--- exec functions
3913 escapeshellarg,escapeshellcmd,exec,passthru,system,shell_exec,%
3914 %--- fbsql functions
3915 fbsql_affected_rows,fbsql_autocommit,fbsql_change_user,%
3916 fbsql_commit,fbsql_connect,fbsql_create_db,fbsql_create_blob,%
3917 fbsql_database_password,fbsql_data_seek,fbsql_db_query,%
3918 fbsql_drop_db,fbsql_errno,fbsql_error,fbsql_fetch_array,%
3919 fbsql_fetch_field,fbsql_fetch_lengths,fbsql_fetch_object,%
3920 fbsql_field_flags,fbsql_field_name,fbsql_field_len,%
3921 fbsql_field_table,fbsql_field_type,fbsql_free_result,%
3922 fbsql_list_dbs,fbsql_list_fields,fbsql_list_tables,%
3923 fbsql_num_fields,fbsql_num_rows,fbsql_pconnect,fbsql_query,%
3924 fbsql_read_clob,fbsql_result,fbsql_rollback,fbsql_set_lob_mode,%
3925 fbsql_start_db,fbsql_stop_db,fbsql_tablename,fbsql_warnings,%
3926 fbsql_get_autostart_info,fbsql_hostname,fbsql_password,%
3927 fbsql_username,%
3928 %--- fdf functions
3929 fdf_open,fdf_close,fdf_create,fdf_save,fdf_get_value,%
3930 fdf_next_field_name,fdf_set_ap,fdf_set_status,fdf_get_status,%
3931 fdf_get_file,fdf_set_flags,fdf_set_opt,%
3932 fdf_set_javascript_action,fdf_set_encoding,fdf_add_template,%
3933 %--- filepro functions
3934 filepro,filepro_fieldname,filepro_fieldtype,filepro_fieldwidth,%
3935 filepro_fieldcount,filepro_rowcount,%
3936 %--- filesystem functions
3937 basename,chgrp,chmod,chown,clearstatcache,copy,delete,dirname,%
3938 diskfreespace,disk_total_space,fclose,feof,fflush,fgetc,fgetcsv,%
3939 fgetss,file_get_contents,file,file_exists,fileatime,filectime,%
3940 fileinode,filemtime,fileowner,fileperms,filesize,filetype,flock,%
3941 fopen,fpassthru,fputs,fread,fscanf,fseek,fstat,ftell,ftruncate,%
3942 set_file_buffer,is_dir,is_executable,is_file,is_link,%
3943 is_writable,is_writeable,is_uploaded_file,link,linkinfo,mkdir,%
3944 parse_ini_file,pathinfo,pclose,popen,readfile,readlink,rename,%
3945 rmdir,stat,lstat,realpath,symlink,tempnam,tmpfile,touch,umask,%
3946 %--- fribidi functions
3947 fribidi_log2vis,%
3948 %--- ftp functions
3949 ftp_connect,ftp_login,ftp_pwd,ftp_cdup,ftp_chdir,ftp_mkdir,%
3950 ftp_nlist,ftp_rawlist,ftp_systype,ftp_pasv,ftp_get,ftp_fget,%
3951 ftp_fput,ftp_size,ftp_mdtm,ftp_rename,ftp_delete,ftp_site,%
3952 ftp_quit,ftp_exec,ftp_set_option,ftp_get_option,%
3953 %--- funchand functions
3954 call_user_func_array,call_user_func,create_function,%
3955 func_get_args,func_num_args,function_exists,%
3956 register_shutdown_function,register_tick_function,%
3957 %--- gettext functions
3958 bindtextdomain,bind_textdomain_codeset,dcgettext,dcngettext,%
3959 dngettext,gettext,ngettext,textdomain,%
3960 %--- gmp functions
3961 gmp_init,gmp_intval,gmp_strval,gmp_add,gmp_sub,gmp_mul,%
3962 gmp_div_r,gmp_div_qr,gmp_div,gmp_mod,gmp_divexact,gmp_cmp,%
3963 gmp_com,gmp_abs,gmp_sign,gmp_fact,gmp_sqrt,gmp_sqrtrm,%
3964 gmp_pow,gmp_powm,gmp_prob_prime,gmp_gcd,gmp_gcdext,gmp_invert,%
3965 gmp_jacobi,gmp_random,gmp_and,gmp_or,gmp_xor,gmp_setbit,%
3966 gmp_scan0,gmp_scan1,gmp_popcount,gmp_hamdist,%
3967 %--- http functions
3968 header,headers_sent,setcookie,%
3969 %--- hw functions
3970 hw_Array2Objrec,hw_Children,hw_ChildrenObj,hw_Close,hw_Connect,%
3971 hw_Deleteobject,hw_DocByAnchor,hw_DocByAnchorObj,%
3972 hw_Document_BodyTag,hw_Document_Content,hw_Document_SetContent,%
3973 hw_ErrorMsg,hw_EditText,hw_Error,hw_Free_Document,hw_GetParents,%
3974 hw_GetChildColl,hw_GetChildCollObj,hw_GetRemote,%
3975 hw_GetSrcByDestObj,hw_GetObject,hw_GetAndLock,hw_GetText,%
3976 hw_GetObjectByQueryObj,hw_GetObjectByQueryColl,%
3977 hw_GetChildDocColl,hw_GetChildDocCollObj,hw_GetAnchors,%
3978 hw_Mv,hw_Identify,hw_InCollections,hw_Info,hw_InsColl,hw_InsDoc,%
3979 hw_InsertObject,hw_mapid,hw_Modifyobject,hw_New_Document,%
3980 hw_Output_Document,hw_pConnect,hw_PipeDocument,hw_Root,%
3981 hw_Who,hw_getusername,hw_stat,hw_setlinkroot,hw_connection_info,%
3982 hw_insertanchors,hw_getrellink,hw_changeobject,%
3983 %--- ibase functions
3984 ibase_connect,ibase_pconnect,ibase_close,ibase_query,%
3985 ibase_fetch_row,ibase_fetch_object,ibase_field_info,%
3986 ibase_free_result,ibase_prepare,ibase_execute,ibase_trans,%
3987 ibase_rollback,ibase_timefmt,ibase_num_fields,ibase_blob_add,%
3988 ibase_blob_close,ibase_blob_create,ibase_blob_echo,%
3989 ibase_blob_import,ibase_blob_info,ibase_blob_open,%
3990 %--- icap functions
3991 icap_open,icap_close,icap_fetch_event,icap_list_events,%
3992 icap_delete_event,icap_snooze,icap_list_alarms,%
3993 icap_rename_calendar,icap_delete_calendar,icap_reopen,%
3994 %--- iconv functions
3995 iconv,iconv_get_encoding,iconv_set_encoding,ob_iconv_handler,%
3996 %--- ifx functions
3997 ifx_connect,ifx_pconnect,ifx_close,ifx_query,ifx_prepare,ifx_do,%
3998 ifx_errormsg,ifx_affected_rows,ifx_getsqlca,ifx_fetch_row,%
3999 ifx_fieldtypes,ifx_fieldproperties,ifx_num_fields,ifx_num_rows,%
4000 ifx_create_char,ifx_free_char,ifx_update_char,ifx_get_char,%
4001 ifx_copy_blob,ifx_free_blob,ifx_get_blob,ifx_update_blob,%
4002 ifx_textasvarchar,ifx_byteasvarchar,ifx_nullformat,%
4003 ifxus_free_slob,ifxus_close_slob,ifxus_open_slob,%
4004 ifxus_seek_slob,ifxus_read_slob,ifxus_write_slob,%
4005 %--- iisfunc functions
4006 iis_get_server_by_path,iis_get_server_by_comment,iis_add_server,%
4007 iis_set_dir_security,iis_get_dir_security,iis_set_server_rights,%
4008 iis_set_script_map,iis_get_script_map,iis_set_app_settings,%
4009 iis_stop_server,iis_stop_service,iis_start_service,%
4010 %--- image functions
4011 exif_imagetype,exif_read_data,exif_thumbnail,getimagesize,%
4012 imagealphablending,imagearc,imagefilledarc,imageellipse,%
4013 imagechar,imagecharup,imagecolorallocate,imagecolordeallocate,%
4014 imagecolorclosest,imagecolorclosestalpha,imagecolorclosestthwb,%
4015 imagecolorexactalpha,imagecolorresolve,imagecolorresolvealpha,%
4016 imagecolorset,imagecolorsforindex,imagecolorstotal,%
4017 imagecopy,imagecopymerge,imagecopymergegray,imagecopyresized,%
4018 imagecreate,imagecreatetruecolor,imagetruecolortopalette,%
4019 imagecreatefromgd2,imagecreatefromgd2part,imagecreatefromgif,%
4020 imagecreatefrompng,imagecreatefromwbmp,imagecreatefromstring,%
4021 imagecreatefromxpm,imagedashedline,imagedestroy,imagefill,%
4022 imagefilledrectangle,imagefilltoborder,imagefontheight,%
4023 imagegd,imagegd2,imagegif,imagepng,imagejpeg,imagewbmp,%
4024 imageline,imageloadfont,imagepalettecopy,imagepolygon,%
4025 imagepsencodefont,imagepsfreefont,imagepsloadfont,%
4026 imagepsslantfont,imagepstext,imagerectangle,imagesetpixel,%
4027 imagesetstyle,imagesettile,imagesetthickness,imagestring,%
4028 imagesx,imagesy,imagettfbbox,imageftbbox,imagettftext,%
4029 imagetypes,jpeg2wbmp,png2wbmp,iptcembed,read_exif_data,%
4030 %--- imap functions
4031 imap_8bit,imap_alerts,imap_append,imap_base64,imap_binary,%
4032 imap_bodystruct,imap_check,imap_clearflag_full,imap_close,%
4033 imap_delete,imap_deletemailbox,imap_errors,imap_expunge,%
4034 imap_fetchbody,imap_fetchheader,imap_fetchstructure,%
4035 imap_getmailboxes,imap_getsubscribed,imap_header,%
4036 imap_headers,imap_last_error,imap_listmailbox,%
4037 imap_mail,imap_mail_compose,imap_mail_copy,imap_mail_move,%
4038 imap_mime_header_decode,imap_msgno,imap_num_msg,imap_num_recent,%
4039 imap_ping,imap_popen,imap_qprint,imap_renamemailbox,imap_reopen,%
4040 imap_rfc822_parse_headers,imap_rfc822_write_address,%
4041 imap_search,imap_setacl,imap_set_quota,imap_setflag_full,%
4042 imap_status,imap_subscribe,imap_uid,imap_undelete,%
4043 imap_utf7_decode,imap_utf7_encode,imap_utf8,imap_thread,%
4044 %--- info functions
4045 assert,assert_options,extension_loaded,dl,getenv,get_cfg_var,%
4046 get_defined_constants,get_extension_funcs,getmygid,%
4047 get_loaded_extensions,get_magic_quotes_gpc,%
4048 getlastmod,getmyinode,getmypid,getmyuid,get_required_files,%
4049 ini_alter,ini_get,ini_get_all,ini_restore,ini_set,phpcredits,%
4050 phpversion,php_logo_guid,php_sapi_name,php_uname,putenv,%
4051 set_time_limit,version_compare,zend_logo_guid,zend_version,%
4052 %--- ircg functions
4053 ircg_pconnect,ircg_fetch_error_msg,ircg_set_current,ircg_join,%
4054 ircg_msg,ircg_notice,ircg_nick,ircg_topic,ircg_channel_mode,%
4055 ircg_whois,ircg_kick,ircg_ignore_add,ircg_ignore_del,%
4056 ircg_is_conn_alive,ircg_lookup_format_messages,%
4057 ircg_set_on_die,ircg_set_file,ircg_get_username,%
4058 ircg_nickname_unescape,%
4059 %--- java functions
4060 java_last_exception_clear,java_last_exception_get,%
4061 %--- ldap functions
4062 ldap_add,ldap_bind,ldap_close,ldap_compare,ldap_connect,%
4063 ldap_delete,ldap_dn2ufn,ldap_err2str,ldap_errno,ldap_error,%
4064 ldap_first_attribute,ldap_first_entry,ldap_free_result,%
4065 ldap_get_dn,ldap_get_entries,ldap_get_option,ldap_get_values,%
4066 ldap_list,ldap_modify,ldap_mod_add,ldap_mod_del,%
4067 ldap_next_attribute,ldap_next_entry,ldap_read,ldap_rename,%
4068 ldap_set_option,ldap_unbind,ldap_8859_to_t61,%
4069 ldap_next_reference,ldap_parse_reference,ldap_parse_result,%
4070 ldap_sort,ldap_start_tls,ldap_t61_to_8859,%
4071 %--- mail functions
4072 mail,ezmlm_hash,%
4073 %--- math functions
4074 abs,acos,acosh,asin,asinh,atan,atanh,atan2,base_convert,bindec,%
4075 cos,cosh,decbin,dechex,decoct,deg2rad,exp,expm1,floor,%
4076 hexdec,hypot,is_finite,is_infinite,is_nan,lcg_value,log,log10,%
4077 max,min,mt_rand,mt_srand,mt_getrandmax,number_format,octdec,pi,%
4078 rad2deg,rand,round,sin,sinh,sqrt,srand,tan,tanh,%
4079 %--- mbstring functions
4080 mb_language,mb_parse_str,mb_internal_encoding,mb_http_input,%
4081 mb_detect_order,mb_substitute_character,mb_output_handler,%
4082 mb_strlen,mb_strpos,mb_strrpos,mb_substr,mb_strcut,mb_strwidth,%
4083 mb_convert_encoding,mb_detect_encoding,mb_convert_kana,%
4084 mb_decode_mimeheader,mb_convert_variables,%
4085 mb_decode_numericentity,mb_send_mail,mb_get_info,%
4086 mb_ereg,mb_eregi,mb_ereg_replace,mb_eregi_replace,mb_split,%
4087 mb_ereg_search,mb_ereg_search_pos,mb_ereg_search_regs,%
4088 mb_ereg_search_getregs,mb_ereg_search_getpos,%
4089 %--- mcal functions
4090 mcal_open,mcal_popen,mcal_reopen,mcal_close,%
4091 mcal_rename_calendar,mcal_delete_calendar,mcal_fetch_event,%
4092 mcal_append_event,mcal_store_event,mcal_delete_event,%
4093 mcal_list_alarms,mcal_event_init,mcal_event_set_category,%
4094 mcal_event_set_description,mcal_event_set_start,%
4095 mcal_event_set_alarm,mcal_event_set_class,mcal_is_leap_year,%
4096 mcal_date_valid,mcal_time_valid,mcal_day_of_week,%
4097 mcal_date_compare,mcal_next_recurrence,%
4098 mcal_event_set_recur_daily,mcal_event_set_recur_weekly,%
4099 mcal_event_set_recur_monthly_wday,mcal_event_set_recur_yearly,%
4100 mcal_event_add_attribute,mcal_expunge,mcal_week_of_year,%
4101 %--- mcrypt functions
4102 mcrypt_get_cipher_name,mcrypt_get_block_size,%
4103 mcrypt_create_iv,mcrypt_cbc,mcrypt_cfb,mcrypt_ecb,mcrypt_ofb,%
4104 mcrypt_list_modes,mcrypt_get_iv_size,mcrypt_encrypt,%
4105 mcrypt_module_open,mcrypt_module_close,mcrypt_generic_deinit,%
4106 mcrypt_generic,mdecrypt_generic,mcrypt_generic_end,%
4107 mcrypt_enc_is_block_algorithm_mode,%
4108 mcrypt_enc_is_block_mode,mcrypt_enc_get_block_size,%
4109 mcrypt_enc_get_supported_key_sizes,mcrypt_enc_get_iv_size,%
4110 mcrypt_enc_get_modes_name,mcrypt_module_self_test,%
4111 mcrypt_module_is_block_algorithm,mcrypt_module_is_block_mode,%
4112 mcrypt_module_get_algo_key_size,%
4113 %--- mhash functions
4114 mhash_get_hash_name,mhash_get_block_size,mhash_count,mhash,%
4115 %--- misc functions
4116 connection_aborted,connection_status,connection_timeout,%
4117 define,defined,die,eval,exit,get_browser,highlight_file,%
4118 ignore_user_abort,iptcparse,leak,pack,show_source,sleep,uniqid,%
4119 usleep,%
4120 %--- mnogosearch functions
4121 udm_add_search_limit,udm_alloc_agent,udm_api_version,%
4122 udm_cat_list,udm_clear_search_limits,udm_errno,udm_error,%
4123 udm_free_agent,udm_free_ispell_data,udm_free_res,%
4124 udm_get_res_field,udm_get_res_param,udm_load_ispell_data,%
4125 udm_check_charset,udm_check_stored,udm_close_stored,udm_crc32,%
4126 %--- msession functions
4127 msession_connect,msession_disconnect,msession_count,%
4128 msession_destroy,msession_lock,msession_unlock,msession_set,%
4129 msession_uniq,msession_randstr,msession_find,msession_list,%
4130 msession_set_array,msession_listvar,msession_timeout,%
4131 msession_getdata,msession_setdata,msession_plugin,%
4132 %--- msql functions
4133 msql,msql_affected_rows,msql_close,msql_connect,msql_create_db,%
4134 msql_data_seek,msql_dbname,msql_drop_db,msql_dropdb,msql_error,%
4135 msql_fetch_field,msql_fetch_object,msql_fetch_row,%
4136 msql_field_seek,msql_fieldtable,msql_fieldtype,msql_fieldflags,%
4137 msql_free_result,msql_freeresult,msql_list_fields,%
4138 msql_list_dbs,msql_listdbs,msql_list_tables,msql_listtables,%
4139 msql_num_rows,msql_numfields,msql_numrows,msql_pconnect,%
4140 msql_regcase,msql_result,msql_select_db,msql_selectdb,%
4141 %--- mssql functions
4142 mssql_close,mssql_connect,mssql_data_seek,mssql_fetch_array,%
4143 mssql_fetch_object,mssql_fetch_row,mssql_field_length,%
4144 mssql_field_seek,mssql_field_type,mssql_free_result,%
4145 mssql_min_error_severity,mssql_min_message_severity,%
4146 mssql_num_fields,mssql_num_rows,mssql_pconnect,mssql_query,%
4147 mssql_select_db,mssql_bind,mssql_execute,mssql_fetch_assoc,%
4148 mssql_guid_string,mssql_init,mssql_rows_affected,%
4149 %--- muscat functions
4150 muscat_setup,muscat_setup_net,muscat_give,muscat_get,%
4151 %--- mysql functions
4152 mysql_affected_rows,mysql_change_user,mysql_character_set_name,%
4153 mysql_connect,mysql_create_db,mysql_data_seek,mysql_db_name,%
4154 mysql_drop_db,mysql_errno,mysql_error,mysql_escape_string,%
4155 mysql_fetch_assoc,mysql_fetch_field,mysql_fetch_lengths,%
4156 mysql_fetch_row,mysql_field_flags,mysql_field_name,%
4157 mysql_field_seek,mysql_field_table,mysql_field_type,%
4158 mysql_info,mysql_insert_id,mysql_list_dbs,mysql_list_fields,%
4159 mysql_list_tables,mysql_num_fields,mysql_num_rows,%
4160 mysql_ping,mysql_query,mysql_unbuffered_query,%
4161 mysql_result,mysql_select_db,mysql_tablename,mysql_thread_id,%
4162 mysql_get_host_info,mysql_get_proto_info,mysql_get_server_info,%
4163 %--- network functions
4164 checkdnsrr,closelog,debugger_off,debugger_on,%
4165 fsockopen,gethostbyaddr,gethostbyname,gethostbynamel,getmxrr,%
4166 getprotobynumber,getservbyname,getservbyport,ip2long,long2ip,%
4167 pfsockopen,socket_get_status,socket_set_blocking,%
4168 syslog,%
4169 %--- nis functions
4170 yp_get_default_domain,yp_order,yp_master,yp_match,yp_first,%
4171 yp_errno,yp_err_string,yp_all,yp_cat,%
4172 %--- oci8 functions
4173 OCIDefineByName,OCIBindByName,OCILogon,OCIPLogon,OCINLogon,%
4174 OCIExecute,OCICommit,OCIRollback,OCINewDescriptor,OCIRowCount,%
4175 OCIResult,OCIFetch,OCIFetchInto,OCIFetchStatement,%
4176 OCIColumnName,OCIColumnSize,OCIColumnType,OCIServerVersion,%
4177 OCINewCursor,OCIFreeStatement,OCIFreeCursor,OCIFreeDesc,%
4178 OCIError,OCIInternalDebug,OCICancel,OCISetPrefetch,%
4179 OCISaveLobFile,OCISaveLob,OCILoadLob,OCIColumnScale,%
4180 OCIColumnTypeRaw,OCINewCollection,OCIFreeCollection,%
4181 OCICollAppend,OCICollAssignElem,OCICollGetElem,OCICollMax,%
4182 OCICollTrim,%
4183 %--- oracle functions
4184 Ora_Bind,Ora_Close,Ora_ColumnName,Ora_ColumnSize,Ora_ColumnType,%
4185 Ora_CommitOff,Ora_CommitOn,Ora_Do,Ora_Error,Ora_ErrorCode,%
4186 Ora_Fetch,Ora_Fetch_Into,Ora_GetColumn,Ora_Logoff,Ora_Logon,%
4187 Ora_Numcols,Ora_Numrows,Ora_Open,Ora_Parse,Ora_Rollback,%
4188 %--- outcontrol functions
4189 flush,ob_start,ob_get_contents,ob_get_length,ob_get_level,%
4190 ob_flush,ob_clean,ob_end_flush,ob_end_clean,ob_implicit_flush,%
4191 %--- ovrimos functions
4192 ovrimos_connect,ovrimos_close,ovrimos_longreadlen,%
4193 ovrimos_execute,ovrimos_cursor,ovrimos_exec,ovrimos_fetch_into,%
4194 ovrimos_result,ovrimos_result_all,ovrimos_num_rows,%
4195 ovrimos_field_name,ovrimos_field_type,ovrimos_field_len,%
4196 ovrimos_free_result,ovrimos_commit,ovrimos_rollback,%
4197 %--- pcntl functions
4198 pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,%
4199 pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,%
4200 pcntl_exec,%
4201 %--- pcre functions
4202 preg_match,preg_match_all,preg_replace,preg_replace_callback,%
4203 preg_quote,preg_grep,Pattern Modifiers,Pattern Syntax,%
4204 %--- pdf functions
4205 pdf_add_annotation,pdf_add_bookmark,pdf_add_launchlink,%
4206 pdf_add_note,pdf_add_outline,pdf_add_pdflink,pdf_add_thumbnail,%
4207 pdf_arc,pdf_arcn,pdf_attach_file,pdf_begin_page,%
4208 pdf_begin_template,pdf_circle,pdf_clip,pdf_close,pdf_closepath,%
4209 pdf_closepath_stroke,pdf_close_image,pdf_close_pdi,%
4210 pdf_concat,pdf_continue_text,pdf_curveto,pdf_delete,%
4211 pdf_endpath,pdf_end_pattern,pdf_end_template,pdf_fill,%
4212 pdf_findfont,pdf_get_buffer,pdf_get_font,pdf_get_fontname,%
4213 pdf_get_image_height,pdf_get_image_width,pdf_get_parameter,%
4214 pdf_get_pdi_value,pdf_get_majorversion,pdf_get_minorversion,%
4215 pdf_initgraphics,pdf_lineto,pdf_makespotcolor,pdf_moveto,%
4216 pdf_open,pdf_open_CCITT,pdf_open_file,pdf_open_gif,%
4217 pdf_open_image_file,pdf_open_jpeg,pdf_open_memory_image,%
4218 pdf_open_pdi_page,pdf_open_png,pdf_open_tiff,pdf_place_image,%
4219 pdf_rect,pdf_restore,pdf_rotate,pdf_save,pdf_scale,pdf_setcolor,%
4220 pdf_setflat,pdf_setfont,pdf_setgray,pdf_setgray_fill,%
4221 pdf_setlinecap,pdf_setlinejoin,pdf_setlinewidth,pdf_setmatrix,%
4222 pdf_setpolydash,pdf_setrgbcolor,pdf_setrgbcolor_fill,%
4223 pdf_set_border_color,pdf_set_border_dash,pdf_set_border_style,%
4224 pdf_set_duration,pdf_set_font,pdf_set_horiz_scaling,%
4225 pdf_set_info_author,pdf_set_info_creator,pdf_set_info_keywords,%
4226 pdf_set_info_title,pdf_set_leading,pdf_set_parameter,%
4227 pdf_set_text_rendering,pdf_set_text_rise,pdf_set_text_matrix,%
4228 pdf_set_word_spacing,pdf_show,pdf_show_boxed,pdf_show_xy,%
4229 pdf_stringwidth,pdf_stroke,pdf_translate,%
4230 %--- pfpro functions
4231 pfpro_init,pfpro_cleanup,pfpro_process,pfpro_process_raw,%
4232 %--- pgsql functions
4233 pg_close,pg_affected_rows,pg_connect,pg_dbname,pg_end_copy,%
4234 pg_query,pg_fetch_array,pg_fetch_object,pg_fetch_row,%
4235 pg_field_name,pg_field_num,pg_field_prtlen,pg_field_size,%
4236 pg_free_result,pg_last_oid,pg_host,pg_last_notice,pg_lo_close,%
4237 pg_lo_export,pg_lo_import,pg_lo_open,pg_lo_read,pg_lo_seek,%
4238 pg_lo_read_all,pg_lo_unlink,pg_lo_write,pg_num_fields,%
4239 pg_options,pg_pconnect,pg_port,pg_put_line,pg_fetch_result,%
4240 pg_client_encoding,pg_trace,pg_tty,pg_untrace,pg_get_result,%
4241 pg_send_query,pg_cancel_query,pg_connection_busy,%
4242 pg_connection_status,pg_copy_from,pg_copy_to,pg_escape_bytea,%
4243 pg_result_error,%
4244 %--- posix functions
4245 posix_kill,posix_getpid,posix_getppid,posix_getuid,%
4246 posix_getgid,posix_getegid,posix_setuid,posix_seteuid,%
4247 posix_setegid,posix_getgroups,posix_getlogin,posix_getpgrp,%
4248 posix_setpgid,posix_getpgid,posix_getsid,posix_uname,%
4249 posix_ctermid,posix_ttyname,posix_isatty,posix_getcwd,%
4250 posix_getgrnam,posix_getgrgid,posix_getpwnam,posix_getpwuid,%
4251 %--- printer functions
4252 printer_open,printer_abort,printer_close,printer_write,%
4253 printer_set_option,printer_get_option,printer_create_dc,%
4254 printer_start_doc,printer_end_doc,printer_start_page,%
4255 printer_create_pen,printer_delete_pen,printer_select_pen,%
4256 printer_delete_brush,printer_select_brush,printer_create_font,%
4257 printer_select_font,printer_logical_fontheight,%
4258 printer_draw_rectangle,printer_draw_elipse,printer_draw_text,%
4259 printer_draw_chord,printer_draw_pie,printer_draw_bmp,%
4260 %--- pspell functions
4261 pspell_add_to_personal,pspell_add_to_session,pspell_check,%
4262 pspell_config_create,pspell_config_ignore,pspell_config_mode,%
4263 pspell_config_repl,pspell_config_runtogether,%
4264 pspell_new,pspell_new_config,pspell_new_personal,%
4265 pspell_store_replacement,pspell_suggest,%
4266 %--- qtdom functions
4267 qdom_tree,qdom_error,%
4268 %--- readline functions
4269 readline,readline_add_history,readline_clear_history,%
4270 readline_info,readline_list_history,readline_read_history,%
4271 %--- recode functions
4272 recode_string,recode,recode_file,%
4273 %--- regex functions
4274 ereg,ereg_replace,eregi,eregi_replace,split,spliti,sql_regcase,%
4275 %--- sem functions
4276 sem_get,sem_acquire,sem_release,sem_remove,shm_attach,%
4277 shm_remove,shm_put_var,shm_get_var,shm_remove_var,ftok,%
4278 %--- sesam functions
4279 sesam_connect,sesam_disconnect,sesam_settransaction,%
4280 sesam_rollback,sesam_execimm,sesam_query,sesam_num_fields,%
4281 sesam_diagnostic,sesam_fetch_result,sesam_affected_rows,%
4282 sesam_field_array,sesam_fetch_row,sesam_fetch_array,%
4283 sesam_free_result,%
4284 %--- session functions
4285 session_start,session_destroy,session_name,session_module_name,%
4286 session_id,session_register,session_unregister,session_unset,%
4287 session_get_cookie_params,session_set_cookie_params,%
4288 session_encode,session_set_save_handler,session_cache_limiter,%
4289 session_write_close,%
4290 %--- shmop functions
4291 shmop_open,shmop_read,shmop_write,shmop_size,shmop_delete,%
4292 %--- snmp functions
4293 snmpget,snmpset,snmpwalk,snmpwalkoid,snmp_get_quick_print,%
4294 snmprealwalk,%
4295 %--- strings functions
4296 addcslashes,addslashes,bin2hex,chop,chr,chunk_split,%
4297 count_chars,crc32,crypt,echo,explode,get_html_translation_table,%
4298 hebrev,hebrevc,htmlentities,htmlspecialchars,implode,join,%
4299 localeconv,ltrim,md5,md5_file,metaphone,nl_langinfo,nl2br,ord,%
4300 print,printf,quoted_printable_decode,quotemeta,str_rot13,rtrim,%
4301 setlocale,similar_text,soundex,sprintf,strncasecmp,strcasecmp,%
4302 strcmp,strcoll,strcspn,strip_tags,stripcslashes,stripslashes,%
4303 strlen,strnatcmp,strnatcasecmp,strncmp,str_pad,strpos,strrchr,%
4304 strrev,strrpos,strspn,strstr,strtok,strtolower,strtoupper,%
4305 strtr,substr,substr_count,substr_replace,trim,ucfirst,ucwords,%
4306 vsprintf,wordwrap,%
4307 %--- swf functions
4308 swf_openfile,swf_closefile,swf_labelframe,swf_showframe,%
4309 swf_getframe,swf_mulcolor,swf_addcolor,swf_placeobject,%
4310 swf_removeobject,swf_nextid,swf_startdoaction,%
4311 swf_actiongeturl,swf_actionnextframe,swf_actionprevframe,%
4312 swf_actionstop,swf_actiontogglequality,swf_actionwaitforframe,%
4313 swf_actiongotolabel,swf_enddoaction,swf_defineline,%
4314 swf_definepoly,swf_startshape,swf_shapelinesolid,%
4315 swf_shapefillsolid,swf_shapefillbitmapclip,%
4316 swf_shapemoveto,swf_shapelineto,swf_shapecurveto,%
4317 swf_shapearc,swf_endshape,swf_definefont,swf_setfont,%
4318 swf_fontslant,swf_fonttracking,swf_getfontinfo,swf_definetext,%
4319 swf_definebitmap,swf_getbitmapinfo,swf_startsymbol,%
4320 swf_startbutton,swf_addbuttonrecord,swf_oncondition,%
4321 swf_viewport,swf_ortho,swf_ortho2,swf_perspective,swf_polarview,%
4322 swf_pushmatrix,swf_popmatrix,swf_scale,swf_translate,swf_rotate,%
4323 %--- sybase functions
4324 sybase_affected_rows,sybase_close,sybase_connect,%
4325 sybase_fetch_array,sybase_fetch_field,sybase_fetch_object,%
4326 sybase_field_seek,sybase_free_result,sybase_get_last_message,%
4327 sybase_min_error_severity,sybase_min_message_severity,%
4328 sybase_num_fields,sybase_num_rows,sybase_pconnect,sybase_query,%
4329 sybase_select_db,%
4330 %--- uodbc functions
4331 odbc_autocommit,odbc_binmode,odbc_close,odbc_close_all,%
4332 odbc_connect,odbc_cursor,odbc_do,odbc_error,odbc_errormsg,%
4333 odbc_execute,odbc_fetch_into,odbc_fetch_row,odbc_fetch_array,%
4334 odbc_fetch_object,odbc_field_name,odbc_field_num,%
4335 odbc_field_len,odbc_field_precision,odbc_field_scale,%
4336 odbc_longreadlen,odbc_num_fields,odbc_pconnect,odbc_prepare,%
4337 odbc_result,odbc_result_all,odbc_rollback,odbc_setoption,%
4338 odbc_tableprivileges,odbc_columns,odbc_columnprivileges,%
4339 odbc_primarykeys,odbc_foreignkeys,odbc_procedures,%
4340 odbc_specialcolumns,odbc_statistics,%
4341 %--- url functions
4342 base64_decode,base64_encode,parse_url,rawurldecode,rawurlencode,%
4343 urlencode,%
4344 %--- var functions
4345 doubleval,empty,floatval,gettype,get_defined_vars,%
4346 import_request_variables,intval,is_array,is_bool,is_double,%
4347 is_int,is_integer,is_long,is_null,is_numeric,is_object,is_real,%
4348 is_scalar,is_string,isset,print_r,serialize,settype,strval,%
4349 unset,var_dump,var_export,is_callable,%
4350 %--- vpopmail functions
4351 vpopmail_add_domain,vpopmail_del_domain,%
4352 vpopmail_add_domain_ex,vpopmail_del_domain_ex,%
4353 vpopmail_add_user,vpopmail_del_user,vpopmail_passwd,%
4354 vpopmail_auth_user,vpopmail_alias_add,vpopmail_alias_del,%
4355 vpopmail_alias_get,vpopmail_alias_get_all,vpopmail_error,%
4356 %--- w32api functions
4357 w32api_set_call_method,w32api_register_function,%
4358 w32api_deftype,w32api_init_dtype,%
4359 %--- wddx functions
4360 wddx_serialize_value,wddx_serialize_vars,wddx_packet_start,%
4361 wddx_add_vars,wddx_deserialize,%
4362 %--- xml functions
4363 xml_parser_create,xml_set_object,xml_set_element_handler,%
4364 xml_set_processing_instruction_handler,xml_set_default_handler,%
4365 xml_set_notation_decl_handler,%
4366 xml_parse,xml_get_error_code,xml_error_string,%
4367 xml_get_current_column_number,xml_get_current_byte_index,%
4368 xml_parser_free,xml_parser_set_option,xml_parser_get_option,%
4369 utf8_encode,xml_parser_create_ns,%
4370 xml_set_start_namespace_decl_handler,%
4371 %--- xslt functions
4372 xslt_set_log,xslt_create,xslt_errno,xslt_error,xslt_free,%
4373 xslt_set_sax_handler,xslt_set_scheme_handler,%
4374 xslt_set_base,xslt_set_encoding,xslt_set_sax_handlers,%
4375 %--- yaz functions
4376 yaz_addinfo,yaz_close,yaz_connect,yaz_errno,yaz_error,yaz_hits,%
4377 yaz_database,yaz_range,yaz_record,yaz_search,yaz_present,%
4378 yaz_scan,yaz_scan_result,yaz_ccl_conf,yaz_ccl_parse,%
4379 yaz_wait,yaz_sort,%
4380 %--- zip functions
4381 zip_close,zip_entry_close,zip_entry_compressedsize,%
4382 zip_entry_filesize,zip_entry_name,zip_entry_open,zip_entry_read,%
4383 zip_read,%
4384 %--- zlib functions
4385 gzclose,gzeof,gzfile,gzgetc,gzgets,gzgetss,gzopen,gzpassthru,%
4386 gzread,gzrewind,gzseek,gztell,gzwrite,readgzfile,gzcompress,%
4387 gzdeflate,gzinflate,gzencode,},%
4388 sensitive,%
4389 morecomment=[l]\#,%
4390 morecomment=[l]//,%
4391 morecomment=[s]{/*}{*/},%
4392 morestring=[b]",%
4393 morestring=[b]'%
4394 }[keywords,comments,strings]%
4395 % \end{macrocode}
4396 % \begin{macrocode}
4397 %</lang2>
4398 % \end{macrocode}
4399 % \endgroup
4400 %
4401 %
4402 % \subsection{Plasm}
4403 %
4404 % \lstthanks{Alessio~Pace}{}{2004/09/01} provided the following definition.
4405 %
4406 % \begingroup
4407 % \begin{macrocode}
4408 %<*lang3>
4409 % \end{macrocode}
4410 % \begin{macrocode}
4411 \lst@definelanguage{Plasm}%
4412 {sensitive=false,%
4413 morekeywords={aa,abs,ac,acolor,acos,actor,al,alias,align,and,%
4414 animation,animation,appearance,apply,ar,arc,as,asin,assoc,atan,%
4415 axialcamera,axialcameras,basehermite,bbox,bbox,bernstein,%
4416 bernsteinbasis,bezier,beziercurve,beziermanifold,bezierstripe,%
4417 beziersurface,bigger,biggest,bilinearsurface,binormal,%
4418 biquadraticsurface,black,blend,blue,bottom,box,brown,bspize,%
4419 bspline,bsplinebasis,c,cabinet,camera,cart,case,cat,catch,ceil,%
4420 centeredcameras,centralcavalier,char,charseq,choose,circle,%
4421 circumference,class,cmap,color,comp,computecoords,cone,%
4422 conicalsurface,cons,control,convexcoords,convexhull,coonspatch,%
4423 copy,cos,cosh,crease,crosspolytope,cube,cubiccardinal,%
4424 cubiccardinalbasis,cubichermite,cubicubspline,cubicubsplinebasis,%
4425 cuboid,curl,curvature,curve2cspath,curve2mapvect,cyan,cylinder,%
4426 cylindricalsurface,d,deboor,def,depol,depth_sort,depth_test,%
4427 derbernstein,derbernsteinbase,derbezier,determinant,difference,%
4428 differencepr,dim,dimetric,dirproject,displaygraph,displaynubspline,%
4429 displaynurbspline,distl,distr,div,divergence,dodecahedron,dot,down,%
4430 dp,drawedges,drawforks,drawtree,ds,dsphere,dump,dumprep,ellipse,%
4431 embed,end,eq,ex,exp,explode,export,extract_bodies,extract_polygons,%
4432 extract_wires,extrude,extrusion,fact,false,feature,ff,fillcolor,%
4433 filter,finitecone,first,flash,flashani,floor,fontcolor,fontheight,%
4434 fontspacing,fontwidth,fractalsimplex,frame,frame,frameflash,fromto,%
4435 gausscurvature,ge,grad,gradient,gradmap,gray,green,gt,help,hermite,%
4436 hermitebasis,hermitesurface,hexahedron,icosahedron,id,idnt,if,in,%
4437 inarcs,innerprod,inset,insl,insr,intersection,intersectionpr,%
4438 intervals,intmax,intmin,intsto,inv,isa,isanimpol,isbool,ischar,%
4439 isclosedshape,iscloseto,isempty,iseven,isfun,isfunvect,isge,isgt,%
4440 isint,isintneg,isinto,isintpos,isle,islt,ismat,ismatof,isnat,%
4441 isnull,isnum,isnumneg,isnumpos,isodd,isometric,isorthoshape,ispair,%
4442 ispoint,ispointseq,ispol,ispoldim,ispolytope,ispurepol,isreal,%
4443 isrealneg,isrealpos,isrealvect,isseq,isseqof,isshape,issimplex,%
4444 issqrmat,isstring,isvect,iszero,jacobian,join,joints,k,last,le,%
4445 left,leftcavalier,len,less,lesseq,lex,lift,light,linecolor,%
4446 linesize,list,ln,load,loadlib,loop,lt,lxmy,magenta,map,mapshapes,%
4447 markersize,mat,matdotprod,material,mathom,max,mean,meanpoint,med,%
4448 merge,mesh,min,minkowski,mirror,mixedprod,mk,mkframe,mkpol,%
4449 mkvector,mkversork,mod,model,move,mul,multextrude,mxby,mxmy,mxty,%
4450 myfont,n,nat2string,neq,ngon,norm2,normalmap,not,nu_grid,nubspline,%
4451 nubsplineknots,nurbspline,nurbsplineknots,octahedron,offset,%
4452 onepoint,open,optimize,or,orange,ord,ortho,orthoproject,orthox,%
4453 orthoy,orthoz,outarcs,outerloop,outerwarp,pairdiff,parallel,%
4454 pascaltriangle,pdiff,pdifference,permutahedron,permutations,%
4455 perspective,perspective,pi,pivotop,plane,planemapping,pmap,%
4456 points2shape,polar,polyline,polymarker,polypoint,power,powerset,%
4457 presort,principalnormal,print,prism,profileprodsurface,%
4458 progressivesum,project,projection,purple,pyramid,q,quadarray,%
4459 quadmesh,quote,r,raise,range,rationalbezier,rationalblend,%
4460 rationalbspline,rationalize,red,rev,reverse,rgbacolor,right,%
4461 rightcavalier,ring,rn,rotatedtext,rotationalsurface,rotn,rtail,%
4462 ruledsurface,rxmy,s,save,scalarmatprod,scalarvectprod,schlegel2d,%
4463 schlegel3d,sdifference,sdifferencepr,segment,sel,setand,setdiff,%
4464 setfontcolor,setor,setxor,sex,shape_0,shape_1,shape2points,%
4465 shape2pol,shapeclosed,shapecomb,shapediff,shapedist,%
4466 shapeinbetweening,shapeinf,shapejoin,shapelen,shapenorm,%
4467 shapenormal,shapeprod,shaperot,shapesum,shapesup,shapezero,shift,%
4468 showprop,sign,signal,simplex,simplexpile,sin,sinh,size,skeleton,%
4469 skew,smaller,smallest,solidifier,solidify,sort,sphere,spline,%
4470 splinesampling,splitcells,splitpols,sqr,sqrt,star,string,%
4471 stringtokens,struct,sub,svg,sweep,t,tail,tan,tangent,tanh,%
4472 tensorprodsurface,tetrahedron,text,texture,textwithattributes,%
4473 thinsolid,threepoints,time,tmax,tmin,top,torus,torusmap,trace,%
4474 trans,tree,trianglefan,trianglestripe,trimetric,true,truncone,tt,%
4475 tube,twopoints,uk,ukpol,ukpolf,union,unionpr,unitvect,unprune,up,%
4476 vect2dtoangle,vect2mat,vectdiff,vectnorm,vectprod,vectsum,view,%
4477 viewmodel,viewmodel,vrml,warp,warp,where,white,with,xcavalier,xor,%
4478 xquadarray,xx,ycavalier,yellow},%
4479 moredirectives={loadlib},%
4480 otherkeywords={-,+,*,**,/,~,|,..,^,\&,\&\&,\#,\#\#},%
4481 morecomment=[s]{\%}{\%},%
4482 morestring=[b]',%
4483 literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},%
4484 }[keywords,directives,comments,strings]%
4485 % \end{macrocode}
4486 % \begin{macrocode}
4487 %</lang3>
4488 % \end{macrocode}
4489 % \endgroup
4490 %
4491 %
4492 % \subsection{PL/I}
4493 %
4494 % Found the data in
4495 % \begin{itemize}
4496 % \item
4497 % \textsc{Bernhard Fischer, Herman Fischer}:
4498 % \textbf{Structured Programming in PL/I and PL/C};
4499 % Copyright {\copyright} 1976 by Marcel Dekker, Inc.;
4500 % ISBN 0-8247-6394-7
4501 % \end{itemize}
4502 % \begingroup
4503 % \begin{macrocode}
4504 %<*lang3>
4505 % \end{macrocode}
4506 % \begin{macrocode}
4507 \lst@definelanguage{PL/I}%
4508 {morekeywords={ABS,ATAN,AUTOMATIC,AUTO,ATAND,BEGIN,BINARY,BIN,BIT,%
4509 BUILTIN,BY,CALL,CHARACTER,CHAR,CHECK,COLUMN,COL,COMPLEX,CPLX,%
4510 COPY,COS,COSD,COSH,DATA,DATE,DECIMAL,DEC,DECLARE,DCL,DO,EDIT,%
4511 ELSE,END,ENDFILE,ENDPAGE,ENTRY,EXP,EXTERNAL,EXT,FINISH,FIXED,%
4512 FIXEDOVERFLOW,FOFL,FLOAT,FORMAT,GET,GO,GOTO,IF,IMAG,INDEX,%
4513 INITIAL,INIT,INTERNAL,INT,LABEL,LENGTH,LIKE,LINE,LIST,LOG,LOG2,%
4514 LOG10,MAIN,MAX,MIN,MOD,NOCHECK,NOFIXEDOVERFLOW,NOFOFL,NOOVERFLOW,%
4515 NOOFL,NOSIZE,NOUNDERFLOW,NOUFL,NOZERODIVIDE,NOZDIV,ON,OPTIONS,%
4516 OVERFLOW,OFL,PAGE,PICTURE,PROCEDURE,PROC,PUT,READ,REPEAT,RETURN,%
4517 RETURNS,ROUND,SIN,SIND,SINH,SIZE,SKIP,SQRT,STATIC,STOP,STRING,%
4518 SUBSTR,SUM,SYSIN,SYSPRINT,TAN,TAND,TANH,THEN,TO,UNDERFLOW,UFL,%
4519 VARYING,WHILE,WRITE,ZERODIVIDE,ZDIV},%
4520 sensitive=f,%
4521 morecomment=[s]{/*}{*/},%
4522 morestring=[d]'%
4523 }[keywords,comments,strings]%
4524 % \end{macrocode}
4525 % \begin{macrocode}
4526 %</lang3>
4527 % \end{macrocode}
4528 % \endgroup
4529 %
4530 %
4531 % \subsection{PostScript}
4532 %
4533 % Herbert Voss provided the following definition, written by
4534 % \lstthanks{Christophe~Jorssen}{}{2004/09/17} provided the following definition.
4535 %
4536 % \begingroup
4537 % \begin{macrocode}
4538 %<*lang3>
4539 % \end{macrocode}
4540 % \begin{macrocode}
4541 %%
4542 %% PostScript language definition (c) 2005 Christophe Jorssen.
4543 %%
4544 \lst@definelanguage{PostScript}{%
4545 morekeywords={abs,add,aload,anchorsearch,and,arc,arcn,arct,arcto,array,ashow,
4546 astore,atan,awidthshow,begin,bind,bitshift,bytesavailable,cachestatus,
4547 ceiling,charpath,clear,cleartomark,cleardictstack,clip,clippath,closefile,
4548 closepath,colorimage,concat,concatmatrix,condition,copy,copypage,cos,count,
4549 countdictstack,countexecstack,counttomark,cshow,currentblackgeneration,
4550 currentcacheparams,currentcmykcolor,currentcolor,currentcolorrendering,
4551 currentcolorscreen,currentcolorspace,currentcolortransfer,currentcontext,
4552 currentdash,currentdevparams,currentdict,currentfile,currentflat,currentfont,
4553 currentglobal,currentgray,currentgstate,currenthalftone,currenthalftonephase,
4554 currenthsbcolor,currentlinecap,currentlinejoin,currentlinewidth,currentmatrix,
4555 currentmiterlimit,currentobjectformat,currentpacking,currentpagedevice,
4556 currentpoint,currentrgbcolor,currentscreen,currentshared,currentstrokeadjust,
4557 currentsystemparams,currenttransfer,currentundercolorremoval,currentuserparams,
4558 curveto,cvi,cvlit,cvn,cvr,cvrs,cvs,cvx,def,defaultmatrix,definefont,
4559 defineresource,defineusername,defineuserobject,deletefile,detach,deviceinfo,
4560 dict,dictstack,div,dtransform,dup,
4561 echo,eexec,end,eoclip,eofill,eoviewclip,eq,erasepage,errordict,exch,exec,
4562 execform,execstack,execuserobject,executeonly,executive,exit,
4563 exp,false,file,filenameforall,fileposition,fill,filter,findencoding,findfont,
4564 findresource,flattenpath,floor,flush,flushfile,FontDirectory,for,forall,fork,ge,
4565 get,getinterval,globaldict,GlobalFontDirectory,glyphshow,grestore,grestoreall,
4566 gsave,gstate,gt,identmatrix,idiv,idtransform,if,ifelse,image,
4567 imagemask,index,ineofill,infill,initclip,initgraphics,initmatrix,initviewclip,
4568 instroke,internaldict,inueofill,inufill,inustroke,
4569 invertmatrix,ISOLatin1Encoding,itransform,join,kshow,
4570 known,languagelevel,le,length,lineto,ln,load,lock,log,loop,lt,
4571 makefont,makepattern,mark,matrix,maxlength,mod,monitor,moveto,mul,ne,neg,
4572 newpath,noaccess,not,notify,null,nulldevice,or,packedarray,
4573 pathbbox,pathforall,pop,print,printobject,product,prompt,pstack,put,putinterval,
4574 quit,rand,rcurveto,read,readhexstring,readline,readonly,readstring,
4575 realtime,rectclip,rectfill,rectstroke,rectviewclip,renamefile,repeat,resetfile,
4576 resourceforall,resourcestatus,restore,reversepath,revision,rlineto,rmoveto,roll,
4577 rootfont,rotate,round,rrand,run,save,scale,scalefont,scheck,search,selectfont,
4578 serialnumber,setbbox,setblackgeneration,setcachedevice,setcachedevice2,
4579 setcachelimit,setcacheparams,setcharwidth,setcmykcolor,setcolor,
4580 setcolorrendering,setcolorscreen,setcolorspace,setcolortransfer,setdash,
4581 setdevparams,setfileposition,setflat,setfont,setglobal,setgray,setgstate,
4582 sethalftone,sethalftonephase,sethsbcolor,setlinecap,setlinejoin,setlinewidth,
4583 setmatrix,setmiterlimit,setobjectformat,setoverprint,setpacking,setpagedevice,
4584 setpattern,setrgbcolor,setscreen,setshared,setstrokeadjust,setsystemparams,
4585 settransfer,setucacheparams,setundercolorremoval,setuserparams,setvmthreshold,
4586 shareddict,show,showpage,sin,sqrt,srand,stack,
4587 StandardEncoding,start,startjob,status,statusdict,stop,stopped,store,string,
4588 stringwidth,stroke,strokepath,sub,systemdict,transform,
4589 translate,true,truncate,type,token,uappend,ucache,ucachestatus,
4590 ueofill,ufill,undef,
4591 upath,userdict,UserObjects,
4592 usertime,ustroke,ustrokepath,version,viewclip,viewclippath,vmreclaim,
4593 vmstatus,wait,wcheck,where,widthshow,write,writehexstring,writeobject,
4594 writestring,wtranslation,xcheck,xor,xshow,xyshow,yield,yshow},
4595 sensitive,
4596 morecomment=[l]\%}[keywords,comments]
4597 % \end{macrocode}
4598 % \begin{macrocode}
4599 %</lang3>
4600 % \end{macrocode}
4601 % \endgroup
4602 %
4603 %
4604 % \subsection{POV-Ray}
4605 %
4606 % \lstthanks{Berthold~H\"ollmann}{bhoel@starship.python.net}{1999/04/15} sent
4607 % me the definition. But I removed |blankstring=false| and
4608 % |flexiblecolumns=true| from the driver since they have nothing to do with a
4609 % language definition.
4610 % \begingroup
4611 % \begin{macrocode}
4612 %<*lang1>
4613 % \end{macrocode}
4614 % \begin{macrocode}
4615 %%
4616 %% POV definition (c) 1999 Berthold H\"ollmann
4617 %%
4618 \lst@definelanguage{POV}%
4619 {morekeywords={abs,absorption,acos,acosh,adaptive,adc_bailout,agate,%
4620 agate_turb,all,alpha,ambient,ambient_light,angle,aperture,append,%
4621 arc_angle,area_light,array,asc,asin,asinh,assumed_gamma,atan,%
4622 atan2,atanh,average,background,bezier_spline,bicubic_patch,%
4623 black_hole,blob,blue,blur_samples,bounded_by,box,boxed,bozo,%
4624 break,brick,brick_size,brightness,brilliance,bumps,bump_map,%
4625 bump_size,camera,case,caustics,ceil,checker,chr,clipped_by,clock,%
4626 clock_delta,color,color_map,colour,colour_map,component,%
4627 composite,concat,cone,confidence,conic_sweep,control0,control1,%
4628 cos,cosh,count,crackle,crand,cube,cubic,cubic_spline,cubic_wave,%
4629 cylinder,cylindrical,debug,declare,default,defined,degrees,%
4630 density,density_file,density_map,dents,difference,diffuse,%
4631 dimensions,dimension_size,direction,disc,distance,%
4632 distance_maximum,div,eccentricity,else,emission,end,error,%
4633 error_bound,exp,extinction,fade_distance,fade_power,falloff,%
4634 falloff_angle,false,fclose,file_exists,filter,finish,fisheye,%
4635 flatness,flip,floor,focal_point,fog,fog_alt,fog_offset,fog_type,%
4636 fopen,frequency,gif,global_settings,gradient,granite,%
4637 gray_threshold,green,height_field,hexagon,hf_gray_16,hierarchy,%
4638 hollow,hypercomplex,if,ifdef,iff,ifndef,image_map,include,int,%
4639 interior,interpolate,intersection,intervals,inverse,ior,irid,%
4640 irid_wavelength,jitter,julia_fractal,lambda,lathe,leopard,%
4641 light_source,linear_spline,linear_sweep,local,location,log,%
4642 looks_like,look_at,low_error_factor,macro,mandel,map_type,marble,%
4643 material,material_map,matrix,max,max_intersections,max_iteration,%
4644 max_trace_level,media,media_attenuation,media_interaction,merge,%
4645 mesh,metallic,min,minimum_reuse,mod,mortar,nearest_count,no,%
4646 normal,normal_map,no_shadow,number_of_waves,object,octaves,off,%
4647 offset,omega,omnimax,on,once,onion,open,orthographic,panoramic,%
4648 perspective,pgm,phase,phong,phong_size,pi,pigment,pigment_map,%
4649 planar,plane,png,point_at,poly,polygon,poly_wave,pot,pow,ppm,%
4650 precision,prism,pwr,quadratic_spline,quadric,quartic,quaternion,%
4651 quick_color,quick_colour,quilted,radial,radians,radiosity,radius,%
4652 rainbow,ramp_wave,rand,range,ratio,read,reciprocal,%
4653 recursion_limit,red,reflection,reflection_exponent,refraction,%
4654 render,repeat,rgb,rgbf,rgbft,rgbt,right,ripples,rotate,roughness,%
4655 samples,scale,scallop_wave,scattering,seed,shadowless,sin,%
4656 sine_wave,sinh,sky,sky_sphere,slice,slope_map,smooth,%
4657 smooth_triangle,sor,specular,sphere,spherical,spiral1,spiral2,%
4658 spotlight,spotted,sqr,sqrt,statistics,str,strcmp,strength,strlen,%
4659 strlwr,strupr,sturm,substr,superellipsoid,switch,sys,t,tan,tanh,%
4660 text,texture,texture_map,tga,thickness,threshold,tightness,tile2,%
4661 tiles,torus,track,transform,translate,transmit,triangle,%
4662 triangle_wave,true,ttf,turbulence,turb_depth,type,u,%
4663 ultra_wide_angle,undef,union,up,use_color,use_colour,use_index,%
4664 u_steps,v,val,variance,vaxis_rotate,vcross,vdot,version,vlength,%
4665 vnormalize,vrotate,v_steps,warning,warp,water_level,waves,while,%
4666 width,wood,wrinkles,write,x,y,yes,z},%
4667 moredirectives={break,case,debug,declare,default,else,end,fclose,%
4668 fopen,local,macro,read,render,statistics,switch,undef,version,%
4669 warning,write},%
4670 moredelim=*[directive]\#,%
4671 sensitive,%
4672 morecomment=[l]//,%
4673 morecomment=[s]{/*}{*/},%
4674 morestring=[d]",%
4675 }[keywords,directives,comments,strings]%
4676 % \end{macrocode}
4677 % \begin{macrocode}
4678 %</lang1>
4679 % \end{macrocode}
4680 % \endgroup
4681 %
4682 %
4683 % \subsection{Prolog}
4684 %
4685 % \lsthelper{Dominique~de~Waleffe}{ddw@miscrit.be}{1997/11/24}{Prolog} mailed
4686 % me the data for Prolog. He took the keywords from the \textsf{LGrind}
4687 % language definition file.
4688 % \begingroup
4689 % \begin{macrocode}
4690 %<*lang2>
4691 % \end{macrocode}
4692 % \begin{macrocode}
4693 %%
4694 %% Prolog definition (c) 1997 Dominique de Waleffe
4695 %%
4696 \lst@definelanguage{Prolog}%
4697 {morekeywords={op,mod,abort,ancestors,arg,ascii,ask,assert,asserta,%
4698 assertz,atom,atomic,char,clause,close,concat,consult,ed,ef,em,%
4699 eof,fail,file,findall,write,functor,getc,integer,is,length,%
4700 listing,load,name,nl,nonvar,not,numbervars,op,or,pp,prin,print,%
4701 private,prompt,putc,ratom,read,read_from_this_file,rename,repeat,%
4702 retract,retractall,save,see,seeing,seen,sh,skip,statistics,%
4703 subgoal_of,system,tab,tell,telling,time,told,trace,true,unload,%
4704 untrace,var,write},%
4705 sensitive=f,%
4706 morecomment=[l]\%,%
4707 morecomment=[s]{/*}{*/},%
4708 morestring=[bd]",%
4709 morestring=[bd]'%
4710 }[keywords,comments,strings]%
4711 % \end{macrocode}
4712 % \begin{macrocode}
4713 %</lang2>
4714 % \end{macrocode}
4715 % \endgroup
4716 %
4717 %
4718 % \subsection{Promela}
4719 %
4720 % Thanks to \lstthanks{William~Thimbleby}{-}{1997/11/24}{Promela} for this
4721 % language definition.
4722 % \begingroup
4723 % \begin{macrocode}
4724 %<*lang3>
4725 % \end{macrocode}
4726 % \begin{macrocode}
4727 %%
4728 %% Promela definition (c) 2004 William Thimbleby
4729 %%
4730 \lst@definelanguage{Promela}
4731 {morekeywords={active,assert,atomic,bit,bool,break,byte,chan,d_step,%
4732 Dproctype,do,else,empty,enabled,fi,full,goto,hidden,if,init,int,%
4733 len,mtype,nempty,never,nfull,od,of,pcvalue,printf,priority,%
4734 proctype,provided,run,short,skip,timeout,typedef,unless,unsigned,%
4735 xr,xs,true,false,inline,eval},%
4736 moredirectives={define,ifdef,ifndef,if,if,else,endif,undef,include},%
4737 moredelim=*[directive]\#,%
4738 morecomment=[s]{/*}{*/},%
4739 morestring=[b]"%
4740 }[keywords,comments,strings,directives]%
4741 % \end{macrocode}
4742 % \begin{macrocode}
4743 %</lang3>
4744 % \end{macrocode}
4745 % \endgroup
4746 %
4747 %
4748 % \subsection{PSTricks}
4749 %
4750 % PSTricks is a \TeX\ macro package bundle.
4751 % \lstthanks{Herbert~Voss}{}{2004/09/17} provided the following definition.
4752 %
4753 % \begingroup
4754 % \begin{macrocode}
4755 %<*lang3>
4756 % \end{macrocode}
4757 % \begin{macrocode}
4758 %%
4759 %% PSTricks definition (c) 2006 Herbert Voss
4760 %%
4761 \lst@definelanguage{PSTricks}%
4762 {morekeywords={%
4763 begin,end,definecolor,multido,%
4764 KillGlue,DontKillGlue,pslbrace,bsrbrace,psscalebox,psset,pstVerb,pstverb,%
4765 pst@def,,psframebox,psclip,endclip,endpspicture,psframe,
4766 %% pspicture,%
4767 multirput,multips,Rput,rput,uput,cput,lput,%
4768 newrgbcolor,newgray,newcmykcolor,
4769 %%
4770 %% pstricks-add
4771 psStep,psgraph,psbrace,psPrintValue,
4772 %%
4773 %% pst-plot
4774 psvlabel,pshlabel,psplot,psline,pscustom,pscurve,psccurve,%
4775 readdata,savedata,fileplot,dataplot,listplot,%
4776 psecurce,psgraph,parametricplot,%
4777 psellipse,psaxes,ncline,nccurve,psbezier,parabola,%
4778 qdisk,qline,clipbox,endpsclip,%
4779 psgrid,pscircle,pscirclebox,psdiabox,pstribox,%
4780 newpsfontdot,psdot,psdots,%
4781 pspolygon,psdiamond,psoval,pstriangle,%
4782 psarc,psarcn,psellipticarc,psellipticarcn,pswedge,psellipticwedge,
4783 pcline,pcdiag,pcdiagg,pccurve,pccurve,pcecurve,%
4784 scalebox,scaleboxto,psmathboxtrue,everypsbox,psverbboxtrue,overlaybox,%
4785 psoverlay,putoverlaybox,%
4786 newpsstyle,newpsobject,%
4787 moveto,newpath,closepath,stroke,fill,gsave,grestore,msave,mrestore,translate,scale,%
4788 swapaxes,rotate,openshadow,closedshadow,movepath,lineto,rlineto,curveto,rcurveto,%
4789 code,dim,coor,rcoor,file,arrows,setcolor,%
4790 rotateleft,rotateright,rotatedown,%
4791 %%
4792 %% pst-node
4793 nput,naput,nbput,ncput,%
4794 ncarc,ncbox,ncangle,ncangles,ncloop,ncdiag,ncdiagg,ncarcbox,ncbar,%
4795 cnodeput,nccircle,%
4796 pnode,rnode,Rnode,Cnode,cnode,fnode,%
4797 circlenode,ovalnode,trinode,dianode,%
4798 psmatrix,endpsmatrix,psspan,%
4799 %%
4800 %% pst-tree
4801 pstree,Tcircle,TCircle,Ttri,Tn,TC,Tc,Tfan,TR,Tr,Tdia,Toval,Tdot,Tp,Tf,%
4802 skiplevel,skiplevels,endskiplevels,tspace,tlput,%
4803 %%
4804 %% pst-text
4805 pscharpath,pstextpath,
4806 %%
4807 %% pst-barcode
4808 psbarcode,
4809 %%
4810 %% pst-coil
4811 psboxfill,pscoil,psCoil,pszigzag,nccoil,
4812 psshadow,pstilt,psTilt,ThreeDput,
4813 %%
4814 %% pst-gr3d
4815 PstGridThreeDNodeProcessor,%
4816 %%
4817 %% pst-vue3d
4818 PstGridThreeD,
4819 AxesThreeD,LineThreeD,DieThreeD,FrameThreeD,SphereCircleThreeD,SphereMeridienThreeD,
4820 QuadrillageThreeD,TetraedreThreeD,PyramideThreeD,ConeThreeD,CylindreThreeD,
4821 DodecahedronThreeD,ConeThreeD,SphereThreeD,SphereInverseThreeD,DemiSphereThreeD,
4822 SphereCreuseThreeD,SphereCircledThreeD,PortionSphereThreeD,pNodeThreeD,CubeThreeD,%
4823 %%
4824 %% pst-3dplot
4825 pstThreeDCoor,pstThreeDDot,pstThreeDTriangle,pstThreeDCircle,pstPlanePut,%
4826 pstThreeDBox,pstThreeDEllipse,pstThreeDLine,pstThreeDPut,%
4827 pstThreeDNode,pstThreeDSquare,psplotThreeD,parametricplotThreeD,fileplotThreeD,%
4828 dataplotThreeD,pstScalePoints,%
4829 %%
4830 %% pst-circ
4831 resistor,battery,Ucc,Icc,capacitor,coil,diode,Zener,LED,lamp,switch,wire,tension,
4832 circledipole,multidipole,OA,transistor,Tswitch,potentiometer,transformer,
4833 optoCoupler,logic,
4834 %%
4835 %% pst-eucl
4836 pstTriangle,pstMediatorAB,pstInterLL,pstMiddleAB,pstProjection,pstCircleOA,pstLineAB,%
4837 %%
4838 %% pst-func
4839 psBessel,psPolynomial,psFourier,psGaussI,psGauss,psSi,pssi,psCi,psci,%
4840 %%
4841 %% pst-infixplot
4842 psPlot,
4843 %%
4844 %% pst-ob3d
4845 PstDie,PstCube,
4846 %%
4847 %% pst-poly
4848 PstPolygon,pspolygonbox,
4849 %%
4850 %% pst-bar
4851 psbarchart,readpsbardata,psbarscale,newpsbarstyle,%
4852 %%
4853 %% pst-lens
4854 PstLens,%
4855 %%
4856 %% pst-geo
4857 WorldMap,WorldMapII,WorldMapThreeD,WorldMapThreeDII,pnodeMap,MapPut,%
4858 %%
4859 %% pst-autoseg
4860 asr,firstnode,merge,massoc,labelmerge,%
4861 %%
4862 %% gastex
4863 node,imark,fmark,rmark,drawqbpedge,drawedge,drawloop,%
4864 %%
4865 %% pst-labo
4866 Distillation,Ballon,
4867 %%
4868 %% pst-optic
4869 lens,Transform,%
4870 %%
4871 %% pst-light3d
4872 PstLightThreeDText,%
4873 %%
4874 %% calendrier
4875 Calendrier,%
4876 %%
4877 %% pst-osci
4878 Oscillo%
4879 },%
4880 sensitive,%
4881 alsoother={0123456789$_},%
4882 morecomment=[l]\% %
4883 }[keywords,comments]%
4884 % \end{macrocode}
4885 % \begin{macrocode}
4886 %</lang3>
4887 % \end{macrocode}
4888 % \endgroup
4889 %
4890 %
4891 % \subsection{Python}
4892 %
4893 % \lstthanks{Michael~Weber}{mweber@informatik.hu-berlin.de}{1998/12/21} sent me
4894 % the definition. He got data from \textsc{Mark Lutz}: \textbf{Programming
4895 % Python}; O'Reilly 1996; ISBN 1-56592-197-6.
4896 % \lstthanks{Stephen Kelly}{-}{2007/01/14} reported some problems that indicated
4897 % that the comment definitions needed to be moved after the string definitions
4898 % to work correctly.
4899 % \begingroup
4900 % \begin{macrocode}
4901 %<*lang1>
4902 % \end{macrocode}
4903 % \begin{macrocode}
4904 %%
4905 %% Python definition (c) 1998 Michael Weber
4906 %%
4907 \lst@definelanguage{Python}%
4908 {morekeywords={access,and,break,class,continue,def,del,elif,else,%
4909 except,exec,finally,for,from,global,if,import,in,is,lambda,not,%
4910 or,pass,print,raise,return,try,while},%
4911 sensitive=true,%
4912 morecomment=[l]\#,%
4913 morestring=[b]',%
4914 morestring=[b]",%
4915 morecomment=[s]{'''}{'''},% used for documentation text
4916 morecomment=[s]{"""}{"""}% added by Philipp Matthias Hahn
4917 }%
4918 % \end{macrocode}
4919 % \lsthelper{Philipp Matthias Hahn}{pmhahn@titan.lahn.de}{2002/04/18}{}
4920 % added the third comment. \lsthelper{eRreuR}{rogspr@newdeal.ch}{2002/05/28}
4921 % {probl\`eme avec "listings" et le langage Python} found a bug using Python
4922 % and \lsthelper{Nicolas Markey}{markey@lsv.ens-cachan.fr}{2002/05/29}
4923 % {listings and Python} informed me about the corresponding thread on
4924 % \texttt{fr.comp.text.tex} and provided the fix---adding \texttt{[b]} to
4925 % both \texttt{morestring} declarations.
4926 % \begin{macrocode}
4927 %</lang1>
4928 % \end{macrocode}
4929 % \endgroup
4930 %
4931 %
4932 % \subsection{Rexx}
4933 %
4934 % \lstthanks{Patrick~TJ~McPhee}{ptjm@interlog.com}{2003/10/24} provided this
4935 % definition.
4936 % \begingroup
4937 % \begin{macrocode}
4938 %<*lang2>
4939 % \end{macrocode}
4940 % \begin{macrocode}
4941 %%
4942 %% classic rexx listings definition
4943 %% by Patrick TJ McPhee <ptjm@interlog.com>
4944 %%
4945 \lst@definelanguage{Rexx}
4946 {morekeywords={address,arg,call,do,drop,else,end,exit,if,iterate,%
4947 interpret,leave,nop,numeric,options,otherwise,parse,%
4948 procedure,pull,push,queue,return,say,signal,then,to,%
4949 trace,when},%
4950 sensitive=false,%
4951 morecomment=[n]{/*}{*/},%
4952 morestring=[d]{'},%
4953 morestring=[d]{"},%
4954 }[keywords,comments,strings]%
4955 % \end{macrocode}
4956 % \begin{macrocode}
4957 %</lang2>
4958 % \end{macrocode}
4959 % \endgroup
4960 %
4961 %
4962 % \subsection{Reduce}
4963 %
4964 % was provided by \lstthanks{Geraint~Paul~Bevan}{geraint@users.sf.net}
4965 % {2002/10/31}.
4966 % \begingroup
4967 % \begin{macrocode}
4968 %<*lang3>
4969 % \end{macrocode}
4970 % \begin{macrocode}
4971 %%
4972 %% Reduce definition (c) 2002 Geraint Paul Bevan
4973 %%
4974 \lst@definelanguage{Reduce}%
4975 {morekeywords={%
4976 %% reserved identifiers
4977 abs,acos,acosh,acot,acoth,acsc,acsch,%
4978 adjprec,algebraic,algint,allbranch,allfac,and,%
4979 antisymmetric,append,arglength,array,asec,asech,%
4980 asin,asinh,atan,atan2,atanh,begin,bfspace,bye,%
4981 card_no,ceiling,clear,clearrules,coeff,coeffn,%
4982 cofactor,combineexpt,combinelogs,comment,comp,%
4983 complex,conj,cons,cont,cos,cosh,cot,coth,cramer,%
4984 cref,csc,csch,decompose,define,defn,deg,demo,den,%
4985 depend,det,df,difference,dilog,display,div,do,e,%
4986 echo,ed,editdef,ei,end,eps,eq,equal,erf,errcont,%
4987 evallhseqp,eval_mode,even,evenp,exp,expandlogs,%
4988 expr,expt,ezgcd,factor,factorial,factorize,fexpr,%
4989 first,fix,fixp,floor,for,forall,foreach,fort,%
4990 fort_width,freeof,fullroots,g,gcd,geq,go,goto,%
4991 greaterp,high_pow,hypot,i,if,ifactor,impart,in,%
4992 index,infinity,infix,input,int,integer,interpol,%
4993 intstr,k,korder,lambda,lcm,lcof,length,leq,lessp,%
4994 let,lhs,linear,linelength,lisp,list,listargp,%
4995 listargs,ln,load,load_package,log,log10,logb,%
4996 low_pow,lterm,macro,mainvar,mass,mat,match,%
4997 mateigen,matrix,max,mcd,member,memq,min,minus,mkid,%
4998 modular,msg,mshell,multiplicities,nat,neq,nero,%
4999 nextprime,nil,nodepend,noncom,nonzero,nosplit,%
5000 nospur,nullspace,num,numberp,odd,off,on,operator,%
5001 or,order,ordp,out,output,part,pause,period,pf,pi,%
5002 plus,precedence,precise,precision,pret,pri,primep,%
5003 print_precision,procedure,product,quit,quotient,%
5004 random,random_new_seed,rank,rat,ratarg,rational,%
5005 rationalize,ratpri,real,rederr,reduct,remainder,%
5006 remfac,remind,repart,repeat,rest,resultant,retry,%
5007 return,reverse,revpri,rhs,rlisp88,%
5008 root_multiplicity,round,roundall,roundbf,rounded,%
5009 saveas,savestructr,scalar,sec,sech,second,set,%
5010 setmod,setq,share,showrules,showtime,shut,sign,sin,%
5011 sinh,smacro,solve,solvesingular,spur,sqrt,structr,%
5012 sub,sum,symbolic,symmetric,t,tan,tanh,third,time,%
5013 times,tp,tra,trace,trfac,trigform,trint,until,%
5014 varname,vecdim,vector,weight,when,where,while,%
5015 write,ws,wtlevel,%
5016 %% identifiers with spaces
5017 %% for all,for each,go to,such that,%
5018 },%
5019 sensitive=false,%
5020 morecomment=[l]\%,%
5021 morecomment=[s]{COMMENT}{;},%
5022 morecomment=[s]{COMMENT}{$},%
5023 morestring="%
5024 }[keywords,comments,strings]%
5025 % \end{macrocode}
5026 % \begin{macrocode}
5027 %</lang3>
5028 % \end{macrocode}
5029 % \endgroup
5030 %
5031 %
5032 % \subsection{RSL}
5033 %
5034 % Thanks go to \lstthanks{Brian~Christensen}{}{2004/02/15}.
5035 % \begingroup
5036 % \begin{macrocode}
5037 %<*lang3>
5038 % \end{macrocode}
5039 % \begin{macrocode}
5040 %%
5041 %% RSL definition (c) 2004 Brian Christensen
5042 %%
5043 \lst@definelanguage{RSL}%
5044 {morekeywords={Bool,Char,devt_relation,Int,Nat,Real,Text,Unit,abs,any,%
5045 as,axiom,card,case,channel,chaos,class,do,dom,elems,else,elsif,end,%
5046 extend,false,for,hd,hide,if,in,inds,initialise,int,len,let,local,%
5047 object,of,out,post,pre,read,real,rng,scheme,skip,stop,swap,%
5048 test_case,theory,then,tl,true,type,until,use,value,variable,while,%
5049 with,write},%
5050 literate=%
5051 {<}{$<$}{1}%
5052 {>}{$>$}{1}%
5053 {[}{$[$}{1}%%
5054 {]}{$]$}{1}%%
5055 {^}{{\mbox{$\widehat{\;}$}}}{1}%%
5056 {'}{{\raisebox{1ex}[1ex][0ex]{\protect\scriptsize$\prime$}}}{1}%%
5057 {||}{{\mbox{$\parallel$}}}{2}%%
5058 {|-}{$\vdash$}{1}%%
5059 {|=|}{{\mbox{$\lceil\!\rceil\!\!\!\!\!\!\;\lfloor\!\rfloor$}}}{1}%%
5060 {**}{$\uparrow$}{1}%
5061 {/\\}{$\wedge$}{1}%%
5062 {inter}{$\cap$}{1}%%
5063 {-\\}{$\lambda$}{1}%%
5064 {->}{$\rightarrow$}{1}%%
5065 {-m->}{{\mbox{$\rightarrow \hspace{-2.5\lst@width} _{m}\;$}}}{1}%
5066 {-~m->}{{\mbox{$\stackrel{\sim}{\mbox{$\rightarrow\hspace{-2.5\lst@width} _{m}\;$}}$}}}{1}%
5067 {-~->}{{\mbox{$\stackrel{\sim}{\rightarrow}$}}}{1}%%
5068 {-set}{\bf{-set}}{4}%%
5069 {-list}{{$^{\ast}$}}{1}%%
5070 {-inflist}{$^\omega$}{1}%
5071 {-infset}{{\mbox{{\bf -infset}}}}{7}%
5072 {\#}{$\circ$}{1}%
5073 {:-}{{\raisebox{.4ex}{\tiny $\bullet$}}}{1}%%
5074 {=}{$=$}{1}%%
5075 {==}{$==$}{2}%%
5076 {=>}{$\Rightarrow$}{1}%%
5077 {\ is\protect\^^M}{{$\;\equiv$}}{2}%
5078 {\ is\ }{{$\equiv$}}{3}%%
5079 {\ isin\protect\^^M}{$\;\in$}{2}%%
5080 {~}{$\sim$}{1}%%
5081 {~=}{$\neq$}{1}%%
5082 {~isin}{$\notin$}{1}%%
5083 {+>}{$\mapsto$}{1}%%
5084 {++}{}{1}%
5085 {|^|}{{\mbox{$\lceil\!\rceil$}}}{1}%%
5086 {\\/}{$\vee$}{1}%%
5087 {exists}{$\exists$}{1}%%
5088 {union}{$\cup$}{1}%%
5089 {>=}{$\geq$}{1}%%
5090 {><}{$\times$}{1}%%
5091 {>>}{$\supset$}{1}%
5092 {>>=}{$\supseteq$}{1}%%
5093 {<=}{$\leq$}{1}%%
5094 {<<}{$\subset$}{1}%
5095 {<.}{$\langle$}{1}%%
5096 {<<=}{$\subseteq$}{1}%%
5097 {<->}{$\leftrightarrow$}{1}%%
5098 {[=}{$\sqsubseteq$}{1}%%
5099 {\{=}{$\preceq$}{1}%%
5100 {\ all\protect\^^M}{$\forall$}{2}%%
5101 {\ all\ }{$\forall$}{3}%%
5102 {!!}{$\dagger$}{1}%%
5103 {always}{$\Box$}{1}%%
5104 {.>}{$\rangle$}{1}%%
5105 {`alpha}{$\alpha$}{1}%
5106 {`beta}{$\beta$}{1}%
5107 {`gamma}{$\gamma$}{1}%
5108 {`delta}{$\delta$}{1}%
5109 {`epsilon}{$\epsilon$}{1}%
5110 {`zeta}{$\zeta$}{1}%
5111 {`eta}{$\eta$}{1}%
5112 {`theta}{$\theta$}{1}%
5113 {`iota}{$\iota$}{1}%
5114 {`kappa}{$\kappa$}{1}%
5115 {`mu}{$\mu$}{1}%
5116 {`nu}{$\nu$}{1}%
5117 {`xi}{$\xi$}{1}%
5118 {`pi}{$\pi$}{1}%
5119 {`rho}{$\rho$}{1}%
5120 {`sigma}{$\sigma$}{1}%
5121 {`tau}{$\tau$}{1}%
5122 {`upsilon}{$\upsilon$}{1}%
5123 {`phi}{$\phi$}{1}%
5124 {`chi}{$\chi$}{1}%
5125 {`psi}{$\psi$}{1}%
5126 {`omega}{$\omega$}{1}%
5127 {`Gamma}{$\Gamma$}{1}%
5128 {`Delta}{$\Delta$}{1}%
5129 {`Theta}{$\Theta$}{1}%
5130 {`Lambda}{$\Lambda$}{1}%
5131 {`Xi}{$\Xi$}{1}%
5132 {`Pi}{$\Pi$}{1}%
5133 {`Sigma}{$\Sigma$}{1}%
5134 {`Upsilon}{$\Upsilon$}{1}%
5135 {`Phi}{$\Phi$}{1}%
5136 {`Psi}{$\Psi$}{1}%
5137 {`Omega}{$\Omega$}{1},%
5138 sensitive=true,%
5139 morecomment=[l]{--},%
5140 morecomment=[s]{/*}{*/}%
5141 }[keywords,comments]%
5142 % \end{macrocode}
5143 % \begin{macrocode}
5144 %</lang3>
5145 % \end{macrocode}
5146 % \endgroup
5147 %
5148 %
5149 % \subsection{Ruby}
5150 %
5151 % \lstthanks{Christian~Kaiser}{chk@combit.net}{2003/02/05} provided the initial
5152 % definition. \lstthanks{Xavier~Noria}{fxn@hashref.com}{2004/01/11} replaced
5153 % the keywords with the keywords from the at the time of writing current
5154 % stable Ruby version. An erroneous string delimiter was removed following
5155 % a bug reported on comp.text.tex on 2006/09/01.
5156 %
5157 % Ruby supports string delimiters of the form \verb|%q!...!|, where \verb|!|
5158 % can be any character, or can be matched braces or parentheses or brackets.
5159 % The included string definitions include most of the common variants, but are
5160 % of course not comprehensive.
5161 %
5162 % \begingroup
5163 % \begin{macrocode}
5164 %<*lang2>
5165 % \end{macrocode}
5166 % \begin{macrocode}
5167 \lst@definelanguage{Ruby}%
5168 {morekeywords={__FILE__,__LINE__,BEGIN,END,alias,and,begin,break,%
5169 case,class,def,defined?,do,else,elsif,end,ensure,false,for,%
5170 if,in,module,next,nil,not,or,redo,rescue,retry,return,self,%
5171 super,then,true,undef,unless,until,when,while,yield},%
5172 sensitive=true,%
5173 morecomment=[l]\#,%
5174 morecomment=[l]\#\#,%
5175 morecomment=[s]{=BEGIN}{=END},%
5176 morestring=[b]',%
5177 morestring=[b]",%
5178 morestring=[s]{\%q/}{/},%
5179 morestring=[s]{\%q!}{!},%
5180 morestring=[s]{\%q\{}{\}},%
5181 morestring=[s]{\%q(}{)},%
5182 morestring=[s]{\%q[}{]},%
5183 morestring=[s]{\%q-}{-},%
5184 morestring=[s]{\%Q/}{/},%
5185 morestring=[s]{\%Q!}{!},%
5186 morestring=[s]{\%Q\{}{\}},%
5187 morestring=[s]{\%Q(}{)},%
5188 morestring=[s]{\%Q[}{]},%
5189 morestring=[s]{\%Q-}{-}%
5190 }[keywords,comments,strings]%
5191 % \begin{macrocode}
5192 %</lang2>
5193 % \end{macrocode}
5194 % \endgroup
5195 %
5196 %
5197 % \subsection{Scilab}
5198 %
5199 % Thanks go to \lstthanks{Jean-Philippe~Grivet}{grivet@cnrs-orleans.fr}
5200 % {2003/06/02}.
5201 % \begingroup
5202 % \begin{macrocode}
5203 %<*lang1>
5204 % \end{macrocode}
5205 % \begin{macrocode}
5206 %%
5207 %% Scilab definition (c) 2002,2003 Jean-Philippe Grivet
5208 %%
5209 \lst@definelanguage{Scilab}%
5210 {morekeywords={abcd,abinv,abort,abs,acoshm,acosh,acosm,acos,addcolor,%
5211 addf,addinter,addmenu,add_edge,add_node,adj2sp,adj_lists,aff2ab,%
5212 amell,analpf,analyze,ans,apropos,arc_graph,arc_number,argn,arhnk,%
5213 arl2,arma2p,armac,armax1,armax,arma,arsimul,artest,articul,ascii,%
5214 asinhm,asinh,asinm,asin,atanhm,atanh,atanm,atan,augment,auread,%
5215 auwrite,balanc,balreal,bandwr,basename,bdiag,besseli,besselj,%
5216 besselk,bessely,best_match,bezout,bifish,bilin,binomial,black,%
5217 bloc2exp,bloc2ss,bode,bool2s,boolean,boucle,break,bstap,buttmag,%
5218 bvode,cainv,calerf,calfrq,call,canon,casc,case,ccontrg,cdfbet,%
5219 cdfbin,cdfchi,cdfchn,cdffnc,cdff,cdfgam,cdfnbn,cdfnor,cdfpoi,%
5220 cdft,ceil,center,cepstrum,chaintest,chain_struct,champ1,champ,%
5221 chart,chdir,cheb1mag,cheb2mag,check_graph,check_io,chepol,chfact,%
5222 chol,chsolve,circuit,classmarkov,clean,clearfun,clearglobal,%
5223 clear,close,cls2dls,cmb_lin,cmndred,cmoment,code2str,coeff,coffg,%
5224 coff,colcompr,colcomp,colinout,colormap,colregul,companion,comp,%
5225 cond,conj,connex,contour2di,contour2d,contourf,contour,%
5226 contract_edge,contrss,contr,cont_frm,cont_mat,convex_hull,convol,%
5227 convstr,con_nodes,copfac,copy,correl,corr,coshm,cosh,cosm,cos,%
5228 cotg,cothm,coth,covar,csim,cspect,ctr_gram,cumprod,cumsum,%
5229 curblock,cycle_basis,czt,c_link,dasrt,dassl,datafit,date,dbphi,%
5230 dcf,ddp,debug,dec2hex,deff,definedfields,degree,delbpt,%
5231 delete_arcs,delete_nodes,delete,delip,delmenu,demos,denom,%
5232 derivative,derivat,des2ss,des2tf,determ,detr,det,dft,dhinf,%
5233 dhnorm,diag,diary,diff,diophant,dirname,dispbpt,dispfiles,disp,%
5234 dlgamma,double,dragrect,drawaxis,drawlater,drawnow,draw,driver,%
5235 dscr,dsearch,dsimul,dtsi,dt_ility,duplicate,edge_number,%
5236 edit_curv,edit_graph_menus,edit_graph,edit,eigenmarkov,ell1mag,%
5237 elseif,else,emptystr,endfunction,end,eqfir,eqiir,equil1,equil,%
5238 ereduc,erfcx,erfc,erf,errbar,errcatch,errclear,error,eval3dp,%
5239 eval3d,eval,evans,evstr,excel2sci,execstr,exec,exists,exit,expm,%
5240 exp,external,eye,fac3d,factors,faurre,fchamp,fcontour2d,fcontour,%
5241 fec,feedback,feval,ffilt,fftshift,fft,fgrayplot,figure,fileinfo,%
5242 file,filter,findm,findobj,findx0BD,find_freq,find_path,find,%
5243 findABCD,findAC,findBD,findBDK,findR,fit_dat,fix,floor,flts,foo,%
5244 formatman,format,fort,for,fourplan,fplot2d,fplot3d1,fplot3d,%
5245 fprintf,fprintfMat,frep2tf,freq,freson,frexp,frfit,frmag,fscanf,%
5246 fscanfMat,fsfirlin,fsolve,fspecg,fstabst,fstair,ftest,ftuneq,%
5247 fullrfk,fullrf,full,fun2string,funcprot,functions,function,%
5248 funptr,fusee,gainplot,gamitg,gammaln,gamma,gcare,gcd,gcf,%
5249 genfac3d,genlib,genmarkov,gen_net,geom3d,geomean,getblocklabel,%
5250 getcolor,getcurblock,getcwd,getdate,getd,getenv,getfield,getfont,%
5251 getf,getio,getlinestyle,getmark,getpid,getscicosvars,getsymbol,%
5252 getvalue,getversion,get_function_path,get,gfare,gfrancis,girth,%
5253 givens,glever,glist,global,glue,gpeche,graduate,grand,%
5254 graphics_entities,graph_2_mat,graph_center,graph_complement,%
5255 graph_diameter,graph_power,graph_simp,graph_sum,graph_union,%
5256 graph-list,graycolormap,grayplot,graypolarplot,grep,group,%
5257 gr_menu,gschur,gsort,gspec,gstacksize,gtild,g_margin,h2norm,halt,%
5258 hamilton,hankelsv,hank,harmean,havewindow,help,hermit,hess,%
5259 hex2dec,hilb,hinf,hist3d,histplot,horner,host,hotcolormap,%
5260 householder,hrmt,htrianr,hypermat,h_cl,h_inf_st,h_inf,h_norm,%
5261 iconvert,icon_edit,ieee,if,iirgroup,iirlp,iir,ilib_build,%
5262 ilib_compile,ilib_for_link,ilib_gen_gateway,ilib_gen_loader,%
5263 ilib_gen_Make,imag,impl,imrep2ss,imult,im_inv,inistate,input,%
5264 int16,int2d,int32,int3d,int8,intc,intdec,integrate,interpln,%
5265 interp,intersci,intersect,intg,intl,intppty,intsplin,inttrap,%
5266 inttype,int,invr,invsyslin,inv_coeff,inv,iqr,isdef,isdir,isequal,%
5267 iserror,isglobal,isinf,isnan,isoview,isreal,is_connex,jmat,%
5268 justify,kalm,karmarkar,kernel,keyboard,knapsack,kpure,krac2,%
5269 kroneck,kron,lasterror,lattn,lattp,lcf,lcmdiag,lcm,ldivf,ldiv,%
5270 leastsq,legends,length,leqr,levin,lev,lex_sort,lft,lgfft,library,%
5271 lib,lin2mu,lincos,lindquist,lines,line_graph,linfn,linf,link,%
5272 linmeq,linpro,linsolve,linspace,lin,listfiles,list,lmisolver,%
5273 lmitool,loadmatfile,loadplots,loadwave,load_graph,load,locate,%
5274 log10,log1p,log2,logm,logspace,log,lotest,lqe,lqg2stan,lqg_ltr,%
5275 lqg,lqr,lsq,lsslist,lstcat,lstsize,ltitr,ludel,lufact,luget,%
5276 lusolve,lu,lyap,macglov,macr2lst,macrovar,macro,mad,make_graph,%
5277 make_index,manedit,man,mapsound,markp2ss,matfile2sci,matrix,%
5278 mat_2_graph,maxi,max_cap_path,max_clique,max_flow,max,mclearerr,%
5279 mclose,meanf,mean,median,meof,mese,mesh2d,mfft,mfile2sci,mgeti,%
5280 mgetl,mgetstr,mget,milk_drop,mine,mini,minreal,minss,%
5281 min_lcost_cflow,min_lcost_flow1,min_lcost_flow2,min_qcost_flow,%
5282 min_weight_tree,min,mlist,mode,modulo,moment,mopen,move,%
5283 mps2linpro,mputl,mputstr,mput,mrfit,msd,mseek,mtell,mtlb_load,%
5284 mtlb_mode,mtlb_save,mtlb_sparse,mu2lin,mulf,mvvacov,m_circle,%
5285 names,nand2mean,nanmax,nanmeanf,nanmean,nanmedian,nanmin,%
5286 nanstdev,nansum,narsimul,ndims,nearfloat,nehari,neighbors,%
5287 netclose,netwindows,netwindow,newest,newfun,nextpow2,nf3d,nfreq,%
5288 nlev,nnz,nodes_2_path,nodes_degrees,node_number,noisegen,norm,%
5289 null,numdiff,numer,nyquist,obscont1,obscont,observer,obsvss,%
5290 obsv_mat,obs_gram,odedc,odedi,odeoptions,ode_discrete,ode_root,%
5291 ode,oldload,oldsave,ones,optim,orth,param3d1,param3d,%
5292 paramfplot2d,parrot,part,pathconvert,path_2_nodes,pause,pbig,%
5293 pdiv,pen2ea,pencan,penlaur,perctl,perfect_match,pertrans,pfss,%
5294 phasemag,phc,pinv,pipe_network,playsnd,plot2d1,plot2d2,plot2d3,%
5295 plot2d4,plot2d,plot3d1,plot3d2,plot3d3,plot3d,plotframe,%
5296 plotprofile,plot_graph,plot,plzr,pmodulo,pol2des,pol2str,pol2tex,%
5297 polarplot,polar,polfact,poly,portr3d,portrait,power,ppol,prbs_a,%
5298 predecessors,predef,printf,printing,print,prod,profile,projsl,%
5299 projspec,proj,psmall,pspect,pvm_addhosts,pvm_barrier,pvm_bcast,%
5300 pvm_bufinfo,pvm_config,pvm_delhosts,pvm_error,pvm_exit,%
5301 pvm_f772sci,pvm_getinst,pvm_gettid,pvm_get_timer,pvm_gsize,%
5302 pvm_halt,pvm_joingroup,pvm_kill,pvm_lvgroup,pvm_mytid,pvm_parent,%
5303 pvm_probe,pvm_recv,pvm_reduce,pvm_sci2f77,pvm_send,pvm_set_timer,%
5304 pvm_spawn_independent,pvm_spawn,pvm_start,pvm_tasks,%
5305 pvm_tidtohost,pvm,pwd,p_margin,qassign,qr,quapro,quart,quaskro,%
5306 quit,randpencil,rand,range,rankqr,rank,rat,rcond,rdivf,read4b,%
5307 readb,readc_,readmps,read,real,recur,reglin,regress,remezb,remez,%
5308 repfreq,replot,residu,resume,return,riccati,riccsl,ricc,ric_desc,%
5309 rlist,roots,rotate,round,routh_t,rowcompr,rowcomp,rowinout,%
5310 rowregul,rowshuff,rpem,rref,rtitr,rubberbox,salesman,savewave,%
5311 save_graph,save,scaling,scanf,schur,sci2exp,sci2for,sci2map,%
5312 sciargs,scicosim,scicos,scifunc_block,sd2sci,secto3d,select,%
5313 semidef,sensi,setbpt,seteventhandler,setfield,setmenu,%
5314 setscicosvars,set,sfact,sgrid,shortest_path,showprofile,%
5315 show_arcs,show_graph,show_nodes,sident,signm,sign,simp_mode,simp,%
5316 sincd,sinc,sinc,sinhm,sinh,sinm,sin,size,sm2des,sm2ss,smooth,%
5317 solve,sorder,sort,sound,sp2adj,spaninter,spanplus,spantwo,sparse,%
5318 spchol,spcompack,specfact,spec,speye,spget,splin,split_edge,%
5319 spones,sprand,sprintf,spzeros,sqroot,sqrtm,sqrt,squarewave,%
5320 square,srfaur,srkf,ss2des,ss2ss,ss2tf,sscanf,sskf,ssprint,ssrand,%
5321 stabil,stacksize,standard_define,standard_draw,standard_input,%
5322 standard_origin,standard_output,startup,stdevf,stdev,steadycos,%
5323 str2code,strange,strcat,strindex,strings,string,stripblanks,%
5324 strong_connex,strong_con_nodes,strsubst,st_deviation,st_ility,%
5325 subf,subgraph,subplot,successors,sum,supernode,sva,svd,svplot,%
5326 sylm,sylv,sysconv,sysdiag,sysfact,syslin,syssize,systems,system,%
5327 systmat,tabul,tangent,tanhm,tanh,tanm,tan,tdinit,testmatrix,%
5328 texprint,tf2des,tf2ss,then,thrownan,timer,time_id,titlepage,%
5329 tk_getdir,tk_getfile,tlist,toeplitz,tokenpos,tokens,trace,%
5330 translatepaths,trans_closure,trans,trfmod,trianfml,tril,trimmean,%
5331 trisolve,triu,trzeros,typename,typeof,type,uicontrol,uimenu,%
5332 uint16,uint32,uint8,ui_observer,ulink,unglue,union,unique,unix_g,%
5333 unix_s,unix_w,unix_x,unix,unobs,unsetmenu,user,varargin,%
5334 varargout,variancef,variance,varn,warning,wavread,wavwrite,%
5335 wcenter,wfir,what,whereami,whereis,where,while,whos,who_user,who,%
5336 wiener,wigner,window,winsid,with_gtk,with_pvm,with_texmacs,%
5337 with_tk,writb,write4b,write,xarcs,xarc,xarrows,xaxis,xbasc,%
5338 xbasimp,xbasr,xchange,xclear,xclea,xclick,xclip,xdel,xend,xfarcs,%
5339 xfarc,xfpolys,xfpoly,xfrect,xgetech,xgetfile,xgetmouse,xget,%
5340 xgraduate,xgrid,xinfo,xinit,xlfont,xload,xname,xnumb,xpause,%
5341 xpolys,xpoly,xrects,xrect,xrpoly,xs2fig,xs2gif,xs2ppm,xs2ps,%
5342 xsave,xsegs,select,xsetech,xsetm,xset,xstringb,xstringl,xstring,%
5343 xtape,xtitle,x_choices,x_choose,x_dialog,x_matrix,x_mdialog,%
5344 x_message_modeless,x_message,yulewalk,zeropen,zeros,zgrid,zpbutt,%
5345 zpch1,zpch2,zpell,mfprintf,mfscanf,mprintf,mscanf,msprintf,%
5346 msscanf,mucomp,%
5347 ABSBLK_f,AFFICH_f,ANDLOG_f,ANIMXY_f,BIGSOM_f,CLINDUMMY_f,CLKIN_f,%
5348 CLKINV_f,CLKOUT_f,CLKOUTV_f,CLKSOM_f,CLKSOMV_f,CLKSPLIT_f,%
5349 CLOCK_f,CLR_f,CLSS_f,CONST_f,COSBLK_f,CURV_f,DELAY_f,DELAYV_f,%
5350 DEMUX_f,DLR_f,DLRADAPT_f,DLSS_f,EVENTSCOPE_f,EVTDLY_f,EVTGEN_f,%
5351 EXPBLK_f,G_make,GAIN_f,GAINBLK_f,GENERAL_f,GENERIC_f,GENSIN_f,%
5352 GENSQR_f,HALT_f,IFTHEL_f,IN_f,INTEGRAL_f,INTRP2BLK_f,INTRPLBLK_f,%
5353 INVBLK_f,LOGBLK_f,LOOKUP_f,Matplot1,Matplot,MAX_f,MCLOCK_f,%
5354 MFCLCK_f,MIN_f,MUX_f,NDcost,NEGTOPOS_f,OUT_f,POSTONEG_f,POWBLK_f,%
5355 PROD_f,QUANT_f,RAND_f,READC_f,REGISTER_f,RELAY_f,RFILE_f,%
5356 ScilabEval,Sfgrayplot,Sgrayplot,SAMPLEHOLD_f,SAT_f,SAWTOOTH_f,%
5357 SCOPE_f,SCOPXY_f,SELECT_f,SINBLK_f,SOM_f,SPLIT_f,STOP_f,SUPER_f,%
5358 TANBLK_f,TCLSS_f,TEXT_f,TIME_f,TK_EvalFile,TK_EvalStr,TK_GetVar,%
5359 TK_SetVar,TRASH_f,WFILE_f,WRITEC_f,ZCROSS_f,%
5360 \%asn,\%helps,\%k,\%sn},%
5361 alsoletter=\%,% chmod
5362 sensitive,%
5363 morecomment=[l]//,%
5364 morestring=[b]",%
5365 morestring=[m]'%
5366 }[keywords,comments,strings]%
5367 % \end{macrocode}
5368 % \begin{macrocode}
5369 %</lang1>
5370 % \end{macrocode}
5371 % \endgroup
5372 %
5373 %
5374 % \subsection{SHELXL}
5375 %
5376 % Thanks to \lstthanks{Aidan~Philip~Heerdegen}{Aidan.Heerdegen@anu.edu.au}
5377 % {1999/07/09} for mailing this definition.
5378 % \begingroup
5379 % \begin{macrocode}
5380 %<*lang2>
5381 % \end{macrocode}
5382 % \begin{macrocode}
5383 %%
5384 %% SHELXL definition (c) 1999 Aidan Philip Heerdegen
5385 %%
5386 \lst@definelanguage{SHELXL}%
5387 {morekeywords={TITL,CELL,ZERR,LATT,SYMM,SFAC,DISP,UNIT,LAUE,%
5388 REM,MORE,TIME,END,HKLF,OMIT,SHEL,BASF,TWIN,EXTI,SWAT,%
5389 MERG,SPEC,RESI,MOVE,ANIS,AFIX,HFIX,FRAG,FEND,EXYZ,EADP,%
5390 EQIV,OMIT,CONN,PART,BIND,FREE,DFIX,BUMP,SAME,SADI,CHIV,%
5391 FLAT,DELU,SIMU,DEFS,ISOR,SUMP,L.S.,CGLS,SLIM,BLOC,DAMP,%
5392 WGHT,FVAR,BOND,CONF,MPLA,RTAB,LIST,ACTA,SIZE,TEMP,WPDB,%
5393 FMAP,GRID,PLAN,MOLE},%
5394 sensitive=false,%
5395 alsoother=_,% Makes the syntax highlighting ignore the underscores
5396 morecomment=[l]{! },%
5397 }%
5398 % \end{macrocode}
5399 % \begin{macrocode}
5400 %</lang2>
5401 % \end{macrocode}
5402 % \endgroup
5403 %
5404 %
5405 % \subsection{Simula}
5406 %
5407 % Took data from
5408 % \begin{itemize}
5409 % \item
5410 % \textsc{G\"unther Lamprecht}:
5411 % \textbf{Introduction to SIMULA 67};
5412 % Braunschweig; Wiesbaden: Vieweg, 1981
5413 % \end{itemize}
5414 % \begingroup
5415 % \begin{macrocode}
5416 %<*lang3>
5417 % \end{macrocode}
5418 % \begin{macrocode}
5419 \lst@definelanguage[IBM]{Simula}[DEC]{Simula}{}%
5420 % \end{macrocode}
5421 % \begin{macrocode}
5422 \lst@definelanguage[DEC]{Simula}[67]{Simula}%
5423 {morekeywords={and,eq,eqv,ge,gt,hidden,imp,le,long,lt,ne,not,%
5424 options,or,protected,short}%
5425 }%
5426 % \end{macrocode}
5427 % \begin{macrocode}
5428 \lst@definelanguage[CII]{Simula}[67]{Simula}%
5429 {morekeywords={and,equiv,exit,impl,not,or,stop}}%
5430 % \end{macrocode}
5431 % \begin{macrocode}
5432 \lst@definelanguage[67]{Simula}%
5433 {morekeywords={activate,after,array,at,before,begin,boolean,%
5434 character,class,comment,delay,detach,do,else,end,external,false,%
5435 for,go,goto,if,in,inner,inspect,integer,is,label,name,new,none,%
5436 notext,otherwise,prior,procedure,qua,reactivate,real,ref,resume,%
5437 simset,simulation,step,switch,text,then,this,to,true,until,value,%
5438 virtual,when,while},%
5439 sensitive=f,%
5440 keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},%
5441 morestring=[d]",%
5442 morestring=[d]'%
5443 }[keywords,keywordcomments,strings]%
5444 % \end{macrocode}
5445 % \begin{macrocode}
5446 %</lang3>
5447 % \end{macrocode}
5448 % \endgroup
5449 %
5450 %
5451 % \subsection{SPARQL}
5452 %
5453 % This definition for the SPARQL query language (SPARQL Protocol and RDF
5454 % Query Language, \url{http://www.w3.org/TR/rdf-sparql-query/}) was provided
5455 % by \lstthanks{Christoph~Kiefer}{-}{2006/10/24}.
5456 %
5457 % \begingroup
5458 % \begin{macrocode}
5459 %<*lang3>
5460 % \end{macrocode}
5461 % \begin{macrocode}
5462 %%
5463 %% SPARQL definition (c) 2006 Christoph Kiefer
5464 %%
5465 \lst@definelanguage{SPARQL}%
5466 {morekeywords={BASE,PREFIX,SELECT,DISTINCT,CONSTRUCT,DESCRIBE,ASK,%
5467 FROM,NAMED,WHERE,ORDER,BY,ASC,DESC,LIMIT,OFFSET,OPTIONAL,%
5468 GRAPH,UNION,FILTER,a,STR,LANG,LANGMATCHES,DATATYPE,BOUND,%
5469 isIRI,isURI,isBLANK,isLITERAL,REGEX,true,false},%
5470 sensitive=false,%
5471 morecomment=[l]\#,%
5472 morestring=[d]',%
5473 morestring=[d]"%
5474 }[keywords,comments,strings]%
5475 % \end{macrocode}
5476 % \begin{macrocode}
5477 %</lang3>
5478 % \end{macrocode}
5479 % \endgroup
5480 %
5481 %
5482 % \subsection{SQL}
5483 %
5484 % Data come from \lstthanks{Christian~Haul}
5485 % {haul@dvs1.informatik.tu-darmstadt.de}{1998/01/09}.
5486 % \lstthanks{Neil~Conway}{nconway@klamath.dyndns.org}{2002/07/06} added some
5487 % keywords, ditto \lsthelper{Torsten~Flatter}{Thorsten.Flatter@T-Systems.de}
5488 % {2002/10/15}{missing keywords}, \lsthelper{Robert~Frank}{rf7@ukc.ac.uk}
5489 % {2002/11/19}{missing keywords} and \lsthelper{Dirk~Jesko}
5490 % {jesko@iti.cs.uni-magdeburg.de}{2003/06/03}{extended SQL definition}.
5491 % \begingroup
5492 % \begin{macrocode}
5493 %<*lang1>
5494 % \end{macrocode}
5495 % \begin{macrocode}
5496 %%
5497 %% SQL definition (c) 1998 Christian Haul
5498 %% (c) 2002 Neil Conway
5499 %% (c) 2002 Robert Frank
5500 %% (c) 2003 Dirk Jesko
5501 %%
5502 \lst@definelanguage{SQL}%
5503 {morekeywords={ABSOLUTE,ACTION,ADD,ALLOCATE,ALTER,ARE,AS,ASSERTION,%
5504 AT,BETWEEN,BIT_LENGTH,BOTH,BY,CASCADE,CASCADED,CASE,CAST,%
5505 CATALOG,CHAR_LENGTH,CHARACTER_LENGTH,CLUSTER,COALESCE,%
5506 COLLATE,COLLATION,COLUMN,CONNECT,CONNECTION,CONSTRAINT,%
5507 CONSTRAINTS,CONVERT,CORRESPONDING,CREATE,CROSS,CURRENT_DATE,%
5508 CURRENT_TIME,CURRENT_TIMESTAMP,CURRENT_USER,DAY,DEALLOCATE,%
5509 DEC,DEFERRABLE,DEFERED,DESCRIBE,DESCRIPTOR,DIAGNOSTICS,%
5510 DISCONNECT,DOMAIN,DROP,ELSE,END,EXEC,EXCEPT,EXCEPTION,EXECUTE,%
5511 EXTERNAL,EXTRACT,FALSE,FIRST,FOREIGN,FROM,FULL,GET,GLOBAL,%
5512 GRAPHIC,HAVING,HOUR,IDENTITY,IMMEDIATE,INDEX,INITIALLY,INNER,%
5513 INPUT,INSENSITIVE,INSERT,INTO,INTERSECT,INTERVAL,%
5514 ISOLATION,JOIN,KEY,LAST,LEADING,LEFT,LEVEL,LIMIT,LOCAL,LOWER,%
5515 MATCH,MINUTE,MONTH,NAMES,NATIONAL,NATURAL,NCHAR,NEXT,NO,NOT,NULL,%
5516 NULLIF,OCTET_LENGTH,ON,ONLY,ORDER,ORDERED,OUTER,OUTPUT,OVERLAPS,%
5517 PAD,PARTIAL,POSITION,PREPARE,PRESERVE,PRIMARY,PRIOR,READ,%
5518 RELATIVE,RESTRICT,REVOKE,RIGHT,ROWS,SCROLL,SECOND,SELECT,SESSION,%
5519 SESSION_USER,SIZE,SPACE,SQLSTATE,SUBSTRING,SYSTEM_USER,%
5520 TABLE,TEMPORARY,THEN,TIMEZONE_HOUR,%
5521 TIMEZONE_MINUTE,TRAILING,TRANSACTION,TRANSLATE,TRANSLATION,TRIM,%
5522 TRUE,UNIQUE,UNKNOWN,UPPER,USAGE,USING,VALUE,VALUES,%
5523 VARGRAPHIC,VARYING,WHEN,WHERE,WRITE,YEAR,ZONE,%
5524 AND,ASC,avg,CHECK,COMMIT,count,DECODE,DESC,DISTINCT,GROUP,IN,% FF
5525 LIKE,NUMBER,ROLLBACK,SUBSTR,sum,VARCHAR2,% FF
5526 MIN,MAX,UNION,UPDATE,% RF
5527 ALL,ANY,CUBE,CUBE,DEFAULT,DELETE,EXISTS,GRANT,OR,RECURSIVE,% DJ
5528 ROLE,ROLLUP,SET,SOME,TRIGGER,VIEW},% DJ
5529 morendkeywords={BIT,BLOB,CHAR,CHARACTER,CLOB,DATE,DECIMAL,FLOAT,% DJ
5530 INT,INTEGER,NUMERIC,SMALLINT,TIME,TIMESTAMP,VARCHAR},% moved here
5531 sensitive=false,% DJ
5532 morecomment=[l]--,%
5533 morecomment=[s]{/*}{*/},%
5534 morestring=[d]',%
5535 morestring=[d]"%
5536 }[keywords,comments,strings]%
5537 % \end{macrocode}
5538 % \begin{macrocode}
5539 %</lang1>
5540 % \end{macrocode}
5541 % \endgroup
5542 %
5543 %
5544 % \subsection{Tcl/Tk}
5545 %
5546 % Tcl/Tk is a very dynamic language. A statical analysis might not be
5547 % adequate. Nevertheless the following definitions produce the desired
5548 % result for my programs with a minimum of ``misses''.
5549 %
5550 % Data come from
5551 % \begin{itemize}
5552 % \item
5553 % \textsc{Welch, Brent B.}:
5554 % \textbf{Practical Programming in Tcl and Tk};
5555 % {\copyright} 1997 Prentice Hall, Inc.;
5556 % ISBN 0-13-616830-2.
5557 % \item
5558 % \textsc{Ousterhout, John K.}:
5559 % \textbf{Tcl and the Tk Toolkit};
5560 % {\copyright} 1997 Addison-Wesley Publishing Company;
5561 % ISBN 0-201-6337-X.
5562 % \end{itemize}
5563 % \lstthanks{Gerd~Neugebauer}{gerd.neugebauer@gmx.de}{2000/09/16} added support
5564 % for Tcl/Tk.
5565 % \begingroup
5566 % \begin{macrocode}
5567 %<*lang2>
5568 % \end{macrocode}
5569 % \begin{macrocode}
5570 %%
5571 %% Tcl/Tk definition (c) Gerd Neugebauer
5572 %%
5573 \lst@definelanguage[tk]{tcl}[]{tcl}%
5574 {morekeywords={activate,add,separator,radiobutton,checkbutton,%
5575 command,cascade,all,bell,bind,bindtags,button,canvas,canvasx,%
5576 canvasy,cascade,cget,checkbutton,config,configu,configur,%
5577 configure,clipboard,create,arc,bitmap,image,line,oval,polygon,%
5578 rectangle,text,textwindow,curselection,delete,destroy,end,entry,%
5579 entrycget,event,focus,font,actual,families,measure,metrics,names,%
5580 frame,get,grab,current,release,status,grid,columnconfigure,%
5581 rowconfigure,image,image,create,bitmap,photo,delete,height,types,%
5582 widt,names,index,insert,invoke,itemconfigure,label,listbox,lower,%
5583 menu,menubutton,message,move,option,add,clear,get,readfile,pack,%
5584 photo,place,radiobutton,raise,scale,scroll,scrollbar,search,see,%
5585 selection,send,stdin,stdout,stderr,tag,bind,text,tk,tkerror,%
5586 tkwait,window,variable,visibility,toplevel,unknown,update,winfo,%
5587 class,exists,ismapped,parent,reqwidth,reqheight,rootx,rooty,%
5588 width,height,wm,aspect,client,command,deiconify,focusmodel,frame,%
5589 geometry,group,iconbitmap,iconify,iconmask,iconname,iconposition,%
5590 iconwindow,maxsize,minsize,overrideredirect,positionfrom,%
5591 protocol,sizefrom,state,title,transient,withdraw,xview,yview,%
5592 yposition,%
5593 -accelerator,-activebackground,-activeborderwidth,%
5594 -activeforeground,-after,-anchor,-arrow,-arrowshape,-aspect,%
5595 -async,-background,-before,-bg,-bigincrement,-bitmap,-bordermode,%
5596 -borderwidth,-button,-capstyle,-channel,-class,-closeenough,%
5597 -colormap,-column,-columnspan,-command,-confine,-container,%
5598 -count,-cursor,-data,-default,-detail,-digits,-direction,%
5599 -displayof,-disableforeground,-elementborderwidth,-expand,%
5600 -exportselection,-extend,-family,-fg,-file,-fill,-focus,-font,%
5601 -fontmap,-foreground,-format,-from,-gamma,-global,-height,%
5602 -highlightbackground,-highlightcolor,-highlightthickness,-icon,%
5603 -image,-in,-insertbackground,-insertborderwidth,-insertofftime,%
5604 -insertontime,-imsertwidth,-ipadx,-ipady,-joinstyle,-jump,%
5605 -justify,-keycode,-keysym,-label,-lastfor,-length,-maskdata,%
5606 -maskfile,-menu,-message,-mode,-offvalue,-onvalue,-orient,%
5607 -outlien,-outlinestipple,-overstrike,-override,-padx,-pady,%
5608 -pageanchor,-pageheight,-pagewidth,-pagey,-pagey,-palette,%
5609 -parent,-place,-postcommand,-relheight,-relief,-relwidth,-relx,%
5610 -rely,-repeatdelay,-repeatinterval,-resolution,-root,-rootx,%
5611 -rooty,-rotate,-row,-rowspan,-screen,-selectcolor,-selectimage,%
5612 -sendevent,-serial,-setgrid,-showvalue,-shrink,-side,-size,%
5613 -slant,-sliderlength,-sliderrelief,-smooth,-splinesteps,-state,%
5614 -sticky,-stipple,-style,-subsample,-subwindow,-tags,-takefocus,%
5615 -tearoff,-tearoffcommand,-text,-textvariable,-tickinterval,-time,%
5616 -title,-to,-troughcolor,-type,-underline,-use,-value,-variable,%
5617 -visual,-width,-wrap,-wraplength,-x,-xscrollcommand,-y,%
5618 -bgstipple,-fgstipple,-lmargin1,-lmargin2,-rmargin,-spacing1,%
5619 -spacing2,-spacing3,-tabs,-yscrollcommand,-zoom,%
5620 activate,add,addtag,bbox,cget,clone,configure,coords,%
5621 curselection,debug,delete,delta,deselect,dlineinfo,dtag,dump,%
5622 entrycget,entryconfigure,find,flash,fraction,get,gettags,handle,%
5623 icursor,identify,index,insert,invoke,itemcget,itemconfigure,mark,%
5624 moveto,own,post,postcascade,postscript,put,redither,ranges,%
5625 scale,select,show,tag,type,unpost,xscrollcommand,xview,%
5626 yscrollcommand,yview,yposition}%
5627 }%
5628 % \end{macrocode}
5629 % \begin{macrocode}
5630 \lst@definelanguage[]{tcl}%
5631 {alsoletter={.:,*=&-},%
5632 morekeywords={after,append,array,names,exists,anymore,donesearch,%
5633 get,nextelement,set,size,startsearch,auto_mkindex,binary,break,%
5634 case,catch,cd,clock,close,concat,console,continue,default,else,%
5635 elseif,eof,error,eval,exec,-keepnewline,exit,expr,fblocked,%
5636 fconfigure,fcopy,file,atime,dirname,executable,exists,extension,%
5637 isdirectory,isfile,join,lstat,mtime,owned,readable,readlink,%
5638 rootname,size,stat,tail,type,writable,-permissions,-group,-owner,%
5639 -archive,-hidden,-readonly,-system,-creator,-type,-force,%
5640 fileevent,flush,for,foreach,format,gets,glob,global,history,if,%
5641 incr,info,argsbody,cmdcount,commands,complete,default,exists,%
5642 globals,level,library,locals,patchlevel,procs,script,tclversion,%
5643 vars,interp,join,lappend,lindex,linsert,list,llength,lrange,%
5644 lreplace,lsearch,-exact,-regexp,-glob,lsort,-ascii,-integer,%
5645 -real,-dictionary,-increasing,-decreasing,-index,-command,load,%
5646 namespace,open,package,forget,ifneeded,provide,require,unknown,%
5647 vcompare,versions,vsatisfies,pid,proc,puts,-nonewline,pwd,read,%
5648 regexp,-indices,regsub,-all,-nocaserename,return,scan,seek,set,%
5649 socket,source,split,string,compare,first,index,last,length,match,%
5650 range,tolower,toupper,trim,trimleft,trimright,subst,switch,tell,%
5651 time,trace,variable,vdelete,vinfo,unknown,unset,uplevel,upvar,%
5652 vwait,while,acos,asin,atan,atan2,ceil,cos,cosh,exp,floor,fmod,%
5653 hypot,log,log10,pow,sin,sinh,sqrt,tan,tanh,abs,double,int,round%
5654 },%
5655 morestring=[d]",%
5656 morecomment=[f]\#,%
5657 morecomment=[l]{;\#},%
5658 morecomment=[l]{[\#},%
5659 morecomment=[l]{\{\#}%
5660 }[keywords,comments,strings]%
5661 % \end{macrocode}
5662 % And after receiving a bug report from \lsthelper{Vitaly A. Repin}
5663 % {vitaly@radio.hop.stu.neva.ru}{2002/04/08}{undefined control sequence
5664 % \lst@CommentB} I converted the version 0.21 contents of |MoreSelectCharTable|
5665 % to version 1.0.
5666 % \begin{macrocode}
5667 %</lang2>
5668 % \end{macrocode}
5669 % \endgroup
5670 %
5671 %
5672 % \subsection{Statistical languages}
5673 %
5674 % These languages have been added by \lstthanks{Winfried~Theis}
5675 % {theis@statistik.uni-dortmund.de}{2000/09/05}. \lstthanks{Robert~Denham}
5676 % {Robert.Denham@dnr.qld.gov.au}{2001/05/03} contributed the additional
5677 % string delimiter |'|.
5678 % \begingroup
5679 % \begin{macrocode}
5680 %<*lang3>
5681 % \end{macrocode}
5682 % \begin{macrocode}
5683 \lst@definelanguage{S}[]{R}{}
5684 \lst@definelanguage[PLUS]{S}[]{R}{}
5685 \lst@definelanguage{R}%
5686 {keywords={abbreviate,abline,abs,acos,acosh,action,add1,add,%
5687 aggregate,alias,Alias,alist,all,anova,any,aov,aperm,append,apply,%
5688 approx,approxfun,apropos,Arg,args,array,arrows,as,asin,asinh,%
5689 atan,atan2,atanh,attach,attr,attributes,autoload,autoloader,ave,%
5690 axis,backsolve,barplot,basename,besselI,besselJ,besselK,besselY,%
5691 beta,binomial,body,box,boxplot,break,browser,bug,builtins,bxp,by,%
5692 c,C,call,Call,case,cat,category,cbind,ceiling,character,char,%
5693 charmatch,check,chol,chol2inv,choose,chull,class,close,cm,codes,%
5694 coef,coefficients,co,col,colnames,colors,colours,commandArgs,%
5695 comment,complete,complex,conflicts,Conj,contents,contour,%
5696 contrasts,contr,control,helmert,contrib,convolve,cooks,coords,%
5697 distance,coplot,cor,cos,cosh,count,fields,cov,covratio,wt,CRAN,%
5698 create,crossprod,cummax,cummin,cumprod,cumsum,curve,cut,cycle,D,%
5699 data,dataentry,date,dbeta,dbinom,dcauchy,dchisq,de,debug,%
5700 debugger,Defunct,default,delay,delete,deltat,demo,de,density,%
5701 deparse,dependencies,Deprecated,deriv,description,detach,%
5702 dev2bitmap,dev,cur,deviance,off,prev,,dexp,df,dfbetas,dffits,%
5703 dgamma,dgeom,dget,dhyper,diag,diff,digamma,dim,dimnames,dir,%
5704 dirname,dlnorm,dlogis,dnbinom,dnchisq,dnorm,do,dotplot,double,%
5705 download,dpois,dput,drop,drop1,dsignrank,dt,dummy,dump,dunif,%
5706 duplicated,dweibull,dwilcox,dyn,edit,eff,effects,eigen,else,%
5707 emacs,end,environment,env,erase,eval,equal,evalq,example,exists,%
5708 exit,exp,expand,expression,External,extract,extractAIC,factor,%
5709 fail,family,fft,file,filled,find,fitted,fivenum,fix,floor,for,%
5710 For,formals,format,formatC,formula,Fortran,forwardsolve,frame,%
5711 frequency,ftable,ftable2table,function,gamma,Gamma,gammaCody,%
5712 gaussian,gc,gcinfo,gctorture,get,getenv,geterrmessage,getOption,%
5713 getwd,gl,glm,globalenv,gnome,GNOME,graphics,gray,grep,grey,grid,%
5714 gsub,hasTsp,hat,heat,help,hist,home,hsv,httpclient,I,identify,if,%
5715 ifelse,Im,image,\%in\%,index,influence,measures,inherits,install,%
5716 installed,integer,interaction,interactive,Internal,intersect,%
5717 inverse,invisible,IQR,is,jitter,kappa,kronecker,labels,lapply,%
5718 layout,lbeta,lchoose,lcm,legend,length,levels,lgamma,library,%
5719 licence,license,lines,list,lm,load,local,locator,log,log10,log1p,%
5720 log2,logical,loglin,lower,lowess,ls,lsfit,lsf,ls,machine,Machine,%
5721 mad,mahalanobis,make,link,margin,match,Math,matlines,mat,matplot,%
5722 matpoints,matrix,max,mean,median,memory,menu,merge,methods,min,%
5723 missing,Mod,mode,model,response,mosaicplot,mtext,mvfft,na,nan,%
5724 names,omit,nargs,nchar,ncol,NCOL,new,next,NextMethod,nextn,%
5725 nlevels,nlm,noquote,NotYetImplemented,NotYetUsed,nrow,NROW,null,%
5726 numeric,\%o\%,objects,offset,old,on,Ops,optim,optimise,optimize,%
5727 options,or,order,ordered,outer,package,packages,page,pairlist,%
5728 pairs,palette,panel,par,parent,parse,paste,path,pbeta,pbinom,%
5729 pcauchy,pchisq,pentagamma,persp,pexp,pf,pgamma,pgeom,phyper,pico,%
5730 pictex,piechart,Platform,plnorm,plogis,plot,pmatch,pmax,pmin,%
5731 pnbinom,pnchisq,pnorm,points,poisson,poly,polygon,polyroot,pos,%
5732 postscript,power,ppoints,ppois,predict,preplot,pretty,Primitive,%
5733 print,prmatrix,proc,prod,profile,proj,prompt,prop,provide,%
5734 psignrank,ps,pt,ptukey,punif,pweibull,pwilcox,q,qbeta,qbinom,%
5735 qcauchy,qchisq,qexp,qf,qgamma,qgeom,qhyper,qlnorm,qlogis,qnbinom,%
5736 qnchisq,qnorm,qpois,qqline,qqnorm,qqplot,qr,Q,qty,qy,qsignrank,%
5737 qt,qtukey,quantile,quasi,quit,qunif,quote,qweibull,qwilcox,%
5738 rainbow,range,rank,rbeta,rbind,rbinom,rcauchy,rchisq,Re,read,csv,%
5739 csv2,fwf,readline,socket,real,Recall,rect,reformulate,regexpr,%
5740 relevel,remove,rep,repeat,replace,replications,report,require,%
5741 resid,residuals,restart,return,rev,rexp,rf,rgamma,rgb,rgeom,R,%
5742 rhyper,rle,rlnorm,rlogis,rm,rnbinom,RNGkind,rnorm,round,row,%
5743 rownames,rowsum,rpois,rsignrank,rstandard,rstudent,rt,rug,runif,%
5744 rweibull,rwilcox,sample,sapply,save,scale,scan,scan,screen,sd,se,%
5745 search,searchpaths,segments,seq,sequence,setdiff,setequal,set,%
5746 setwd,show,sign,signif,sin,single,sinh,sink,solve,sort,source,%
5747 spline,splinefun,split,sqrt,stars,start,stat,stem,step,stop,%
5748 storage,strstrheight,stripplot,strsplit,structure,strwidth,sub,%
5749 subset,substitute,substr,substring,sum,summary,sunflowerplot,svd,%
5750 sweep,switch,symbol,symbols,symnum,sys,status,system,t,table,%
5751 tabulate,tan,tanh,tapply,tempfile,terms,terrain,tetragamma,text,%
5752 time,title,topo,trace,traceback,transform,tri,trigamma,trunc,try,%
5753 ts,tsp,typeof,unclass,undebug,undoc,union,unique,uniroot,unix,%
5754 unlink,unlist,unname,untrace,update,upper,url,UseMethod,var,%
5755 variable,vector,Version,vi,warning,warnings,weighted,weights,%
5756 which,while,window,write,\%x\%,x11,X11,xedit,xemacs,xinch,xor,%
5757 xpdrows,xy,xyinch,yinch,zapsmall,zip},%
5758 otherkeywords={!,!=,~,$,*,\&,\%/\%,\%*\%,\%\%,<-,<<-,_,/},%
5759 alsoother={._$},%
5760 sensitive,%
5761 morecomment=[l]\#,%
5762 morestring=[d]",%
5763 morestring=[d]'% 2001 Robert Denham
5764 }%
5765 % \end{macrocode}
5766 % \lsthelper{Benjamin Janson}{benjamin.janson@gmx.de}{2002/07/09}
5767 % {prockeywords undefined} got a \texttt{prockeywords undefined} error,
5768 % which was removed by \lsthelper{Heiko Oberdiek}{oberdiek@uni-freiburg.de}
5769 % {2002/07/10}{prockeywords -> procnamekeys}.
5770 % \begin{macrocode}
5771 \lst@definelanguage{SAS}%
5772 {procnamekeys={proc},%
5773 morekeywords={DATA,AND,OR,NOT,EQ,GT,LT,GE,LE,NE,INFILE,INPUT,DO,BY,%
5774 TO,SIN,COS,OUTPUT,END,PLOT,RUN,LIBNAME,VAR,TITLE,FIRSTOBS,OBS,%
5775 DELIMITER,DLM,EOF,ABS,DIM,HBOUND,LBOUND,MAX,MIN,MOD,SIGN,SQRT,%
5776 CEIL,FLOOR,FUZZ,INT,ROUND,TRUNC,DIGAMMA,ERF,ERFC,EXP,GAMMA,%
5777 LGAMMA,LOG,LOG2,LOG10,ARCOS,ARSIN,ATAN,COSH,SINH,TANH,TAN,%
5778 POISSON,PROBBETA,PROBBNML,PROBCHI,PROBF,PROBGAM,PROBHYPR,%
5779 PROBNEGB,PROBNORM,PROBT,BETAINV,CINV,FINV,GAMINV,PROBIT,TINV,CSS,%
5780 CV,KURTOSIS,MEAN,NMISS,RANGE,SKEWNESS,STD,STDERR,SUM,USS,NORMAL,%
5781 RANBIN,RANCAU,RANEXP,RANGAM,RANNOR,RANPOI,RANTBL,RANTRI,RANUNI,%
5782 UNIFORM,IF,THEN,ELSE,WHILE,UNTIL,DROP,KEEP,LABEL,DEFAULT,ARRAY,%
5783 MERGE,CARDS,CARDS4,PUT,SET,UPDATE,ABORT,DELETE,DISPLAY,LIST,%
5784 LOSTCARD,MISSING,STOP,WHERE,ARRAY,DROP,KEEP,WINDOW,LENGTH,RENAME,%
5785 RETAIN,MEANS,UNIVARIATE,SUMMARY,TABULATE,CORR,FREQ,FOOTNOTE,NOTE,%
5786 SHOW},%
5787 otherkeywords={!,!=,~,$,*,\&,_,/,<,>=,=<,>},%
5788 morestring=[d]'%
5789 }[keywords,comments,strings,procnames]%
5790 % \end{macrocode}
5791 % \begin{macrocode}
5792 %</lang3>
5793 % \end{macrocode}
5794 % \endgroup
5795 %
5796 %
5797 % \subsection{\TeX}
5798 %
5799 % I extracted the data from |plain.tex|, |latex.ltx|, and |size10.clo|.
5800 % \lsthelper{Dr.~Peter~Leibner}{leibner@sta.siemens.de}{1999/11/08}{missing
5801 % keywords in definition of \LaTeX} reported that some keywords are missing
5802 % and also added a couple.
5803 % \begingroup
5804 % \begin{macrocode}
5805 %<*lang3>
5806 % \end{macrocode}
5807 % \begin{macrocode}
5808 \lst@definelanguage[AlLaTeX]{TeX}[LaTeX]{TeX}%
5809 {moretexcs={AtBeginDocument,AtBeginDvi,AtEndDocument,AtEndOfClass,%
5810 AtEndOfPackage,ClassError,ClassInfo,ClassWarning,%
5811 ClassWarningNoLine,CurrentOption,DeclareErrorFont,%
5812 DeclareFixedFont,DeclareFontEncoding,DeclareFontEncodingDefaults,%
5813 DeclareFontFamily,DeclareFontShape,DeclareFontSubstitution,%
5814 DeclareMathAccent,DeclareMathAlphabet,DeclareMathAlphabet,%
5815 DeclareMathDelimiter,DeclareMathRadical,DeclareMathSizes,%
5816 DeclareMathSymbol,DeclareMathVersion,DeclareOldFontCommand,%
5817 DeclareOption,DeclarePreloadSizes,DeclareRobustCommand,%
5818 DeclareSizeFunction,DeclareSymbolFont,DeclareSymbolFontAlphabet,%
5819 DeclareTextAccent,DeclareTextAccentDefault,DeclareTextCommand,%
5820 DeclareTextCommandDefault,DeclareTextComposite,%
5821 DeclareTextCompositeCommand,DeclareTextFontCommand,%
5822 DeclareTextSymbol,DeclareTextSymbolDefault,ExecuteOptions,%
5823 GenericError,GenericInfo,GenericWarning,IfFileExists,%
5824 InputIfFileExists,LoadClass,LoadClassWithOptions,MessageBreak,%
5825 OptionNotUsed,PackageError,PackageInfo,PackageWarning,%
5826 PackageWarningNoLine,PassOptionsToClass,PassOptionsToPackage,%
5827 ProcessOptionsProvidesClass,ProvidesFile,ProvidesFile,%
5828 ProvidesPackage,ProvideTextCommand,RequirePackage,%
5829 RequirePackageWithOptions,SetMathAlphabet,SetSymbolFont,%
5830 TextSymbolUnavailable,UseTextAccent,UseTextSymbol},%
5831 morekeywords={array,center,displaymath,document,enumerate,eqnarray,%
5832 equation,flushleft,flushright,itemize,list,lrbox,math,minipage,%
5833 picture,sloppypar,tabbing,tabular,trivlist,verbatim}%
5834 }%
5835 % \end{macrocode}
5836 % \begin{macrocode}
5837 \lst@definelanguage[LaTeX]{TeX}[common]{TeX}%
5838 {moretexcs={a,AA,aa,addcontentsline,addpenalty,addtocontents,%
5839 addtocounter,addtolength,addtoversion,addvspace,alph,Alph,and,%
5840 arabic,array,arraycolsep,arrayrulewidth,arraystretch,author,%
5841 baselinestretch,begin,bezier,bfseries,bibcite,bibdata,bibitem,%
5842 bibliography,bibliographystyle,bibstyle,bigskip,boldmath,%
5843 botfigrule,bottomfraction,Box,caption,center,CheckCommand,circle,%
5844 citation,cite,cleardoublepage,clearpage,cline,columnsep,%
5845 columnseprule,columnwidth,contentsline,dashbox,date,dblfigrule,%
5846 dblfloatpagefraction,dblfloatsep,dbltextfloatsep,dbltopfraction,%
5847 defaultscriptratio,defaultscriptscriptratio,depth,Diamond,%
5848 displaymath,document,documentclass,documentstyle,doublerulesep,%
5849 em,emph,endarray,endcenter,enddisplaymath,enddocument,%
5850 endenumerate,endeqnarray,endequation,endflushleft,endflushright,%
5851 enditemize,endlist,endlrbox,endmath,endminipage,endpicture,%
5852 endsloppypar,endtabbing,endtabular,endtrivlist,endverbatim,%
5853 enlargethispage,ensuremath,enumerate,eqnarray,equation,%
5854 evensidemargin,extracolsep,fbox,fboxrule,fboxsep,filecontents,%
5855 fill,floatpagefraction,floatsep,flushbottom,flushleft,flushright,%
5856 fnsymbol,fontencoding,fontfamily,fontseries,fontshape,fontsize,%
5857 fontsubfuzz,footnotemark,footnotesep,footnotetext,footskip,frac,%
5858 frame,framebox,fussy,glossary,headheight,headsep,height,hline,%
5859 hspace,I,include,includeonly,index,inputlineno,intextsep,%
5860 itemindent,itemize,itemsep,iterate,itshape,Join,kill,label,%
5861 labelsep,labelwidth,LaTeX,LaTeXe,leadsto,lefteqn,leftmargin,%
5862 leftmargini,leftmarginii,leftmarginiii,leftmarginiv,leftmarginv,%
5863 leftmarginvi,leftmark,lhd,lim,linebreak,linespread,linethickness,%
5864 linewidth,list,listfiles,listfiles,listparindent,lrbox,%
5865 makeatletter,makeatother,makebox,makeglossary,makeindex,%
5866 makelabel,MakeLowercase,MakeUppercase,marginpar,marginparpush,%
5867 marginparsep,marginparwidth,markboth,markright,math,mathbf,%
5868 mathellipsis,mathgroup,mathit,mathrm,mathsf,mathsterling,mathtt,%
5869 mathunderscore,mathversion,mbox,mdseries,mho,minipage,%
5870 multicolumn,multiput,NeedsTeXFormat,newcommand,newcounter,%
5871 newenvironment,newfont,newhelp,newlabel,newlength,newline,%
5872 newmathalphabet,newpage,newsavebox,newtheorem,nobreakspace,%
5873 nobreakspace,nocite,nocorr,nocorrlist,nofiles,nolinebreak,%
5874 nonumber,nopagebreak,normalcolor,normalfont,normalmarginpar,%
5875 numberline,obeycr,oddsidemargin,oldstylenums,onecolumn,oval,%
5876 pagebreak,pagenumbering,pageref,pagestyle,paperheight,paperwidth,%
5877 paragraphmark,parbox,parsep,partopsep,picture,poptabs,pounds,%
5878 protect,pushtabs,put,qbezier,qbeziermax,r,raggedleft,raisebox,%
5879 ref,refstepcounter,renewcommand,renewenvironment,restorecr,%
5880 reversemarginpar,rhd,rightmargin,rightmark,rmfamily,roman,Roman,%
5881 rootbox,rule,samepage,sbox,scshape,secdef,section,sectionmark,%
5882 selectfont,setcounter,settodepth,settoheight,settowidth,sffamily,%
5883 shortstack,showoutput,showoverfull,sloppy,sloppypar,slshape,%
5884 smallskip,sqsubset,sqsupset,SS,stackrel,stepcounter,stop,stretch,%
5885 subparagraphmark,subsectionmark,subsubsectionmark,sum,%
5886 suppressfloats,symbol,tabbing,tabbingsep,tabcolsep,tabular,%
5887 tabularnewline,textasciicircum,textasciitilde,textbackslash,%
5888 textbar,textbf,textbraceleft,textbraceright,textbullet,%
5889 textcircled,textcompwordmark,textdagger,textdaggerdbl,textdollar,%
5890 textellipsis,textemdash,textendash,textexclamdown,textfloatsep,%
5891 textfraction,textgreater,textheight,textit,textless,textmd,%
5892 textnormal,textparagraph,textperiodcentered,textquestiondown,%
5893 textquotedblleft,textquotedblright,textquoteleft,textquoteright,%
5894 textregistered,textrm,textsc,textsection,textsf,textsl,%
5895 textsterling,textsuperscript,texttrademark,texttt,textunderscore,%
5896 textup,textvisiblespace,textwidth,thanks,thefootnote,thempfn,%
5897 thempfn,thempfootnote,thepage,thepage,thicklines,thinlines,%
5898 thispagestyle,title,today,topfigrule,topfraction,topmargin,%
5899 topsep,totalheight,tracingfonts,trivlist,ttfamily,twocolumn,%
5900 typein,typeout,unboldmath,unitlength,unlhd,unrhd,upshape,usebox,%
5901 usecounter,usefont,usepackage,value,vector,verb,verbatim,vline,%
5902 vspace,width,%
5903 normalsize,small,footnotesize,scriptsize,tiny,large,Large,LARGE,%
5904 huge,Huge}%
5905 }%
5906 % \end{macrocode}
5907 % \begin{macrocode}
5908 \lst@definelanguage[plain]{TeX}[common]{TeX}%
5909 {moretexcs={advancepageno,beginsection,bf,bffam,bye,cal,cleartabs,%
5910 columns,dosupereject,endinsert,eqalign,eqalignno,fiverm,fivebf,%
5911 fivei,fivesy,folio,footline,hang,headline,it,itemitem,itfam,%
5912 leqalignno,magnification,makefootline,makeheadline,midinsert,mit,%
5913 mscount,nopagenumbers,normalbottom,of,oldstyle,pagebody,%
5914 pagecontents,pageinsert,pageno,plainoutput,preloaded,proclaim,rm,%
5915 settabs,sevenbf,seveni,sevensy,sevenrm,sl,slfam,supereject,%
5916 tabalign,tabs,tabsdone,tabsyet,tenbf,tenex,teni,tenit,tenrm,%
5917 tensl,tensy,tentt,textindent,topglue,topins,topinsert,tt,ttfam,%
5918 ttraggedright,vfootnote}%
5919 }%
5920 % \end{macrocode}
5921 % The following language is only a helper.
5922 % \begin{macrocode}
5923 \lst@definelanguage[common]{TeX}[primitive]{TeX}
5924 {moretexcs={active,acute,ae,AE,aleph,allocationnumber,allowbreak,%
5925 alpha,amalg,angle,approx,arccos,arcsin,arctan,arg,arrowvert,%
5926 Arrowvert,ast,asymp,b,backslash,bar,beta,bgroup,big,Big,bigbreak,%
5927 bigcap,bigcirc,bigcup,bigg,Bigg,biggl,Biggl,biggm,Biggm,biggr,%
5928 Biggr,bigl,Bigl,bigm,Bigm,bigodot,bigoplus,bigotimes,bigr,Bigr,%
5929 bigskip,bigskipamount,bigsqcup,bigtriangledown,bigtriangleup,%
5930 biguplus,bigvee,bigwedge,bmod,bordermatrix,bot,bowtie,brace,%
5931 braceld,bracelu,bracerd,braceru,bracevert,brack,break,breve,%
5932 buildrel,bullet,c,cap,cases,cdot,cdotp,cdots,centering,%
5933 centerline,check,chi,choose,circ,clubsuit,colon,cong,coprod,%
5934 copyright,cos,cosh,cot,coth,csc,cup,d,dag,dagger,dashv,ddag,%
5935 ddagger,ddot,ddots,deg,delta,Delta,det,diamond,diamondsuit,dim,%
5936 displaylines,div,do,dospecials,dot,doteq,dotfill,dots,downarrow,%
5937 Downarrow,downbracefill,egroup,eject,ell,empty,emptyset,endgraf,%
5938 endline,enskip,enspace,epsilon,equiv,eta,exists,exp,filbreak,%
5939 flat,fmtname,fmtversion,footins,footnote,footnoterule,forall,%
5940 frenchspacing,frown,gamma,Gamma,gcd,ge,geq,gets,gg,goodbreak,%
5941 grave,H,hat,hbar,heartsuit,hglue,hideskip,hidewidth,hom,%
5942 hookleftarrow,hookrightarrow,hphantom,hrulefill,i,ialign,iff,Im,%
5943 imath,in,inf,infty,int,interdisplaylinepenalty,%
5944 interfootnotelinepenalty,intop,iota,item,j,jmath,joinrel,jot,%
5945 kappa,ker,l,L,lambda,Lambda,land,langle,lbrace,lbrack,lceil,%
5946 ldotp,ldots,le,leavevmode,leftarrow,Leftarrow,leftarrowfill,%
5947 leftharpoondown,leftharpoonup,leftline,leftrightarrow,%
5948 Leftrightarrow,leq,lfloor,lg,lgroup,lhook,lim,liminf,limsup,line,%
5949 ll,llap,lmoustache,ln,lnot,log,longleftarrow,Longleftarrow,%
5950 longleftrightarrow,Longleftrightarrow,longmapsto,longrightarrow,%
5951 Longrightarrow,loop,lor,lq,magstep,magstep,magstephalf,mapsto,%
5952 mapstochar,mathhexbox,mathpalette,mathstrut,matrix,max,maxdimen,%
5953 medbreak,medskip,medskipamount,mid,min,models,mp,mu,multispan,%
5954 nabla,narrower,natural,ne,nearrow,neg,negthinspace,neq,newbox,%
5955 newcount,newdimen,newfam,newif,newinsert,newlanguage,newmuskip,%
5956 newread,newskip,newtoks,newwrite,next,ni,nobreak,nointerlineskip,%
5957 nonfrenchspacing,normalbaselines,normalbaselineskip,%
5958 normallineskip,normallineskiplimit,not,notin,nu,null,nwarrow,o,O,%
5959 oalign,obeylines,obeyspaces,odot,oe,OE,offinterlineskip,oint,%
5960 ointop,omega,Omega,ominus,ooalign,openup,oplus,oslash,otimes,%
5961 overbrace,overleftarrow,overrightarrow,owns,P,parallel,partial,%
5962 perp,phantom,phi,Phi,pi,Pi,pm,pmatrix,pmod,Pr,prec,preceq,prime,%
5963 prod,propto,psi,Psi,qquad,quad,raggedbottom,raggedright,rangle,%
5964 rbrace,rbrack,rceil,Re,relbar,Relbar,removelastskip,repeat,%
5965 rfloor,rgroup,rho,rhook,rightarrow,Rightarrow,rightarrowfill,%
5966 rightharpoondown,rightharpoonup,rightleftharpoons,rightline,rlap,%
5967 rmoustache,root,rq,S,sb,searrow,sec,setminus,sharp,showhyphens,%
5968 sigma,Sigma,sim,simeq,sin,sinh,skew,slash,smallbreak,smallint,%
5969 smallskip,smallskipamount,smash,smile,sp,space,spadesuit,sqcap,%
5970 sqcup,sqrt,sqsubseteq,sqsupseteq,ss,star,strut,strutbox,subset,%
5971 subseteq,succ,succeq,sum,sup,supset,supseteq,surd,swarrow,t,tan,%
5972 tanh,tau,TeX,theta,Theta,thinspace,tilde,times,to,top,tracingall,%
5973 triangle,triangleleft,triangleright,u,underbar,underbrace,%
5974 uparrow,Uparrow,upbracefill,updownarrow,Updownarrow,uplus,%
5975 upsilon,Upsilon,v,varepsilon,varphi,varpi,varrho,varsigma,%
5976 vartheta,vdash,vdots,vec,vee,vert,Vert,vglue,vphantom,wedge,%
5977 widehat,widetilde,wlog,wp,wr,xi,Xi,zeta}%
5978 }%
5979 % \end{macrocode}
5980 % \begin{macrocode}
5981 \lst@definelanguage[primitive]{TeX}%
5982 {moretexcs={above,abovedisplayshortskip,abovedisplayskip,aftergroup,%
5983 abovewithdelims,accent,adjdemerits,advance,afterassignment,atop,%
5984 atopwithdelims,badness,baselineskip,batchmode,begingroup,%
5985 belowdisplayshortskip,belowdisplayskip,binoppenalty,botmark,box,%
5986 boxmaxdepth,brokenpenalty,catcode,char,chardef,cleaders,closein,%
5987 closeout,clubpenalty,copy,count,countdef,cr,crcr,csname,day,%
5988 deadcycles,def,defaulthyphenchar,defaultskewchar,delcode,%
5989 delimiter,delimiterfactor,delimitershortfall,dimen,dimendef,%
5990 discretionary,displayindent,displaylimits,displaystyle,%
5991 displaywidowpenalty,displaywidth,divide,doublehyphendemerits,dp,%
5992 edef,else,emergencystretch,end,endcsname,endgroup,endinput,%
5993 endlinechar,eqno,errhelp,errmessage,errorcontextlines,%
5994 errorstopmode,escapechar,everycr,everydisplay,everyhbox,everyjob,%
5995 everymath,everypar,everyvbox,exhyphenpenalty,expandafter,fam,fi,%
5996 finalhypendemerits,firstmark,floatingpenalty,font,fontdimen,%
5997 fontname,futurelet,gdef,global,globaldefs,halign,hangafter,%
5998 hangindent,hbadness,hbox,hfil,hfill,hfilneg,hfuzz,hoffset,%
5999 holdinginserts,hrule,hsize,hskip,hss,ht,hyphenation,hyphenchar,%
6000 hyphenpenalty,if,ifcase,ifcat,ifdim,ifeof,iffalse,ifhbox,ifhmode,%
6001 ifinner,ifmmode,ifnum,ifodd,iftrue,ifvbox,ifvmode,ifvoid,ifx,%
6002 ignorespaces,immediate,indent,input,insert,insertpenalties,%
6003 interlinepenalty,jobname,kern,language,lastbox,lastkern,%
6004 lastpenalty,lastskip,lccode,leaders,left,lefthyphenmin,leftskip,%
6005 leqno,let,limits,linepenalty,lineskip,lineskiplimits,long,%
6006 looseness,lower,lowercase,mag,mark,mathaccent,mathbin,mathchar,%
6007 mathchardef,mathchoice,mathclose,mathcode,mathinner,mathop,%
6008 mathopen,mathord,mathpunct,mathrel,mathsurround,maxdeadcycles,%
6009 maxdepth,meaning,medmuskip,message,mkern,month,moveleft,%
6010 moveright,mskip,multiply,muskip,muskipdef,newlinechar,noalign,%
6011 noboundary,noexpand,noindent,nolimits,nonscript,nonstopmode,%
6012 nulldelimiterspace,nullfont,number,omit,openin,openout,or,outer,%
6013 output,outputpenalty,over,overfullrule,overline,overwithdelims,%
6014 pagedepth,pagefilllstretch,pagefillstretch,pagefilstretch,%
6015 pagegoal,pageshrink,pagestretch,pagetotal,par,parfillskip,%
6016 parindent,parshape,parskip,patterns,pausing,penalty,%
6017 postdisplaypenalty,predisplaypenalty,predisplaysize,pretolerance,%
6018 prevdepth,prevgraf,radical,raise,read,relax,relpenalty,right,%
6019 righthyphenmin,rightskip,romannumeral,scriptfont,%
6020 scriptscriptfont,scriptscriptstyle,scriptspace,scriptstyle,%
6021 scrollmode,setbox,setlanguage,sfcode,shipout,show,showbox,%
6022 showboxbreadth,showboxdepth,showlists,showthe,skewchar,skip,%
6023 skipdef,spacefactor,spaceskip,span,special,splitbotmark,%
6024 splitfirstmark,splitmaxdepth,splittopskip,string,tabskip,%
6025 textfont,textstyle,the,thickmuskip,thinmuskip,time,toks,toksdef,%
6026 tolerance,topmark,topskip,tracingcommands,tracinglostchars,%
6027 tracingmacros,tracingonline,tracingoutput,tracingpages,%
6028 tracingparagraphs,tracingrestores,tracingstats,uccode,uchyph,%
6029 underline,unhbox,unhcopy,unkern,unpenalty,unskip,unvbox,unvcopy,%
6030 uppercase,vadjust,valign,vbadness,vbox,vcenter,vfil,vfill,%
6031 vfilneg,vfuzz,voffset,vrule,vsize,vskip,vsplit,vss,vtop,wd,%
6032 widowpenalty,write,xdef,xleaders,xspaceskip,year},%
6033 sensitive,%
6034 alsoother={0123456789$_},%
6035 morecomment=[l]\%%
6036 }[keywords,tex,comments]%
6037 % \end{macrocode}
6038 % \begin{macrocode}
6039 %</lang3>
6040 % \end{macrocode}
6041 % \endgroup
6042 %
6043 %
6044 % \subsection{VBScript}
6045 %
6046 % \lstthanks{Sonja~Weidmann}{Sonja.Weidmann@sap.com}{2000/01/10}{VBScript}
6047 % sent me this language definition.
6048 % \begingroup
6049 % \begin{macrocode}
6050 %<*lang2>
6051 % \end{macrocode}
6052 % \begin{macrocode}
6053 %%
6054 %% VBScript definition (c) 2000 Sonja Weidmann
6055 %%
6056 \lst@definelanguage{VBScript}%
6057 {morekeywords={Call,Case,Const,Dim,Do,Each,Else,End,Erase,Error,Exit,%
6058 Explicit,For,Function,If,Loop,Next,On,Option,Private,Public,%
6059 Randomize,ReDim,Rem,Select,Set,Sub,Then,Wend,While,Abs,Array,Asc,%
6060 Atn,CBool,CByte,CCur,CDate,CDbl,Chr,CInt,CLng,Cos,CreateObject,%
6061 CSng,CStr,Date,DateAdd,DateDiff,DatePart,DateSerial,DateValue,%
6062 Day,Exp,Filter,Fix,FormatCurrency,FormatDateTime,FormatNumber,%
6063 FormatPercent,GetObject,Hex,Hour,InputBox,InStr,InStrRev,Int,%
6064 IsArray,IsDate,IsEmpty,IsNull,IsNumeric,IsObject,Join,LBound,%
6065 LCase,Left,Len,LoadPicture,Log,LTrim,Mid,Minute,Month,MonthName,%
6066 MsgBox,Now,Oct,Replace,RGB,Right,Rnd,Round,RTrim,ScriptEngine,%
6067 ScriptEngineBuildVersion,ScriptEngineMajorVersion,%
6068 ScriptEngineMinorVersion,Second,Sgn,Sin,Space,Split,Sqr,StrComp,%
6069 StrReverse,String,Tan,Time,TimeSerial,TimeValue,Trim,TypeName,%
6070 UBound,UCase,VarType,Weekday,WeekdayName,Year, And,Eqv,Imp,Is,%
6071 Mod,Not,Or,Xor,Add,BuildPath,Clear,Close,Copy,CopyFile,%
6072 CopyFolder,CreateFolder,CreateTextFile,Delete,DeleteFile,%
6073 DeleteFolder,Dictionary,Drive,DriveExists,Drives,Err,Exists,File,%
6074 FileExists,FileSystemObject,Files,Folder,FolderExists,Folders,%
6075 GetAbsolutePathName,GetBaseName,GetDrive,GetDriveName,%
6076 GetExtensionName,GetFile,GetFileName,GetFolder,%
6077 GetParentFolderName,GetSpecialFolder,GetTempName,Items,Keys,Move,%
6078 MoveFile,MoveFolder,OpenAsTextStream,OpenTextFile,Raise,Read,%
6079 ReadAll,ReadLine,Remove,RemoveAll,Skip,SkipLine,TextStream,Write,%
6080 WriteBlankLines,WriteLine,Alias,Archive,CDROM,Compressed,%
6081 Directory,Fixed,ForAppending,ForReading,ForWriting,Hidden,Normal,%
6082 RAMDisk,ReadOnly,Remote,Removable,System,SystemFolder,%
6083 TemporaryFolder,TristateFalse,TristateTrue,TristateUseDefault,%
6084 Unknown,Volume,WindowsFolder,vbAbortRetryIgnore,%
6085 vbApplicationModal,vbArray,vbBinaryCompare,vbBlack,vbBlue,%
6086 vbBoolean,vbByte,vbCr,vbCrLf,vbCritical,vbCurrency,vbCyan,%
6087 vbDataObject,vbDate,vbDecimal,vbDefaultButton1,vbDefaultButton2,%
6088 vbDefaultButton3,vbDefaultButton4,vbDouble,vbEmpty,vbError,%
6089 vbExclamation,vbFirstFourDays,vbFirstFullWeek,vbFirstJan1,%
6090 vbFormFeed,vbFriday,vbGeneralDate,vbGreen,vbInformation,%
6091 vbInteger,vbLf,vbLong,vbLongDate,vbLongTime,vbMagenta,vbMonday,%
6092 vbNewLine,vbNull,vbNullChar,vbNullString,vbOKC,ancel,vbOKOnly,%
6093 vbObject,vbObjectError,vbQuestion,vbRed,vbRetryCancel,vbSaturday,%
6094 vbShortDate,vbShortTime,vbSingle,vbString,vbSunday,vbSystemModal,%
6095 vbTab,vbTextCompare,vbThursday,vbTuesday,vbUseSystem,%
6096 vbUseSystemDayOfWeek,vbVariant,vbVerticalTab,vbWednesday,vbWhite,%
6097 vbYellow,vbYesNo,vbYesNoCancel},%
6098 sensitive=f,%
6099 morecomment=[l]',%
6100 morestring=[d]"%
6101 }[keywords,comments,strings]%
6102 % \end{macrocode}
6103 % \begin{macrocode}
6104 %</lang2>
6105 % \end{macrocode}
6106 % \endgroup
6107 %
6108 %
6109 % \subsection{Verilog}
6110 %
6111 % Thanks to \lstthanks{Cameron H. G. Wright}{c.h.g.wright@ieee.org}{2003/04/30}
6112 % for providing the definition. After a bug report by \lsthelper{George
6113 % M.~Georgiou}{georgiou@csci.csusb.edu}{2004/02/05}{directives not detected} I
6114 % changed the declaration of directives to use normal keywords.
6115 % \begingroup
6116 % \begin{macrocode}
6117 %<*lang3>
6118 % \end{macrocode}
6119 % \begin{macrocode}
6120 %%
6121 %% Verilog definition (c) 2003 Cameron H. G. Wright <c.h.g.wright@ieee.org>
6122 %% Based on the IEEE 1364-2001 Verilog HDL standard
6123 %% Ref: S. Palnitkar, "Verilog HDL: A Guide to Digital Design and Synthesis,"
6124 %% Prentice Hall, 2003. ISBN: 0-13-044911-3
6125 %%
6126 \lst@definelanguage{Verilog}%
6127 {morekeywords={% reserved keywords
6128 always,and,assign,automatic,begin,buf,bufif0,bufif1,case,casex,%
6129 casez,cell,cmos,config,deassign,default,defparam,design,disable,%
6130 edge,else,end,endcase,endconfig,endfunction,endgenerate,%
6131 endmodule,endprimitive,endspecify,endtable,endtask,event,for,%
6132 force,forever,fork,function,generate,genvar,highz0,highz1,if,%
6133 ifnone,incdir,include,initial,inout,input,instance,integer,join,%
6134 large,liblist,library,localparam,macromodule,medium,module,nand,%
6135 negedge,nmos,nor,noshowcancelled,not,notif0,notif1,or,output,%
6136 parameter,pmos,posedge,primitive,pull0,pull1,pulldown,pullup,%
6137 pulsestyle_onevent,pulsestyle_ondetect,rcmos,real,realtime,reg,%
6138 release,repeat,rnmos,rpmos,rtran,rtranif0,rtranif1,scalared,%
6139 showcancelled,signed,small,specify,specparam,strong0,strong1,%
6140 supply0,supply1,table,task,time,tran,tranif0,tranif1,tri,tri0,%
6141 tri1,triand,trior,trireg,unsigned,use,vectored,wait,wand,weak0,%
6142 weak1,while,wire,wor,xnor,xor},%
6143 morekeywords=[2]{% system tasks and functions
6144 $bitstoreal,$countdrivers,$display,$fclose,$fdisplay,$fmonitor,%
6145 $fopen,$fstrobe,$fwrite,$finish,$getpattern,$history,$incsave,%
6146 $input,$itor,$key,$list,$log,$monitor,$monitoroff,$monitoron,%
6147 $nokey},%
6148 morekeywords=[3]{% compiler directives
6149 `accelerate,`autoexpand_vectornets,`celldefine,`default_nettype,%
6150 `define,`else,`elsif,`endcelldefine,`endif,`endprotect,%
6151 `endprotected,`expand_vectornets,`ifdef,`ifndef,`include,%
6152 `no_accelerate,`noexpand_vectornets,`noremove_gatenames,%
6153 `nounconnected_drive,`protect,`protected,`remove_gatenames,%
6154 `remove_netnames,`resetall,`timescale,`unconnected_drive},%
6155 alsoletter=\`,%
6156 sensitive,%
6157 morecomment=[s]{/*}{*/},%
6158 morecomment=[l]//,% nonstandard
6159 morestring=[b]"%
6160 }[keywords,comments,strings]%
6161 % \end{macrocode}
6162 % \begin{macrocode}
6163 %</lang3>
6164 % \end{macrocode}
6165 % \endgroup
6166 %
6167 %
6168 % \subsection{VHDL}
6169 %
6170 % This language is due to \lstthanks{Kai~Wollenweber}{kai@ece.wpi.edu}
6171 % {1997/11/04}{VHDL}. I've done conversion to version 0.19 only.
6172 % \lsthelper{Gaurav Aggarwal}{gaurav@ics.uci.edu}{1998/04/02}{sensitive=f}
6173 % reported that VHDL is case insensitive and \lsthelper{Arnaud~Tisserand}
6174 % {2003/02/17}{missing keywords: disconnect, elif, with} added three
6175 % keywords.
6176 % \begingroup
6177 % \begin{macrocode}
6178 %<*lang1>
6179 % \end{macrocode}
6180 % \begin{macrocode}
6181 %%
6182 %% VHDL definition (c) 1997 Kai Wollenweber
6183 %%
6184 \lst@definelanguage{VHDL}%
6185 {morekeywords={ALL,ARCHITECTURE,ABS,AND,ASSERT,ARRAY,AFTER,ALIAS,%
6186 ACCESS,ATTRIBUTE,BEGIN,BODY,BUS,BLOCK,BUFFER,CONSTANT,CASE,%
6187 COMPONENT,CONFIGURATION,DOWNTO,ELSE,ELSIF,END,ENTITY,EXIT,%
6188 FUNCTION,FOR,FILE,GENERIC,GENERATE,GUARDED,GROUP,IF,IN,INOUT,IS,%
6189 INERTIAL,IMPURE,LIBRARY,LOOP,LABEL,LITERAL,LINKAGE,MAP,MOD,NOT,%
6190 NOR,NAND,NULL,NEXT,NEW,OUT,OF,OR,OTHERS,ON,OPEN,PROCESS,PORT,%
6191 PACKAGE,PURE,PROCEDURE,POSTPONED,RANGE,REM,ROL,ROR,REPORT,RECORD,%
6192 RETURN,REGISTER,REJECT,SIGNAL,SUBTYPE,SLL,SRL,SLA,SRA,SEVERITY,%
6193 SELECT,THEN,TYPE,TRANSPORT,TO,USE,UNITS,UNTIL,VARIABLE,WHEN,WAIT,%
6194 WHILE,XOR,XNOR,%
6195 DISCONNECT,ELIF,WITH},% Arnaud Tisserand
6196 sensitive=f,% 1998 Gaurav Aggarwal
6197 morecomment=[l]--,%
6198 morestring=[d]{"}%
6199 }[keywords,comments,strings]%
6200 % \end{macrocode}
6201 % The VHDL-AMS dialect has been added by \lstthanks{Steffen~Klupsch}
6202 % {steffen@vlsi.informatik.tu-darmstadt.de}{2001/10/05}.
6203 % \begin{macrocode}
6204 %%
6205 %% VHDL-AMS definition (c) Steffen Klupsch
6206 %%
6207 \lst@definelanguage[AMS]{VHDL}[]{VHDL}%
6208 {morekeywords={ACROSS,ARRAY,BREAK,DISCONNECT,NATURE,NOISE,PORT,%
6209 PROCEDURAL,QUANTITY,SHARED,SPECTRUM,SUBNATURE,TERMINAL,THROUGH,%
6210 TOLERANCE,UNAFFACTED,UNITS}}
6211 % \end{macrocode}
6212 % \begin{macrocode}
6213 %</lang1>
6214 % \end{macrocode}
6215 % \endgroup
6216 %
6217 %
6218 % \subsection{VRML}
6219 %
6220 % This language is due to \lstthanks{Oliver~Baum}{oli.baum@web.de}{2001/07/10}
6221 % {VRML}.
6222 % \begingroup
6223 % \begin{macrocode}
6224 %<*lang2>
6225 % \end{macrocode}
6226 % \begin{macrocode}
6227 %%
6228 %% VRML definition (c) 2001 Oliver Baum
6229 %%
6230 \lst@definelanguage[97]{VRML}
6231 {morekeywords={DEF,EXTERNPROTO,FALSE,IS,NULL,PROTO,ROUTE,TO,TRUE,USE,%
6232 eventIn,eventOut,exposedField,field,Introduction,Anchor,%
6233 Appearance,AudioClip,Background,Billboard,Box,Collision,Color,%
6234 ColorInterpolator,Cone,Coordinate,CoordinateInterpolator,%
6235 Cylinder,CylinderSensor,DirectionalLight,ElevationGrid,Extrusion,%
6236 Fog,FontStyle,Group,ImageTexture,IndexedFaceSet,IndexedLineSet,%
6237 Inline,LOD,Material,MovieTexture,NavigationInfo,Normal,%
6238 NormalInterpolator,OrientationInterpolator,PixelTexture,%
6239 PlaneSensor,PointLight,PointSet,PositionInterpolator,%
6240 ProximitySensor,ScalarInterpolator,Script,Shape,Sound,Sphere,%
6241 SphereSensor,SpotLight,Switch,Text,TextureCoordinate,%
6242 TextureTransform,TimeSensor,TouchSensor,Transform,Viewpoint,%
6243 VisibilitySensor,WorldInfo},%
6244 morecomment=[l]\#,% bug: starts comment in the first column
6245 morestring=[b]"%
6246 }[keywords,comments,strings]
6247 % \end{macrocode}
6248 % \begin{macrocode}
6249 %</lang2>
6250 % \end{macrocode}
6251 % \endgroup
6252 %
6253 %
6254 % \subsection{XML et al}
6255 %
6256 % \lstthanks{Bernhard~Walle}{bernhard@bwalle.de}{2003/11/22} provided the
6257 % following two definitions.
6258 % \begingroup
6259 % \begin{macrocode}
6260 %<*lang1>
6261 % \end{macrocode}
6262 % \begin{macrocode}
6263 \lst@definelanguage{XSLT}[]{XML}%
6264 {morekeywords={%
6265 % main elements
6266 xsl:stylesheet,xsl:transform,%
6267 % childs of the main element
6268 xsl:apply-imports,xsl:attribute-set,xsl:decimal-format,xsl:import,%
6269 xsl:include,xsl:key,xsl:namespace-alias,xsl:output,xsl:param,%
6270 xsl:preserve-space,xsl:strip-space,xsl:template,xsl:variable,%
6271 % 21 directives
6272 xsl:apply-imports,xsl:apply-templates,xsl:attribute,%
6273 xsl:call-template,xsl:choose,xsl:comment,xsl:copy,xsl:copy-of,%
6274 xsl:element,xsl:fallback,xsl:for-each,xsl:if,xsl:message,%
6275 xsl:number,xsl:otherwise,xsl:processing-instruction,xsl:text,%
6276 xsl:value-of,xsl:variable,xsl:when,xsl:with-param},%
6277 alsodigit={-},%
6278 }%
6279 % \end{macrocode}
6280 % \begin{macrocode}
6281 \lst@definelanguage{Ant}[]{XML}%
6282 {morekeywords={%
6283 project,target,patternset,include,exclude,excludesfile,includesfile,filterset,%
6284 filter,filtersfile,libfileset,custom,classpath,fileset,none,depend,mapper,%
6285 filename,not,date,contains,selector,depth,or,and,present,majority,size,dirset,%
6286 filelist,pathelement,path,param,filterreader,extension,filterchain,linecontainsregexp,%
6287 regexp,classconstants,headfilter,tabstospaces,striplinebreaks,tailfilter,stripjavacomments,%
6288 expandproperties,linecontains,replacetokens,token,striplinecomments,comment,prefixlines,%
6289 classfileset,rootfileset,root,description,xmlcatalog,entity,dtd,substitution,%
6290 extensionSet,propertyfile,entry,vsscheckin,sql,transaction,cvspass,csc,%
6291 dirname,wlrun,wlclasspath,p4label,replaceregexp,get,jjtree,sleep,jarlib,%
6292 dependset,targetfileset,srcfileset,srcfilelist,targetfilelist,zip,zipgroupfileset,zipfileset,%
6293 patch,jspc,webapp,style,test,arg,jvmarg,sysproperty,testlet,env,tstamp,%
6294 format,unwar,vsshistory,icontract,cvschangelog,user,p4submit,ccmcheckin,%
6295 p4change,bzip2,vssadd,javadoc,bottom,source,doctitle,header,excludepackage,bootclasspath,%
6296 doclet,taglet,packageset,sourcepath,link,footer,package,group,title,tag,%
6297 translate,signjar,vajload,vajproject,jarlib,extensionset,WsdlToDotnet,buildnumber,%
6298 jpcovmerge,tomcat,ejbjar,weblogictoplink,jboss,borland,weblogic,iplanet,jonas,%
6299 support,websphere,wasclasspath,war,manifest,attribute,section,metainf,lib,%
6300 classes,webinf,rename,sequential,serverdeploy,generic,property,move,%
6301 copydir,cccheckin,wljspc,fixcrlf,sosget,pathconvert,map,record,p4sync,exec,%
6302 p4edit,maudit,rulespath,searchpath,antlr,netrexxc,jpcovreport,reference,filters,%
6303 coveragepath,execon,targetfile,srcfile,ccmcheckout,ant,xmlvalidate,xslt,%
6304 iplanet,ccmcheckintask,gzip,native2ascii,starteam,ear,archives,input,%
6305 rmic,extdirs,compilerarg,checksum,mail,bcc,message,cc,to,from,loadfile,vsscheckout,%
6306 stylebook,soscheckin,mimemail,stlabel,gunzip,concat,cab,touch,parallel,splash,%
6307 antcall,cccheckout,typedef,p4have,xmlproperty,copy,tomcat,antstructure,ccmcreatetask,%
6308 rpm,delete,replace,replacefilter,replacetoken,replacevalue,mmetrics,waitfor,isfalse,%
6309 equals,available,filepath,os,filesmatch,istrue,isset,socket,http,uptodate,srcfiles,%
6310 untar,loadproperties,echoproperties,vajexport,stcheckout,bunzip2,copyfile,vsscreate,%
6311 ejbc,unjar,tomcat,wsdltodotnet,mkdir,condition,cvs,commandline,marker,argument,%
6312 tempfile,junitreport,report,taskdef,echo,ccupdate,java,renameext,vsslabel,basename,%
6313 javadoc2,vsscp,tar,tarfileset,tomcat,vajimport,setproxy,wlstop,p4counter,ilasm,%
6314 soscheckout,apply,ccuncheckout,jarlib,location,url,cvstagdiff,jlink,mergefiles,%
6315 addfiles,javacc,pvcs,pvcsproject,jarlib,options,depends,chmod,jar,sound,fail,%
6316 success,mparse,blgenclient,genkey,dname,javah,class,ccmreconfigure,unzip,javac,%
6317 src,p4add,soslabel,jpcoverage,triggers,method,vssget,deltree,ddcreator},
6318 deletekeywords={default},%
6319 }
6320 % \end{macrocode}
6321 % \begin{macrocode}
6322 %</lang1>
6323 % \end{macrocode}
6324 % \endgroup
6325 %
6326 % This is my first attempt to support XML. It is from 2000/07/18.
6327 % \begingroup
6328 % \begin{macrocode}
6329 %<*lang1>
6330 % \end{macrocode}
6331 % \begin{macrocode}
6332 \lst@definelanguage{XML}%
6333 {keywords={,CDATA,DOCTYPE,ATTLIST,termdef,ELEMENT,EMPTY,ANY,ID,%
6334 IDREF,IDREFS,ENTITY,ENTITIES,NMTOKEN,NMTOKENS,NOTATION,%
6335 INCLUDE,IGNORE,SYSTEM,PUBLIC,NDATA,PUBLIC,%
6336 PCDATA,REQUIRED,IMPLIED,FIXED,%%% preceded by #
6337 xml,xml:space,xml:lang,version,standalone,default,preserve},%
6338 alsoother=$,%
6339 alsoletter=:,%
6340 tag=**[s]<>,%
6341 morestring=[d]",% ??? doubled
6342 morestring=[d]',% ??? doubled
6343 MoreSelectCharTable=%
6344 \lst@CArgX--\relax\lst@DefDelimB{}{}%
6345 {\ifnum\lst@mode=\lst@tagmode\else
6346 \expandafter\@gobblethree
6347 \fi}%
6348 \lst@BeginComment\lst@commentmode{{\lst@commentstyle}}%
6349 \lst@CArgX--\relax\lst@DefDelimE{}{}{}%
6350 \lst@EndComment\lst@commentmode
6351 \lst@CArgX[CDATA[\relax\lst@CDef{}%
6352 {\ifnum\lst@mode=\lst@tagmode
6353 \expandafter\lst@BeginCDATA
6354 \else \expandafter\lst@CArgEmpty
6355 \fi}%
6356 \@empty
6357 \lst@CArgX]]\relax\lst@CDef{}%
6358 {\ifnum\lst@mode=\lst@GPmode
6359 \expandafter\lst@EndComment
6360 \else \expandafter\lst@CArgEmpty
6361 \fi}%
6362 \@empty
6363 }[keywords,comments,strings,html]%
6364 % \end{macrocode}
6365 % And after receiving a bug report from \lsthelper{Michael~Niedermair}
6366 % {m.g.n@gmx.de}{2002/04/07}{undefined control sequence \lst@commentmode} I
6367 % converted the version 0.21 contents of |MoreSelectCharTable| to version 1.0.
6368 % \begin{macrocode}
6369 %</lang1>
6370 % \end{macrocode}
6371 % \endgroup
6372 %
6373 %
6374 %^^A \setcounter{IndexColumns}{2}
6375 %^^A \PrintIndex
6376 %
6377 %
6378 % \Finale
6379 %
6380 \endinput