ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Referring to \head
@ 2018-05-23  9:11 Procházka Lukáš Ing.
  2018-05-23  9:44 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2018-05-23  9:11 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

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


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

Mob.: +420 702 033 396

[-- Attachment #2: t3.mkiv --]
[-- Type: application/octet-stream, Size: 218 bytes --]

\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

[-- Attachment #3: t3.pdf --]
[-- Type: application/pdf, Size: 7678 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Referring to \head
  2018-05-23  9:11 Referring to \head Procházka Lukáš Ing.
@ 2018-05-23  9:44 ` Wolfgang Schuster
  2018-05-23 10:53   ` Procházka Lukáš Ing.
  2018-05-23 11:18   ` Procházka Lukáš Ing.
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2018-05-23  9:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Use \starthead.

Wolfgang
> Procházka Lukáš Ing. <mailto:LPr@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@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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2809 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Referring to \head
  2018-05-23  9:44 ` Wolfgang Schuster
@ 2018-05-23 10:53   ` Procházka Lukáš Ing.
  2018-05-23 11:18     ` Wolfgang Schuster
  2018-05-23 11:18   ` Procházka Lukáš Ing.
  1 sibling, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2018-05-23 10:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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@gmail.com> wrote:

> Use \starthead.
>
> Wolfgang
>> Procházka Lukáš Ing. <mailto:LPr@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@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
>> ___________________________________________________________________________________
>
>


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

Mob.: +420 702 033 396

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Referring to \head
  2018-05-23 10:53   ` Procházka Lukáš Ing.
@ 2018-05-23 11:18     ` Wolfgang Schuster
  2018-05-23 11:40       ` Procházka Lukáš Ing.
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2018-05-23 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

\starthead takes takes the title as argument, i.e.

\starthead {…}
…
\stophead

Wolfgang
> Procházka Lukáš Ing. <mailto:LPr@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@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@gmail.com>
> 23. Mai 2018 um 11:44
> Use \starthead.
>
> Wolfgang
>
> Procházka Lukáš Ing. <mailto:LPr@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@gmail.com> wrote:
>
>
>


[-- Attachment #1.2: Type: text/html, Size: 5030 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Referring to \head
  2018-05-23  9:44 ` Wolfgang Schuster
  2018-05-23 10:53   ` Procházka Lukáš Ing.
@ 2018-05-23 11:18   ` Procházka Lukáš Ing.
  1 sibling, 0 replies; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2018-05-23 11:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

Hello,

the "headstyle" option in \startitemize affect undesirably all text following \head in the itemize scope:

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

       Some text.

     \item[i] Item.
   \stopitemize

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

- All text between \starthead and \stopitemize gets bold. Is it a bug or am I still missing something?

Lukas



On Wed, 23 May 2018 11:44:17 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> Use \starthead.
>
> Wolfgang


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

Mob.: +420 702 033 396

[-- Attachment #2: t3.mkiv --]
[-- Type: application/octet-stream, Size: 189 bytes --]

\starttext
  \startitemize[i][stopper=),headstyle=bold]
    \starthead[h] Head \stophead

      Some text.

    \item[i] Item.
  \stopitemize

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

[-- Attachment #3: t3.pdf --]
[-- Type: application/pdf, Size: 8390 bytes --]

[-- Attachment #4: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Referring to \head
  2018-05-23 11:18     ` Wolfgang Schuster
@ 2018-05-23 11:40       ` Procházka Lukáš Ing.
  0 siblings, 0 replies; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2018-05-23 11:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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@gmail.com> wrote:

> \starthead takes takes the title as argument, i.e.
>
> \starthead {…}
> …
> \stophead
>
> Wolfgang
>> Procházka Lukáš Ing. <mailto:LPr@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@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@gmail.com>
>> 23. Mai 2018 um 11:44
>> Use \starthead.
>>
>> Wolfgang
>>
>> Procházka Lukáš Ing. <mailto:LPr@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@gmail.com> wrote:
>>
>>
>>
>
>


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

Mob.: +420 702 033 396

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-23 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23  9:11 Referring to \head Procházka Lukáš Ing.
2018-05-23  9:44 ` Wolfgang Schuster
2018-05-23 10:53   ` Procházka Lukáš Ing.
2018-05-23 11:18     ` Wolfgang Schuster
2018-05-23 11:40       ` Procházka Lukáš Ing.
2018-05-23 11:18   ` Procházka Lukáš Ing.

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).