ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* quotechar and command with database module
@ 2010-05-09 18:29 Vianney le Clément
  2010-05-09 18:34 ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Vianney le Clément @ 2010-05-09 18:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

There seems to be a bug in the database module when using the
quotechar and command option at the same time. Here is a minimal
example.

\usemodule[database]
\defineseparatedlist
  [CSV]
  [separator=comma,
   quotechar={"},
   command=\Whatever]
\def\Whatever#1#2{[#1][#2]\par}
\starttext
\startCSV
One,Two
Three,Four
\stopCSV
\startCSV
One,Two
"Three,three",Four
\stopCSV
\stoptext

It works as expected when commenting the fifth line.

Regards,
Vianney
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-10  7:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-09 18:29 quotechar and command with database module Vianney le Clément
2010-05-09 18:34 ` Mojca Miklavec
2010-05-09 20:57   ` Hans Hagen
2010-05-10  0:37     ` Mojca Miklavec
2010-05-10  7:21       ` Hans Hagen

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).