Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Henning Hraban Ramm

> Am 2019-09-25 um 13:48 schrieb Procházka Lukáš Ing. :
> 
> BTW, following "columnsets.pdf", \column has many options, unfortunately not 
> so clear for me; so:
> 
> \column-> go to next column?
> \column[]  -> = \column?
> \column[yes]   -> = \column?
> \column[page]  -> go to first column on the new page?
> \column[3] -> go to 3rd column - or skip 3 columns?
> \column[first] -> go to first column, also go to next page if currently on 
> 2+th column?
> \column[last]  -> go to last column?
> \column[3*5]   -> ???
> 
> Any explanation would be nice.

Please try it and report back, i.e. document it in the wiki. Someone has to do 
it…

I only ever used plain \column.

Maybe the source helps further: 
https://source.contextgarden.net/tex/context/base/mkiv/page-cst.mkiv



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___


Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Procházka Lukáš Ing .

Hello Hraban,

On Wed, 25 Sep 2019 13:07:50 +0200, Henning Hraban Ramm  wrote:


If your ConTeXt installation is quite recent, you have 
texmf-context/doc/context/documents/general/manuals/pagecolumns.pdf
This is quite new and I don’t know how usable.


useful, thanks.


(Hint for everyone: the "manuals" directory is a tresure trove!)


(I can confirm!)

BTW, following "columnsets.pdf", \column has many options, unfortunately not so 
clear for me; so:

\column-> go to next column?
\column[]  -> = \column?
\column[yes]   -> = \column?
\column[page]  -> go to first column on the new page?
\column[3] -> go to 3rd column - or skip 3 columns?
\column[first] -> go to first column, also go to next page if currently on 2+th 
column?
\column[last]  -> go to last column?
\column[3*5]   -> ???

Any explanation would be nice.

Best regards,

Lukas



Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___
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
___


Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Henning Hraban Ramm
Am 2019-09-25 um 11:39 schrieb Procházka Lukáš Ing. :
> 
> - Altough I found some wiki material about column sets (e.g. 
> https://wiki.contextgarden.net/Command/setupcolumnsetstart or columns.pdf), I 
> found nothing about "page columns" - can you give me a link?

Sorry, the wiki is very outdated and confusing in this regard.
I’m planning to research and document columns better (my talk in Bassenge 
covered only a few aspects of old/new columns and columnsets), but have a lot 
of other things at hand…

If your ConTeXt installation is quite recent, you have 
texmf-context/doc/context/documents/general/manuals/pagecolumns.pdf
This is quite new and I don’t know how usable.

(Hint for everyone: the "manuals" directory is a tresure trove!)

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___


Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Procházka Lukáš Ing .

Hello,

thanks for reaction - so I'm starting with column sets (@Wolfgang: text from 
column 2a may flow into 2b).

My code so far:


\definecolumnset[example][n=3,balancing=no]
\definecolumnsetspan[wide][n=2,background=contrast]

\setupexternalfigures[location=default]

\setuphead[subsubsubsubsubject][style=bold]

\starttext
  \startcolumnset[example]
\startcolumnsetspan[wide]
  \externalfigure[hacker][width=95mm]
\stopcolumnsetspan

\dorecurse{2}{
  \subsubsubsubsubject{Sub}
  \input ward
}

\column
\column

\darkred
  \starttabulate[|rB|lp|]
\NC a
  \NC
AA
\NC\NR
\NC aa
  \NC
AAA
\NC\NR
  \stoptabulate
  \stopcolumnset
\stoptext


produces overlapping lines at the end of the first column.
- How to avoid this?

- Being in a columnset environment, is there a way to tell context "go to third 
column" (regardless in which column I am currently typing)?

- Altough I found some wiki material about column sets (e.g. 
https://wiki.contextgarden.net/Command/setupcolumnsetstart or columns.pdf), I found 
nothing about "page columns" - can you give me a link?

- All wiki examples use "1" at the place of "nesting level":

"
\setupcolumnsetstart[...][...][...][...]
[...]   columnset name
[...]   nesting level
[...]   number of individual column in columnset
[...]   starting line (1 = start at the top)

...

\setupcolumnsetstart[three][1][1][15]
^
| -- HERE
"

Is there a sample which would use an other number? - I'm asking as I guess my 
task has to do with nested column sets.

Best regards,

Lukas


On Tue, 24 Sep 2019 18:47:18 +0200, Henning Hraban Ramm  wrote:




Am 2019-09-24 um 15:44 schrieb Procházka Lukáš Ing. :

I need to get columns like this:


| | 1b |
| 1a  ||
+-+|
|  2a  |  2b  ||
|  |  ||

I tried the following:


\starttext
 \startcolumns[n=2] % How to tell that ratio between columns should be 2:1?
   \input knuth % Be 1a


Such a layout is not possible with simple old columns.
Try columnsets or page columns (see manuals of the same name).


Greetlings, Hraban



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

t4.mkiv
Description: Binary data


t4.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-24 Thread Wolfgang Schuster

Henning Hraban Ramm schrieb am 24.09.2019 um 18:47:

Am 2019-09-24 um 15:44 schrieb Procházka Lukáš Ing. :

I need to get columns like this:


| | 1b |
| 1a  ||
+-+|
|  2a  |  2b  ||
|  |  ||

I tried the following:


\starttext
  \startcolumns[n=2] % How to tell that ratio between columns should be 2:1?
\input knuth % Be 1a

Such a layout is not possible with simple old columns.
Try columnsets or page columns (see manuals of the same name).

When the text for each column will never go into another column
paragraphs or a table is another way to achieve this layout.

Wolfgang

___
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
___


Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-24 Thread Henning Hraban Ramm

> Am 2019-09-24 um 15:44 schrieb Procházka Lukáš Ing. :
> 
> I need to get columns like this:
> 
> 
> | | 1b |
> | 1a  ||
> +-+|
> |  2a  |  2b  ||
> |  |  ||
> 
> I tried the following:
> 
> 
> \starttext
>  \startcolumns[n=2] % How to tell that ratio between columns should be 2:1?
>\input knuth % Be 1a

Such a layout is not possible with simple old columns.
Try columnsets or page columns (see manuals of the same name).


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___
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
___


[NTG-context] Columns with non-equal width; nested columns

2019-09-24 Thread Procházka Lukáš Ing .

Hello,

I need to get columns like this:


| | 1b |
| 1a  ||
+-+|
|  2a  |  2b  ||
|  |  ||

I tried the following:


\starttext
  \startcolumns[n=2] % How to tell that ratio between columns should be 2:1?
\input knuth % Be 1a

\startcolumns[n=2]
  \input ward % Be 2a

  \column

  \input ward % Be 2b
\stopcolumns

\column

\input knuth % Be 1b
  \stopcolumns
\stoptext


- Is it possible to nest columns?
 - If not, is there another solution?

- How to specify ratio of widths of columns?

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___
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
___