Am 25.07.2012 um 17:13 schrieb Rogers, Michael K:

> 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?

The example fails because in the MkIV version the command is applied to each 
table entry and not to the whole row as it was in MkII.

\usemodule[database]

\define[1]\MyCommand
  {\framed{#1}}

\defineseparatedlist
  [PriceTag]
  [separator={:},
     command=\MyCommand]

\starttext

\startPriceTag
Finnish thing:English name:2.15 eur:Finland
Pieni nyörihaarukka, koivua:Small lucet, beech:6 eur:xxx
\stopPriceTag

\stoptext

BTW: In MkIV \define\…{…} == \unexpanded\def\…{…} and the old \def\…{…} == 
\defineexpandable\…{…}

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

maillist : [email protected] / 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 via email to