1 # file : tex.properties
2 # version : 18 august 2003
3 # author : Hans Hagen / PRAGMA ADE / www.pragma-ade.com
5 # TeX users may want to use the Latin Modern Typewriter font:
8 # font.monospace=font:LMTypewriter10,size:16.5
9 # font.errorfont=font:LMTypewriter10,size:11.5
11 # These and more presets are done in context.properties.
17 file.patterns.context=
19 file.patterns.tex=*.tex;*.sty;
20 file.patterns.latex=*.tex;*.sty;*.aux;*.toc;*.idx;
21 file.patterns.context=*.tex;*.tui;*.tuo;*.sty;
23 # filter to be checked/tested:
25 filter.context=TeX|$(file.patterns.tex)|
26 filter.context=LaTeX|$(file.patterns.latex)|
27 filter.context=ConTeXt|$(file.patterns.context)|
29 lexer.$(file.patterns.tex)=tex
30 lexer.$(file.patterns.latex)=tex
31 lexer.$(file.patterns.context)=tex
33 # TeX: commands (check process view)
35 command.compile.$(file.patterns.tex)=
36 command.build.$(file.patterns.tex)=tex $(FileNameExt)
37 command.go.$(file.patterns.tex)=gv $(FileName).pdf
39 command.compile.$(file.patterns.latex)=
40 command.build.$(file.patterns.latex)=pdflatex $(FileNameExt)
41 command.go.$(file.patterns.latex)=gv $(FileName).pdf
43 command.compile.$(file.patterns.context)=
44 command.build.$(file.patterns.context)=texexec --pdf $(FileNameExt)
45 command.go.$(file.patterns.context)=gv $(FileName).pdf
47 command.0.$(file.patterns.tex)=
48 command.1.$(file.patterns.tex)=
49 command.2.$(file.patterns.tex)=
50 command.3.$(file.patterns.tex)=
51 command.4.$(file.patterns.tex)=
52 command.5.$(file.patterns.tex)=
53 command.6.$(file.patterns.tex)=
54 command.7.$(file.patterns.tex)=
55 command.8.$(file.patterns.tex)=
56 command.9.$(file.patterns.tex)=
58 command.0.$(file.patterns.latex)=
59 command.1.$(file.patterns.latex)=
60 command.2.$(file.patterns.latex)=
61 command.3.$(file.patterns.latex)=
62 command.4.$(file.patterns.latex)=
63 command.5.$(file.patterns.latex)=
64 command.6.$(file.patterns.latex)=
65 command.7.$(file.patterns.latex)=
66 command.8.$(file.patterns.latex)=
67 command.9.$(file.patterns.latex)=
69 command.0.$(file.patterns.context)=
70 command.1.$(file.patterns.context)=
71 command.2.$(file.patterns.context)=
72 command.3.$(file.patterns.context)=
73 command.4.$(file.patterns.context)=
74 command.5.$(file.patterns.context)=
75 command.6.$(file.patterns.context)=
76 command.7.$(file.patterns.context)=
77 command.8.$(file.patterns.context)=
78 command.9.$(file.patterns.context)=
83 style.tex.0=fore:#7F7F00
84 style.tex.0=fore:#3F3F3F
86 style.tex.1=fore:#007F7F
88 style.tex.2=fore:#7F0000
90 style.tex.3=fore:#7F7F00
92 style.tex.4=fore:#007F00
94 # style.tex.5=fore:#000000
96 style.tex.34=fore:#00007F
97 style.tex.35=fore:#7F007F
102 comment.block.at.line.start.tex=1
104 # TeX: lexer.tex.interface.default
107 # 1 tex etex pdftex omega primitives
108 # 2 context nl (when context.properties is loaded)
109 # 3 context en (when context.properties is loaded)
110 # 4 context de (when context.properties is loaded)
111 # 5 context cz (when context.properties is loaded)
112 # 6 context it (when context.properties is loaded)
113 # 7 context ro (when context.properties is loaded)
114 # 8 latex (no keywords yet; will move up)
116 # first lines of a tex file are interpreted as follows
118 # % interface=all|nl|en|de|cz|it|ro|latex
120 lexer.tex.interface.default=0
122 # TeX: lexer.tex.use.keywords
124 # 0 don't use keyword lists
125 # 1 use keyword lists
127 lexer.tex.use.keywords=1
129 # TeX: lexer.tex.comment.process
131 # 0 don't interpret comment
132 # 1 color comment like source code
134 lexer.tex.comment.process=0
136 # TeX: lexer.tex.auto.if
138 # 0 don't handle \if<unknown>
139 # 1 treat \if<unknown> as command
143 # TeX: keywords (incomplete, just for testing and as example)
145 keywordclass.primitives.tex=\
146 above abovedisplayshortskip abovedisplayskip \
147 abovewithdelims accent adjdemerits advance afterassignment \
148 aftergroup atop atopwithdelims \
149 badness baselineskip batchmode begingroup \
150 belowdisplayshortskip belowdisplayskip binoppenalty botmark \
151 box boxmaxdepth brokenpenalty \
152 catcode char chardef cleaders closein closeout clubpenalty \
153 copy count countdef cr crcr csname \
154 day deadcycles def defaulthyphenchar defaultskewchar \
155 delcode delimiter delimiterfactor delimeters \
156 delimitershortfall delimeters dimen dimendef discretionary \
157 displayindent displaylimits displaystyle \
158 displaywidowpenalty displaywidth divide \
159 doublehyphendemerits dp dump \
160 edef else emergencystretch end endcsname endgroup endinput \
161 endlinechar eqno errhelp errmessage errorcontextlines \
162 errorstopmode escapechar everycr everydisplay everyhbox \
163 everyjob everymath everypar everyvbox exhyphenpenalty \
165 fam fi finalhyphendemerits firstmark floatingpenalty font \
166 fontdimen fontname futurelet \
167 gdef global group globaldefs \
168 halign hangafter hangindent hbadness hbox hfil horizontal \
169 hfill horizontal hfilneg hfuzz hoffset holdinginserts hrule \
170 hsize hskip hss horizontal ht hyphenation hyphenchar \
171 hyphenpenalty hyphen \
172 if ifcase ifcat ifdim ifeof iffalse ifhbox ifhmode ifinner \
173 ifmmode ifnum ifodd iftrue ifvbox ifvmode ifvoid ifx \
174 ignorespaces immediate indent input inputlineno input \
175 insert insertpenalties interlinepenalty \
178 language lastbox lastkern lastpenalty lastskip lccode \
179 leaders left lefthyphenmin leftskip leqno let limits \
180 linepenalty line lineskip lineskiplimit long looseness \
182 mag mark mathaccent mathbin mathchar mathchardef mathchoice \
183 mathclose mathcode mathinner mathop mathopen mathord \
184 mathpunct mathrel mathsurround maxdeadcycles maxdepth \
185 meaning medmuskip message mkern month moveleft moveright \
186 mskip multiply muskip muskipdef \
187 newlinechar noalign noboundary noexpand noindent nolimits \
188 nonscript scriptscript nonstopmode nulldelimiterspace \
190 omit openin openout or outer output outputpenalty over \
191 overfullrule overline overwithdelims \
192 pagedepth pagefilllstretch pagefillstretch pagefilstretch \
193 pagegoal pageshrink pagestretch pagetotal par parfillskip \
194 parindent parshape parskip patterns pausing penalty \
195 postdisplaypenalty predisplaypenalty predisplaysize \
196 pretolerance prevdepth prevgraf \
197 radical raise read relax relpenalty right righthyphenmin \
198 rightskip romannumeral \
199 scriptfont scriptscriptfont scriptscriptstyle scriptspace \
200 scriptstyle scrollmode setbox setlanguage sfcode shipout \
201 show showbox showboxbreadth showboxdepth showlists showthe \
202 skewchar skip skipdef spacefactor spaceskip span special \
203 splitbotmark splitfirstmark splitmaxdepth splittopskip \
205 tabskip textfont textstyle the thickmuskip thinmuskip time \
206 toks toksdef tolerance topmark topskip tracingcommands \
207 tracinglostchars tracingmacros tracingonline tracingoutput \
208 tracingpages tracingparagraphs tracingrestores tracingstats \
209 uccode uchyph underline unhbox unhcopy unkern unpenalty \
210 unskip unvbox unvcopy uppercase \
211 vadjust valign vbadness vbox vcenter vfil vfill vfilneg \
212 vfuzz voffset vrule vsize vskip vsplit vss vtop \
213 wd widowpenalty write \
214 xdef xleaders xspaceskip \
217 keywordclass.primitives.etex=\
218 beginL beginR botmarks \
219 clubpenalties currentgrouplevel currentgrouptype \
220 currentifbranch currentiflevel currentiftype \
221 detokenize dimexpr displaywidowpenalties \
222 endL endR eTeXrevision eTeXversion everyeof \
223 firstmarks fontchardp fontcharht fontcharic fontcharwd \
224 glueexpr glueshrink glueshrinkorder gluestretch \
225 gluestretchorder gluetomu \
226 ifcsname ifdefined iffontchar interactionmode \
227 interactionmode interlinepenalties \
228 lastlinefit lastnodetype \
229 marks topmarks middle muexpr mutoglue \
231 pagediscards parshapedimen parshapeindent parshapelength \
232 predisplaydirection \
233 savinghyphcodes savingvdiscards scantokens showgroups \
234 showifs showtokens splitdiscards splitfirstmarks \
235 TeXXeTstate tracingassigns tracinggroups tracingifs \
236 tracingnesting tracingscantokens \
240 keywordclass.primitives.pdftex=\
241 pdfadjustspacing pdfannot pdfavoidoverfull \
242 pdfcatalog pdfcompresslevel \
243 pdfdecimaldigits pdfdest pdfdestmargin \
244 pdfendlink pdfendthread \
245 pdffontattr pdffontexpand pdffontname pdffontobjnum pdffontsize \
247 pdfimageresolution pdfincludechars pdfinfo \
248 pdflastannot pdflastdemerits pdflastobj \
249 pdflastvbreakpenalty pdflastxform pdflastximage \
250 pdflastximagepages pdflastxpos pdflastypos \
251 pdflinesnapx pdflinesnapy pdflinkmargin pdfliteral \
252 pdfmapfile pdfmaxpenalty pdfminpenalty pdfmovechars \
254 pdfobj pdfoptionpdfminorversion pdfoutline pdfoutput \
255 pdfpageattr pdfpageheight pdfpageresources pdfpagesattr \
256 pdfpagewidth pdfpkresolution pdfprotrudechars \
257 pdfrefobj pdfrefxform pdfrefximage \
258 pdfsavepos pdfsnaprefpoint pdfsnapx pdfsnapy pdfstartlink \
260 pdftexrevision pdftexversion pdfthread pdfthreadmargin \
265 keywordclass.primitives.omega=
266 odelimiter omathaccent omathchar oradical omathchardef omathcode odelcode \
267 leftghost rightghost \
268 charwd charht chardp charit \
269 localleftbox localrightbox \
270 localinterlinepenalty localbrokenpenalty \
271 pagedir bodydir pardir textdir mathdir \
272 boxdir nextfakemath \
273 pagewidth pageheight pagerightoffset pagebottomoffset \
274 nullocp nullocplist ocp externalocp ocplist pushocplist popocplist clearocplists ocptracelevel \
275 addbeforeocplist addafterocplist removebeforeocplist removeafterocplist \
277 InputTranslation OutputTranslation DefaultInputTranslation DefaultOutputTranslation \
278 noInputTranslation noOutputTranslation \
279 InputMode OutputMode DefaultInputMode DefaultOutputMode \
280 noInputMode noOutputMode noDefaultInputMode noDefaultOutputMode
282 # only the macros that make sense:
284 keywordclass.macros.plain.partial=\
286 bgroup egroup endgraf space empty null \
287 newcount newdimen newskip newmuskip newbox newtoks newhelp newread newwrite newfam newlanguage newinsert newif \
288 maxdimen magstephalf magstep \
289 frenchspacing nonfrenchspacing normalbaselines obeylines obeyspaces raggedright ttraggedright \
290 thinspace negthinspace enspace enskip quad qquad \
291 smallskip medskip bigskip removelastskip topglue vglue hglue \
292 break nobreak allowbreak filbreak goodbreak smallbreak medbreak bigbreak \
293 line leftline rightline centerline rlap llap underbar strutbox strut \
294 cases matrix pmatrix bordermatrix eqalign displaylines eqalignno leqalignno \
295 pageno folio tracingall showhyphens fmtname fmtversion \
296 hphantom vphantom phantom smash
298 keywordclass.macros.eplain.partial=\
300 newmarks grouptype interactionmode nodetype iftype \
301 tracingall loggingall tracingnone
305 keywordclass.primitives.pdftex.experimental=
307 keywordclass.primitives.all=\
308 $(keywordclass.primitives.tex) \
309 $(keywordclass.primitives.etex) \
310 $(keywordclass.primitives.pdftex) \
311 $(keywordclass.primitives.pdftex.experimental) \
312 $(keywordclass.primitives.omega)
316 keywordclass.macros.context.undocumented.en=
317 keywordclass.macros.context.undocumented.nl=
318 keywordclass.macros.context.undocumented.de=
319 keywordclass.macros.context.undocumented.cz=
320 keywordclass.macros.context.undocumented.it=
321 keywordclass.macros.context.undocumented.ro=
323 keywordclass.macros.context.extras=
325 keywordclass.macros.context.nl=
326 keywordclass.macros.context.en=
327 keywordclass.macros.context.de=
328 keywordclass.macros.context.cz=
329 keywordclass.macros.context.it=
330 keywordclass.macros.context.ro=
341 # hooks for latex (file should define keywordclass.macros.latex.all)
343 keywordclass.macros.latex.all=
349 keywordclass.tex.all=\
350 $(keywordclass.primitives.tex) \
351 $(keywordclass.macros.plain.partial)
353 keywordclass.etex.all=\
354 $(keywordclass.primitives.tex) \
355 $(keywordclass.primitives.etex) \
356 $(keywordclass.macros.plain.partial) \
357 $(keywordclass.macros.eplain.partial)
359 keywordclass.latex.all=\
360 $(keywordclass.primitives.tex) \
361 $(keywordclass.primitives.etex) \
362 $(keywordclass.macros.latex.all)
364 keywordclass.pdflatex.all=\
365 $(keywordclass.primitives.tex) \
366 $(keywordclass.primitives.etex) \
367 $(keywordclass.primitives.pdftex) \
368 $(keywordclass.macros.latex.all)
370 # we can't use $(keywordclass.primitives.all) here due to some kind of
371 # limitation in nesting
373 keywordclass.context.base=\
374 $(keywordclass.primitives.tex) \
375 $(keywordclass.primitives.etex) \
376 $(keywordclass.primitives.pdftex) \
377 $(keywordclass.primitives.pdftex.experimental) \
378 $(keywordclass.primitives.omega) \
379 $(keywordclass.macros.plain.partial) \
380 $(keywordclass.macros.eplain.partial)
382 keywordclass.context.all=\
383 $(keywordclass.context.base) \
384 $(keywordclass.macros.context.en) \
385 $(keywordclass.macros.context.extras) \
386 $(keywordclass.macros.context.undocumented.en)
388 keywordclass.context.all.nl=\
389 $(keywordclass.context.base) \
390 $(keywordclass.macros.context.nl) \
391 $(keywordclass.macros.context.extras) \
392 $(keywordclass.macros.context.undocumented.nl)
394 keywordclass.context.all.en=\
395 $(keywordclass.context.base) \
396 $(keywordclass.macros.context.en) \
397 $(keywordclass.macros.context.extras) \
398 $(keywordclass.macros.context.undocumented.en)
400 keywordclass.context.all.de=\
401 $(keywordclass.context.base) \
402 $(keywordclass.macros.context.de) \
403 $(keywordclass.macros.context.extras) \
404 $(keywordclass.macros.context.undocumented.de)
406 keywordclass.context.all.cz=\
407 $(keywordclass.context.base) \
408 $(keywordclass.macros.context.cz) \
409 $(keywordclass.macros.context.extras) \
410 $(keywordclass.macros.context.undocumented.cz)
412 keywordclass.context.all.it=\
413 $(keywordclass.context.base) \
414 $(keywordclass.macros.context.it) \
415 $(keywordclass.macros.context.extras) \
416 $(keywordclass.macros.context.undocumented.it)
418 keywordclass.context.all.ro=\
419 $(keywordclass.context.base) \
420 $(keywordclass.macros.context.ro) \
421 $(keywordclass.macros.context.extras) \
422 $(keywordclass.macros.context.undocumented.ro)
426 keywords.$(file.patterns.tex)=$(keywordclass.tex.all)
427 keywords.$(file.patterns.latex)=$(keywordclass.latex.all)
428 keywords.$(file.patterns.context)=$(keywordclass.context.all)
430 # keywords1 is not used since scintilla takes it from 'keywords'
432 keywords.$(file.patterns.context)=$(keywordclass.context.base)
434 keywords2.$(file.patterns.context)=$(keywordclass.context.all.nl)
435 keywords3.$(file.patterns.context)=$(keywordclass.context.all.en)
436 keywords4.$(file.patterns.context)=$(keywordclass.context.all.de)
437 keywords5.$(file.patterns.context)=$(keywordclass.context.all.cz)
438 keywords6.$(file.patterns.context)=$(keywordclass.context.all.it)
439 keywords7.$(file.patterns.context)=$(keywordclass.context.all.ro)
441 # keywords71.$(file.patterns.context)=$(keywordclass.tex.all)
442 # keywords72.$(file.patterns.context)=$(keywordclass.etex.all)
443 # keywords73.$(file.patterns.context)=$(keywordclass.pdftex.all)
444 # keywords74.$(file.patterns.context)=$(keywordclass.pdfetex.all)
446 # keywords91.$(file.patterns.context)=$(keywordclass.latex.all)
448 # for the moment LaTeX gets slot 8, but we will move it up as soon as
449 # more keyword lists can be defined
451 keywords8.$(file.patterns.context)=$(keywordclass.pdflatex.all)
455 word.characters.$(file.patterns.tex)=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\@
456 word.characters.$(file.patterns.latex)=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\@
457 word.characters.$(file.patterns.context)=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\@!?