Re: [NTG-context] linetables broken?

2010-02-22 Thread Hans Hagen

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


[NTG-context] linetables broken?

2010-02-21 Thread 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):


\starttext


\startlinetable
\NC[background=color,backgroundcolor=darkred] xxx
 \NC yy \NC d \NC  \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 d \NC  \NC ff \NC \NR

All best

Thomas
___
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
___


Re: [NTG-context] linetables broken?

2010-02-21 Thread Wolfgang Schuster

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 d \NC  \NC ff \NC \NR
\stoplinetable
   

You can use the buffer method for linetables

\startbuffer[test]
\NC[background=color,backgroundcolor=darkred] xxx \NC yy \NC d \NC 
 \NC ff \NC\NR

\stopbuffer

\processlinetablebuffer[test]

Wolfgang

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


Re: [NTG-context] linetables broken?

2010-02-21 Thread Thomas A. Schmitz

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 d \NC  
 \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
___
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
___


Re: [NTG-context] linetables broken?

2010-02-21 Thread Hans Hagen

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 d \NC  \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
-
___
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
___


Re: [NTG-context] linetables broken?

2010-02-21 Thread Wolfgang Schuster

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

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