annotate runtime/syntax/postscr.vim @ 0:76efa0be13f1

Initial revision
author atsuki
date Sat, 10 Nov 2007 15:07:22 +0900
parents
children e170173ecb68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1 " Vim syntax file
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2 " Language: PostScript - all Levels, selectable
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
3 " Maintainer: Mike Williams <mrw@eandem.co.uk>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
4 " Filenames: *.ps,*.eps
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
5 " Last Change: 27th June 2002
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6 " URL: http://www.eandem.co.uk/mrw/vim
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 "
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8 " Options Flags:
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9 " postscr_level - language level to use for highligting (1, 2, or 3)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 " postscr_display - include display PS operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
11 " postscr_ghostscript - include GS extensions
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
12 " postscr_fonts - highlight standard font names (a lot for PS 3)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
13 " postscr_encodings - highlight encoding names (there are a lot)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
14 " postscr_andornot_binary - highlight and, or, and not as binary operators (not logical)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
15 "
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
16 " For version 5.x: Clear all syntax items
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17 " For version 6.x: Quit when a syntax file was already loaded
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18 if version < 600
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19 syntax clear
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 elseif exists("b:current_syntax")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
21 finish
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
22 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
23
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
24 " PostScript is case sensitive
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
25 syn case match
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
26
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
27 " Keyword characters - all 7-bit ASCII bar PS delimiters and ws
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
28 if version >= 600
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
29 setlocal iskeyword=33-127,^(,^),^<,^>,^[,^],^{,^},^/,^%
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
30 else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
31 set iskeyword=33-127,^(,^),^<,^>,^[,^],^{,^},^/,^%
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
32 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
33
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
34 " Yer trusty old TODO highlghter!
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
35 syn keyword postscrTodo contained TODO
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
36
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
37 " Comment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
38 syn match postscrComment "%.*$" contains=postscrTodo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
39 " DSC comment start line (NB: defines DSC level, not PS level!)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
40 syn match postscrDSCComment "^%!PS-Adobe-\d\+\.\d\+\s*.*$"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
41 " DSC comment line (no check on possible comments - another language!)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
42 syn match postscrDSCComment "^%%\u\+.*$" contains=@postscrString,@postscrNumber
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
43 " DSC continuation line (no check that previous line is DSC comment)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
44 syn match postscrDSCComment "^%%+ *.*$" contains=@postscrString,@postscrNumber
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
45
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
46 " Names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
47 syn match postscrName "\k\+"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
48
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
49 " Identifiers
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
50 syn match postscrIdentifierError "/\{1,2}[[:space:]\[\]{}]"me=e-1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
51 syn match postscrIdentifier "/\{1,2}\k\+" contains=postscrConstant,postscrBoolean,postscrCustConstant
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
52
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
53 " Numbers
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
54 syn case ignore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
55 " In file hex data - usually complete lines
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
56 syn match postscrHex "^[[:xdigit:]][[:xdigit:][:space:]]*$"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
57 "syn match postscrHex "\<\x\{2,}\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
58 " Integers
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
59 syn match postscrInteger "\<[+-]\=\d\+\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
60 " Radix
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
61 syn match postscrRadix "\d\+#\x\+\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
62 " Reals - upper and lower case e is allowed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
63 syn match postscrFloat "[+-]\=\d\+\.\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
64 syn match postscrFloat "[+-]\=\d\+\.\d*\(e[+-]\=\d\+\)\=\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
65 syn match postscrFloat "[+-]\=\.\d\+\(e[+-]\=\d\+\)\=\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
66 syn match postscrFloat "[+-]\=\d\+e[+-]\=\d\+\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
67 syn cluster postscrNumber contains=postscrInteger,postscrRadix,postscrFloat
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
68 syn case match
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
69
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
70 " Escaped characters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
71 syn match postscrSpecialChar contained "\\[nrtbf\\()]"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
72 syn match postscrSpecialCharError contained "\\[^nrtbf\\()]"he=e-1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
73 " Escaped octal characters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
74 syn match postscrSpecialChar contained "\\\o\{1,3}"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
75
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
76 " Strings
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
77 " ASCII strings
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
78 syn region postscrASCIIString start=+(+ end=+)+ skip=+([^)]*)+ contains=postscrSpecialChar,postscrSpecialCharError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
79 " Hex strings
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
80 syn match postscrHexCharError contained "[^<>[:xdigit:][:space:]]"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
81 syn region postscrHexString start=+<\($\|[^<]\)+ end=+>+ contains=postscrHexCharError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
82 syn match postscrHexString "<>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
83 " ASCII85 strings
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
84 syn match postscrASCII85CharError contained "[^<>\~!-uz[:space:]]"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
85 syn region postscrASCII85String start=+<\~+ end=+\~>+ contains=postscrASCII85CharError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
86 syn cluster postscrString contains=postscrASCIIString,postscrHexString,postscrASCII85String
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
87
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
88
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
89 " Set default highlighting to level 2 - most common at the moment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
90 if !exists("postscr_level")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
91 let postscr_level = 2
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
92 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
93
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
94
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
95 " PS level 1 operators - common to all levels (well ...)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
96
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
97 " Stack operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
98 syn keyword postscrOperator pop exch dup copy index roll clear count mark cleartomark counttomark
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
99
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
100 " Math operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
101 syn keyword postscrMathOperator add div idiv mod mul sub abs neg ceiling floor round truncate sqrt atan cos
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
102 syn keyword postscrMathOperator sin exp ln log rand srand rrand
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
103
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
104 " Array operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
105 syn match postscrOperator "[\[\]{}]"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
106 syn keyword postscrOperator array length get put getinterval putinterval astore aload copy
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
107 syn keyword postscrRepeat forall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
108
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
109 " Dictionary operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
110 syn keyword postscrOperator dict maxlength begin end def load store known where currentdict
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
111 syn keyword postscrOperator countdictstack dictstack cleardictstack internaldict
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
112 syn keyword postscrConstant $error systemdict userdict statusdict errordict
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
113
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
114 " String operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
115 syn keyword postscrOperator string anchorsearch search token
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
116
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
117 " Logic operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
118 syn keyword postscrLogicalOperator eq ne ge gt le lt and not or
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
119 if exists("postscr_andornot_binaryop")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
120 syn keyword postscrBinaryOperator and or not
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
121 else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
122 syn keyword postscrLogicalOperator and not or
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
123 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
124 syn keyword postscrBinaryOperator xor bitshift
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
125 syn keyword postscrBoolean true false
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
126
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
127 " PS Type names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
128 syn keyword postscrConstant arraytype booleantype conditiontype dicttype filetype fonttype gstatetype
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
129 syn keyword postscrConstant integertype locktype marktype nametype nulltype operatortype
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
130 syn keyword postscrConstant packedarraytype realtype savetype stringtype
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
131
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
132 " Control operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
133 syn keyword postscrConditional if ifelse
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
134 syn keyword postscrRepeat for repeat loop
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
135 syn keyword postscrOperator exec exit stop stopped countexecstack execstack quit
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
136 syn keyword postscrProcedure start
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
137
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
138 " Object operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
139 syn keyword postscrOperator type cvlit cvx xcheck executeonly noaccess readonly rcheck wcheck cvi cvn cvr
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
140 syn keyword postscrOperator cvrs cvs
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
141
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
142 " File operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
143 syn keyword postscrOperator file closefile read write readhexstring writehexstring readstring writestring
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
144 syn keyword postscrOperator bytesavailable flush flushfile resetfile status run currentfile print
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
145 syn keyword postscrOperator stack pstack readline deletefile setfileposition fileposition renamefile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
146 syn keyword postscrRepeat filenameforall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
147 syn keyword postscrProcedure = ==
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
148
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
149 " VM operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
150 syn keyword postscrOperator save restore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
151
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
152 " Misc operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
153 syn keyword postscrOperator bind null usertime executive echo realtime
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
154 syn keyword postscrConstant product revision serialnumber version
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
155 syn keyword postscrProcedure prompt
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
156
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
157 " GState operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
158 syn keyword postscrOperator gsave grestore grestoreall initgraphics setlinewidth setlinecap currentgray
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
159 syn keyword postscrOperator currentlinejoin setmiterlimit currentmiterlimit setdash currentdash setgray
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
160 syn keyword postscrOperator sethsbcolor currenthsbcolor setrgbcolor currentrgbcolor currentlinewidth
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
161 syn keyword postscrOperator currentlinecap setlinejoin setcmykcolor currentcmykcolor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
162
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
163 " Device gstate operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
164 syn keyword postscrOperator setscreen currentscreen settransfer currenttransfer setflat currentflat
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
165 syn keyword postscrOperator currentblackgeneration setblackgeneration setundercolorremoval
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
166 syn keyword postscrOperator setcolorscreen currentcolorscreen setcolortransfer currentcolortransfer
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
167 syn keyword postscrOperator currentundercolorremoval
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
168
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
169 " Matrix operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
170 syn keyword postscrOperator matrix initmatrix identmatrix defaultmatrix currentmatrix setmatrix translate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
171 syn keyword postscrOperator concat concatmatrix transform dtransform itransform idtransform invertmatrix
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
172 syn keyword postscrOperator scale rotate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
173
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
174 " Path operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
175 syn keyword postscrOperator newpath currentpoint moveto rmoveto lineto rlineto arc arcn arcto curveto
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
176 syn keyword postscrOperator closepath flattenpath reversepath strokepath charpath clippath pathbbox
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
177 syn keyword postscrOperator initclip clip eoclip rcurveto
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
178 syn keyword postscrRepeat pathforall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
179
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
180 " Painting operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
181 syn keyword postscrOperator erasepage fill eofill stroke image imagemask colorimage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
182
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
183 " Device operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
184 syn keyword postscrOperator showpage copypage nulldevice
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
185
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
186 " Character operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
187 syn keyword postscrProcedure findfont
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
188 syn keyword postscrConstant FontDirectory ISOLatin1Encoding StandardEncoding
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
189 syn keyword postscrOperator definefont scalefont makefont setfont currentfont show ashow
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
190 syn keyword postscrOperator stringwidth kshow setcachedevice
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
191 syn keyword postscrOperator setcharwidth widthshow awidthshow findencoding cshow rootfont setcachedevice2
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
192
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
193 " Interpreter operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
194 syn keyword postscrOperator vmstatus cachestatus setcachelimit
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
195
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
196 " PS constants
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
197 syn keyword postscrConstant contained Gray Red Green Blue All None DeviceGray DeviceRGB
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
198
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
199 " PS Filters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
200 syn keyword postscrConstant contained ASCIIHexDecode ASCIIHexEncode ASCII85Decode ASCII85Encode LZWDecode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
201 syn keyword postscrConstant contained RunLengthDecode RunLengthEncode SubFileDecode NullEncode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
202 syn keyword postscrConstant contained GIFDecode PNGDecode LZWEncode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
203
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
204 " PS JPEG filter dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
205 syn keyword postscrConstant contained DCTEncode DCTDecode Colors HSamples VSamples QuantTables QFactor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
206 syn keyword postscrConstant contained HuffTables ColorTransform
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
207
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
208 " PS CCITT filter dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
209 syn keyword postscrConstant contained CCITTFaxEncode CCITTFaxDecode Uncompressed K EndOfLine
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
210 syn keyword postscrConstant contained Columns Rows EndOfBlock Blacks1 DamagedRowsBeforeError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
211 syn keyword postscrConstant contained EncodedByteAlign
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
212
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
213 " PS Form dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
214 syn keyword postscrConstant contained FormType XUID BBox Matrix PaintProc Implementation
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
215
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
216 " PS Errors
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
217 syn keyword postscrProcedure handleerror
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
218 syn keyword postscrConstant contained configurationerror dictfull dictstackunderflow dictstackoverflow
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
219 syn keyword postscrConstant contained execstackoverflow interrupt invalidaccess
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
220 syn keyword postscrConstant contained invalidcontext invalidexit invalidfileaccess invalidfont
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
221 syn keyword postscrConstant contained invalidid invalidrestore ioerror limitcheck nocurrentpoint
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
222 syn keyword postscrConstant contained rangecheck stackoverflow stackunderflow syntaxerror timeout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
223 syn keyword postscrConstant contained typecheck undefined undefinedfilename undefinedresource
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
224 syn keyword postscrConstant contained undefinedresult unmatchedmark unregistered VMerror
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
225
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
226 if exists("postscr_fonts")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
227 " Font names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
228 syn keyword postscrConstant contained Symbol Times-Roman Times-Italic Times-Bold Times-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
229 syn keyword postscrConstant contained Helvetica Helvetica-Oblique Helvetica-Bold Helvetica-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
230 syn keyword postscrConstant contained Courier Courier-Oblique Courier-Bold Courier-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
231 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
232
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
233
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
234 if exists("postscr_display")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
235 " Display PS only operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
236 syn keyword postscrOperator currentcontext fork join detach lock monitor condition wait notify yield
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
237 syn keyword postscrOperator viewclip eoviewclip rectviewclip initviewclip viewclippath deviceinfo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
238 syn keyword postscrOperator sethalftonephase currenthalftonephase wtranslation defineusername
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
239 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
240
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
241 " PS Character encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
242 if exists("postscr_encodings")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
243 " Common encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
244 syn keyword postscrConstant contained .notdef
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
245
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
246 " Standard and ISO encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
247 syn keyword postscrConstant contained space exclam quotedbl numbersign dollar percent ampersand quoteright
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
248 syn keyword postscrConstant contained parenleft parenright asterisk plus comma hyphen period slash zero
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
249 syn keyword postscrConstant contained one two three four five six seven eight nine colon semicolon less
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
250 syn keyword postscrConstant contained equal greater question at
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
251 syn keyword postscrConstant contained bracketleft backslash bracketright asciicircum underscore quoteleft
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
252 syn keyword postscrConstant contained braceleft bar braceright asciitilde
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
253 syn keyword postscrConstant contained exclamdown cent sterling fraction yen florin section currency
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
254 syn keyword postscrConstant contained quotesingle quotedblleft guillemotleft guilsinglleft guilsinglright
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
255 syn keyword postscrConstant contained fi fl endash dagger daggerdbl periodcentered paragraph bullet
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
256 syn keyword postscrConstant contained quotesinglbase quotedblbase quotedblright guillemotright ellipsis
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
257 syn keyword postscrConstant contained perthousand questiondown grave acute circumflex tilde macron breve
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
258 syn keyword postscrConstant contained dotaccent dieresis ring cedilla hungarumlaut ogonek caron emdash
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
259 syn keyword postscrConstant contained AE ordfeminine Lslash Oslash OE ordmasculine ae dotlessi lslash
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
260 syn keyword postscrConstant contained oslash oe germandbls
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
261 " The following are valid names, but are used as short procedure names in generated PS!
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
262 " a b c d e f g h i j k l m n o p q r s t u v w x y z
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
263 " A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
264
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
265 " Symbol encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
266 syn keyword postscrConstant contained universal existential suchthat asteriskmath minus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
267 syn keyword postscrConstant contained congruent Alpha Beta Chi Delta Epsilon Phi Gamma Eta Iota theta1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
268 syn keyword postscrConstant contained Kappa Lambda Mu Nu Omicron Pi Theta Rho Sigma Tau Upsilon sigma1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
269 syn keyword postscrConstant contained Omega Xi Psi Zeta therefore perpendicular
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
270 syn keyword postscrConstant contained radicalex alpha beta chi delta epsilon phi gamma eta iota phi1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
271 syn keyword postscrConstant contained kappa lambda mu nu omicron pi theta rho sigma tau upsilon omega1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
272 syn keyword postscrConstant contained Upsilon1 minute lessequal infinity club diamond heart spade
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
273 syn keyword postscrConstant contained arrowboth arrowleft arrowup arrowright arrowdown degree plusminus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
274 syn keyword postscrConstant contained second greaterequal multiply proportional partialdiff divide
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
275 syn keyword postscrConstant contained notequal equivalence approxequal arrowvertex arrowhorizex
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
276 syn keyword postscrConstant contained aleph Ifraktur Rfraktur weierstrass circlemultiply circleplus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
277 syn keyword postscrConstant contained emptyset intersection union propersuperset reflexsuperset notsubset
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
278 syn keyword postscrConstant contained propersubset reflexsubset element notelement angle gradient
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
279 syn keyword postscrConstant contained registerserif copyrightserif trademarkserif radical dotmath
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
280 syn keyword postscrConstant contained logicalnot logicaland logicalor arrowdblboth arrowdblleft arrowdblup
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
281 syn keyword postscrConstant contained arrowdblright arrowdbldown omega xi psi zeta similar carriagereturn
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
282 syn keyword postscrConstant contained lozenge angleleft registersans copyrightsans trademarksans summation
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
283 syn keyword postscrConstant contained parenlefttp parenleftex parenleftbt bracketlefttp bracketleftex
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
284 syn keyword postscrConstant contained bracketleftbt bracelefttp braceleftmid braceleftbt braceex euro
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
285 syn keyword postscrConstant contained angleright integral integraltp integralex integralbt parenrighttp
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
286 syn keyword postscrConstant contained parenrightex parenrightbt bracketrighttp bracketrightex
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
287 syn keyword postscrConstant contained bracketrightbt bracerighttp bracerightmid bracerightbt
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
288
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
289 " ISO Latin1 encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
290 syn keyword postscrConstant contained brokenbar copyright registered twosuperior threesuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
291 syn keyword postscrConstant contained onesuperior onequarter onehalf threequarters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
292 syn keyword postscrConstant contained Agrave Aacute Acircumflex Atilde Adieresis Aring Ccedilla Egrave
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
293 syn keyword postscrConstant contained Eacute Ecircumflex Edieresis Igrave Iacute Icircumflex Idieresis
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
294 syn keyword postscrConstant contained Eth Ntilde Ograve Oacute Ocircumflex Otilde Odieresis Ugrave Uacute
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
295 syn keyword postscrConstant contained Ucircumflex Udieresis Yacute Thorn
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
296 syn keyword postscrConstant contained agrave aacute acircumflex atilde adieresis aring ccedilla egrave
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
297 syn keyword postscrConstant contained eacute ecircumflex edieresis igrave iacute icircumflex idieresis
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
298 syn keyword postscrConstant contained eth ntilde ograve oacute ocircumflex otilde odieresis ugrave uacute
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
299 syn keyword postscrConstant contained ucircumflex udieresis yacute thorn ydieresis
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
300 syn keyword postscrConstant contained zcaron exclamsmall Hungarumlautsmall dollaroldstyle dollarsuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
301 syn keyword postscrConstant contained ampersandsmall Acutesmall parenleftsuperior parenrightsuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
302 syn keyword postscrConstant contained twodotenleader onedotenleader zerooldstyle oneoldstyle twooldstyle
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
303 syn keyword postscrConstant contained threeoldstyle fouroldstyle fiveoldstyle sixoldstyle sevenoldstyle
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
304 syn keyword postscrConstant contained eightoldstyle nineoldstyle commasuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
305 syn keyword postscrConstant contained threequartersemdash periodsuperior questionsmall asuperior bsuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
306 syn keyword postscrConstant contained centsuperior dsuperior esuperior isuperior lsuperior msuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
307 syn keyword postscrConstant contained nsuperior osuperior rsuperior ssuperior tsuperior ff ffi ffl
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
308 syn keyword postscrConstant contained parenleftinferior parenrightinferior Circumflexsmall hyphensuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
309 syn keyword postscrConstant contained Gravesmall Asmall Bsmall Csmall Dsmall Esmall Fsmall Gsmall Hsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
310 syn keyword postscrConstant contained Ismall Jsmall Ksmall Lsmall Msmall Nsmall Osmall Psmall Qsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
311 syn keyword postscrConstant contained Rsmall Ssmall Tsmall Usmall Vsmall Wsmall Xsmall Ysmall Zsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
312 syn keyword postscrConstant contained colonmonetary onefitted rupiah Tildesmall exclamdownsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
313 syn keyword postscrConstant contained centoldstyle Lslashsmall Scaronsmall Zcaronsmall Dieresissmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
314 syn keyword postscrConstant contained Brevesmall Caronsmall Dotaccentsmall Macronsmall figuredash
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
315 syn keyword postscrConstant contained hypheninferior Ogoneksmall Ringsmall Cedillasmall questiondownsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
316 syn keyword postscrConstant contained oneeighth threeeighths fiveeighths seveneighths onethird twothirds
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
317 syn keyword postscrConstant contained zerosuperior foursuperior fivesuperior sixsuperior sevensuperior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
318 syn keyword postscrConstant contained eightsuperior ninesuperior zeroinferior oneinferior twoinferior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
319 syn keyword postscrConstant contained threeinferior fourinferior fiveinferior sixinferior seveninferior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
320 syn keyword postscrConstant contained eightinferior nineinferior centinferior dollarinferior periodinferior
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
321 syn keyword postscrConstant contained commainferior Agravesmall Aacutesmall Acircumflexsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
322 syn keyword postscrConstant contained Atildesmall Adieresissmall Aringsmall AEsmall Ccedillasmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
323 syn keyword postscrConstant contained Egravesmall Eacutesmall Ecircumflexsmall Edieresissmall Igravesmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
324 syn keyword postscrConstant contained Iacutesmall Icircumflexsmall Idieresissmall Ethsmall Ntildesmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
325 syn keyword postscrConstant contained Ogravesmall Oacutesmall Ocircumflexsmall Otildesmall Odieresissmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
326 syn keyword postscrConstant contained OEsmall Oslashsmall Ugravesmall Uacutesmall Ucircumflexsmall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
327 syn keyword postscrConstant contained Udieresissmall Yacutesmall Thornsmall Ydieresissmall Black Bold Book
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
328 syn keyword postscrConstant contained Light Medium Regular Roman Semibold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
329
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
330 " Sundry standard and expert encoding names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
331 syn keyword postscrConstant contained trademark Scaron Ydieresis Zcaron scaron softhyphen overscore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
332 syn keyword postscrConstant contained graybox Sacute Tcaron Zacute sacute tcaron zacute Aogonek Scedilla
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
333 syn keyword postscrConstant contained Zdotaccent aogonek scedilla Lcaron lcaron zdotaccent Racute Abreve
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
334 syn keyword postscrConstant contained Lacute Cacute Ccaron Eogonek Ecaron Dcaron Dcroat Nacute Ncaron
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
335 syn keyword postscrConstant contained Ohungarumlaut Rcaron Uring Uhungarumlaut Tcommaaccent racute abreve
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
336 syn keyword postscrConstant contained lacute cacute ccaron eogonek ecaron dcaron dcroat nacute ncaron
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
337 syn keyword postscrConstant contained ohungarumlaut rcaron uring uhungarumlaut tcommaaccent Gbreve
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
338 syn keyword postscrConstant contained Idotaccent gbreve blank apple
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
339 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
340
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
341
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
342 " By default level 3 includes all level 2 operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
343 if postscr_level == 2 || postscr_level == 3
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
344 " Dictionary operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
345 syn match postscrOperator "\(<<\|>>\)"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
346 syn keyword postscrOperator undef
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
347 syn keyword postscrConstant globaldict shareddict
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
348
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
349 " Device operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
350 syn keyword postscrOperator setpagedevice currentpagedevice
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
351
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
352 " Path operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
353 syn keyword postscrOperator rectclip setbbox uappend ucache upath ustrokepath arct
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
354
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
355 " Painting operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
356 syn keyword postscrOperator rectfill rectstroke ufill ueofill ustroke
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
357
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
358 " Array operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
359 syn keyword postscrOperator currentpacking setpacking packedarray
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
360
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
361 " Misc operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
362 syn keyword postscrOperator languagelevel
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
363
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
364 " Insideness operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
365 syn keyword postscrOperator infill ineofill instroke inufill inueofill inustroke
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
366
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
367 " GState operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
368 syn keyword postscrOperator gstate setgstate currentgstate setcolor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
369 syn keyword postscrOperator setcolorspace currentcolorspace setstrokeadjust currentstrokeadjust
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
370 syn keyword postscrOperator currentcolor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
371
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
372 " Device gstate operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
373 syn keyword postscrOperator sethalftone currenthalftone setoverprint currentoverprint
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
374 syn keyword postscrOperator setcolorrendering currentcolorrendering
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
375
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
376 " Character operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
377 syn keyword postscrConstant GlobalFontDirectory SharedFontDirectory
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
378 syn keyword postscrOperator glyphshow selectfont
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
379 syn keyword postscrOperator addglyph undefinefont xshow xyshow yshow
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
380
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
381 " Pattern operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
382 syn keyword postscrOperator makepattern setpattern execform
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
383
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
384 " Resource operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
385 syn keyword postscrOperator defineresource undefineresource findresource resourcestatus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
386 syn keyword postscrRepeat resourceforall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
387
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
388 " File operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
389 syn keyword postscrOperator filter printobject writeobject setobjectformat currentobjectformat
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
390
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
391 " VM operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
392 syn keyword postscrOperator currentshared setshared defineuserobject execuserobject undefineuserobject
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
393 syn keyword postscrOperator gcheck scheck startjob currentglobal setglobal
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
394 syn keyword postscrConstant UserObjects
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
395
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
396 " Interpreter operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
397 syn keyword postscrOperator setucacheparams setvmthreshold ucachestatus setsystemparams
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
398 syn keyword postscrOperator setuserparams currentuserparams setcacheparams currentcacheparams
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
399 syn keyword postscrOperator currentdevparams setdevparams vmreclaim currentsystemparams
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
400
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
401 " PS2 constants
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
402 syn keyword postscrConstant contained DeviceCMYK Pattern Indexed Separation Cyan Magenta Yellow Black
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
403 syn keyword postscrConstant contained CIEBasedA CIEBasedABC CIEBasedDEF CIEBasedDEFG
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
404
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
405 " PS2 $error dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
406 syn keyword postscrConstant contained newerror errorname command errorinfo ostack estack dstack
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
407 syn keyword postscrConstant contained recordstacks binary
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
408
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
409 " PS2 Category dictionary
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
410 syn keyword postscrConstant contained DefineResource UndefineResource FindResource ResourceStatus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
411 syn keyword postscrConstant contained ResourceForAll Category InstanceType ResourceFileName
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
412
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
413 " PS2 Category names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
414 syn keyword postscrConstant contained Font Encoding Form Pattern ProcSet ColorSpace Halftone
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
415 syn keyword postscrConstant contained ColorRendering Filter ColorSpaceFamily Emulator IODevice
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
416 syn keyword postscrConstant contained ColorRenderingType FMapType FontType FormType HalftoneType
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
417 syn keyword postscrConstant contained ImageType PatternType Category Generic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
418
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
419 " PS2 pagedevice dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
420 syn keyword postscrConstant contained PageSize MediaColor MediaWeight MediaType InputAttributes ManualFeed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
421 syn keyword postscrConstant contained OutputType OutputAttributes NumCopies Collate Duplex Tumble
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
422 syn keyword postscrConstant contained Separations HWResolution Margins NegativePrint MirrorPrint
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
423 syn keyword postscrConstant contained CutMedia AdvanceMedia AdvanceDistance ImagingBBox
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
424 syn keyword postscrConstant contained Policies Install BeginPage EndPage PolicyNotFound PolicyReport
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
425 syn keyword postscrConstant contained ManualSize OutputFaceUp Jog
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
426 syn keyword postscrConstant contained Bind BindDetails Booklet BookletDetails CollateDetails
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
427 syn keyword postscrConstant contained DeviceRenderingInfo ExitJamRecovery Fold FoldDetails Laminate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
428 syn keyword postscrConstant contained ManualFeedTimeout Orientation OutputPage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
429 syn keyword postscrConstant contained PostRenderingEnhance PostRenderingEnhanceDetails
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
430 syn keyword postscrConstant contained PreRenderingEnhance PreRenderingEnhanceDetails
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
431 syn keyword postscrConstant contained Signature SlipSheet Staple StapleDetails Trim
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
432 syn keyword postscrConstant contained ProofSet REValue PrintQuality ValuesPerColorComponent AntiAlias
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
433
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
434 " PS2 PDL resource entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
435 syn keyword postscrConstant contained Selector LanguageFamily LanguageVersion
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
436
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
437 " PS2 halftone dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
438 syn keyword postscrConstant contained HalftoneType HalftoneName
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
439 syn keyword postscrConstant contained AccurateScreens ActualAngle Xsquare Ysquare AccurateFrequency
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
440 syn keyword postscrConstant contained Frequency SpotFunction Angle Width Height Thresholds
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
441 syn keyword postscrConstant contained RedFrequency RedSpotFunction RedAngle RedWidth RedHeight
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
442 syn keyword postscrConstant contained GreenFrequency GreenSpotFunction GreenAngle GreenWidth GreenHeight
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
443 syn keyword postscrConstant contained BlueFrequency BlueSpotFunction BlueAngle BlueWidth BlueHeight
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
444 syn keyword postscrConstant contained GrayFrequency GrayAngle GraySpotFunction GrayWidth GrayHeight
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
445 syn keyword postscrConstant contained GrayThresholds BlueThresholds GreenThresholds RedThresholds
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
446 syn keyword postscrConstant contained TransferFunction
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
447
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
448 " PS2 CSR dictionaries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
449 syn keyword postscrConstant contained RangeA DecodeA MatrixA RangeABC DecodeABC MatrixABC BlackPoint
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
450 syn keyword postscrConstant contained RangeLMN DecodeLMN MatrixLMN WhitePoint RangeDEF DecodeDEF RangeHIJ
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
451 syn keyword postscrConstant contained RangeDEFG DecodeDEFG RangeHIJK Table
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
452
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
453 " PS2 CRD dictionaries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
454 syn keyword postscrConstant contained ColorRenderingType EncodeLMB EncodeABC RangePQR MatrixPQR
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
455 syn keyword postscrConstant contained AbsoluteColorimetric RelativeColorimetric Saturation Perceptual
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
456 syn keyword postscrConstant contained TransformPQR RenderTable
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
457
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
458 " PS2 Pattern dictionary
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
459 syn keyword postscrConstant contained PatternType PaintType TilingType XStep YStep
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
460
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
461 " PS2 Image dictionary
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
462 syn keyword postscrConstant contained ImageType ImageMatrix MultipleDataSources DataSource
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
463 syn keyword postscrConstant contained BitsPerComponent Decode Interpolate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
464
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
465 " PS2 Font dictionaries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
466 syn keyword postscrConstant contained FontType FontMatrix FontName FontInfo LanguageLevel WMode Encoding
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
467 syn keyword postscrConstant contained UniqueID StrokeWidth Metrics Metrics2 CDevProc CharStrings Private
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
468 syn keyword postscrConstant contained FullName Notice version ItalicAngle isFixedPitch UnderlinePosition
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
469 syn keyword postscrConstant contained FMapType Encoding FDepVector PrefEnc EscChar ShiftOut ShiftIn
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
470 syn keyword postscrConstant contained WeightVector Blend $Blend CIDFontType sfnts CIDSystemInfo CodeMap
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
471 syn keyword postscrConstant contained CMap CIDFontName CIDSystemInfo UIDBase CIDDevProc CIDCount
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
472 syn keyword postscrConstant contained CIDMapOffset FDArray FDBytes GDBytes GlyphData GlyphDictionary
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
473 syn keyword postscrConstant contained SDBytes SubrMapOffset SubrCount BuildGlyph CIDMap FID MIDVector
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
474 syn keyword postscrConstant contained Ordering Registry Supplement CMapName CMapVersion UIDOffset
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
475 syn keyword postscrConstant contained SubsVector UnderlineThickness FamilyName FontBBox CurMID
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
476 syn keyword postscrConstant contained Weight
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
477
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
478 " PS2 User paramters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
479 syn keyword postscrConstant contained MaxFontItem MinFontCompress MaxUPathItem MaxFormItem MaxPatternItem
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
480 syn keyword postscrConstant contained MaxScreenItem MaxOpStack MaxDictStack MaxExecStack MaxLocalVM
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
481 syn keyword postscrConstant contained VMReclaim VMThreshold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
482
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
483 " PS2 System paramters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
484 syn keyword postscrConstant contained SystemParamsPassword StartJobPassword BuildTime ByteOrder RealFormat
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
485 syn keyword postscrConstant contained MaxFontCache CurFontCache MaxOutlineCache CurOutlineCache
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
486 syn keyword postscrConstant contained MaxUPathCache CurUPathCache MaxFormCache CurFormCache
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
487 syn keyword postscrConstant contained MaxPatternCache CurPatternCache MaxScreenStorage CurScreenStorage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
488 syn keyword postscrConstant contained MaxDisplayList CurDisplayList
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
489
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
490 " PS2 LZW Filters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
491 syn keyword postscrConstant contained Predictor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
492
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
493 " Paper Size operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
494 syn keyword postscrOperator letter lettersmall legal ledger 11x17 a4 a3 a4small b5 note
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
495
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
496 " Paper Tray operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
497 syn keyword postscrOperator lettertray legaltray ledgertray a3tray a4tray b5tray 11x17tray
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
498
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
499 " SCC compatibility operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
500 syn keyword postscrOperator sccbatch sccinteractive setsccbatch setsccinteractive
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
501
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
502 " Page duplexing operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
503 syn keyword postscrOperator duplexmode firstside newsheet setduplexmode settumble tumble
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
504
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
505 " Device compatability operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
506 syn keyword postscrOperator devdismount devformat devmount devstatus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
507 syn keyword postscrRepeat devforall
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
508
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
509 " Imagesetter compatability operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
510 syn keyword postscrOperator accuratescreens checkscreen pagemargin pageparams setaccuratescreens setpage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
511 syn keyword postscrOperator setpagemargin setpageparams
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
512
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
513 " Misc compatability operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
514 syn keyword postscrOperator appletalktype buildtime byteorder checkpassword defaulttimeouts diskonline
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
515 syn keyword postscrOperator diskstatus manualfeed manualfeedtimeout margins mirrorprint pagecount
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
516 syn keyword postscrOperator pagestackorder printername processcolors sethardwareiomode setjobtimeout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
517 syn keyword postscrOperator setpagestockorder setprintername setresolution doprinterrors dostartpage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
518 syn keyword postscrOperator hardwareiomode initializedisk jobname jobtimeout ramsize realformat resolution
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
519 syn keyword postscrOperator setdefaulttimeouts setdoprinterrors setdostartpage setdosysstart
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
520 syn keyword postscrOperator setuserdiskpercent softwareiomode userdiskpercent waittimeout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
521 syn keyword postscrOperator setsoftwareiomode dosysstart emulate setmargins setmirrorprint
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
522
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
523 endif " PS2 highlighting
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
524
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
525 if postscr_level == 3
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
526 " Shading operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
527 syn keyword postscrOperator setsmoothness currentsmoothness shfill
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
528
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
529 " Clip operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
530 syn keyword postscrOperator clipsave cliprestore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
531
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
532 " Pagedevive operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
533 syn keyword postscrOperator setpage setpageparams
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
534
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
535 " Device gstate operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
536 syn keyword postscrOperator findcolorrendering
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
537
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
538 " Font operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
539 syn keyword postscrOperator composefont
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
540
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
541 " PS LL3 Output device resource entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
542 syn keyword postscrConstant contained DeviceN TrappingDetailsType
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
543
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
544 " PS LL3 pagdevice dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
545 syn keyword postscrConstant contained DeferredMediaSelection ImageShift InsertSheet LeadingEdge MaxSeparations
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
546 syn keyword postscrConstant contained MediaClass MediaPosition OutputDevice PageDeviceName PageOffset ProcessColorModel
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
547 syn keyword postscrConstant contained RollFedMedia SeparationColorNames SeparationOrder Trapping TrappingDetails
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
548 syn keyword postscrConstant contained TraySwitch UseCIEColor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
549 syn keyword postscrConstant contained ColorantDetails ColorantName ColorantType NeutralDensity TrappingOrder
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
550 syn keyword postscrConstant contained ColorantSetName
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
551
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
552 " PS LL3 trapping dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
553 syn keyword postscrConstant contained BlackColorLimit BlackDensityLimit BlackWidth ColorantZoneDetails
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
554 syn keyword postscrConstant contained SlidingTrapLimit StepLimit TrapColorScaling TrapSetName TrapWidth
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
555 syn keyword postscrConstant contained ImageResolution ImageToObjectTrapping ImageTrapPlacement
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
556 syn keyword postscrConstant contained StepLimit TrapColorScaling Enabled ImageInternalTrapping
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
557
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
558 " PS LL3 filters and entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
559 syn keyword postscrConstant contained ReusableStreamDecode CloseSource CloseTarget UnitSize LowBitFirst
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
560 syn keyword postscrConstant contained FlateEncode FlateDecode DecodeParams Intent AsyncRead
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
561
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
562 " PS LL3 halftone dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
563 syn keyword postscrConstant contained Height2 Width2
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
564
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
565 " PS LL3 function dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
566 syn keyword postscrConstant contained FunctionType Domain Range Order BitsPerSample Encode Size C0 C1 N
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
567 syn keyword postscrConstant contained Functions Bounds
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
568
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
569 " PS LL3 image dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
570 syn keyword postscrConstant contained InterleaveType MaskDict DataDict MaskColor
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
571
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
572 " PS LL3 Pattern and shading dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
573 syn keyword postscrConstant contained Shading ShadingType Background ColorSpace Coords Extend Function
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
574 syn keyword postscrConstant contained VerticesPerRow BitsPerCoordinate BitsPerFlag
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
575
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
576 " PS LL3 image dictionary entries
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
577 syn keyword postscrConstant contained XOrigin YOrigin UnpaintedPath PixelCopy
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
578
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
579 " PS LL3 colorrendering procedures
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
580 syn keyword postscrProcedure GetHalftoneName GetPageDeviceName GetSubstituteCRD
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
581
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
582 " PS LL3 CIDInit procedures
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
583 syn keyword postscrProcedure beginbfchar beginbfrange begincidchar begincidrange begincmap begincodespacerange
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
584 syn keyword postscrProcedure beginnotdefchar beginnotdefrange beginrearrangedfont beginusematrix
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
585 syn keyword postscrProcedure endbfchar endbfrange endcidchar endcidrange endcmap endcodespacerange
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
586 syn keyword postscrProcedure endnotdefchar endnotdefrange endrearrangedfont endusematrix
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
587 syn keyword postscrProcedure StartData usefont usecmp
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
588
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
589 " PS LL3 Trapping procedures
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
590 syn keyword postscrProcedure settrapparams currenttrapparams settrapzone
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
591
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
592 " PS LL3 BitmapFontInit procedures
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
593 syn keyword postscrProcedure removeall removeglyphs
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
594
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
595 " PS LL3 Font names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
596 if exists("postscr_fonts")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
597 syn keyword postscrConstant contained AlbertusMT AlbertusMT-Italic AlbertusMT-Light Apple-Chancery Apple-ChanceryCE
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
598 syn keyword postscrConstant contained AntiqueOlive-Roman AntiqueOlive-Italic AntiqueOlive-Bold AntiqueOlive-Compact
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
599 syn keyword postscrConstant contained AntiqueOliveCE-Roman AntiqueOliveCE-Italic AntiqueOliveCE-Bold AntiqueOliveCE-Compact
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
600 syn keyword postscrConstant contained ArialMT Arial-ItalicMT Arial-LightMT Arial-BoldMT Arial-BoldItalicMT
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
601 syn keyword postscrConstant contained ArialCE ArialCE-Italic ArialCE-Light ArialCE-Bold ArialCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
602 syn keyword postscrConstant contained AvantGarde-Book AvantGarde-BookOblique AvantGarde-Demi AvantGarde-DemiOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
603 syn keyword postscrConstant contained AvantGardeCE-Book AvantGardeCE-BookOblique AvantGardeCE-Demi AvantGardeCE-DemiOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
604 syn keyword postscrConstant contained Bodoni Bodoni-Italic Bodoni-Bold Bodoni-BoldItalic Bodoni-Poster Bodoni-PosterCompressed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
605 syn keyword postscrConstant contained BodoniCE BodoniCE-Italic BodoniCE-Bold BodoniCE-BoldItalic BodoniCE-Poster BodoniCE-PosterCompressed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
606 syn keyword postscrConstant contained Bookman-Light Bookman-LightItalic Bookman-Demi Bookman-DemiItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
607 syn keyword postscrConstant contained BookmanCE-Light BookmanCE-LightItalic BookmanCE-Demi BookmanCE-DemiItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
608 syn keyword postscrConstant contained Carta Chicago ChicagoCE Clarendon Clarendon-Light Clarendon-Bold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
609 syn keyword postscrConstant contained ClarendonCE ClarendonCE-Light ClarendonCE-Bold CooperBlack CooperBlack-Italic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
610 syn keyword postscrConstant contained Copperplate-ThirtyTwoBC CopperPlate-ThirtyThreeBC Coronet-Regular CoronetCE-Regular
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
611 syn keyword postscrConstant contained CourierCE CourierCE-Oblique CourierCE-Bold CourierCE-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
612 syn keyword postscrConstant contained Eurostile Eurostile-Bold Eurostile-ExtendedTwo Eurostile-BoldExtendedTwo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
613 syn keyword postscrConstant contained Eurostile EurostileCE-Bold EurostileCE-ExtendedTwo EurostileCE-BoldExtendedTwo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
614 syn keyword postscrConstant contained Geneva GenevaCE GillSans GillSans-Italic GillSans-Bold GillSans-BoldItalic GillSans-BoldCondensed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
615 syn keyword postscrConstant contained GillSans-Light GillSans-LightItalic GillSans-ExtraBold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
616 syn keyword postscrConstant contained GillSansCE-Roman GillSansCE-Italic GillSansCE-Bold GillSansCE-BoldItalic GillSansCE-BoldCondensed
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
617 syn keyword postscrConstant contained GillSansCE-Light GillSansCE-LightItalic GillSansCE-ExtraBold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
618 syn keyword postscrConstant contained Goudy Goudy-Italic Goudy-Bold Goudy-BoldItalic Goudy-ExtraBould
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
619 syn keyword postscrConstant contained HelveticaCE HelveticaCE-Oblique HelveticaCE-Bold HelveticaCE-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
620 syn keyword postscrConstant contained Helvetica-Condensed Helvetica-Condensed-Oblique Helvetica-Condensed-Bold Helvetica-Condensed-BoldObl
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
621 syn keyword postscrConstant contained HelveticaCE-Condensed HelveticaCE-Condensed-Oblique HelveticaCE-Condensed-Bold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
622 syn keyword postscrConstant contained HelveticaCE-Condensed-BoldObl Helvetica-Narrow Helvetica-Narrow-Oblique Helvetica-Narrow-Bold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
623 syn keyword postscrConstant contained Helvetica-Narrow-BoldOblique HelveticaCE-Narrow HelveticaCE-Narrow-Oblique HelveticaCE-Narrow-Bold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
624 syn keyword postscrConstant contained HelveticaCE-Narrow-BoldOblique HoeflerText-Regular HoeflerText-Italic HoeflerText-Black
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
625 syn keyword postscrConstant contained HoeflerText-BlackItalic HoeflerText-Ornaments HoeflerTextCE-Regular HoeflerTextCE-Italic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
626 syn keyword postscrConstant contained HoeflerTextCE-Black HoeflerTextCE-BlackItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
627 syn keyword postscrConstant contained JoannaMT JoannaMT-Italic JoannaMT-Bold JoannaMT-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
628 syn keyword postscrConstant contained JoannaMTCE JoannaMTCE-Italic JoannaMTCE-Bold JoannaMTCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
629 syn keyword postscrConstant contained LetterGothic LetterGothic-Slanted LetterGothic-Bold LetterGothic-BoldSlanted
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
630 syn keyword postscrConstant contained LetterGothicCE LetterGothicCE-Slanted LetterGothicCE-Bold LetterGothicCE-BoldSlanted
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
631 syn keyword postscrConstant contained LubalinGraph-Book LubalinGraph-BookOblique LubalinGraph-Demi LubalinGraph-DemiOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
632 syn keyword postscrConstant contained LubalinGraphCE-Book LubalinGraphCE-BookOblique LubalinGraphCE-Demi LubalinGraphCE-DemiOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
633 syn keyword postscrConstant contained Marigold Monaco MonacoCE MonaLisa-Recut Oxford Symbol Tekton
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
634 syn keyword postscrConstant contained NewCennturySchlbk-Roman NewCenturySchlbk-Italic NewCenturySchlbk-Bold NewCenturySchlbk-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
635 syn keyword postscrConstant contained NewCenturySchlbkCE-Roman NewCenturySchlbkCE-Italic NewCenturySchlbkCE-Bold
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
636 syn keyword postscrConstant contained NewCenturySchlbkCE-BoldItalic NewYork NewYorkCE
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
637 syn keyword postscrConstant contained Optima Optima-Italic Optima-Bold Optima-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
638 syn keyword postscrConstant contained OptimaCE OptimaCE-Italic OptimaCE-Bold OptimaCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
639 syn keyword postscrConstant contained Palatino-Roman Palatino-Italic Palatino-Bold Palatino-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
640 syn keyword postscrConstant contained PalatinoCE-Roman PalatinoCE-Italic PalatinoCE-Bold PalatinoCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
641 syn keyword postscrConstant contained StempelGaramond-Roman StempelGaramond-Italic StempelGaramond-Bold StempelGaramond-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
642 syn keyword postscrConstant contained StempelGaramondCE-Roman StempelGaramondCE-Italic StempelGaramondCE-Bold StempelGaramondCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
643 syn keyword postscrConstant contained TimesCE-Roman TimesCE-Italic TimesCE-Bold TimesCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
644 syn keyword postscrConstant contained TimesNewRomanPSMT TimesNewRomanPS-ItalicMT TimesNewRomanPS-BoldMT TimesNewRomanPS-BoldItalicMT
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
645 syn keyword postscrConstant contained TimesNewRomanCE TimesNewRomanCE-Italic TimesNewRomanCE-Bold TimesNewRomanCE-BoldItalic
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
646 syn keyword postscrConstant contained Univers Univers-Oblique Univers-Bold Univers-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
647 syn keyword postscrConstant contained UniversCE-Medium UniversCE-Oblique UniversCE-Bold UniversCE-BoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
648 syn keyword postscrConstant contained Univers-Light Univers-LightOblique UniversCE-Light UniversCE-LightOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
649 syn keyword postscrConstant contained Univers-Condensed Univers-CondensedOblique Univers-CondensedBold Univers-CondensedBoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
650 syn keyword postscrConstant contained UniversCE-Condensed UniversCE-CondensedOblique UniversCE-CondensedBold UniversCE-CondensedBoldOblique
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
651 syn keyword postscrConstant contained Univers-Extended Univers-ExtendedObl Univers-BoldExt Univers-BoldExtObl
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
652 syn keyword postscrConstant contained UniversCE-Extended UniversCE-ExtendedObl UniversCE-BoldExt UniversCE-BoldExtObl
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
653 syn keyword postscrConstant contained Wingdings-Regular ZapfChancery-MediumItalic ZapfChanceryCE-MediumItalic ZapfDingBats
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
654 endif " Font names
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
655
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
656 endif " PS LL3 highlighting
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
657
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
658
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
659 if exists("postscr_ghostscript")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
660 " GS gstate operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
661 syn keyword postscrOperator .setaccuratecurves .currentaccuratecurves .setclipoutside
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
662 syn keyword postscrOperator .setdashadapt .currentdashadapt .setdefaultmatrix .setdotlength
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
663 syn keyword postscrOperator .currentdotlength .setfilladjust2 .currentfilladjust2
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
664 syn keyword postscrOperator .currentclipoutside .setcurvejoin .currentcurvejoin
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
665 syn keyword postscrOperator .setblendmode .currentblendmode .setopacityalpha .currentopacityalpha .setshapealpha .currentshapealpha
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
666 syn keyword postscrOperator .setlimitclamp .currentlimitclamp .setoverprintmode .currentoverprintmode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
667
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
668 " GS path operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
669 syn keyword postscrOperator .dashpath .rectappend
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
670
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
671 " GS painting operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
672 syn keyword postscrOperator .setrasterop .currentrasterop .setsourcetransparent
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
673 syn keyword postscrOperator .settexturetransparent .currenttexturetransparent
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
674 syn keyword postscrOperator .currentsourcetransparent
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
675
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
676 " GS character operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
677 syn keyword postscrOperator .charboxpath .type1execchar %Type1BuildChar %Type1BuildGlyph
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
678
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
679 " GS mathematical operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
680 syn keyword postscrMathOperator arccos arcsin
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
681
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
682 " GS dictionary operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
683 syn keyword postscrOperator .dicttomark .forceput .forceundef .knownget .setmaxlength
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
684
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
685 " GS byte and string operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
686 syn keyword postscrOperator .type1encrypt .type1decrypt
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
687 syn keyword postscrOperator .bytestring .namestring .stringmatch
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
688
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
689 " GS relational operators (seem like math ones to me!)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
690 syn keyword postscrMathOperator max min
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
691
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
692 " GS file operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
693 syn keyword postscrOperator findlibfile unread writeppmfile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
694 syn keyword postscrOperator .filename .fileposition .peekstring .unread
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
695
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
696 " GS vm operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
697 syn keyword postscrOperator .forgetsave
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
698
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
699 " GS device operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
700 syn keyword postscrOperator copydevice .getdevice makeimagedevice makewordimagedevice copyscanlines
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
701 syn keyword postscrOperator setdevice currentdevice getdeviceprops putdeviceprops flushpage
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
702 syn keyword postscrOperator finddevice findprotodevice .getbitsrect
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
703
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
704 " GS misc operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
705 syn keyword postscrOperator getenv .makeoperator .setdebug .oserrno .oserror .execn
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
706
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
707 " GS rendering stack operators
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
708 syn keyword postscrOperator .begintransparencygroup .discardtransparencygroup .endtransparencygroup
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
709 syn keyword postscrOperator .begintransparencymask .discardtransparencymask .endtransparencymask .inittransparencymask
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
710 syn keyword postscrOperator .settextknockout .currenttextknockout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
711
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
712 " GS filters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
713 syn keyword postscrConstant contained BCPEncode BCPDecode eexecEncode eexecDecode PCXDecode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
714 syn keyword postscrConstant contained PixelDifferenceEncode PixelDifferenceDecode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
715 syn keyword postscrConstant contained PNGPredictorDecode TBCPEncode TBCPDecode zlibEncode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
716 syn keyword postscrConstant contained zlibDecode PNGPredictorEncode PFBDecode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
717 syn keyword postscrConstant contained MD5Encode
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
718
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
719 " GS filter keys
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
720 syn keyword postscrConstant contained InitialCodeLength FirstBitLowOrder BlockData DecodedByteAlign
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
721
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
722 " GS device parameters
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
723 syn keyword postscrConstant contained BitsPerPixel .HWMargins HWSize Name GrayValues
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
724 syn keyword postscrConstant contained ColorValues TextAlphaBits GraphicsAlphaBits BufferSpace
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
725 syn keyword postscrConstant contained OpenOutputFile PageCount BandHeight BandWidth BandBufferSpace
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
726 syn keyword postscrConstant contained ViewerPreProcess GreenValues BlueValues OutputFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
727 syn keyword postscrConstant contained MaxBitmap RedValues
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
728
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
729 endif " GhostScript highlighting
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
730
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
731 " Define the default highlighting.
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
732 " For version 5.7 and earlier: only when not done already
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
733 " For version 5.8 and later: only when an item doesn't have highlighting yet
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
734 if version >= 508 || !exists("did_postscr_syntax_inits")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
735 if version < 508
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
736 let did_postscr_syntax_inits = 1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
737 command -nargs=+ HiLink hi link <args>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
738 else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
739 command -nargs=+ HiLink hi def link <args>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
740 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
741
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
742 HiLink postscrComment Comment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
743
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
744 HiLink postscrConstant Constant
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
745 HiLink postscrString String
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
746 HiLink postscrASCIIString postscrString
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
747 HiLink postscrHexString postscrString
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
748 HiLink postscrASCII85String postscrString
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
749 HiLink postscrNumber Number
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
750 HiLink postscrInteger postscrNumber
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
751 HiLink postscrHex postscrNumber
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
752 HiLink postscrRadix postscrNumber
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
753 HiLink postscrFloat Float
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
754 HiLink postscrBoolean Boolean
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
755
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
756 HiLink postscrIdentifier Identifier
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
757 HiLink postscrProcedure Function
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
758
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
759 HiLink postscrName Statement
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
760 HiLink postscrConditional Conditional
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
761 HiLink postscrRepeat Repeat
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
762 HiLink postscrOperator Operator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
763 HiLink postscrMathOperator postscrOperator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
764 HiLink postscrLogicalOperator postscrOperator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
765 HiLink postscrBinaryOperator postscrOperator
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
766
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
767 HiLink postscrDSCComment SpecialComment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
768 HiLink postscrSpecialChar SpecialChar
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
769
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
770 HiLink postscrTodo Todo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
771
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
772 HiLink postscrError Error
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
773 HiLink postscrSpecialCharError postscrError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
774 HiLink postscrASCII85CharError postscrError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
775 HiLink postscrHexCharError postscrError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
776 HiLink postscrIdentifierError postscrError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
777
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
778 delcommand HiLink
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
779 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
780
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
781 let b:current_syntax = "postscr"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
782
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
783 " vim: ts=8