ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: wwl@musensturm.de
Subject: Re: verb-c
Date: Fri, 18 Aug 2006 10:01:41 +0200	[thread overview]
Message-ID: <44E59005.25701.136880@wwl.musensturm.de> (raw)
In-Reply-To: <mailman.390.1155851396.2039.ntg-context@ntg.nl>

> > 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

       reply	other threads:[~2006-08-18  8:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.390.1155851396.2039.ntg-context@ntg.nl>
2006-08-18  8:01 ` wwl [this message]
2006-08-18  8:28   ` verb-c Taco Hoekwater
2006-08-18  8:37     ` verb-c Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E59005.25701.136880@wwl.musensturm.de \
    --to=wwl@musensturm.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).