Hi all, when I played a bit with linetables today, I found out that something's broken here. Minimal example (simplified from tabl-ltb.mkiv): \starttext \startlinetable \NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC ddddd \NC eeee \NC ff \NC \NR \stoplinetable \stoptext I get ! Missing number, treated as zero. <to be read again> d \!!depth ->d epth \domakeblackrule ...!!height \@@bjheight \!!depth \@@bjdepth \stopcolor \complexblackrule ...[\??bj ][#1]\domakeblackrule \egroup <argument> ...depth }, \c!width =\wd \scratchbox ] \hskip -\wd \scratchbox \b... \firstoftwoarguments #1#2->#1 ... l.8 \NC yy \NC ddddd \NC eeee \NC ff \NC \NR All best Thomas
Am 21.02.10 23:14, schrieb Thomas A. Schmitz:
Hi all,
when I played a bit with linetables today, I found out that something's broken here. Minimal example (simplified from tabl-ltb.mkiv):
\startlinetable \NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC ddddd \NC eeee \NC ff \NC \NR \stoplinetable
You can use the buffer method for linetables \startbuffer[test] \NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC ddddd \NC eeee \NC ff \NC\NR \stopbuffer \processlinetablebuffer[test] Wolfgang
On Feb 21, 2010, at 11:31 PM, Wolfgang Schuster wrote:
You can use the buffer method for linetables
\startbuffer[test] \NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC ddddd \NC eeee \NC ff \NC\NR \stopbuffer
\processlinetablebuffer[test]
Wolfgang
Wolfgang, thank you, this does work! Does that mean nothing is broken, but linetables need to be processed in buffers? All best Thomas
On 21-2-2010 23:34, Thomas A. Schmitz wrote:
On Feb 21, 2010, at 11:31 PM, Wolfgang Schuster wrote:
You can use the buffer method for linetables
\startbuffer[test] \NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC ddddd \NC eeee \NC ff \NC\NR \stopbuffer
\processlinetablebuffer[test]
Wolfgang
Wolfgang, thank you, this does work! Does that mean nothing is broken, but linetables need to be processed in buffers?
indeed, as they are processed in several passes Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 21.02.10 23:42, schrieb Hans Hagen:
Does that mean nothing is broken, but linetables need to be processed in buffers?
indeed, as they are processed in several passes But why can't tabulate grab the content, was this a memory problem in MkII? TABLE and tabulate use also several passes and don't need this.
Wolfgang
On 21-2-2010 23:46, Wolfgang Schuster wrote:
Am 21.02.10 23:42, schrieb Hans Hagen:
Does that mean nothing is broken, but linetables need to be processed in buffers?
indeed, as they are processed in several passes But why can't tabulate grab the content, was this a memory problem in MkII? TABLE and tabulate use also several passes and don't need this.
linetables were writen for a project where tables could span 100 pages or more with tables being split in spreads and pages so indeed memory becomes an issue then some day i might write a variant in lua Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster