ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "Hans Hagen" <pragma@wxs.nl>, "ConTeXt" <ntg-context@ntg.nl>
Subject: Re: PDF Coloring.
Date: Sun, 15 Oct 2000 22:01:59 +0200	[thread overview]
Message-ID: <3.0.6.32.20001015220159.00ab15c0@pop.wxs.nl> (raw)
In-Reply-To: <000b01c03626$370670c0$bf470e97@nuovo>

At 07:08 PM 10/14/00 +0200, Giuseppe Bilotta wrote:
>
>
>> At 02:03 PM 10/10/00 +0200, Giuseppe Bilotta wrote:
>>
>> >and in the text the following "application":
>> >
>> >\Rev[some text]{some other text that spans multiple lines. Actually, it's
>>
>> In context, [] is used for settings, not for optional text, so this macro
>> kind of voilates the interface.
>>
>
>Ok, so I need something like \definecomplexorsimple\Rev, but working with
>{}{} instead of []{}. How do I do it? Also, how do I (possibily at the same
>time) define an analogous start...stop couple (\startRev ... \stopRev,
>spanning multiple paragraphs, but still accepting an {optional text}
>argument)?

take a look at syst-gen.tex and you will find "...groupempty" commands 

But, when you want to span multiple pars, it's always better not to use {}
but a proper start stop. You may want to play with: 

you can always say:

\def\startRev#1{...\bgroup}
\def\stopRev{...\egroup}

\def\Rev#1#2{\startRev{#1}#2\stopRev}

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2000-10-15 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-10 12:03 Giuseppe Bilotta
2000-10-11  8:51 ` Hans Hagen
2000-10-11  9:03 ` Hans Hagen
2000-10-14 17:08   ` Giuseppe Bilotta
2000-10-15 20:01     ` Hans Hagen [this message]
2000-10-11  9:29 ` 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=3.0.6.32.20001015220159.00ab15c0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --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).