Skip to content

Commit

Permalink
Add missing (e)TeX primitives
Browse files Browse the repository at this point in the history
- Add Knuth TeX primitives `\csname` and `\endcsname`
- Add eTeX primitives `\unless`, `\ifcsname`, `\ifdefined`, and `\iffontchar`
  • Loading branch information
muzimuzhi committed Nov 2, 2023
1 parent 747c204 commit 0be3da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/TeX.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</dict>
</dict>
<key>match</key>
<string>(\\)(backmatter|else|fi|frontmatter|mainmatter|if(case|cat|dim|eof|false|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)\b</string>
<string>(\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)\b</string>
<key>name</key>
<string>keyword.control.tex</string>
</dict>
Expand Down

0 comments on commit 0be3da8

Please sign in to comment.