[NTG-context] verb-c.tex

wwl at musensturm.de wwl at musensturm.de
Thu Aug 17 22:26:17 CEST 2006


Hallo!

I have a little problem with the module 'verb-c'.

Backslashes in verbatim text seem to disturb colors.
----------------------------------------------------
\usemodule[verb-c]
\setupcolors[state=start]
\setuptyping[C][color=blue,palet=colorpretty,                   
numbering=line]
\starttext
Davor
\startC
#include <stdio.h>

int main()
{
  printf("Hallo\n");
}
\stopC
Danach
\stoptext
----------------------------------------------------
Problem:

'Danach' is blue!
Last line number has the same color as the 
quotet String "Hallo ConTeXt\n".

Delete the newline char and all is ok!

How can this be fixed?

Wolfgang


More information about the ntg-context mailing list