ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Column break in start\stop columns
       [not found] <mailman.368.1240337127.3589.ntg-context@ntg.nl>
@ 2009-04-21 19:46 ` Vyatcheslav Yatskovsky
  2009-04-21 21:44   ` Henning Hraban Ramm
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-04-21 19:46 UTC (permalink / raw)
  To: ntg-context

Hello all,

How to force column break in start\stop columns?

Best,
Vyatcheslav
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Column break in start\stop columns
  2009-04-21 19:46 ` Column break in start\stop columns Vyatcheslav Yatskovsky
@ 2009-04-21 21:44   ` Henning Hraban Ramm
  2009-04-21 21:50   ` Aditya Mahajan
  2009-05-17 21:31   ` columns(ets) and itemize[columns] Alan BRASLAU
  2 siblings, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2009-04-21 21:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2009-04-21 um 21:46 schrieb Vyatcheslav Yatskovsky:

> How to force column break in start\stop columns?

seems not possible. did you try \testpage[] ?

see http://wiki.contextgarden.net/Columns
and use columnsets




Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Column break in start\stop columns
  2009-04-21 19:46 ` Column break in start\stop columns Vyatcheslav Yatskovsky
  2009-04-21 21:44   ` Henning Hraban Ramm
@ 2009-04-21 21:50   ` Aditya Mahajan
  2009-04-21 21:58     ` Wolfgang Schuster
  2009-05-17 21:31   ` columns(ets) and itemize[columns] Alan BRASLAU
  2 siblings, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2009-04-21 21:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 21 Apr 2009, Vyatcheslav Yatskovsky wrote:

> Hello all,
>
> How to force column break in start\stop columns?

\column

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Column break in start\stop columns
  2009-04-21 21:50   ` Aditya Mahajan
@ 2009-04-21 21:58     ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2009-04-21 21:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.04.2009 um 23:50 schrieb Aditya Mahajan:

> On Tue, 21 Apr 2009, Vyatcheslav Yatskovsky wrote:
>
>> Hello all,
>>
>> How to force column break in start\stop columns?
>
> \column

with a 50% chance to break the column :)

> Aditya

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* columns(ets) and itemize[columns]
  2009-04-21 19:46 ` Column break in start\stop columns Vyatcheslav Yatskovsky
  2009-04-21 21:44   ` Henning Hraban Ramm
  2009-04-21 21:50   ` Aditya Mahajan
@ 2009-05-17 21:31   ` Alan BRASLAU
  2009-05-18  6:45     ` Wolfgang Schuster
  2 siblings, 1 reply; 8+ messages in thread
From: Alan BRASLAU @ 2009-05-17 21:31 UTC (permalink / raw)
  To: ntg-context

Hello,

I just completed a "big" project making heavy use of columnset, columnsetspan 
and paragraphs. Very powerful!

Two questions, first:
What is the real difference between columns and columnset?
I am a bit confused* about their coexistence. Is this purposeful or necessary 
(or is it simply historical)? Is \startcolumns simply an unnamed, "default" 
columnset?

(*and the wiki page needs to be clarified...)

Second question, maybe a bug?
\startitemize[columns] does not interact well:
I suspect that it could or should use paragraphs internally rather than 
columns so as to work within a column(set).

Minimal example:

\starttext

\startitemize[columns] \item first \item second \item third \stopitemize

\startcolumns[n=2]

\startitemize[columns] \item forth \item fifth \item sixth \stopitemize

\column

\startitemize[columns] \item seventh \item eighth \item nineth \stopitemize

\stopcolumns

\stoptext

Gives something like:

•_first_____________________•_third
•_second

•_forth____________________•_seventh
•_fifth_____________________•_eighth
•_sixth____________________•_nineth

Whereas I was expecting:

•_first_____________________•_third
•_second

•_forth__•_sixth___________•_seventh_•_nineth
•_fifth_____________________•_eighth

Alan

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns(ets) and itemize[columns]
  2009-05-17 21:31   ` columns(ets) and itemize[columns] Alan BRASLAU
@ 2009-05-18  6:45     ` Wolfgang Schuster
  2009-05-18 11:08       ` Alan BRASLAU
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2009-05-18  6:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.05.2009 um 23:31 schrieb Alan BRASLAU:

> Hello,
>
> I just completed a "big" project making heavy use of columnset,  
> columnsetspan
> and paragraphs. Very powerful!
>
> Two questions, first:
> What is the real difference between columns and columnset?
> I am a bit confused* about their coexistence. Is this purposeful or  
> necessary
> (or is it simply historical)? Is \startcolumns simply an unnamed,  
> "default"
> columnset?

columns and columnset are two different mechanism two produce a document
with text and two or more columns. the columns mechanism is the older  
one
with limited control about the placement of figures but allows you to  
mix
one column and multicolumns text on a page. columnsets are a new version
of the column mechanism with more control about the placement of figures
and other features like spanned columns etc. (look at the manual for  
more)
and is better suited for magazine like layouts (Vit Zyka posted a few  
nice
examples a few years ago).

> (*and the wiki page needs to be clarified...)

the wiki is from users for users, feel free to correct the articles

> Second question, maybe a bug?
> \startitemize[columns] does not interact well:
> I suspect that it could or should use paragraphs internally rather  
> than
> columns so as to work within a column(set).

that's a limitation in tex, when you use the 'columns' key for itemize
the items are typeset with a \startcolumns / \stopcolumns before and
after the environment and you can nest columns /columnset environments
(a tex limitation) but in normal one column text this is not the case
and you can use multicolumn items in most cases (in a few cases
streamlayer are necessary, e.g. within framedtext) but you can

\startcolumns
\startsimplecolumns
\startitemize
\item one
\item two
...
\stopitemize
\stopsimplecolumns
\stopcolumns

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: columns(ets) and itemize[columns]
  2009-05-18  6:45     ` Wolfgang Schuster
@ 2009-05-18 11:08       ` Alan BRASLAU
  2009-05-18 21:57         ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Alan BRASLAU @ 2009-05-18 11:08 UTC (permalink / raw)
  To: ntg-context

On Monday 18 May 2009 08:45:16 Wolfgang Schuster wrote:
> Am 17.05.2009 um 23:31 schrieb Alan BRASLAU:
> > Two questions, first:
> > What is the real difference between columns and columnset?
> > I am a bit confused* about their coexistence. Is this purposeful or
> > necessary
> > (or is it simply historical)? Is \startcolumns simply an unnamed,
> > "default"
> > columnset?
>
> columns and columnset are two different mechanism two produce a document
> with text and two or more columns. the columns mechanism is the older
> one
> with limited control about the placement of figures but allows you to
> mix
> one column and multicolumns text on a page. columnsets are a new version
> of the column mechanism with more control about the placement of figures
> and other features like spanned columns etc. (look at the manual for
> more)
> and is better suited for magazine like layouts (Vit Zyka posted a few
> nice
> examples a few years ago).

Great! This is somewhat what I suspected (columns mechanism is the older one). 
Is there good reason to keep both mechanisms? That is, does the startcolumns 
mechanism have advantages? Can't one mix one column and multicolumns text on a 
page using columnsets?

> > (*and the wiki page needs to be clarified...)
>
> the wiki is from users for users, feel free to correct the articles

Of course, as soon as I feel that I understand the subject.

> > Second question, maybe a bug?
> > \startitemize[columns] does not interact well:
> > I suspect that it could or should use paragraphs internally rather
> > than
> > columns so as to work within a column(set).
>
> that's a limitation in tex, when you use the 'columns' key for itemize
> the items are typeset with a \startcolumns / \stopcolumns before and
> after the environment and you can nest columns /columnset environments
> (a tex limitation) but in normal one column text this is not the case
> and you can use multicolumn items in most cases but you can
>
> \startcolumns
> \startsimplecolumns
> \startitemize
> \item one
> \item two
> ...
> \stopitemize
> \stopsimplecolumns
> \stopcolumns

page-mul.tex
...
%D Undocumented and still under development.
\def\startsimplecolumns
...

May I suggest that \startitemize[columns] internally use such a mechanism, 
perhaps when under a columns or columnset environment. Of course, this may be 
a bit tricky according to the following remark:

> (in a few cases streamlayer are necessary, e.g. within framedtext)

Indeed!
Inside framed text I used paragraphs to manually typset into columns; now I 
get to learn about streamlayers...

Alan

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: columns(ets) and itemize[columns]
  2009-05-18 11:08       ` Alan BRASLAU
@ 2009-05-18 21:57         ` Hans Hagen
  0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2009-05-18 21:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan BRASLAU wrote:

> Great! This is somewhat what I suspected (columns mechanism is the older one). 

older but also conceptually different

> Is there good reason to keep both mechanisms? That is, does the startcolumns 
> mechanism have advantages? Can't one mix one column and multicolumns text on a 
> page using columnsets?

yes, and there might be even more variants in the future as there is not 
one solution

> May I suggest that \startitemize[columns] internally use such a mechanism, 
> perhaps when under a columns or columnset environment. Of course, this may be 
> a bit tricky according to the following remark:

no, the current itemize columns work nicely in the main vertical liust 
while simple columns are a box

future mkiv versions might have better mechamisms

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-05-18 21:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.368.1240337127.3589.ntg-context@ntg.nl>
2009-04-21 19:46 ` Column break in start\stop columns Vyatcheslav Yatskovsky
2009-04-21 21:44   ` Henning Hraban Ramm
2009-04-21 21:50   ` Aditya Mahajan
2009-04-21 21:58     ` Wolfgang Schuster
2009-05-17 21:31   ` columns(ets) and itemize[columns] Alan BRASLAU
2009-05-18  6:45     ` Wolfgang Schuster
2009-05-18 11:08       ` Alan BRASLAU
2009-05-18 21:57         ` Hans Hagen

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