Cannot \enablemode inside \start/stop-itemize?
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
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Procházka Lukáš Ing.