From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Subject: Re: Elevated text blocks
Date: Thu, 28 Dec 2006 13:58:02 +0100 [thread overview]
Message-ID: <20061228135802.55a92c73.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <20061227212538.GA4333@grohe.our-isp.org>
On Wed, 27 Dec 2006 22:25:38 +0100
Gerhard Kugler <praxis@psychotherapie-kugler.de> wrote:
> Hi,
>
> in the book which I'm translating there are many exercises which
> should be elevated. The original sets grey bars at the beginning and
> the end. My solutions tends to light grey background over the whole
> text block. Partially the exercises exceed a page. If possible they
> should kept as wholes.
>
> What is the suitable logical isolation of these blocks in context?
> Framedtexts? Textblocks?
>
> Gerhard
>
> --
> Gerhard Kugler
> Psychotherapeut
> http://www.psychotherapie-kugler.de
Hi Gerhard,
you can keep text togehther by putting them into a vbox and it will
move to the next page if it will not fit on the current page.
There are to many ways how you defined your example, you can find one
way below. The important things are saved into the before and after
commands in the defintion.
<example>
\defineenumeration
[Example]
[before=\null\vbox\bgroup,
after=\egroup]
\starttext
\input knuth
\startExample
\dorecurse{30}{This is a example\crlf}
\stopExample
\input knuth
\stoptext
</example>
Wolfgang
next prev parent reply other threads:[~2006-12-28 12:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-27 21:25 Gerhard Kugler
2006-12-28 12:58 ` Wolfgang Schuster [this message]
2006-12-28 19:34 ` Gerhard Kugler
2006-12-29 9:12 ` Wolfgang Schuster
2006-12-28 16:48 ` Aditya Mahajan
2006-12-28 19:26 ` Gerhard Kugler
2006-12-28 20:03 ` Aditya Mahajan
2006-12-28 20:25 ` Gerhard Kugler
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=20061228135802.55a92c73.schuster.wolfgang@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).