ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin <martin.althoff@yahoo.com>
To: ntg-context@ntg.nl
Subject: error with m-database example
Date: Wed, 15 Feb 2012 16:06:25 +0100	[thread overview]
Message-ID: <4F3BC9F1.7080908@yahoo.com> (raw)

Sorry to pick up an old topic 
(http://archive.contextgarden.net/message/20101221.082006.4dc83f26.en.html), 
but I seem to have the same problem with m-database at mentioned in this 
old thread.

I am trying to "freely" use the data fields in a layout other than 
(natural) Tables.

An update of context (15.2.2012) doesn't help.

The example from the CSV MyWay fails as well as the simplified example 
below with following error:


\doprocessdatabase ...ameter \c!command \!!es , }}
l.14 \stopAddressen


Modifying m-database.lua as suggested in the old thread seems to have no 
effect on the error... Though I suspect the file has been changed since 
anyhow.

Thanks for any input, Martin

Code used:

\usemodule[database]

\def\SendMe#1#2{#1\crlf#2}

\defineseparatedlist
   [Addressen]
   [separator={;},command=\SendMe]

\starttext

\startAddressen
xyz;Maasstraat
abc;sometown
\stopAddressen

\stoptext


using the variant doesn't help:

\startseparatedlist[Addressen]
xyz;Maasstraat
abc;sometown
\stopseparatedlist


___________________________________________________________________________________
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:[~2012-02-15 15:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 15:06 Martin [this message]
2012-02-15 20:12 ` Wolfgang Schuster
2012-02-15 20:54   ` Martin
2012-02-15 21:08     ` Wolfgang Schuster
2012-02-16 11:03       ` Martin
2012-02-16 12:16         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2010-12-19 19:37 Florian Wobbe
2010-12-20 16:56 ` Mojca Miklavec
2010-12-20 17:46   ` Florian Wobbe
2010-12-20 21:32   ` Hans Hagen
2010-12-21  8:20     ` Florian Wobbe

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=4F3BC9F1.7080908@yahoo.com \
    --to=martin.althoff@yahoo.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).