1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

Add JOEs original TeX highlighter

This commit is contained in:
cn 2011-11-13 14:35:44 +01:00
parent 8557f0c20b
commit f555e413a9

52
tex.jsf Normal file
View File

@ -0,0 +1,52 @@
# joe [La]TeX syntax highlighting
=Idle
=Comment green
=Keyword bold
=Mathmode cyan
=Brace magenta
=Parameter bold blue
:idle Idle
* idle
"%" comment recolor=-1
"$" math recolor=-1
"\\" command recolor=-1
"{[]}" brace recolor=-1
"#" parameter recolor=-1
:comment Comment
* comment
"\n" idle
:math Mathmode
* math
"\\" math_command recolor=-1
"{[]}" math_brace recolor=-1
"$" idle
:command Keyword
* idle
"a-zA-Z@" command2
:command2 Keyword
* idle noeat
"a-zA-Z@" command2
: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