Hans Hagen wrote:
Vit Zyka wrote:
Hello,
this example from core-ntb.tex
------------------------------------------------
\startbuffer[table3]
\bTABLE[split=yes]
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR[after=\page] \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\eTABLE
\stopbuffer
\starttext
\getbuffer[table3]
\stoptext
-----------------------------------------------
does not work. Here is a log from live-wiki:
(./texweb-table3.tmp
! Use of \dododecrement doesn't match its definition.
\doifnextcharelse ...token =#1\def \!!stringa {#2}
\def \!!stringb
{#3}\futur...
\popTBL ...\intablefalse \fi \doglobal \decrement
\TBLlevel \relax
l.5 \eTABLE
?
! Emergency stop.
nasty one: we need to make \page test-safe
\unexpanded\def\pagebreak
{\dosingleempty\dopagebreak}
I seee, OK thanks, it works. And I have to admit Taco was right with
actual page height influences column splitting. I was wrong with my
opinion. I was confused with
1) \adaptlayout[page][height=+3cm]
increases the height only by: min(3cm,footer-height)
(means UPTO footer-height)
2) there is some rounding error if setting height=(fit|middle), see
-----------------------------------------------
\showframe
\setuplayout[
height=fit, % or middle
]
\startbuffer[table]
\bTABLE[split=yes]
\dorecurse{200}{\bTR\bTD cell #1\eTD\eTR}
\eTABLE
\stopbuffer
\starttext
\startcolumns
\getbuffer[table]
\stopcolumns
\stoptext
------------------------------------------------
Vit
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context