[NTG-context] Help with t-vim module and math

Nicola nvitacolonna at gmail.com
Wed Apr 13 11:19:21 CEST 2016


Hi,
I am using the Vim module to typeset code, and I've found a situation
where I'd like to use some math symbols, but not in comments. I am not sure
whether it can be done. This is what I have tried:

\usemodule[vim]
\definefontfamily    [slidesfont][mono][Latin Modern Mono Light]
\definefallbackfamily[slidesfont][mono][Xits][range={"0222A}]
\definevimtyping[pascal][syntax=pascal]
\starttext
\startpascal
 X := Y ∪ Z;
\stoppascal
\stoptext

The ∪ symbol does not appear in the output. Am I completely off-track?

Nicola




More information about the ntg-context mailing list