From: Hans Hagen <pragma@wxs.nl>
Subject: Re: How to "\processcommalist"?
Date: Tue, 05 Jul 2005 00:20:33 +0200 [thread overview]
Message-ID: <42C9B631.8020106@wxs.nl> (raw)
In-Reply-To: <6faad9f00507041408331cc919@mail.gmail.com>
Mojca Miklavec wrote:
> Taco's solution already solved my problem, but I believe it would be
> nice to add some \processenumeratedlist (well, some better name should
> be given!) command to ConTeXt one day. That way it would be possible
> to process some commands like
> \filterpages[file.pdf][1,3,5]
> also with
> \filterpages[file.pdf][1-3,5,7-11]
ah, you stopped rading page-imp.tex too early, there's also:
\def\dowithrange#1#2% #2 takes number
{\beforesplitstring#1\at:\to\fromrange
\aftersplitstring #1\at:\to\torange
\ifx\torange\empty\let\torange\fromrange\fi
\dostepwiserecurse\fromrange\torange1{#2{\recurselevel}}}
but we can indeed make a nicer looking one
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-07-04 22:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-01 16:15 Mojca Miklavec
2005-07-01 17:54 ` Taco Hoekwater
2005-07-01 18:45 ` Mojca Miklavec
2005-07-04 15:12 ` Hans Hagen
2005-07-04 21:08 ` Mojca Miklavec
2005-07-04 22:20 ` Hans Hagen [this message]
2005-07-01 20:39 ` How to "\processcommalist"? (corrected solution) Taco Hoekwater
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=42C9B631.8020106@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).