ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: eating up &
Date: Fri, 14 Jul 2006 16:18:25 +0200	[thread overview]
Message-ID: <6faad9f00607140718x79fc044nb7a4e6ec1bad8ad0@mail.gmail.com> (raw)
In-Reply-To: <200B224C-D2F8-48F1-AC0C-A0520AB5D783@science.uva.nl>

On 7/13/06, Hans van der Meer wrote:
>
> I want to do something with & in tables (making it an active column
> separator).

I didn't follow this discussion closely (I have to catch up with the
mails from this week), so I might have missed the point, but does
something like this satisfy your needs?

\usemodule
	[database]
% you can change the commands to \starttabulate or \starttable,
% according to the pattern
% but I don't know them by heart
\defineseparatedlist
	[MyList]
	[left=\bTD,right=\eTD,
	 first=\bTR,last=\eTR,
	 before=\bTABLE,after=\eTABLE,
	 separator=&]
\starttext
\startseparatedlist[MyList]
a & b & c
\stopseparatedlist
\stoptext

Temporary documentation for "separatedlist" can be found on
http://pub.mojca.org/tex/csv/, but I have to wait until two important
bugs are fixed, namely UTF-8 (twice) and multiple separators one after
another (and I have some little problems with showing the settings of
two commands, which is most probably my fault).

Mojca

  parent reply	other threads:[~2006-07-14 14:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 19:54 Hans van der Meer
2006-07-13 20:27 ` Hans Hagen
2006-07-13 20:48   ` Hans van der Meer
2006-07-14  7:18     ` Hans Hagen
2006-07-14 13:12       ` Hans van der Meer
2006-07-14 13:57         ` Taco Hoekwater
2006-07-14 16:31           ` Hans van der Meer
2006-07-14 13:59         ` Hans Hagen
2006-07-14 10:56 ` Peter Rolf
2006-07-14 14:18 ` Mojca Miklavec [this message]
2006-07-14 16:25   ` Hans van der Meer

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=6faad9f00607140718x79fc044nb7a4e6ec1bad8ad0@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).