ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Page breaks with \defineparagraphs possible?
@ 2023-06-04 22:02 Berend de Boer via ntg-context
  2023-06-04 22:30 ` Wolfgang Schuster via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Berend de Boer via ntg-context @ 2023-06-04 22:02 UTC (permalink / raw)
  To: NTG-ConTeXt mailing list; +Cc: Berend de Boer

Dear all,

I've noticed that \defineparagraphs does not break across pages. That
would be a huge page saver in my case. Do I have any options for page
breaking across a set of parallel paragraphs?

Initially I just had a \hbox{\vtop{#1}\hfil\vtop{#2}} but obviously
that doesn't break, so went for more ConTeXt style, but couldn't see a
good mechanism.


Example file where you can see the entire paragraphs thing is put on the next page.

==================================================

\setuppapersize[A5]

\defineparagraphs[bilingual][n=2,tolerance=stretch,before=,after=,distance=\0.06\textwidth]
\setupparagraphs[bilingual][1][width=0.47\textwidth]
\setupparagraphs[bilingual][2][width=0.47\textwidth]

\starttext

\input tufte

\startbilingual
  \input tufte
  \nextbilingual
  \input knuth

\stopbilingual

\stoptext

==================================================

-- 
All the best,

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-05  6:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-04 22:02 [NTG-context] Page breaks with \defineparagraphs possible? Berend de Boer via ntg-context
2023-06-04 22:30 ` Wolfgang Schuster via ntg-context
2023-06-05  6:14   ` Berend de Boer via ntg-context
2023-06-05  6:23   ` Berend de Boer via ntg-context
2023-06-05  6:38   ` Berend de Boer via ntg-context

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