Re: [NTG-context] \head: broken?

2014-07-18 Thread Rob Heusdens
Thanks. I think I could have figured out that one myself. I guess it's my
own head a bit broken atm...
But I should mention that the contextgarden article mentions only one
option for \startitemize, perhaps that is why I got misleaded there.

(http://wiki.contextgarden.net/Command/startitemize)

Greetings,

Rob


 You can’t mix keywords and assignment in the same argument of a
 setup-command, e.g.

 \staritemize[packed,headstyle=bold]

 but some commands have multiple arguments which you use for both types,
 e.g.

 \startitemize[packed][headstyle=bold]

 BTW: A minimal example should be compilable (i.e. you need \starttext and
 \stoptext) which isn’t the case with your example.

 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___



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


Re: [NTG-context] \head: broken?

2014-07-16 Thread Wolfgang Schuster

Am 16.07.2014 um 13:07 schrieb Rob Heusdens robh...@xs4all.nl:

 Hello All,
 
 Still having problem with \head in \setupitemize.
 
 - When I set the headstyle in \setupitemize, the numbering disappears and
 the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE)
 
 - If I comment the headstyle out, numbers do appear. (ex. 2: MWE).
 
 Why is that?

You can’t mix keywords and assignment in the same argument of a setup-command, 
e.g.

\staritemize[packed,headstyle=bold]

but some commands have multiple arguments which you use for both types, e.g.

\startitemize[packed][headstyle=bold]

BTW: A minimal example should be compilable (i.e. you need \starttext and 
\stoptext) which isn’t the case with your example.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \head: broken?

2014-07-12 Thread Aditya Mahajan


 On Jul 12, 2014, at 7:11 PM, Rob Heusdens robh...@xs4all.nl wrote:
 
 Hello to all,
 
 I don't know if it is due to -the weather- or -the Worldchampionships-
 or other but in my Context release [ConTeXt  ver: 2014.07.11 12:20 MKIV
 beta  fmt: 2014.7.12  int: english/english] \head is broken.
 
 Is that a feature or a bug?
 
 greetings,
 
 Rob
 ---
 
 \head: broken?
 
 When the \head command is used without a following line of normal text, it
 will result in a context-error.
 
 MNWE:
 \startitemize[n]
 \head x
 \stopitemize
 
 MWE:
 \startitemize[n]
 \head x
 anything
 \stopitemize

\head uses \par as a delimiter. So you either need to add an empty line or an 
explicit \par. 

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___