\setupparagraphs - can they run over two pages?
I have the following setup for side-by-side paras. \defineparagraphs[Two][n=2] \setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant] \setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant] My difficulty is that while there is only ever just a couple of numbers in the left-hand 'column', the right-hand 'column' may have several lengthy paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much empty space on the previous page. It is probable that getting this environment to split across pages is not possible. I can try very different approaches (columns, tables) to solve my problem, but I thought I would at least ask first. Julian
No, I don’t think that’s possible, at least it wasn’t last time I’ve checked : https://www.mail-archive.com/ntg-context@ntg.nl/msg102871.html
Best,
Denis
Von: ntg-context
I would try \setuptabulate, \starttabulate ... \stoptabulate. It has some limitations (though Hans added some features recently), but it should work. Massi Il 24/02/23 06:41, jbf via ntg-context ha scritto:
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant]
My difficulty is that while there is only ever just a couple of numbers in the left-hand 'column', the right-hand 'column' may have several lengthy paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much empty space on the previous page.
It is probable that getting this environment to split across pages is not possible. I can try very different approaches (columns, tables) to solve my problem, but I thought I would at least ask first.
Julian
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Yes, tabulate is a solution, though as I have just described for Denis who also responded to this issue, by some careful manipulation (which was possible for the circumstance I was dealing with) I simply noted where the page break occurred and started a new set of paragraphs after that. That was satisfactory in this case. Tabulate might have to be the solution for a different set of circumstances. Julian On 27/2/23 23:26, mf via ntg-context wrote:
I would try \setuptabulate, \starttabulate ... \stoptabulate.
It has some limitations (though Hans added some features recently), but it should work.
Massi
Il 24/02/23 06:41, jbf via ntg-context ha scritto:
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\setupparagraphs[Two][1][width=.1\textwidth,style=\bfx,align=tolerant]
\setupparagraphs[Two][2][width=.9\textwidth,style=normal,align=tolerant]
My difficulty is that while there is only ever just a couple of numbers in the left-hand 'column', the right-hand 'column' may have several lengthy paragraphs. If I have one relatively short \startTwo followed by one that is much longer, it will be forced to start on the next page, leaving too much empty space on the previous page.
It is probable that getting this environment to split across pages is not possible. I can try very different approaches (columns, tables) to solve my problem, but I thought I would at least ask first.
Julian
___________________________________________________________________________________
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 ___________________________________________________________________________________
___________________________________________________________________________________
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 ___________________________________________________________________________________
participants (3)
-
denis.maier@unibe.ch
-
jbf
-
mf