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

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Apr 9 14:21:42 CEST 2015


> Am 09.04.2015 um 14:02 schrieb Robin.Kirkham at csiro.au:
> 
> 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?

You select syntax highlighting for a language which doesn’t exist.

> My intent was to use syntax colourisation for code snippets.

When you want to highlight TeX code use “option=TEX” and for Lua code use “option=LUA”.

Wolfgang


More information about the ntg-context mailing list