ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: hajtmar@gyza.cz, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \processcommalist with any separator
Date: Thu, 24 Jan 2013 21:49:04 +0100	[thread overview]
Message-ID: <E44C0592-C877-42A8-8367-E4E8EFE1A382@gmail.com> (raw)
In-Reply-To: <51019B2C.1080002@gyza.cz>


Am 24.01.2013 um 21:35 schrieb Jaroslav Hajtmar <hajtmar@gyza.cz>:

> Hello ConTeXist.
> 
> I use the \processcommalist command and at this point I would like to see if there is any possibility of using a similar command but with the custom separator. Not to me to use a comma as a separator, because I need to have a comma as a character in the processed item list.

\starttext

\define[1]\ListEntry{#1\par}

\processcommalist[one,two,{three,four}]\ListEntry

\blank

\processseparatedlist[one;two;three,four][;]\ListEntry

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-01-24 20:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 20:35 Jaroslav Hajtmar
2013-01-24 20:49 ` Wolfgang Schuster [this message]
2013-01-24 21:02   ` Jaroslav Hajtmar

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=E44C0592-C877-42A8-8367-E4E8EFE1A382@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=hajtmar@gyza.cz \
    --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).