Re: [NTG-context] error with m-database example

2012-02-16 Thread Hans Hagen
On 16-2-2012 12:03, Martin wrote: Admittedly I feel a bit lost when looking at the various processing modules... My goal is to create template based output. I have created a rough mail-merge example (with LibreOffice) and attached it as PDF for illustration. There is a CSV database with current

Re: [NTG-context] error with m-database example

2012-02-15 Thread Wolfgang Schuster
Am 15.02.2012 um 21:54 schrieb Martin: > > > > \unexpanded\def\SendMe#1#2{#1\crlf#2} > > > > Wolfgang > > Wolfgang, thanks, that worked for the sample code. However, when extended to > three fields (I need 8) the field splitting gets rather messy. I had to look at the example in the module for

Re: [NTG-context] error with m-database example

2012-02-15 Thread Martin
> > \unexpanded\def\SendMe#1#2{#1\crlf#2} > > Wolfgang Wolfgang, thanks, that worked for the sample code. However, when extended to three fields (I need 8) the field splitting gets rather messy. Thanks, Martin Modified code: \usemodule[database] \unexpanded\def\SendMe#1#2#3{#1\crlf#2\crlf#

Re: [NTG-context] error with m-database example

2012-02-15 Thread Wolfgang Schuster
Am 15.02.2012 um 16:06 schrieb Martin: > 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 l

[NTG-context] error with m-database example

2012-02-15 Thread Martin
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 c

Re: [NTG-context] error with m-database example

2010-12-21 Thread Florian Wobbe
On Dec 20, 2010, at 22:32 , Hans Hagen wrote: > On 20-12-2010 5:56, Mojca Miklavec wrote: >> On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: >>> Hi, >>> >>> The example from http://wiki.contextgarden.net/m-database gives me an error. >>> >>> ! LuaTeX error ...t-beta/texmf-context/tex/context

Re: [NTG-context] error with m-database example

2010-12-20 Thread Hans Hagen
On 20-12-2010 5:56, Mojca Miklavec wrote: On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: Hi, The example from http://wiki.contextgarden.net/m-database gives me an error. ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: bad argument #2 to 'lpegmatch' (string expe

Re: [NTG-context] error with m-database example

2010-12-20 Thread Florian Wobbe
On Dec 20, 2010, at 17:56 , Mojca Miklavec wrote: > On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: >> Hi, >> >> The example from http://wiki.contextgarden.net/m-database gives me an error. >> >> ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: >> bad argument #2 t

Re: [NTG-context] error with m-database example

2010-12-20 Thread Mojca Miklavec
On Sun, Dec 19, 2010 at 20:37, Florian Wobbe wrote: > Hi, > > The example from http://wiki.contextgarden.net/m-database gives me an error. > > ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: > bad argument #2 to 'lpegmatch' (string expected, got nil) > stack traceback: >

[NTG-context] error with m-database example

2010-12-19 Thread Florian Wobbe
Hi, The example from http://wiki.contextgarden.net/m-database gives me an error. ! LuaTeX error ...t-beta/texmf-context/tex/context/base/m-database.lua:74: bad argument #2 to 'lpegmatch' (string expected, got nil) stack traceback: [C]: in function 'lpegmatch' ...t-beta/texmf-cont