ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupparagraphs - can they run over two pages?
@ 2023-02-24  5:41 jbf via ntg-context
  2023-02-27 12:16 ` Denis Maier via ntg-context
  2023-02-27 12:26 ` mf via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: jbf via ntg-context @ 2023-02-24  5:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: jbf


[-- Attachment #1.1: Type: text/plain, Size: 777 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1348 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: \setupparagraphs - can they run over two pages?
  2023-02-24  5:41 \setupparagraphs - can they run over two pages? jbf via ntg-context
@ 2023-02-27 12:16 ` Denis Maier via ntg-context
  2023-02-27 12:26 ` mf via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Denis Maier via ntg-context @ 2023-02-27 12:16 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

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 <ntg-context-bounces@ntg.nl> Im Auftrag von jbf via ntg-context
Gesendet: Freitag, 24. Februar 2023 06:42
An: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: jbf <roma83537@gmail.com>
Betreff: [NTG-context] \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

[-- Attachment #1.2: Type: text/html, Size: 3797 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: \setupparagraphs - can they run over two pages?
  2023-02-24  5:41 \setupparagraphs - can they run over two pages? jbf via ntg-context
  2023-02-27 12:16 ` Denis Maier via ntg-context
@ 2023-02-27 12:26 ` mf via ntg-context
  2023-02-27 20:28   ` jbf via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: mf via ntg-context @ 2023-02-27 12:26 UTC (permalink / raw)
  To: ntg-context; +Cc: mf

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
___________________________________________________________________________________

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

* Re: \setupparagraphs - can they run over two pages?
  2023-02-27 12:26 ` mf via ntg-context
@ 2023-02-27 20:28   ` jbf via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: jbf via ntg-context @ 2023-02-27 20:28 UTC (permalink / raw)
  To: mf via ntg-context; +Cc: jbf

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
> ___________________________________________________________________________________ 
>
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2023-02-27 20:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24  5:41 \setupparagraphs - can they run over two pages? jbf via ntg-context
2023-02-27 12:16 ` Denis Maier via ntg-context
2023-02-27 12:26 ` mf via ntg-context
2023-02-27 20:28   ` jbf 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).