ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: How to \processcommalist inside another commalist?
Date: Wed, 23 Aug 2006 22:43:08 +0200	[thread overview]
Message-ID: <6faad9f00608231343q29e3a9c6s769ee546c910f69b@mail.gmail.com> (raw)
In-Reply-To: <44EA1FEA.3070804@elvenkind.com>

On 8/21/06, Taco Hoekwater wrote:
> nico wrote:
> > \def\arePrimeN[#1]{%
> > \bgroup
> > \getparameters[Prime][p=,#1]
> > \expandafter\processcommalist\expandafter[\Primep]\printPrime
> > \egroup}
>
> And an equivalent is
>
>    \processcommacommand[\Primep]\printPrime

On 8/21/06, Taco Hoekwater wrote:
> Mojca Miklavec wrote:
> >
> > At the beginning the main reason against it was that I didn't know how
> > to distinguish which kind of parameters are being used in the second
> > pair of brackets, but I guess that I can safely use \ifnumberelse as a
> > test on the first item to distinguish between the two.
>
> You could look up \doifassignmentelse in the sources.

Thank you, the two commands (including Hans's additional hints) solved
"all" my questions (for now.)

Mojca

  reply	other threads:[~2006-08-23 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21 15:23 Mojca Miklavec
2006-08-21 17:17 ` nico
2006-08-21 18:07   ` Taco Hoekwater
2006-08-21 18:35   ` Mojca Miklavec
2006-08-21 20:51     ` nico
2006-08-21 21:08       ` Hans Hagen
2006-08-21 22:26         ` nico
2006-08-22  8:13           ` Hans Hagen
2006-08-21 21:04     ` Taco Hoekwater
2006-08-23 20:43       ` Mojca Miklavec [this message]
2006-08-21 21:04     ` 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=6faad9f00608231343q29e3a9c6s769ee546c910f69b@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).