File: tex.jsf.in

package info (click to toggle)
jupp 3.1.38-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,420 kB
  • sloc: ansic: 31,382; sh: 4,199; makefile: 431
file content (38 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $MirOS: contrib/code/jupp/syntax/tex.jsf.in,v 1.2 2018/03/14 17:35:28 tg Exp $
#-
# JOE syntax highlight file for minimal Teχ (no verbatim or math)

-

=Idle
=Comment	green
=Syntax		yellow
=Keyword	bold
=Special	bold red

:idle Idle
	*		idle
	"%"		comment		recolor=-1
	"\\"		escape		recolor=-1
	"~{}"		syntax		recolor=-1
	"#&_$"		special		recolor=-1

:comment Comment
	*		comment
	"\n"		idle

:escape Idle
	*		special		recolor=-2
	"~{}#&_%$"	idle
	"\\ "		syntax		recolor=-2
	"a-zA-Z"	keyword		recolor=-2

:keyword Keyword
	*		idle		noeat
	"a-zA-Z"	keyword

:syntax Syntax
	*		idle		noeat

:special Special
	*		idle		noeat