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
___


[NTG-context] \head: broken?

2014-07-16 Thread Rob Heusdens
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?

Greetings,

Rob


MWE:


\startitemize[n,packed,]%headstyle=bold]
\head End notes at end of each part.

In the original text and first \CONTEXT\ version this was done without the
footnote mechanism.
This is now being tranformed to the footnote mechanism, which provides
clicable, interactive links to notes.

\head Bibliography.

The full list of referenced literature (Bibliography) is transformed into
the Bib\TEX\ format used by \CONTEXT.\textnote{Notes often refer to
Bibliography entries. Currently these references are set as endnote, but
the Bib\TEX\ mechanism (cite reference) could be used instead. This would
show the Bib\TEX{}-key linked to the Bibliography.}

\head Index.

All items (often used terms, names of persons) are indexed.

\head Emphasis.

Where used in the {\sc html} version, {\em emphasis} is set in the
\CONTEXT\ version. In addition: titles (of books, etc.) are {\em
emphasized}.

\head List of contents per part  per chapter.

At the beginning of each part a list of chapters and in the beginning of
each chapter a list of sections using the standard list mechanism of
\CONTEXT\ (clickable, interactive links as used in the master contents,
instead of normal text).

\stopitemize


MNWE:



\startitemize[n,packed,headstyle=bold]
\head End notes at end of each part.

In the original text and first \CONTEXT\ version this was done without the
footnote mechanism.
This is now being tranformed to the footnote mechanism, which provides
clicable, interactive links to notes.

\head Bibliography.

The full list of referenced literature (Bibliography) is transformed into
the Bib\TEX\ format used by \CONTEXT.\textnote{Notes often refer to
Bibliography entries. Currently these references are set as endnote, but
the Bib\TEX\ mechanism (cite reference) could be used instead. This would
show the Bib\TEX{}-key linked to the Bibliography.}

\head Index.

All items (often used terms, names of persons) are indexed.

\head Emphasis.

Where used in the {\sc html} version, {\em emphasis} is set in the
\CONTEXT\ version. In addition: titles (of books, etc.) are {\em
emphasized}.

\head List of contents per part  per chapter.

At the beginning of each part a list of chapters and in the beginning of
each chapter a list of sections using the standard list mechanism of
\CONTEXT\ (clickable, interactive links as used in the master contents,
instead of normal text).

\stopitemize



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


[NTG-context] \head: broken?

2014-07-12 Thread Rob Heusdens
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


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