scite-context.properties /size: 22 Kb    last modification: 2021-10-28 13:49
1# file    : context.properties
2# version : 18 august 2003
3# author  : Hans Hagen / PRAGMA ADE / www.pragma-ade.com
4
5# there but not yet working:
6
7# comment.box.start.tex=\n\\starthiding\n
8# comment.box.middle.tex=
9# comment.box.end.tex=\n\\stophiding\n
10
11# comment.box.start.xml=
14
15# comment.block.start.xml=
17
18# calltip.*.end.definition=%
19
20# This is the new default for windows 2000+ per 1.56:
21#
22# if PLAT_WIN
23# 	find.command=findstr /n /s $(find.what) $(find.files)
24#
25# uncomment this (or move to user properties) if needed:
26#
27# if PLAT_WIN
28#   find.command=fgrep -G -n $(find.what) $(find.files)
29
30# 1: better anti-aliasing on windows, also slightly diffent lineheights
31
32#~ technology=1
33
34# not much difference
35#
36# buffered.draw=0
37# two.phase.draw=0
38#
39# no auto save:
40#
41# save.on.timer=0
42
43# Just UTF-8
44
45code.page=65001
46output.code.page=65001
47
48position.maximize=1
49virtual.space=1
50
51textwrapper.margin=4
52textwrapper.length=68
53
54output.wrap=0
55
56find.use.strip=1
57replace.use.strip=1
58
59open.dialog.in.file.directory=1
60
61# xml.auto.close.tags=1
62
63# ConTeXt: suffixes (really needed)
64
65file.patterns.tex=
66file.patterns.latex=
67file.patterns.context=*.tex;*.mkii;*.mkiv;*.mkvi;*.mkix;*.mkxi;*.mkxl;*.mklx;
68
69open.suffix.$(file.patterns.context)=.tex
70
71# ConTeXt: suffixes (really needed)
72
73file.patterns.metapost=
74file.patterns.metafun=*.mp;*.mpii;*.mpiv;*.mpxl;
75
76open.suffix.$(file.patterns.metafun)=.mp
77
78#~ api.$(file.patterns.context)=$(SciteDefaultHome)/context/scite-context.api
79
80# starttext
81# stoptext
82# setuptest[foo=,bar=]
83
84#~ autocompleteword.automatic=0
85#~ autocomplete.choose.single=0
86#~ autocomplete.context.start.characters=\
87
88#~ calltip.$(file.patterns.context).word.characters=
89#~ calltip.$(file.patterns.context).parameters.start=[
90#~ calltip.$(file.patterns.context).parameters.end=]
91#~ calltip.$(file.patterns.context).parameters.separators=,
92#~ calltip.$(file.patterns.context).end.definition
93
94# Example : patterns
95
96file.patterns.xml=
97file.patterns.example=*.xml;*.xsl;*.xsd;*.fo;*.exa;*.rlb;*.rlg;*.rlv;*.rng;*.xfdf;*.xslt;*.dtd;*.lmx;*.htm;*.html;*.xhtml;*.ctx;*.export;*.svg;*.xul;*.osm;
98open.suffix.$(file.patterns.example)=.xml
99filter.example=eXaMpLe|$(file.patterns.example)|
100#~ lexer.$(file.patterns.example)=xml
101
102# Lua : patterns
103
104file.patterns.lua=*.lua;*.luc;*.cld;*.tuc;*.luj;*.lum;*.tma;*.lfg;*.llg;*.luv;*.lui;*.lmt
105open.suffix.$(file.patterns.lua)=.lua
106filter.lua=Lua MkIV|$(file.patterns.lua)|
107#~ lexer.$(file.patterns.lua)=lua
108
109command.compile.$(file.patterns.lua)=mtxrun --script "$(FileNameExt)"
110command.go.$(file.patterns.lua)=mtxrun --script "$(FileNameExt)"
111
112# W: patterns
113#
114# file.patterns.w=*.c;*.w;*.cc;*.cpp;*.cxx;*.h;*.hh;*.hpp;*.hxx;
115
116# Test: patterns
117
118file.patterns.text=*.txt;*.log
119filter.text=Text |$(file.patterns.text)|
120# lexer.$(file.patterns.txt)=txt
121
122file.patterns.pdf=*.pdf
123filter.pdf=PDF |$(file.patterns.pdf)|
124
125# Commands: some scripts
126
127if PLAT_WIN
128    name.context.console=cmd
129    name.context.console=$(ComSpec)
130    name.context.gsview=gsview32.exe
131    name.context.acrobat=
132    name.flag.pdfopen=--autopdf
133    #~ name.flag.pdfopen=--autopdf=default
134
135if PLAT_GTK
136    name.context.console=rxvt
137    name.context.gsview=gv
138    name.context.acrobat=acroread
139    name.flag.pdfopen=--autopdf
140    name.flag.pdfopen=--autopdf=sumatra
141
142name.metafun.console=$(name.context.console)
143name.example.console=$(name.context.console)
144
145name.context.mtxrun=mtxrun --autogenerate
146#~ name.context.mtxrunjit=mtxrunjit --autogenerate
147
148name.context.check=$(name.context.mtxrun) --script check
149name.context.run=$(name.context.mtxrun) --script context $(name.flag.pdfopen)
150#~ name.context.runjit=$(name.context.mtxrunjit) --script context $(name.flag.pdfopen)
151name.context.texshow=$(name.context.mtxrun) texshow
152name.context.purge=$(name.context.mtxrun) --context --purge --all
153name.context.showcase=$(name.context.mtxrun) --launch showcase.pdf
154
155name.example.xmlcheck=tidy -quiet -utf8 -xml -errors
156
157name.metafun.mptopdf=$(name.context.mtxrun) --script mptopdf
158
159# if needed one can set MTX_SERVER_ROOT to the root of the documentation
160
161if PLAT_WIN
162    name.context.wwwserver=cmd /c start /min "Context Documentation" $(name.context.mtxrun) --script server --auto
163
164if PLAT_GTK
165    name.context.wwwserver=$(name.context.mtxrun) --script server --start > ~/context-wwwserver.log &
166
167# Commands: help info, e:\websites\www.pragma-ade.com\showcase.pdf / todo: manuals
168
169command.help.$(file.patterns.context)=$(name.context.texshow) $(CurrentWord)
170command.help.$(file.patterns.context)=mtxrun --gethelp --url="http://localhost:8088/mtx-server-ctx-help.lua?command=%command%" --command="$(CurrentWord)"
171#~ command.help.$(file.patterns.context)=mtxrun --gethelp --url="http://www.contextgarden.net/Command/%command%" --command="$(CurrentWord)"
172command.help.$(file.patterns.example)=
173command.help.$(file.patterns.metafun)=
174
175#~ command.help.subsystem.$(file.patterns.context)=1
176
177# Commands: tools menu extensions
178
179context.distribution.writable=1
180
181# for the moment using subsystem 1 for perl jobs is better (otherwise dangling jobs)
182
183command.save.before=1
184
185# xml completion
186
187xml.auto.close.tags=1
188
189# extensions
190
191import context/scite-ctx
192
193# hard coded compile / build / go
194
195command.build.$(file.patterns.context)=$(name.context.check) "$(FileNameExt)"
196command.build.$(file.patterns.metafun)=
197command.build.$(file.patterns.example)=$(name.example.xmlcheck) "$(FileNameExt)"
198
199command.compile.$(file.patterns.context)=$(name.context.run) "$(FileNameExt)"
200command.compile.$(file.patterns.metafun)=$(name.context.run) $(name.flag.pdfopen) "$(FileNameExt)"
201command.compile.$(file.patterns.example)=$(name.context.run) --forcexml "$(FileNameExt)"
202
203#~ command.compile.subsystem.$(file.patterns.context)=1
204#~ command.compile.subsystem.$(file.patterns.metafun)=1
205#~ command.compile.subsystem.$(file.patterns.example)=1
206#~ command.compile.subsystem.*.fo=1
207
208if PLAT_WIN
209    command.go.$(file.patterns.context)="$(FileName).pdf"
210    command.go.$(file.patterns.metafun)="$(FileName).pdf"
211    command.go.$(file.patterns.example)="$(FileName).pdf"
212
213if PLAT_GTK
214    command.go.$(file.patterns.context)=$(name.context.acrobat) "$(FileName).pdf"
215    command.go.$(file.patterns.metafun)=$(name.context.acrobat) "$(FileName).pdf"
216    command.go.$(file.patterns.example)=$(name.context.acrobat) "$(FileName).pdf"
217
218command.go.subsystem.$(file.patterns.context)=2
219command.go.subsystem.$(file.patterns.metafun)=2
220command.go.subsystem.$(file.patterns.example)=2
221
222# 0 : syntax checking
223
224command.name.0.$(file.patterns.context)=Check TeX File
225command.name.0.$(file.patterns.metafun)=
226command.name.0.$(file.patterns.example)=Check XML File
227
228command.0.$(file.patterns.context)=$(name.context.check) "$(FileNameExt)"
229command.0.$(file.patterns.metafun)=
230command.0.$(file.patterns.example)=$(name.example.xmlcheck) "$(FileNameExt)"
231
232# 1 : normal processing
233
234command.name.1.$(file.patterns.context)=Process TeX file
235command.name.1.$(file.patterns.metafun)=Process METAPOST File
236command.name.1.$(file.patterns.example)=Process XML File
237command.name.1.$(file.patterns.lua)=Process Lua File
238
239command.1.$(file.patterns.context)=$(name.context.run) "$(FileNameExt)"
240command.1.$(file.patterns.metafun)=$(name.context.run) "$(FileNameExt)" --metapost
241command.1.$(file.patterns.example)=$(name.context.run) "$(FileNameExt)" --xml
242#~ command.1.$(file.patterns.lua)=$(name.context.mtxrunjit) --script ""$(FileNameExt)""
243
244#~ command.1.subsystem.$(file.patterns.context)=1
245#~ command.1.subsystem.$(file.patterns.metafun)=1
246#~ command.1.subsystem.$(file.patterns.example)=1
247#~ command.1.subsystem.$(file.patterns.lua)=1
248
249#~ command.name.29.*=Run with jit
250#~ command.subsystem.29.*=1
251#~ command.29.$(file.patterns.context)=$(name.context.runjit) "$(FileNameExt)"
252#~ command.29.$(file.patterns.metafun)=$(name.context.runjit) "$(FileNameExt)" --metapost
253#~ command.29.$(file.patterns.example)=$(name.context.runjit) "$(FileNameExt)" --xml
254#~ command.29.$(file.patterns.lua)=$(name.context.mtxrunjit)  --script ""$(FileNameExt)""
255#~ command.groupundo.29.*=yes
256#~ command.save.before.29.*=2
257#~ command.shortcut.29.*=Alt+F12
258
259#~ command.name.30.*=Run with jit
260#~ command.subsystem.30.*=1
261#~ command.30.$(file.patterns.context)=$(name.context.runjit) "$(FileNameExt)"
262#~ command.30.$(file.patterns.metafun)=$(name.context.runjit) "$(FileNameExt)" --metapost
263#~ command.30.$(file.patterns.exmaple)=$(name.context.runjit) "$(FileNameExt)" --xml
264#~ command.groupundo.30.*=yes
265#~ command.save.before.30.*=2
266#~ command.shortcut.30.*=Alt+F7
267
268# 2 : pdf viewing
269
270command.name.2.$(file.patterns.context)=View PDF File with GhostScript
271command.name.2.$(file.patterns.metafun)=View PDF File with GhostScript
272command.name.2.$(file.patterns.example)=View PDF File with GhostScript
273
274command.2.$(file.patterns.context)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
275command.2.$(file.patterns.metafun)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
276command.2.$(file.patterns.example)=$(name.context.gsview) $(FileDir)/$(FileName).pdf
277
278command.subsystem.2.$(file.patterns.context)=2
279command.subsystem.2.$(file.patterns.metafun)=2
280command.subsystem.2.$(file.patterns.example)=2
281
282# 3 : clean up
283
284command.name.3.$(file.patterns.context)=Purge Files
285command.name.3.$(file.patterns.metafun)=Purge Files
286command.name.3.$(file.patterns.example)=Purge Files
287
288command.3.$(file.patterns.context)=$(name.context.purge)
289command.3.$(file.patterns.metafun)=$(name.context.purge)
290command.3.$(file.patterns.example)=$(name.context.purge)
291
292# 4 : documentation
293
294command.4.$(file.patterns.context)=$(name.context.showcase)
295command.4.$(file.patterns.metafun)=$(name.context.showcase)
296command.4.$(file.patterns.example)=$(name.context.showcase)
297
298command.name.4.$(file.patterns.context)=Show Documentation
299command.name.4.$(file.patterns.metafun)=Show Documentation
300command.name.4.$(file.patterns.example)=Show Documentation
301
302# 6 : console
303
304command.name.6=Start Console
305command.name.6.$(file.patterns.context)=Start Console
306command.name.6.$(file.patterns.metafun)=Start Console
307command.name.6.$(file.patterns.example)=Start Console
308
309command.6=$(name.context.console)
310command.6.$(file.patterns.context)=$(name.context.console)
311command.6.$(file.patterns.metafun)=$(name.context.console)
312command.6.$(file.patterns.example)=$(name.context.console)
313
314# 7 : listings
315
316command.name.7=Generate Listing
317command.name.7.$(file.patterns.context)=Generate Listing
318command.name.7.$(file.patterns.metafun)=Generate Listing
319command.name.7.$(file.patterns.example)=Generate Listing
320
321command.7=$(name.context.run)                          --extra=listing --pretty --result=$(FileName) "$(FileNameExt)"
322command.7.$(file.patterns.context)=$(name.context.run) --extra=listing --pretty --result=$(FileName) "$(FileNameExt)"
323command.7.$(file.patterns.metafun)=$(name.context.run) --extra=listing --pretty --result=$(FileName) "$(FileNameExt)"
324command.7.$(file.patterns.example)=$(name.context.run) --extra=listing --pretty --result=$(FileName) "$(FileNameExt)"
325command.7.$(file.patterns.lua)=$(name.context.run) --extra=listing --pretty --result=$(FileName) "$(FileNameExt)"
326
327#~ command.7.subsystem=1
328#~ command.7.subsystem.$(file.patterns.context)=1
329#~ command.7.subsystem.$(file.patterns.metafun)=1
330#~ command.7.subsystem.$(file.patterns.example)=1
331#~ command.7.subsystem.$(file.patterns.lua)=1
332
333# 10: arranging
334
335command.name.10.$(file.patterns.context)=Process and Arrange
336command.name.10.$(file.patterns.metafun)=Process and Arrange
337command.name.10.$(file.patterns.example)=Process and Arrange
338command.10.$(file.patterns.context)=$(name.context.run) --arrange         "$(FileNameExt)"
339command.10.$(file.patterns.metafun)=$(name.context.run)           --mptex "$(FileNameExt)"
340command.10.$(file.patterns.example)=$(name.context.run) --arrange --xml   "$(FileNameExt)"
341#~ command.10.subsystem.$(file.patterns.context)=1
342#~ command.10.subsystem.$(file.patterns.metafun)=1
343#~ command.10.subsystem.$(file.patterns.example)=1
344
345#~ # 11: make pdftex
346#~
347#~ command.name.11.$(file.patterns.context)=Generate Formats (pdfTeX)
348#~ command.name.11.$(file.patterns.metafun)=Generate Formats
349#~ command.name.11.$(file.patterns.example)=Generate Formats
350#~ command.11.$(file.patterns.context)=$(name.context.run) --make --all --pdftex
351#~ command.11.$(file.patterns.metafun)=$(name.context.run) --make --all
352#~ command.11.$(file.patterns.example)=$(name.context.run) --make --all
353#~ #~ command.11.subsystem.$(file.patterns.context)=1
354#~ #~ command.11.subsystem.$(file.patterns.metafun)=1
355#~ #~ command.11.subsystem.$(file.patterns.example)=1
356
357# 12: make luatex
358
359command.name.12.$(file.patterns.context)=Generate Formats (luaTeX)
360command.12.$(file.patterns.context)=$(name.context.run) --make --all --luatex
361command.12.subsystem.$(file.patterns.context)=1
362
363#~ # 13: make xetex
364#~
365#~ command.name.13.$(file.patterns.context)=Generate Formats (XeTeX)
366#~ command.13.$(file.patterns.context)=$(name.context.run) --make --all --xetex
367#~ command.13.subsystem.$(file.patterns.context)=1
368
369# 15: example
370
371command.name.15=Documentation Server
372command.name.15.$(file.patterns.context)=Documentation Service
373command.name.15.$(file.patterns.metafun)=Documentation Service
374command.name.15.$(file.patterns.example)=Documentation Service
375
376command.15=$(name.context.wwwserver)
377command.15.$(file.patterns.context)=$(name.context.wwwserver)
378command.15.$(file.patterns.metafun)=$(name.context.wwwserver)
379command.15.$(file.patterns.example)=$(name.context.wwwserver)
380
381# Editor: syntax highlighting
382
383view.indentation.guides=1
384highlight.indentation.guides=1
385
386# Editor: keys
387
388user.shortcuts=\
389F12|IDM_BUILD|\
390Ctrl+F12|IDM_COMPILE|\
391Shift+F12|IDM_GO|\
392
393os.x.home.end.keys=0
394
395# Editor: fonts
396
397if PLAT_WIN
398    font.monospace=font:Dejavu Sans Mono,size:14
399    font.errorfont=font:Dejavu Sans Mono,size:8
400
401if PLAT_GTK
402    font.monospace=font:!Dejavu Sans Mono,size:14
403    font.errorfont=font:!Dejavu Sans Mono,size:8
404
405if PLAT_MAC
406    font.monospace=font:Dejavu Sans Mono,size:14
407    font.errorfont=font:Dejavu Sans Mono,size:8
408
409font.base=$(font.monospace)
410font.comment=$(font.monospace)
411font.text=$(font.monospace)
412font.text.comment=$(font.monospace)
413font.embedded.base=$(font.monospace)
414font.embedded.comment=$(font.monospace)
415font.vbs=$(font.monospace)
416
417# colors and styles
418
419colors.red=#7F0000
420colors.green=#007F00
421colors.blue=#00007F
422colors.cyan=#007F7F
423colors.magenta=#7F007F
424colors.yellow=#7F7F00
425
426colors.white=#FFFFFF
427colors.light= #CFCFCF
428colors.grey= #808080
429colors.dark= #4F4F4F
430colors.black= #000000
431colors.selection=#F7F7F7
432colors.logpanel=#E7E7E7
433colors.textpanel=#CFCFCF
434colors.linepanel=#A7A7A7
435colors.tippanel=#444444
436colors.right=#0000FF
437colors.wrong=#FF0000
438
439colors.teal=$(colors.cyan)
440colors.purple=$(colors.magenta)
441
442styles.default=fore:$(colors.black),back:$(colors.textpanel),$(font.base)
443styles.nothing=
444
445styles.number=fore:$(colors.cyan)
446styles.comment=fore:$(colors.yellow)
447styles.string=fore:$(colors.magenta)
448styles.keyword=fore:$(colors.blue),bold
449
450styles.char=fore:$(colors.magenta)
451styles.class=fore:$(colors.black),bold
452styles.constant=fore:$(colors.cyan),bold
453styles.definition=fore:$(colors.black),bold
454styles.error=fore:$(colors.red)
455styles.function=fore:$(colors.black),bold
456styles.operator=fore:$(colors.blue)
457styles.preproc=fore:$(colors.yellow),bold
458styles.tag=fore:$(colors.cyan)
459styles.type=fore:$(colors.blue)
460styles.variable=fore:$(colors.black)
461styles.identifier=$(styles.nothing)
462
463styles.linenumber=back:$(colors.linepanel)
464styles.bracelight=fore:$(colors.orange),bold
465styles.bracebad=fore:$(colors.orange),bold
466styles.indentguide=fore:$(colors.linepanel),back:$(colors.white)
467styles.calltip=fore:$(colors.white),back:$(colors.tippanel)
468styles.controlchar=$(styles.nothing)
469
470# end of colors and styles
471
472# Editor: color schemes
473
474style.*.32=$(font.base),back:$(colors.textpanel)
475style.*.33=$(font.base),back:$(colors.linepanel)
476
477style.errorlist.32=$(font.errorfont),back:$(colors.logpanel)
478
479#~ selection.back=#9F9F9F
480#~ selection.secondary.back=#9F9F9F
481#~ selection.additional.back=#9F9F9F
482#~ selection.inactive.back=#9F9F9F
483#~ selection.additional.fore=#FFFFFF
484#~ selection.additional.back=#FFFFFF
485#~ selection.additional.alpha=20
486
487# Editor: fast switching between files
488
489tabbar.visible=1
490tabbar.hide.one=0
491tabbar.multiline=1
492
493buffers=256
494load.on.activate=1
495check.if.already.open=1
496tabbar.multiline=1
497
498# Editor: handy anyway
499
500line.margin.visible=1
501#~ line.numbers=6
502line.margin.width=3+
503title.full.path=1
504strip.trailing.spaces=1
505save.session=1
506save.recent=1
507open.dialog.in.file.directory=1
508
509# Editor: tabbing
510
511tabsize=4
512indent.size=4
513use.tabs=0
514indent.automatic=1
515indent.opening=0
516indent.closing=0
517
518# Editor: misc
519
520# edge.mode=0
521# edge.column=80
522
523error.marker.fore=#FFFFFF
524error.marker.back=#007F7F
525
526# Editor: status
527
528statusbar.visible=1
529statusbar.number=1
530statusbar.text.1=$(FileNameExt) | $(FileDate) $(FileTime) | line $(LineNumber) column $(ColumnNumber) | mode $(OverType) | eol $(EOLMode) | $(FileDate) $(FileTime)
531
532# Editor: searching
533
534find.files=
535find.what=
536
537find.replace.regexp.posix=1
538find.files=*.tex *.xml *.mp
539
540if PLAT_WIN
541	find.command=fgrep -n $(find.what) $(find.files)
542
543# todo:
544
545source.files=$(file.patterns.context);$(file.patterns.metafun);$(file.patterns.example);*.pl;*.rb;*.lua
546
547# Editor: printing
548
549if PLAT_WIN
550    print.colour.mode=1
551    print.margins=750,750,750,750
552    print.header.format=$(FileNameExt) | Printed on $(CurrentDate), $(CurrentTime) | Page $(CurrentPage)
553    print.footer.format=$(FilePath) | File date: $(FileDate) | File time: $(FileTime)
554    print.header.style=font:Dejavu Sans Mono,size:10
555    print.footer.style=font:Dejavu Sans Mono,size:10
556
557# Editor: processing
558
559clear.before.execute=1
560wrap.output=0
561
562#if PLAT_WIN
563#    eol.mode=CRLF
564eol.mode=auto
565
566ensure.final.line.end=1
567#~ $(file.patterns.context).ensure.consistent.line.ends=1
568#~ $(file.patterns.metafun).ensure.consistent.line.ends=1
569
570# Editor: file type
571
572default.file.ext=.tex
573
574# Editor: auto completion
575
576autocompleteword.automatic=1
577autocomplete.choose.single=0
578
579# api.*.tex=t:\sources\cont-en-scite.api
580
581# Logging
582
583style.errorlist.32=$(font.errorfont),back:$(colors.logpanel)
584
585# Default
586
587style.errorlist.0=fore:$(colors.black)
588style.errorlist.1=fore:$(colors.red)
589style.errorlist.2=fore:$(colors.red)
590style.errorlist.3=fore:$(colors.red)
591style.errorlist.4=fore:$(colors.green)
592style.errorlist.5=fore:$(colors.red)
593style.errorlist.6=fore:$(colors.red)
594style.errorlist.7=fore:$(colors.red)
595style.errorlist.8=fore:$(colors.red)
596style.errorlist.9=fore:$(colors.red)
597style.errorlist.10=fore:$(colors.green)
598style.errorlist.11=fore:$(colors.blue)
599style.errorlist.12=fore:$(colors.cyan)
600style.errorlist.13=fore:$(colors.red)
601style.errorlist.14=fore:$(colors.red)
602style.errorlist.15=fore:$(colors.red)
603style.errorlist.16=fore:$(colors.red)
604
605# Metapost: patterns
606
607file.patterns.metafun=*.mp;*.mpx;*.mpy;*.mpii;*.mpiv;*.mpxl
608filter.metafun=MetaFun|$(file.patterns.metafun)|
609#~ lexer.$(file.patterns.metafun)=metapost
610
611command.compile.$(file.patterns.metafun)=
612command.build.$(file.patterns.metafun)=$(name.context.mtxrun) --script context $(name.flag.pdfopen) "$(FileNameExt)"
613command.go.$(file.patterns.metafun)=gv $(FileName).1
614
615command.0.$(file.patterns.metafun)=
616command.1.$(file.patterns.metafun)=
617command.2.$(file.patterns.metafun)=
618command.3.$(file.patterns.metafun)=
619command.4.$(file.patterns.metafun)=
620command.5.$(file.patterns.metafun)=
621command.6.$(file.patterns.metafun)=
622command.7.$(file.patterns.metafun)=
623command.8.$(file.patterns.metafun)=
624command.9.$(file.patterns.metafun)=
625
626# Shared highlighting
627
628styles.context.default=$(styles.nothing)
629styles.context.number=$(styles.number)
630styles.context.comment=$(styles.comment)
631styles.context.keyword=$(styles.keyword)
632styles.context.string=$(styles.string)
633
634styles.context.command=fore:$(colors.green),bold
635styles.context.preamble=$(styles.comment)
636styles.context.embedded=fore:$(colors.black),bold
637styles.context.grouping=fore:$(colors.red)
638styles.context.primitive=$(styles.keyword)
639styles.context.plain=fore:$(colors.dark),bold
640styles.context.user=fore:$(colors.green)
641styles.context.data=$(styles.constant)
642styles.context.special=fore:$(colors.blue)
643styles.context.extra=fore:$(colors.yellow)
644styles.context.quote=fore:$(colors.blue),bold
645
646# Metapost highlighting
647
648style.metapost.0=$(styles.context.default)
649style.metapost.1=$(styles.context.special)
650style.metapost.2=$(styles.context.grouping)
651style.metapost.3=$(styles.context.comment)
652style.metapost.4=$(styles.context.keyword)
653style.metapost.5=$(styles.context.default)
654style.metapost.6=$(styles.context.plain)
655style.metapost.34=$(styles.bracelight)
656style.metapost.35=$(styles.bracebad)
657
658# TeX highlighting
659
660style.tex.0=$(styles.context.default)
661style.tex.1=$(styles.context.special)
662style.tex.2=$(styles.context.grouping)
663style.tex.3=$(styles.context.comment)
664style.tex.4=$(styles.context.user)
665style.tex.34=$(styles.bracelight)
666style.tex.35=$(styles.bracebad)
667
668# style.tex.* : external styling happens elsewhere
669# style.mps.* : external styling happens elsewhere
670# style.cls.* : external styling happens elsewhere
671
672# Lua highlighting:
673#
674# might change as we change the cld lexer
675
676comment.block.lua=--
677comment.block.at.line.start.lua=1
678
679# braces.lua.style=10
680
681style.lua.32=$(styles.context.default)
682style.lua.0=$(styles.context.default)
683style.lua.1=$(styles.context.comment)
684style.lua.2=$(styles.context.comment)
685style.lua.3=$(styles.context.comment)
686style.lua.4=$(styles.context.number)
687style.lua.5=$(styles.context.keyword)
688style.lua.6=$(styles.context.string)
689style.lua.7=$(styles.context.string)
690style.lua.8=$(styles.context.comment)
691style.lua.9=$(styles.context.default)
692style.lua.10=$(styles.context.special)
693style.lua.11=$(styles.context.default)
694style.lua.12=$(styles.context.default)
695style.lua.13=$(styles.context.default)
696style.lua.14=$(styles.context.default)
697style.lua.15=$(styles.context.default)
698style.lua.16=$(styles.context.default)
699style.lua.17=$(styles.context.default)
700style.lua.18=$(styles.context.default)
701style.lua.19=$(styles.context.default)
702style.lua.20=$(styles.context.default)
703
704style.context.34=$(styles.bracelight)
705style.context.35=$(styles.bracebad)
706
707# folding
708
709fold=1
710fold.symbols=3
711fold.margin.colour=#CCCCCC
712
713# testing
714
715# Currently the caret line wipes out marks (accents) in the next line because it
716# overlays. These marks are often in the previous line.
717
718caret.width=3
719
720caret.line.back=#8F8F8F
721caret.line.back.alpha=20
722
723selection.rectangular.switch.mouse=1
724
725#~ cache.layout=1
726#~ output.cache.layout=1
727
728find.command=mtxrun --script grep "$(find.what)" "$(find.files)"
729