ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Pagebreak only after stanzas
Date: Sun, 15 Apr 2007 16:06:50 +0200	[thread overview]
Message-ID: <20070415160650.1b71d31e.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <f4c832270704150627x54073e72v8f9440a23ccefcc3@mail.gmail.com>

On Sun, 15 Apr 2007 15:27:20 +0200
"Bert Trüger" <xulxer@gmail.com> wrote:

> Hi again,
> 
> I have tried to implement Adityas suggestions. Now pagebreaks are correct.
> But how can I minimize the whitespace between stanzas. There shouldn't be
> much more than a \smallskip.  I tried to look it up in the contextgarden
> wiki, but an entry on verses seems to be missing, so I could wikify the
> solutions.
> 
> Thanks in advance
> 
> Chris
> 
> A minimal example looks like:
> 
> \setuppapersize[A6][A6]
> \setuplayout[
> topspace=1cm,backspace=1cm,header=0pt,footer=0pt,margin=.5cm,height=middle,width=middle,]
> 
> \usetypescriptfile[type-gyr]
> \usetypescript[times][texnansi]
> \mainlanguage[de]
> \enableregime[utf]
> \setupbodyfont[times,9pt]
> 
> \setupindenting[medium, no]
> 
> \setupframedtexts[width=\textwidth,height=fit,frame=on]
> 
> \starttext
> \subsection{Novalis—An Tieck}
> \obeylines
> \startframedtext
> Ein Kind voll Wehmut und voll Teue,
> Verstoßen in ein fremdes Land,
> Ließ gern das Glänzende und Neue,
> Und blieb dem Alten zugewandt.
> \stopframedtext
> \startframedtext
> Nach langem Suchen, langem Warten,
> Nach manchem mühevollen Gang,
> Fand es in einem öden Garten
> Auf einer längst verfallenen Bank
> \stopframedtext
> 
> \stoptext

Hi Bert,

can you file with these settings

\setupframedtexts
  [framedtext]
  [width=\textwidth,
   height=fit,
   before=,
   after=]

\setuplines
  [before=\startframedtext,
   after=\stopframedtext]

\starttext

\subsection{Novalis--An Tieck}

\startlines
Ein Kind voll Wehmut und voll Teue,
Verstoßen in ein fremdes Land,
Ließ gern das Glänzende und Neue,
Und blieb dem Alten zugewandt.
\stoplines

\startlines
Nach langem Suchen, langem Warten,
Nach manchem mühevollen Gang,
Fand es in einem öden Garten
Auf einer längst verfallenen Bank
\stoplines

\stoptext

Wolfgang
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2007-04-15 14:06 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
2007-04-15 13:27   ` Bert Trüger
2007-04-15 14:06     ` Wolfgang Schuster [this message]
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=20070415160650.1b71d31e.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).