Re: [NTG-context] Page breaks with \defineparagraphs possible?
Hi Wolfgang, \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|] One more on this actually: how can I influence the white space between the columns? I tried to set distance, but that didn't do anything. Setting p(4cm) or so, made the paragraphs smaller, but did not impact the white space between the columns. -- 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 ___
Re: [NTG-context] Page breaks with \defineparagraphs possible?
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Just one thing for others, this solution as the same problem as paragraphs: \placeinitial won't work. I.e. this: \setupinitial[text=#1]\placeinitial inside the tabulate or paragraphs doesn't work (but here I simply use a \hbox{\vbox{}\hfil\vbox{}} solution which works well enough I think, as I only need this for the opening paragraph. -- 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 ___
Re: [NTG-context] Page breaks with \defineparagraphs possible?
Hi Wolfgang, You can use the tabulate environment to create parallel paragraphs. Ah yes, that's working! Thank you so much! One question on the pA{normal,verytolerant,stretch}: what does that do exactly? From the manual I got that A only takes one key, what does specifying three keys mean? -- 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 ___
Re: [NTG-context] Page breaks with \defineparagraphs possible?
Berend de Boer via ntg-context schrieb am 05.06.2023 um 00:02: 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. You can use the tabulate environment to create parallel paragraphs. \setuppapersize[A5] \definetabulate[bilingual][|pA{normal,verytolerant,stretch}|pA{normal,verytolerant,stretch}|] \starttext \startbilingual \NC \input tufte \NC \input knuth \NC\NR \stopbilingual \stoptext Wolfgang ___ 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 ___
[NTG-context] Page breaks with \defineparagraphs possible?
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 ___