* Keeping a block of text together, without breaking footnotes, etc.
@ 2008-05-16 5:14 Daniel Pittman
2008-05-16 10:01 ` Taco Hoekwater
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Pittman @ 2008-05-16 5:14 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Keeping a block of text together, without breaking footnotes, etc.
2008-05-16 5:14 Keeping a block of text together, without breaking footnotes, etc Daniel Pittman
@ 2008-05-16 10:01 ` Taco Hoekwater
0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2008-05-16 10:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Daniel Pittman wrote:
> 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?
\startframedtext[...]
\stopframedtext
Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-16 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 5:14 Keeping a block of text together, without breaking footnotes, etc Daniel Pittman
2008-05-16 10:01 ` Taco Hoekwater
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).