From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)
Date: Tue, 8 Apr 2014 14:36:48 +0200 [thread overview]
Message-ID: <20140408143648.5ed4cd71@Klapprechner1.site> (raw)
In-Reply-To: <20140408015201.780a1b4e@Klapprechner1.site>
Dear list,
at first, I thought the following code (simplified) with frames,
hrules and vfills between them would work to typeset my table. However,
I have now realized that sometimes a pagebreak occurs before the final
(invisible) hrule, and then there's no vfill at the bottom of the page.
See this example:
\setuplayout [backspace=10mm, width=middle, topspace=10mm,
height=middle, header=0mm, headerdistance=0mm, footer=1mm,
footerdistance=0mm]
\setupframed[frame=on,framecolor=green,location=middle,align=right]
\define [2] \Tabline {
\hrule
\page[no]
\vfill
\dontleavehmode\framed[width=60mm]{#1}\framed[width=100mm]{#2}
\vfill
\hrule height 0pt
\par\page[bigpreference]
}
\setupbackgrounds[footer][text][topframe=on]
\starttext
\Tabline{\dorecurse{100}{word }}{\dorecurse{150}{word }}
\Tabline{\dorecurse{170}{word }}{\dorecurse{100}{word }}
\stoptext
How can I make sure a pagebreak occurs only between the Tablines?
The Tabline on the 1st page should appear centered, too. "\page[no]"
before "\hrule height 0pt" has no effect.
Thank you and kind regards
Joshua Krämer
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-04-08 12:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 12:56 Vertically stretched split table Joshua Krämer
2014-04-07 21:18 ` Hans Hagen
2014-04-07 23:52 ` Joshua Krämer
2014-04-08 12:36 ` Joshua Krämer [this message]
2014-04-14 13:24 ` frames, hrule, vfill and pagebreaks (was: Vertically stretched split table) Joshua Krämer
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=20140408143648.5ed4cd71@Klapprechner1.site \
--to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=ntg-context-wvrSQK3plZs@public.gmane.org \
/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).