From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Pagebreak only after stanzas
Date: Sat, 14 Apr 2007 17:36:05 -0400 (EDT) [thread overview]
Message-ID: <alpine.WNT.0.98.0704141729080.3928@nqvgln> (raw)
In-Reply-To: <f4c832270704141313w5fdde62fsa6d7ca0afd0c9506@mail.gmail.com>
On Sat, 14 Apr 2007, Bert Trüger wrote:
> Hi,
>
> i am a fresh convert to Context from Latex and deeply impressed by
> it's ability to set multiple pages on one page, even doublesided
> ones.
> For setting a collection of poems I use \obeylines and \smallskip
> to arrange them on the page. Pagebreaks should only be possible
> between stanzas at the \smallskip-mark. Could somebody tell me, how
> to achieve this?
Probably, the easiest way to do that will be to add a bit of a markup.
Something like (untested)
\setuplines[after={\blank[small]}] %or after=\smallskip
\defineframedtext[stanza][width=\textwidth,before=\startlines,after=\stoplines]
\startstanza
....
....
\stopstanza
Since framedtext is a box, it will not break across pages.
Aditya
next prev parent reply other threads:[~2007-04-14 21:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 20:13 Bert Trüger
2007-04-14 21:31 ` luigi scarso
2007-04-14 21:36 ` Aditya Mahajan [this message]
2007-04-15 13:27 ` Bert Trüger
2007-04-15 14:06 ` Wolfgang Schuster
2007-04-17 8:40 ` 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=alpine.WNT.0.98.0704141729080.3928@nqvgln \
--to=adityam@umich.edu \
--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).