Releases: rsmenon/pygments-mathematica
Releases · rsmenon/pygments-mathematica
0.3.4
v0.3.3
v0.3.2 Fixed a backtick lexing bug
- Fixed bug in lexing the backtick in `<<Package``.
- Added usage information for Pelican (@halirutan)
v0.3.1 Fixed compilation error in LaTeX
Removed -
from style name to fix LaTeX compilation errors.
v0.3.0 Highlighting in lexical scopes
- Syntax highlighting for local variables in
Block
,With
andModule
- New style with the default palette from the Mathematica notebook.
v0.3.0-rc-1 Highlighting in lexical scopes
Local variables in Block
, With
and Module
are also highlighted now.
v0.2.0 Unicode support
- Unicode operators like
∈
and⊕
are now correctly highlighted. - Unicode
π
is recognized as a builtin and other characters likeα
are recognized as symbols.
Minor updates/fixes:
- Styles for slots and patterns can now be modified independently.
- Added example for highlighting Mathematica code in LaTeX documents.
v0.1.0 Initial release
- Lexer and highlighter features:
- All builtin functions in the
System`` context except those that use characters from the private unicode space (e.g.
[FormalA]`) - User defined symbols, including those in a context.
- Comments, including multi line and nested.
- Strings, including multi line and escaped quotes.
- Patterns, slots (including named slots
#name
introduced in version 10) and slot sequences. - Message names (e.g. the
ivar
inGeneral::ivar
) - Numbers including base notation (e.g.
8 ^^ 23 == 19
) and scientific notation (e.g.1 *^ 3 == 1000
).
- All builtin functions in the
- New
mathematica
style for pygments with sane default colors. - Companion
mma.scss
Sass file to generate CSS for HTML documents.