PageRenderTime 227ms CodeModel.GetById 121ms app.highlight 17ms RepoModel.GetById 74ms app.codeStats 0ms

/pack/languages/tex.properties

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