ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* preventing page break in verses
@ 2007-06-26  0:13 Vyatcheslav Yatskovsky
  2007-06-26  5:34 ` Aditya Mahajan
  2007-06-26  5:43 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Vyatcheslav Yatskovsky @ 2007-06-26  0:13 UTC (permalink / raw)
  To: ntg-context-request@ntg.nl

Hello,

I have a simple question about verses. How can I prevent a verse to be breaked across pages?

Now I use:

\definestartstop[verse][before=\startlines,
after=\stoplines]  

-- 
Best,
 Vyatcheslav                  

___________________________________________________________________________________
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] 4+ messages in thread

* Re: preventing page break in verses
  2007-06-26  0:13 preventing page break in verses Vyatcheslav Yatskovsky
@ 2007-06-26  5:34 ` Aditya Mahajan
  2007-06-26  5:43 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2007-06-26  5:34 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

On Tue, 26 Jun 2007, Vyatcheslav Yatskovsky wrote:

> Hello,
>
> I have a simple question about verses. How can I prevent a verse to be breaked across pages?
>
> Now I use:
>
> \definestartstop[verse][before=\startlines,
> after=\stoplines]

My first reaction was to use

\defineframedtext[verse][width=broad,frame=off,before=\startlines,after=\stoplines]

but for some very strange reason this does not work. So, try the 
following:

\defineframedtext[verseframe][width=broad,frame=off]

\definestartstop[verse]
      [before={\startlines\startverseframe},
        after={\stopverseframe\stoplines}]


Aditya
___________________________________________________________________________________
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] 4+ messages in thread

* Re: preventing page break in verses
  2007-06-26  0:13 preventing page break in verses Vyatcheslav Yatskovsky
  2007-06-26  5:34 ` Aditya Mahajan
@ 2007-06-26  5:43 ` Wolfgang Schuster
  2007-06-26  7:27   ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2007-06-26  5:43 UTC (permalink / raw)
  To: Yatskovsky, mailing list for ConTeXt users

2007/6/26, Vyatcheslav Yatskovsky <yatskovsky@gmail.com>:
> Hello,
>
> I have a simple question about verses. How can I prevent a verse to be breaked across pages?
>
> Now I use:
>
> \definestartstop[verse][before=\startlines,
> after=\stoplines]
>
> --
> Best,
>  Vyatcheslav

\definestartstop
  [verse]
  [before=\vbox\bgroup\startlines,
   %before={\page[preference]\vbox\bgroup\startlines},
   after=\stoplines\egroup]

Wolfgang
___________________________________________________________________________________
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] 4+ messages in thread

* Re: preventing page break in verses
  2007-06-26  5:43 ` Wolfgang Schuster
@ 2007-06-26  7:27   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2007-06-26  7:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:
> 2007/6/26, Vyatcheslav Yatskovsky <yatskovsky@gmail.com>:
>> Hello,
>>
>> I have a simple question about verses. How can I prevent a verse to be breaked across pages?
>>
>> Now I use:
>>
>> \definestartstop[verse][before=\startlines,
>> after=\stoplines]
>>
>> --
>> Best,
>>  Vyatcheslav
> 
> \definestartstop
>   [verse]
>   [before=\vbox\bgroup\startlines,
>    %before={\page[preference]\vbox\bgroup\startlines},
>    after=\stoplines\egroup]

\testpage[4]


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2007-06-26  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-26  0:13 preventing page break in verses Vyatcheslav Yatskovsky
2007-06-26  5:34 ` Aditya Mahajan
2007-06-26  5:43 ` Wolfgang Schuster
2007-06-26  7:27   ` Hans Hagen

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).