#1178 Latex3 syntax highlighting

open
nobody
1
2016-11-27
2016-11-27
Anonymous
No

This was recently requested (not by me), but apparently no details were given, and the request was closed.

Latex3 uses underscores and colons in command names, for example:

\prop_get:Nn

or, for private functions,

\__module_foo:nnn

Furthermore, its command declarations take argument specifiers which can be single characters

\DeclareDocumentCommand \chapter { s o m }

but also take considerably more convoluted forms, and it may be more practical to start with a partial implementation.

Within a Latex 2 document or package, the Latex 3 syntax is enabled between \ExplSyntaxOn and \ExplSyntaxOff, which may be useful for scoping the syntax highlighting as well.

Further details are found in the xparse.pdf and expl3.pdf documents that are part of the Latex 3 documentation.

Thanks for consideration.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks