ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Rogers, Michael K" <mroge02@emory.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Database module gives an error
Date: Wed, 25 Jul 2012 15:13:40 +0000	[thread overview]
Message-ID: <69577FB9-EC44-44AF-B237-FBC8487062CD@emory.edu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1957 bytes --]

There is an example of an address label in Mojca'shttp://dl.contextgarden.net/myway/csv.pdf that throws an error in the current beta.  I changed "\def\SendMe" to "\unexpanded\def.." which fixed one error.  But now I get the following.  Can it be fixed?

\usemodule[database]
\unexpanded\def\SendMe#1#2#3#4{\framed [align={flushleft,lohi},
width=6cm, height=2.6cm]{#1\crlf#2\crlf\crlf\uppercase{#3\crlf#4}}}
\starttext
\defineseparatedlist[Address][separator={;},command=\SendMe]
\startAddress
NTG;Maasstraat 2;NL-5836 BB Sambeek;The Netherlands
Dante~e.V.;Postfach 101840;D-69008 Heidelberg;Germany
\stopAddress
\stoptext

! Missing { inserted.

system          > tex > error on line 18 in file foo9094.tex: Missing { inserted ...

 8     Dante~e.V.;Postfach 101840;D-69008 Heidelberg;Germany
 9     \stopAddress
10     \stoptext
11

<to be read again>
                   \unskip
\crlf ->\ifhmode \unskip
                         \prewordbreak \crlfplaceholder \ifcase \raggedstatu...
<to be read again> \uppercase \crlf
                                    MAASSTRAAT 2\crlf \SendMe
\SendMe ...f #2\crlf \crlf \uppercase {#3\crlf #4}
                                                  }
\SendMe ...f #2\crlf \crlf \uppercase {#3\crlf #4}
                                                  }
l.18 \SendMe

...
l.9 \stopAddress

?

Thanks,

Michael

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).

[-- Attachment #1.2: Type: text/html, Size: 3491 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-07-25 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25 15:13 Rogers, Michael K [this message]
2012-07-25 15:36 ` Wolfgang Schuster

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=69577FB9-EC44-44AF-B237-FBC8487062CD@emory.edu \
    --to=mroge02@emory.edu \
    --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).