ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
To: ntg-context@ntg.nl
Subject: Keeping a block of text together, without breaking footnotes, etc.
Date: Fri, 16 May 2008 15:14:16 +1000	[thread overview]
Message-ID: <87wsluj0ev.fsf@rimspace.net> (raw)

G'day.

As part of a document I am laying out I have a number of blocks of text
that I want to keep together on a single page -- either all before a
page break or all after it.

I can achieve this using a \vbox, but that has the fairly undesirable
property of also preventing footnotes and, presumably, other ConTeXt
layout from working as expected.

What is the most effective way to achieve this?

A good example of what I want follows; in this I want the entire contact
form there kept as a single block, not split over pages.  The same sort
of situation comes up with some explanatory paragraphs and a yes/no
question section of the form.

\starttext
\dorecurse{10}
{\bf Contact Details}
\starttabulate[|l|p|]
\NC Name:             \NC \thinrule \NC \AR
\NC Address:          \NC \thinrules[n=3] \NC \AR
\NC Postcode:         \NC \thinrule \NC \AR
\NC Email:            \NC \thinrule \NC \AR
\NC Alternate Email:  \NC \thinrule \NC \AR
\NC Phone (BH):       \NC \thinrule \NC \AR
\NC Phone (AH):       \NC \thinrule \NC \AR
\NC Mobile:           \NC \thinrule \NC \AR
\stoptabulate
\starttabulate[|p|l|]
\NC Can this contact authorise work?       \NC YES / NO \NC \AR
\NC Can this contact authorise changes to this agreement?   \NC YES / NO \NC \AR
\NC Can we contact this person in an emergency?    \NC YES / NO \NC \AR
\stoptabulate
\par}
\stoptext


I would rather have under-full pages than split the blocks of text --
and I definitely want to preserve the ability to insert footnotes into
the running text, to clarify some of the terms or options.

Regards,
        Daniel
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2008-05-16  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-16  5:14 Daniel Pittman [this message]
2008-05-16 10:01 ` Taco Hoekwater

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=87wsluj0ev.fsf@rimspace.net \
    --to=daniel@rimspace.net \
    --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).