I have defined a simple environment for verse within prose-context. Obviously I 
never want the first or last lines of the verses to stand as widows or orphans. 
I could just add \nobreak to every first and last line of verse to achieve 
this. But I was wondering whether I could change anything of my 
\definestartstop to do this automatically. Simply adding \nobreak to before= 
and after= doesn't work.


Thank you all for your time!
Best,
Florian.



\definestartstop        [origverse]
                        [before={\startnarrower[left,right]\startlines},
                        after={\stoplines\stopnarrower
%                       \setupindenting[next] %\indenting is deprecated!
                        \blank}]




\startdocument

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

\startorigverse
vvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvv
vvvvvvvvvvvvvvvvvv
vvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvvv
\stoporigverse

prose again

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

prose

\startorigverse
vvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvv
vvvvvvvvvvvvvvvvvv
vvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvvv
\stoporigverse

prose again


____________________________________________

Florian Grammel

Copenhagen, Denmark

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to