scite-tex.properties /size: 2934 b    last modification: 2020-07-01 14:35
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#   use.monospaced=1
8#   font.monospace=font:LMTypewriter10,size:16.5
9#   font.errorfont=font:LMTypewriter10,size:11.5
10#
11# These and more presets are done in context.properties.
12
13# TeX: patterns
14
15file.patterns.tex=*.tex
16filter.tex=TeX|$(file.patterns.tex)|
17lexer.$(file.patterns.tex)=tex
18
19# TeX: commands (check process view)
20
21command.compile.$(file.patterns.tex)=
22command.build.$(file.patterns.tex)=tex $(FileNameExt)
23command.go.$(file.patterns.tex)=gv $(FileName).pdf
24
25command.0.$(file.patterns.tex)=
26command.1.$(file.patterns.tex)=
27command.2.$(file.patterns.tex)=
28command.3.$(file.patterns.tex)=
29command.4.$(file.patterns.tex)=
30command.5.$(file.patterns.tex)=
31command.6.$(file.patterns.tex)=
32command.7.$(file.patterns.tex)=
33command.8.$(file.patterns.tex)=
34command.9.$(file.patterns.tex)=
35
36# TeX: highlighting
37
38style.tex.0=fore:#3F3F3F
39style.tex.1=fore:#007F7F
40style.tex.2=fore:#7F0000
41style.tex.3=fore:#7F7F00
42style.tex.4=fore:#007F00
43style.tex.34=fore:#00007F
44style.tex.35=fore:#7F007F
45
46# TeX: comments
47
48comment.block.tex=%
49comment.block.at.line.start.tex=1
50
51# TeX: lexer.tex.interface.default
52#
53# 0 all \commands
54# 1 tex etex pdftex omega primitives
55# 2 context nl (when context.properties is loaded)
56# 3 context en (when context.properties is loaded)
57# 4 context de (when context.properties is loaded)
58# 5 context cz (when context.properties is loaded)
59# 6 context it (when context.properties is loaded)
60# 7 context ro (when context.properties is loaded)
61# 8 latex (no keywords yet; will move up)
62#
63# first lines of a tex file are interpreted as follows
64#
65# % interface=all|nl|en|de|cz|it|ro|latex
66
67lexer.tex.interface.default=0
68
69# TeX: lexer.tex.use.keywords
70#
71# 0 don't use keyword lists
72# 1 use keyword lists
73
74lexer.tex.use.keywords=1
75
76# TeX: lexer.tex.comment.process
77#
78# 0 don't interpret comment
79# 1 color comment like source code
80
81lexer.tex.comment.process=0
82
83# TeX: lexer.tex.auto.if
84#
85# 0 don't handle \if
86# 1 treat \if as command
87
88lexer.tex.auto.if=1
89
90# only the macros that make sense:
91
92import context/scite-context-data-tex.properties
93
94# collections
95
96keywordclass.tex.all=\
97    $(keywordclass.tex.tex) \
98    $(keywordclass.tex.etex) \
99    $(keywordclass.tex.pdftex) \
100    $(keywordclass.tex.aleph) \
101    $(keywordclass.tex.omega) \
102    $(keywordclass.tex.xetex) \
103    $(keywordclass.tex.plain)
104
105# keywords1 is not used since scintilla takes it from 'keywords' and
106# the other slots are used for context (interfaces) and slot 8 can
107# be used for latex but as scite ships with its own latex support
108# anyway so we don't bother about it here
109
110keywords.$(file.patterns.tex)=$(keywordclass.tex.all)
111
112# TeX: words
113
114word.characters.$(file.patterns.tex)=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@\\
115
116# TeX: end of file
117