ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: kip@thevertigo.com
Subject: Re: Itemize without page break
Date: Thu, 22 Mar 2012 12:21:47 +0100	[thread overview]
Message-ID: <20120322112147.GA31869@phlegethon> (raw)
In-Reply-To: <CALBOmsZNdp555yQVirC1EEf_Cuf-sYk9fk1VpthtJGHk4Pt0kQ@mail.gmail.com>


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

On 2012-03-22 11:38, Mojca Miklavec wrote:
> On Thu, Mar 22, 2012 at 03:01, Kip Warner wrote:
> > On Tue, 2012-03-20 at 18:22 -0400, Aditya Mahajan wrote:
> >> Anything else will leave to undersirable behaviour (or segfaults :) ) As I
> >> had said in one of my earlier emails, this is the case for ALL context
> >> macros that take both options and assignments.
> >
> > Fair enough. I got it to work now with,
> >
> > \startitemize[R,2*broad][start=11,before=\startlinecorrection,after=
> > \stoplinecorrection]
> >
> > My only concern here is that, for something as incredibly fundamental
> > and recurring in the world of ConTeXt, the caveats and distinctions to
> > be made between options and assignments, that can and have taken down
> > entire operating systems, or cause hour after hour of no end of vague
> > syntactical errors, or even successful compilations with the wrong
> > effects, shouldn't that probably have been mentioned at least once, even
> > if only in passing, somewhere within the 369 page user manual? The word
> > "assignment" I couldn't locate once.

You’re right, it can cause confusion to people migrating from
Latex where package options, afair, allows mixed key-value/list
syntax (like e.g. Lua does as well). Random example from the
KOMA-Script manual:

  \documentclass[BCOR=12mm,DIV=calc,twoside]{scrartcl}
                 ^^^^^^^^^          ^^^^^^^
                 assignment  …      switch

Therefore the difference to Context deserves mention at least
somewhere in
<http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt>
which said migrators are most likely to consult first.

> - Maybe it could be more explicit, but if you ever take a look at
> documentation, for example
>     http://wiki.contextgarden.net/Command/setupitemgroup
> you will notice that some brackets are depicted with [...,...] and
> others with [...,...=...,...]

And while we are handing out reading assignments (pun intended)
here are two wiki links that provide background information:
<http://wiki.contextgarden.net/System_Macros/Comma_Separated_Lists>
<http://wiki.contextgarden.net/System_Macros/Key_Value_Assignments>
Perhaps it makes most sense to think of Comma Lists v. Assignment
Lists in terms of the two different argument parsers being used
to process them.

Regards
Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2012-03-22 11:21 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17  1:47 Kip Warner
2012-03-17  9:21 ` luigi scarso
2012-03-17 10:21   ` Wolfgang Schuster
2012-03-18 23:25     ` Kip Warner
2012-03-18 23:29       ` Kip Warner
2012-03-19  8:17         ` Wolfgang Schuster
2012-03-20  1:04           ` Kip Warner
2012-03-20  5:22             ` Wolfgang Schuster
2012-03-20  5:31               ` Kip Warner
2012-03-20  5:46                 ` Wolfgang Schuster
2012-03-20  5:49                   ` Kip Warner
2012-03-20  7:21                     ` [luatex] " Patrick Gundlach
2012-03-20 15:02                       ` Khaled Hosny
2012-03-20  8:17                     ` Hans Hagen
2012-03-20 10:05                       ` luigi scarso
2012-03-20 18:50                       ` Kip Warner
2012-03-20 14:57                     ` [luatex] " Khaled Hosny
2012-03-20 18:59                       ` Kip Warner
2012-03-20 19:26                         ` Hans Hagen
2012-03-20 19:59                           ` Kip Warner
2012-03-20 20:39                             ` luigi scarso
2012-03-20 21:24                               ` Kip Warner
2012-03-20 21:41                                 ` luigi scarso
2012-03-22  1:50                                   ` Kip Warner
2012-03-20 20:44                             ` Hans Hagen
2012-03-20 21:26                               ` Kip Warner
2012-03-20 22:18                   ` Kip Warner
2012-03-20 22:22                     ` Aditya Mahajan
2012-03-22  2:01                       ` Kip Warner
2012-03-22 10:38                         ` Mojca Miklavec
2012-03-22 10:48                           ` Hans Hagen
2012-03-22 10:48                           ` Hans Hagen
2012-03-22 11:21                           ` Philipp Gesang [this message]
2012-03-22 11:58                             ` Philipp Gesang
2012-03-22 22:47                               ` Kip Warner
2012-03-22 22:46                             ` Kip Warner
2012-03-22 22:40                           ` Kip Warner
2012-03-22 12:05                         ` luigi scarso
2012-03-22 16:38                           ` luigi scarso
2012-03-19 21:49         ` Hans Hagen
2012-03-20  0:43           ` Kip Warner
2012-03-20  8:11             ` Hans Hagen
2012-03-18 23:33       ` luigi scarso
2012-03-19 21:50       ` Hans Hagen
2012-03-20  0:41         ` Kip Warner

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=20120322112147.GA31869@phlegethon \
    --to=gesang@stud.uni-heidelberg.de \
    --cc=kip@thevertigo.com \
    --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).