From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27507 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: verb-c and tabulator width Date: Wed, 26 Apr 2006 22:14:50 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146082304 27829 80.91.229.2 (26 Apr 2006 20:11:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 20:11:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 26 22:11:42 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 1FYqMO-0000SV-1X for gctc-ntg-context-518@m.gmane.org; Wed, 26 Apr 2006 22:11:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 981E6127CD; Wed, 26 Apr 2006 22:11: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 11646-05; Wed, 26 Apr 2006 22:11:35 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 27A42127C4; Wed, 26 Apr 2006 22:11:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AF1A127C4 for ; Wed, 26 Apr 2006 22:11:33 +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 11740-04 for ; Wed, 26 Apr 2006 22:11:32 +0200 (CEST) Original-Received: from swip.net (mailfe08.tele2.fr [212.247.154.236]) by ronja.ntg.nl (Postfix) with SMTP id 95CBB127BA for ; Wed, 26 Apr 2006 22:11:32 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [80.170.87.194] (HELO localhost) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 183812737 for ntg-context@ntg.nl; Wed, 26 Apr 2006 22:11:30 +0200 Original-To: ntg-context@ntg.nl In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) 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:27507 Archived-At: On Wed, 26 Apr 2006 21:26:08 +0200 (CEST), Peter M=FCnster = wrote: > On Wed, 26 Apr 2006, nico wrote: > >> On Wed, 26 Apr 2006 19:43:48 +0200 (CEST), Peter M=FCnster = >> >> wrote: >> >> > One (probably there will come more) question: >> > How could I adjust the width of the tabulator? >> >> Use the tab option (not specific to C): > > Thanks! In fact I should have looked into texshow instead of relying on = > the > old \chardef\spacespertab=3D... > > I'm sorry, here comes already my second problem: > > \usemodule[verb-c] > \setupcolors[state=3Dstart] > \setuptyping[option=3DC,tab=3D4] > \starttext > Contents of file \type{test.c}: > \startC > /** Doing this and that. > \param i the index */ > void do_this(int i){ > int bla; > } > \stopC > > Here we get \quotation{\type{! Missing number, treated as zero.}}: > \typefile{test.c} > \stoptext > > Could you help again? Sorry, this time I cannot help. I think it's a bug in verb-c that makes a = mess with standard C comments on several lines. C++/ISO C99 comments (//) = seem correctly handled. Regards, BG