ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: verb-c and tabulator width
Date: Wed, 26 Apr 2006 22:14:50 +0200	[thread overview]
Message-ID: <ops8ms60yl9niby6@localhost> (raw)
In-Reply-To: <Pine.LNX.4.58.0604262121330.7208@gaston.pm>

On Wed, 26 Apr 2006 21:26:08 +0200 (CEST), Peter Münster <pmlists@free.fr>  
wrote:

> On Wed, 26 Apr 2006, nico wrote:
>
>> On Wed, 26 Apr 2006 19:43:48 +0200 (CEST), Peter Münster  
>> <pmlists@free.fr>
>> 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=...
>
> I'm sorry, here comes already my second problem:
>
> \usemodule[verb-c]
> \setupcolors[state=start]
> \setuptyping[option=C,tab=4]
> \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

      reply	other threads:[~2006-04-26 20:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 17:43 Peter Münster
2006-04-26 18:25 ` nico
2006-04-26 19:26   ` Peter Münster
2006-04-26 20:14     ` nico [this message]

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=ops8ms60yl9niby6@localhost \
    --to=nicolas.marsgui@libertysurf.fr \
    --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).