> > 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?
> 
>   puts("Hallo");
> 
>   nikolai

You can't be serious!

Escape-Sequences like \n,\r,\t,\123 or \xef are integral part of the 
C-language and I have this in many different places in a lot of 
C-source files.

Is there no solution? Why does this happen?


Wolfgang

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to