From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30384 Path: news.gmane.org!not-for-mail From: wwl@musensturm.de Newsgroups: gmane.comp.tex.context Subject: Re: verb-c Date: Fri, 18 Aug 2006 10:01:41 +0200 Message-ID: <44E59005.25701.136880@wwl.musensturm.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155887986 21166 80.91.229.2 (18 Aug 2006 07:59:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2006 07:59:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 18 09:59:44 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GDzFY-0001Sv-5h for gctc-ntg-context-518@m.gmane.org; Fri, 18 Aug 2006 09:58:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 704411FE6E; Fri, 18 Aug 2006 09:58:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02124-06; Fri, 18 Aug 2006 09:58:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 460C81FE62; Fri, 18 Aug 2006 09:58:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8713C1FE62 for ; Fri, 18 Aug 2006 09:58:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04138-01 for ; Fri, 18 Aug 2006 09:58:28 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by ronja.ntg.nl (Postfix) with SMTP id 6EC4F1FE61 for ; Fri, 18 Aug 2006 09:58:26 +0200 (CEST) Original-Received: from [217.185.66.254] (helo=[217.185.66.254]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1GDzFI0Wvm-0003Lb; Fri, 18 Aug 2006 09:58:24 +0200 Original-To: ntg-context@ntg.nl Priority: normal In-reply-to: X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-description: Mail message body X-Provags-ID: kundenserver.de abuse@kundenserver.de login:435c0b4f7f28cf0ca959f1bbde7b90f3 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30384 Archived-At: > > 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 > > > > 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