From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39291 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: c-code Date: Tue, 26 Feb 2008 14:36:40 +0100 Message-ID: <115224fb0802260536w36c5d1f3kd4016abe56b39e2a@mail.gmail.com> References: <47C40556.21467.39BE59@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204033126 6934 80.91.229.12 (26 Feb 2008 13:38:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 13:38:46 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 26 14:39:10 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JU011-00032S-0J for gctc-ntg-context-518@m.gmane.org; Tue, 26 Feb 2008 14:38:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 368051FBAC; Tue, 26 Feb 2008 14:38:07 +0100 (CET) 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 28519-01-2; Tue, 26 Feb 2008 14:37:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB6A11FB49; Tue, 26 Feb 2008 14:37:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA40D1FB39 for ; Tue, 26 Feb 2008 14:37:22 +0100 (CET) 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 28084-01-4 for ; Tue, 26 Feb 2008 14:36:46 +0100 (CET) Original-Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by ronja.ntg.nl (Postfix) with ESMTP id 90BED1FB49 for ; Tue, 26 Feb 2008 14:36:44 +0100 (CET) Original-Received: by ti-out-0910.google.com with SMTP id y8so1715205tia.14 for ; Tue, 26 Feb 2008 05:36:42 -0800 (PST) Original-Received: by 10.150.199.21 with SMTP id w21mr1647822ybf.8.1204033000180; Tue, 26 Feb 2008 05:36:40 -0800 (PST) Original-Received: by 10.150.201.4 with HTTP; Tue, 26 Feb 2008 05:36:40 -0800 (PST) In-Reply-To: <47C40556.21467.39BE59@wwl.musensturm.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:39291 Archived-At: On Tue, Feb 26, 2008 at 12:25 PM, Wolfgang Werners-Lucchini wrote: > Hallo, > > some times ago, I tried to use the module 'verb-c' > but something like the following didn't work: > > \usemodule[verb-c] > \setupcolors[state=start] > \starttext > \startC > "*\0" > \stopC > \stoptext > > Wolfgang Schuster told me, not to use 'verb-c' and to use > for example: > > \setupcolors[state=start] > \definetyping[C][option=C] > \starttext > \startC > "*\0" > \stopC > \stoptext > > The problematic C-code is typeset ok here, but the colorscheme used, > doesn't fit to C-code rather to TeX-Code. > > How can this be changed? You could try another value for option than C, like \definetyping[C][coption=JAVA]. You could find a list with more alternatives in core-ver.tex. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________