File: tex.jsf

package info (click to toggle)
ne 3.3.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: ansic: 28,739; perl: 571; makefile: 265; sh: 9
file content (82 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download | duplicates (6)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# joe [La]TeX syntax highlighting

=Idle
=Comment 	green
=Keyword 	bold
=Mathmode 	cyan
=Brace		magenta
=Parameter	bold blue
=Bad		bold red

:idle Idle
	*		idle
	"%"		comment		recolor=-1
	"$"		math		recolor=-1
	"\\"		command		recolor=-1
	"{[]}"		brace		recolor=-1
	"#"		parameter	recolor=-1

:comment Comment
	*		comment
	# might be TODO label
	"BFHNTX"	comment		noeat call=comment_todo.comment_todo()
	"\n"		idle

:math Mathmode
	*		math
	"\\"		math_command	recolor=-1
	"{[]}"		math_brace	recolor=-1
	"$"		idle

:math_command Keyword
	*		math
	"a-zA-Z@"	math_command2

:math_command2 Keyword
	*		math		noeat
	"a-zA-Z@"	math_command2

:parameter Parameter
	*		idle		noeat
	"0-9"		idle

:brace Brace
	*		idle		noeat

:math_brace Brace
	*		math		noeat

:command Keyword
	*		idle
	"a-zA-Z@"	command2	buffer

:command2 Keyword
	*		idle		noeat strings
#	"begin"		env_begin
	"verb"		verbatim
done
	"a-zA-Z@"	command2

:verbatim Keyword
	*		verbatim1	save_c

:verbatim1 Idle
	*		verbatim1
	&		end_verbatim	recolor=-1

:end_verbatim Keyword
	*		idle		noeat

#:env_begin Keyword
#	*		env_begin1	noeat

#:env_begin1 Idle
#	*		env_begin1
#	"{"		env_begin_brace	recolor=-1

#:env_begin_brace Brace
#	*		env_begin_name	noeat buffer

#:env_begin_name Bad
#	*		env_begin_name
#	"}"		idle		noeat