ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Cannot \enablemode inside \start/stop-itemize?
@ 2016-10-06 12:52 Procházka Lukáš Ing.
  2016-10-06 14:11 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Procházka Lukáš Ing. @ 2016-10-06 12:52 UTC (permalink / raw)
  To: ConTeXt

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

Hello,

in the following code the mode 'M' stays off. Why?

----
\starttext
   \startitemize[][]
     \if++
       \enablemode[M]

       \item See \in[Sec].
     \fi
   \stopitemize

   \doifmode{M}
     {
       \section[Sec]{Sec}
     }
\stoptext
----

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

Tel: +420 241 096 751 (+420 720 951 172)
Fax: +420 244 461 038

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

\starttext
  \startitemize[][]
    \if++
      \enablemode[M]

      \item See \in[Sec].
    \fi
  \stopitemize

  \doifmode{M}
    {
      \section[Sec]{Sec}
    }
\stoptext

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 7415 bytes --]

[-- Attachment #4: 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
___________________________________________________________________________________

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

* Re: Cannot \enablemode inside \start/stop-itemize?
  2016-10-06 12:52 Cannot \enablemode inside \start/stop-itemize? Procházka Lukáš Ing.
@ 2016-10-06 14:11 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2016-10-06 14:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10/6/2016 2:52 PM, Procházka Lukáš Ing. wrote:
> Hello,
>
> in the following code the mode 'M' stays off. Why?
>
> ----
> \starttext
>   \startitemize[][]
>     \if++
>       \enablemode[M]
>
>       \item See \in[Sec].
>     \fi
>   \stopitemize
>
>   \doifmode{M}
>     {
>       \section[Sec]{Sec}
>     }
> \stoptext

grouping

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-10-06 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 12:52 Cannot \enablemode inside \start/stop-itemize? Procházka Lukáš Ing.
2016-10-06 14:11 ` Hans Hagen

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