[NTG-context] database module: the first letter is lost

Hans Hagen pragma at wxs.nl
Wed Jun 25 21:44:21 CEST 2014


On 6/25/2014 7:21 PM, Michael Green wrote:
> This appears to be the same as the problem Peter Münster found with the letter module
>
> \usemodule[database]
>
> \defineseparatedlist[MyTable]
> 	[separator=tab,
> 	before=\bTABLE,after=\eTABLE,
> 	first=\bTR,last=\eTR,
> 	left=\bTD,right=\eTD]
>
> \starttext
>
> The first letter of “Cell” is lost.
>
> \startseparatedlist[MyTable]
> Cell 1	Cell 2
> \stopseparatedlist
>
> With an extra return, “Cell” is intact.
>
> \startseparatedlist[MyTable]
>
> Cell 1	Cell 2
> \stopseparatedlist
>
>
> \stoptext

in buff-ini.mkiv change this:

\def\buff_start_indeed#1#2#3#4%
   {\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4}}\plusone}}

probably needs some checking

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list