[NTG-context] \starttyping font changes when option=color

Robin.Kirkham at csiro.au Robin.Kirkham at csiro.au
Thu Apr 9 14:02:36 CEST 2015


Folks,

Switching the option to “color” in \setuptyping has the effect of resetting the font from typewriter (constant width) to paragraph font (if you uncomment it in the following MWE).

I don’t see why that should be. Is it a bug or can someone explain?

My intent was to use syntax colourisation for code snippets.

Thanks, Robin


\setupcolors[state=start]

%\setuptyping[typing][option=color]

\starttext
Normal text
\starttyping
Typing text
\stoptyping
\stoptext


More information about the ntg-context mailing list