> Am 09.04.2015 um 14:02 schrieb robin.kirk...@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to