* parallel texts, setuptabulate and widows-orphans control
@ 2016-04-19 15:14 massifr
0 siblings, 0 replies; only message in thread
From: massifr @ 2016-04-19 15:14 UTC (permalink / raw)
To: ntg-context
Hello list,
I've found that \start ... \stoptabulate can be used to format parallel texts,
with paragraphs that are synchronized and split well on different pages.
I also found that they don't play well with widow-orphan penalties.
Try this:
\setuptabulate[split=yes]
\starttext
\setpenalties\widowpenalties{1}{10000}
\setpenalties\clubpenalties{1}{10000}
\starttabulate[|p|p|]
\NC
\dorecurse{3}{\input knuth}
\NC
\dorecurse{2}{\input knuth}
\NC\NR
\stoptabulate
\stoptext
The penalties' settings make some lines overlap.
Comment out those two lines and everything works well.
Not a great problem, since I don't think you need
widow-orphan control in parallel texts.
It took me some time to understand what was making
lines overlap.
So I leave it here for future reference, if someone else
stumbles on the same problem.
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-19 15:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-19 15:14 parallel texts, setuptabulate and widows-orphans control massifr
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).