From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: [Fwd: after=\page in natural tables]
Date: Fri, 20 Jan 2006 21:48:10 +0100 [thread overview]
Message-ID: <43D14C8A.3080703@seznam.cz> (raw)
In-Reply-To: <43CC0AB4.1070100@wxs.nl>
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
prev parent reply other threads:[~2006-01-20 20:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-16 19:53 Vit Zyka
2006-01-16 21:05 ` Hans Hagen
2006-01-20 20:48 ` Vit Zyka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D14C8A.3080703@seznam.cz \
--to=vit.zyka@seznam.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).