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