ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions on columnsetspan (and grids and backgrounds)
@ 2019-05-11  8:28 Mikael P. Sundqvist
  2019-05-13 15:59 ` Mikael P. Sundqvist
  0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2019-05-11  8:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]

Hi,

I have for some hours tried to understand how to work with
columnsetspans (I'm trying with an updated lmtx), and have some
questions.

1) Is it only the floats that has the long list of placement options
(given on p. 18 in the columnsets manual), or should they also apply
to columnsetspans and columnsetareas? (I cannot get it to work with
"default=fxtb:2*10" and similar options for other elements than
floats). It would be useful to have it for other type of elements as
well.

2) What is the current correct way to get back on grid after formulas?
The only key that had lead me to something that seems to work in
\setupformulas is "option=depth". Is that the way to go?

3) This is a bit unrelated, but is it possible to set page backgrounds
on specific page. Something like \setupbackgrounds[page][page=3, ...]
(I cannot find any keys for this in setup-en.pdf). Right now I can set
it for an odd and an even page, but then if I want a background on the
page after that, I have to put that code at the place where it will be
used. (I got an error with \startpostponing[+1] ... \stoppostponing)

4) To be a bit more concrete on the first issue: In the example below,
how can I place the columnsetspan at the bottom right? Second and
third column, 10 lines down? I attach the result of running this file.

/Mikael

\setuplayout[grid=yes]
\showgrid
\definecolumnset[three][n=3]

\definecolumnsetspan[two][
n=2,
background=color,
backgroundcolor=lightgray,
]

\starttext
\startcolumnset[three]
\samplefile{knuth}

\startcolumnsetspan[two][default=btrl]
\samplefile{ward}
\stopcolumnsetspan

\dorecurse{5}{\samplefile{knuth}\par}
\stopcolumnset
\stoptext

[-- Attachment #2: span.pdf --]
[-- Type: application/pdf, Size: 26074 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-11  8:28 Questions on columnsetspan (and grids and backgrounds) Mikael P. Sundqvist
@ 2019-05-13 15:59 ` Mikael P. Sundqvist
  2019-05-14  8:39   ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2019-05-13 15:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Den lör 11 maj 2019 10:28Mikael P. Sundqvist <mickep@gmail.com> skrev:

> Hi,
>
> I have for some hours tried to understand how to work with
> columnsetspans (I'm trying with an updated lmtx), and have some
> questions.
>
> 1) Is it only the floats that has the long list of placement options
> (given on p. 18 in the columnsets manual), or should they also apply
> to columnsetspans and columnsetareas? (I cannot get it to work with
> "default=fxtb:2*10" and similar options for other elements than
> floats). It would be useful to have it for other type of elements as
> well.
>
> 2) What is the current correct way to get back on grid after formulas?
> The only key that had lead me to something that seems to work in
> \setupformulas is "option=depth". Is that the way to go?
>
> 3) This is a bit unrelated, but is it possible to set page backgrounds
> on specific page. Something like \setupbackgrounds[page][page=3, ...]
> (I cannot find any keys for this in setup-en.pdf). Right now I can set
> it for an odd and an even page, but then if I want a background on the
> page after that, I have to put that code at the place where it will be
> used. (I got an error with \startpostponing[+1] ... \stoppostponing)
>
> 4) To be a bit more concrete on the first issue: In the example below,
> how can I place the columnsetspan at the bottom right? Second and
> third column, 10 lines down? I attach the result of running this file.
>
> /Mikael
>
> \setuplayout[grid=yes]
> \showgrid
> \definecolumnset[three][n=3]
>
> \definecolumnsetspan[two][
> n=2,
> background=color,
> backgroundcolor=lightgray,
> ]
>
> \starttext
> \startcolumnset[three]
> \samplefile{knuth}
>
> \startcolumnsetspan[two][default=btrl]
> \samplefile{ward}
> \stopcolumnsetspan
>
> \dorecurse{5}{\samplefile{knuth}\par}
> \stopcolumnset
> \stoptext
>

Hi!

I have looked more carefully at the columnsets manual, and it looks like
(parts of) the columnsets mechanism is somehow broken at the moment, since
some of the examples there are not showing what they are supposed to.

Can this be confirmed? Is there a plan to get it to work soon again?

Best regards, Mikael

>

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

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-13 15:59 ` Mikael P. Sundqvist
@ 2019-05-14  8:39   ` Hans Hagen
  2019-05-14  9:24     ` Floris van Manen
  2019-05-14  9:36     ` Mikael P. Sundqvist
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2019-05-14  8:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mikael P. Sundqvist

On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote:
> Den lör 11 maj 2019 10:28Mikael P. Sundqvist <mickep@gmail.com 
> <mailto:mickep@gmail.com>> skrev:
> 
>     Hi,
> 
>     I have for some hours tried to understand how to work with
>     columnsetspans (I'm trying with an updated lmtx), and have some
>     questions.
> 
>     1) Is it only the floats that has the long list of placement options
>     (given on p. 18 in the columnsets manual), or should they also apply
>     to columnsetspans and columnsetareas? (I cannot get it to work with
>     "default=fxtb:2*10" and similar options for other elements than
>     floats). It would be useful to have it for other type of elements as
>     well.
> 
>     2) What is the current correct way to get back on grid after formulas?
>     The only key that had lead me to something that seems to work in
>     \setupformulas is "option=depth". Is that the way to go?
> 
>     3) This is a bit unrelated, but is it possible to set page backgrounds
>     on specific page. Something like \setupbackgrounds[page][page=3, ...]
>     (I cannot find any keys for this in setup-en.pdf). Right now I can set
>     it for an odd and an even page, but then if I want a background on the
>     page after that, I have to put that code at the place where it will be
>     used. (I got an error with \startpostponing[+1] ... \stoppostponing)
> 
>     4) To be a bit more concrete on the first issue: In the example below,
>     how can I place the columnsetspan at the bottom right? Second and
>     third column, 10 lines down? I attach the result of running this file.
> 
>     /Mikael
> 
>     \setuplayout[grid=yes]
>     \showgrid
>     \definecolumnset[three][n=3]
> 
>     \definecolumnsetspan[two][
>     n=2,
>     background=color,
>     backgroundcolor=lightgray,
>     ]
> 
>     \starttext
>     \startcolumnset[three]
>     \samplefile{knuth}
> 
>     \startcolumnsetspan[two][default=btrl]
>     \samplefile{ward}
>     \stopcolumnsetspan
> 
>     \dorecurse{5}{\samplefile{knuth}\par}
>     \stopcolumnset
>     \stoptext
> 
> 
> Hi!
> 
> I have looked more carefully at the columnsets manual, and it looks like 
> (parts of) the columnsets mechanism is somehow broken at the moment, 
> since some of the examples there are not showing what they are supposed to.

the mkii mechanism has been replaced by a new one but it's not 
completely compatible (these placements are actually for floats and 
spans were just a special kind abusing that mechanism)

> Can this be confirmed? Is there a plan to get it to work soon again?
i'll put it on the todo list

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-14  8:39   ` Hans Hagen
@ 2019-05-14  9:24     ` Floris van Manen
  2019-05-14  9:36     ` Mikael P. Sundqvist
  1 sibling, 0 replies; 7+ messages in thread
From: Floris van Manen @ 2019-05-14  9:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

is this related?

\setuplayout[grid=yes]
\showgrid
\definecolumnset[three][n=3]
\starttext
\samplefile{knuth}
\startcolumns[n=3]
\dorecurse{4}{\samplefile{knuth}\par}
\stopcolumns
\page
\samplefile{knuth}
\startcolumnset[three]
\dorecurse{4}{\samplefile{knuth}\par}
\stopcolumnset
\stoptext


Using the \startcolumnset instead of \startcolumns will overwrite the first paragraph at the top of the page
in its second and third column

.F

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-14  8:39   ` Hans Hagen
  2019-05-14  9:24     ` Floris van Manen
@ 2019-05-14  9:36     ` Mikael P. Sundqvist
  2019-05-15  7:28       ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Mikael P. Sundqvist @ 2019-05-14  9:36 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Tue, May 14, 2019 at 10:39 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote:
> > Den lör 11 maj 2019 10:28Mikael P. Sundqvist <mickep@gmail.com
> > <mailto:mickep@gmail.com>> skrev:
> >
> >     Hi,
> >
> >     I have for some hours tried to understand how to work with
> >     columnsetspans (I'm trying with an updated lmtx), and have some
> >     questions.
> >
> >     1) Is it only the floats that has the long list of placement options
> >     (given on p. 18 in the columnsets manual), or should they also apply
> >     to columnsetspans and columnsetareas? (I cannot get it to work with
> >     "default=fxtb:2*10" and similar options for other elements than
> >     floats). It would be useful to have it for other type of elements as
> >     well.
> >
> >     2) What is the current correct way to get back on grid after formulas?
> >     The only key that had lead me to something that seems to work in
> >     \setupformulas is "option=depth". Is that the way to go?
> >
> >     3) This is a bit unrelated, but is it possible to set page backgrounds
> >     on specific page. Something like \setupbackgrounds[page][page=3, ...]
> >     (I cannot find any keys for this in setup-en.pdf). Right now I can set
> >     it for an odd and an even page, but then if I want a background on the
> >     page after that, I have to put that code at the place where it will be
> >     used. (I got an error with \startpostponing[+1] ... \stoppostponing)
> >
> >     4) To be a bit more concrete on the first issue: In the example below,
> >     how can I place the columnsetspan at the bottom right? Second and
> >     third column, 10 lines down? I attach the result of running this file.
> >
> >     /Mikael
> >
> >     \setuplayout[grid=yes]
> >     \showgrid
> >     \definecolumnset[three][n=3]
> >
> >     \definecolumnsetspan[two][
> >     n=2,
> >     background=color,
> >     backgroundcolor=lightgray,
> >     ]
> >
> >     \starttext
> >     \startcolumnset[three]
> >     \samplefile{knuth}
> >
> >     \startcolumnsetspan[two][default=btrl]
> >     \samplefile{ward}
> >     \stopcolumnsetspan
> >
> >     \dorecurse{5}{\samplefile{knuth}\par}
> >     \stopcolumnset
> >     \stoptext
> >
> >
> > Hi!
> >
> > I have looked more carefully at the columnsets manual, and it looks like
> > (parts of) the columnsets mechanism is somehow broken at the moment,
> > since some of the examples there are not showing what they are supposed to.
>
> the mkii mechanism has been replaced by a new one but it's not
> completely compatible (these placements are actually for floats and
> spans were just a special kind abusing that mechanism)
>
> > Can this be confirmed? Is there a plan to get it to work soon again?
> i'll put it on the todo list
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------

Hi!

Many thanks for your reply! Then I stop my playing with it now
(several things work and it looks quite nice!).

I really appreciate any effort in this direction, since I think this
grid+column functionality is a very nice feature to have!!

/Mikael
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-14  9:36     ` Mikael P. Sundqvist
@ 2019-05-15  7:28       ` Hans Hagen
  2019-05-18 19:40         ` Mikael P. Sundqvist
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2019-05-15  7:28 UTC (permalink / raw)
  To: Mikael P. Sundqvist; +Cc: mailing list for ConTeXt users

On 5/14/2019 11:36 AM, Mikael P. Sundqvist wrote:
> On Tue, May 14, 2019 at 10:39 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
>>
>> On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote:
>>> Den lör 11 maj 2019 10:28Mikael P. Sundqvist <mickep@gmail.com
>>> <mailto:mickep@gmail.com>> skrev:
>>>
>>>      Hi,
>>>
>>>      I have for some hours tried to understand how to work with
>>>      columnsetspans (I'm trying with an updated lmtx), and have some
>>>      questions.
>>>
>>>      1) Is it only the floats that has the long list of placement options
>>>      (given on p. 18 in the columnsets manual), or should they also apply
>>>      to columnsetspans and columnsetareas? (I cannot get it to work with
>>>      "default=fxtb:2*10" and similar options for other elements than
>>>      floats). It would be useful to have it for other type of elements as
>>>      well.
>>>
>>>      2) What is the current correct way to get back on grid after formulas?
>>>      The only key that had lead me to something that seems to work in
>>>      \setupformulas is "option=depth". Is that the way to go?
>>>
>>>      3) This is a bit unrelated, but is it possible to set page backgrounds
>>>      on specific page. Something like \setupbackgrounds[page][page=3, ...]
>>>      (I cannot find any keys for this in setup-en.pdf). Right now I can set
>>>      it for an odd and an even page, but then if I want a background on the
>>>      page after that, I have to put that code at the place where it will be
>>>      used. (I got an error with \startpostponing[+1] ... \stoppostponing)
>>>
>>>      4) To be a bit more concrete on the first issue: In the example below,
>>>      how can I place the columnsetspan at the bottom right? Second and
>>>      third column, 10 lines down? I attach the result of running this file.
>>>
>>>      /Mikael
>>>
>>>      \setuplayout[grid=yes]
>>>      \showgrid
>>>      \definecolumnset[three][n=3]
>>>
>>>      \definecolumnsetspan[two][
>>>      n=2,
>>>      background=color,
>>>      backgroundcolor=lightgray,
>>>      ]
>>>
>>>      \starttext
>>>      \startcolumnset[three]
>>>      \samplefile{knuth}
>>>
>>>      \startcolumnsetspan[two][default=btrl]
>>>      \samplefile{ward}
>>>      \stopcolumnsetspan
>>>
>>>      \dorecurse{5}{\samplefile{knuth}\par}
>>>      \stopcolumnset
>>>      \stoptext
>>>
>>>
>>> Hi!
>>>
>>> I have looked more carefully at the columnsets manual, and it looks like
>>> (parts of) the columnsets mechanism is somehow broken at the moment,
>>> since some of the examples there are not showing what they are supposed to.
>>
>> the mkii mechanism has been replaced by a new one but it's not
>> completely compatible (these placements are actually for floats and
>> spans were just a special kind abusing that mechanism)
>>
>>> Can this be confirmed? Is there a plan to get it to work soon again?
>> i'll put it on the todo list
>>
>> -----------------------------------------------------------------
>>                                             Hans Hagen | PRAGMA ADE
>>                 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>          tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -----------------------------------------------------------------
> 
> Hi!
> 
> Many thanks for your reply! Then I stop my playing with it now
> (several things work and it looks quite nice!).
> 
> I really appreciate any effort in this direction, since I think this
> grid+column functionality is a very nice feature to have!!
this will work in a next upload (watch out: columnsets operate on a spread)

\setuppagenumbering[alternative={doublesided}]

\showgrid

\setupalign[verytolerant] \dontcomplain

\definecolumnset[three][n=3]

\definecolumnsetspan[two]
   [n=2,
    background=color,
    backgroundcolor=lightgray]

\starttext

\page[left]

\startcolumnset[three]

     \startcolumnsetspan[two][c=1,r=5]
         \samplefile{ward}
     \stopcolumnsetspan

     \startcolumnsetspan[two][method=btlr,c=2,r=3]
         \samplefile{ward}
     \stopcolumnsetspan

     \dorecurse{6}{\samplefile{knuth}\par}

\stopcolumnset

\stoptext

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Questions on columnsetspan (and grids and backgrounds)
  2019-05-15  7:28       ` Hans Hagen
@ 2019-05-18 19:40         ` Mikael P. Sundqvist
  0 siblings, 0 replies; 7+ messages in thread
From: Mikael P. Sundqvist @ 2019-05-18 19:40 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


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

On Wed, May 15, 2019 at 9:28 AM Hans Hagen <j.hagen@xs4all.nl> wrote:

> On 5/14/2019 11:36 AM, Mikael P. Sundqvist wrote:
> > On Tue, May 14, 2019 at 10:39 AM Hans Hagen <j.hagen@xs4all.nl> wrote:
> >>
> >> On 5/13/2019 5:59 PM, Mikael P. Sundqvist wrote:
> >>> Den lör 11 maj 2019 10:28Mikael P. Sundqvist <mickep@gmail.com
> >>> <mailto:mickep@gmail.com>> skrev:
> >>>
> >>>      Hi,
> >>>
> >>>      I have for some hours tried to understand how to work with
> >>>      columnsetspans (I'm trying with an updated lmtx), and have some
> >>>      questions.
> >>>
> >>>      1) Is it only the floats that has the long list of placement
> options
> >>>      (given on p. 18 in the columnsets manual), or should they also
> apply
> >>>      to columnsetspans and columnsetareas? (I cannot get it to work
> with
> >>>      "default=fxtb:2*10" and similar options for other elements than
> >>>      floats). It would be useful to have it for other type of elements
> as
> >>>      well.
> >>>
> >>>      2) What is the current correct way to get back on grid after
> formulas?
> >>>      The only key that had lead me to something that seems to work in
> >>>      \setupformulas is "option=depth". Is that the way to go?
> >>>
> >>>      3) This is a bit unrelated, but is it possible to set page
> backgrounds
> >>>      on specific page. Something like \setupbackgrounds[page][page=3,
> ...]
> >>>      (I cannot find any keys for this in setup-en.pdf). Right now I
> can set
> >>>      it for an odd and an even page, but then if I want a background
> on the
> >>>      page after that, I have to put that code at the place where it
> will be
> >>>      used. (I got an error with \startpostponing[+1] ...
> \stoppostponing)
> >>>
> >>>      4) To be a bit more concrete on the first issue: In the example
> below,
> >>>      how can I place the columnsetspan at the bottom right? Second and
> >>>      third column, 10 lines down? I attach the result of running this
> file.
> >>>
> >>>      /Mikael
> >>>
> >>>      \setuplayout[grid=yes]
> >>>      \showgrid
> >>>      \definecolumnset[three][n=3]
> >>>
> >>>      \definecolumnsetspan[two][
> >>>      n=2,
> >>>      background=color,
> >>>      backgroundcolor=lightgray,
> >>>      ]
> >>>
> >>>      \starttext
> >>>      \startcolumnset[three]
> >>>      \samplefile{knuth}
> >>>
> >>>      \startcolumnsetspan[two][default=btrl]
> >>>      \samplefile{ward}
> >>>      \stopcolumnsetspan
> >>>
> >>>      \dorecurse{5}{\samplefile{knuth}\par}
> >>>      \stopcolumnset
> >>>      \stoptext
> >>>
> >>>
> >>> Hi!
> >>>
> >>> I have looked more carefully at the columnsets manual, and it looks
> like
> >>> (parts of) the columnsets mechanism is somehow broken at the moment,
> >>> since some of the examples there are not showing what they are
> supposed to.
> >>
> >> the mkii mechanism has been replaced by a new one but it's not
> >> completely compatible (these placements are actually for floats and
> >> spans were just a special kind abusing that mechanism)
> >>
> >>> Can this be confirmed? Is there a plan to get it to work soon again?
> >> i'll put it on the todo list
> >>
> >> -----------------------------------------------------------------
> >>                                             Hans Hagen | PRAGMA ADE
> >>                 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> >>          tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> >> -----------------------------------------------------------------
> >
> > Hi!
> >
> > Many thanks for your reply! Then I stop my playing with it now
> > (several things work and it looks quite nice!).
> >
> > I really appreciate any effort in this direction, since I think this
> > grid+column functionality is a very nice feature to have!!
> this will work in a next upload (watch out: columnsets operate on a spread)
>
> \setuppagenumbering[alternative={doublesided}]
>
> \showgrid
>
> \setupalign[verytolerant] \dontcomplain
>
> \definecolumnset[three][n=3]
>
> \definecolumnsetspan[two]
>    [n=2,
>     background=color,
>     backgroundcolor=lightgray]
>
> \starttext
>
> \page[left]
>
> \startcolumnset[three]
>
>      \startcolumnsetspan[two][c=1,r=5]
>          \samplefile{ward}
>      \stopcolumnsetspan
>
>      \startcolumnsetspan[two][method=btlr,c=2,r=3]
>          \samplefile{ward}
>      \stopcolumnsetspan
>
>      \dorecurse{6}{\samplefile{knuth}\par}
>
> \stopcolumnset
>
> \stoptext
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>

Many thanks for the update today!

One follow-up question: How do I place a columnsetspan on a right page in a
spread? If I change c=2 to c=4 in your example, it disappears. Is there
another way?

I have realized that one can use columnsetareas to "forbid" text to go to
certain lines, which is useful. But I have the same problem with them, not
showing up on right pages if I use x=4 (for example). This is perhaps not
the intended way to use areas, but it works pretty good on left pages to
have the columns start on other lines than number one, or to make them stop
before the last line, so it would be fun to have them on right pages as
well.

/Mikael

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

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

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-05-18 19:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-11  8:28 Questions on columnsetspan (and grids and backgrounds) Mikael P. Sundqvist
2019-05-13 15:59 ` Mikael P. Sundqvist
2019-05-14  8:39   ` Hans Hagen
2019-05-14  9:24     ` Floris van Manen
2019-05-14  9:36     ` Mikael P. Sundqvist
2019-05-15  7:28       ` Hans Hagen
2019-05-18 19:40         ` Mikael P. Sundqvist

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).