[NTG-context] Referring to \head

Procházka Lukáš Ing. LPr at pontex.cz
Wed May 23 13:40:43 CEST 2018


Hello,

deducing:

----
\starttext
   \startitemize[i][stopper=),headstyle=bold]
     \starthead[h]{Head}

       Some text.

     \stophead

     \item[i] Item.
   \stopitemize

   See \in[h] and \in[i].
\stoptext
----

Thank you.

Lukas


On Wed, 23 May 2018 13:18:27 +0200, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:

> \starthead takes takes the title as argument, i.e.
>
> \starthead {…}
>> \stophead
>
> Wolfgang
>> Procházka Lukáš Ing. <mailto:LPr at pontex.cz>
>> 23. Mai 2018 um 11:11
>> Hello,
>>
>> referring to \head doesn't work in the ME bellow:
>>
>> ----
>> \starttext
>>   \startitemize[n][]
>>     \item[a] A
>>
>>     \head[b] B
>>
>>       bbb
>>
>>     \item See \in[a] and \in[b].
>>   \stopitemize
>>
>>   \startitemize[n][]
>>     \item See \in[a] and \in[b].
>>   \stopitemize
>> \stoptext
>> ----
>>
>> \head doesn't recongize its reference name (ignores [] after it),
>> although it should not:
>>
>>     http://wiki.contextgarden.net/Command/head
>>
>> What am I doing wrong? - How to refer to a \head? (Referring to \item
>> works well.)
>>
>> TIA.
>>
>> Best regards,
>>
>> Lukas
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry
>> to the Wiki!
>>
>> maillist : ntg-context at ntg.nl /
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
>> Wolfgang Schuster <mailto:schuster.wolfgang at gmail.com>
>> 23. Mai 2018 um 11:44
>> Use \starthead.
>>
>> Wolfgang
>>
>> Procházka Lukáš Ing. <mailto:LPr at pontex.cz>
>> 23. Mai 2018 um 12:53
>> Hello Wolfgang,
>>
>> thank you for the answer, wikified:
>>
>>     http://wiki.contextgarden.net/Command/head
>>
>> Best regards,
>>
>> Lukas
>>
>>
>> On Wed, 23 May 2018 11:44:17 +0200, Wolfgang Schuster
>> <schuster.wolfgang at gmail.com> wrote:
>>
>>
>>
>
>


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396



More information about the ntg-context mailing list