ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Berend de Boer via ntg-context <ntg-context@ntg.nl>
To: NTG-ConTeXt mailing list <ntg-context@ntg.nl>
Cc: Berend de Boer <berend@pobox.com>
Subject: [NTG-context] Page breaks with \defineparagraphs possible?
Date: Mon, 05 Jun 2023 10:02:13 +1200	[thread overview]
Message-ID: <87edmq3mze.wl-berend@pobox.com> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2023-06-04 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 22:02 Berend de Boer via ntg-context [this message]
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

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=87edmq3mze.wl-berend@pobox.com \
    --to=ntg-context@ntg.nl \
    --cc=berend@pobox.com \
    /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).