ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: columns(ets) and itemize[columns]
Date: Mon, 18 May 2009 13:08:19 +0200	[thread overview]
Message-ID: <200905181308.19704.alan.braslau@cea.fr> (raw)
In-Reply-To: <3B067FB5-958A-49AA-9341-DDAC1C84B956@gmail.com>

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
___________________________________________________________________________________


  reply	other threads:[~2009-05-18 11:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2009-05-18 21:57         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905181308.19704.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).