ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Werner Hennrich <wehe@gmx.at>
To: Hans Hagen <j.hagen@xs4all.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: new page before xtable with repeated headers
Date: Sat, 24 Apr 2021 09:56:21 +0200	[thread overview]
Message-ID: <c8b67b8f-0174-aa6a-216b-9ad7d131a8be@gmx.at> (raw)
In-Reply-To: <a8160df5-e5d2-3643-0118-25ae3062719a@xs4all.nl>

Thank you Hans,

this works well in my unchanged MWE -
I'll do some more rigorous testing on monday and let you know.

Thanks a lot and hava a nice weekend!
Werner


Am 23.04.21 um 21:28 schrieb Hans Hagen:
> Always tricky this (on my agenda is to look into the engines page
> builder ...)
>
> You can put this on cont-new.mkxl as test:
>
> \unprotect
>
> \defcsname\??xtableflushsplit\v!repeat\endcsname
>  {\doloop
>     {\clf_x_table_flush
>        method {\v!split}%
>        height
> \ifdim\pagegoal=\maxdimen\textheight\else\dimexpr\pagegoal-\pagetotal\relax\fi
>      \relax
>      \ifcase\c_tabl_x_state
>        \exitloop
>      \else
>        \page
>      \fi}}
>
> \protect
>
> Please test a lot! I also needs Wolfgangs opinion on this. Maybe
> preceding whitespace can interfere so maybe we need some 'slack'
> parameter.
>
> Hans


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-04-24  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23  9:33 Werner Hennrich
2021-04-23 19:28 ` Hans Hagen
2021-04-24  7:56   ` Werner Hennrich [this message]
     [not found]   ` <97b89634-8d32-db43-ec9f-2fca501b9464@gmail.com>
2021-04-26 13:36     ` Werner Hennrich
2021-05-31  8:50   ` Werner Hennrich
2021-05-31  9:33     ` Hans Hagen
2021-05-31 10:36       ` Werner Hennrich
2021-05-31 10:45         ` Werner Hennrich
2021-05-31 12:07         ` Hans Hagen

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=c8b67b8f-0174-aa6a-216b-9ad7d131a8be@gmx.at \
    --to=wehe@gmx.at \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@googlemail.com \
    /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).