diff --git a/mmacells.sty b/mmacells.sty index 07cd441..ce09ed2 100644 --- a/mmacells.sty +++ b/mmacells.sty @@ -825,6 +825,12 @@ morekeywords={_}, keywordsprefix=_, % Blank... patterns with head }[keywords,comments,strings,fancyvrb] + +% Use newly defined Mathematica language to make sure everything is properly +% initialized. \lstset sets options only inside current group, +% delimited by braces, so this has no effect besides initialization. +{\lstset{language=[base]Mathematica}} + \lstdefinestyle{MathematicaFrontEnd}{ showstringspaces=false, columns=fullflexible,