\starthiding inside \doifmode?
Hello, it seems that \starthiding ... \stophiding dislikes \doifmode scope. The following code fails: ---- \enablemode[A] \starttext Hello \starthiding Don't show me %\stophiding \doifmode{A} { Aaa \starthiding Don't show me %\stophiding } World \stoptext ---- On the contrary, the following code is OK: ---- \enablemode[A] \starttext Hello \starthiding Don't show me %\stophiding \doifmode{A} { Aaa } World \stoptext ---- So, should I deduce that \starthiding ... \stophiding block cannot be used inside \doifmode (and family)? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038
On 02/12/2016 09:44 AM, Procházka Lukáš Ing. wrote:
Hello,
it seems that \starthiding ... \stophiding dislikes \doifmode scope. The following code fails: [...] So, should I deduce that \starthiding ... \stophiding block cannot be used inside \doifmode (and family)?
Hi Lukáš, \starthiding works fine inside a \startmode[A]...\stopmode. Wouldn’t it be an option? Just in case it helps, Pablo -- http://www.ousia.tk
On 2/12/2016 9:44 AM, Procházka Lukáš Ing. wrote:
Hello,
it seems that \starthiding ... \stophiding dislikes \doifmode scope. The following code fails:
they are just ignored buffers and buffers are collected as-is i.e. no fancy macro usage with their start/stop ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Pablo Rodriguez
-
Procházka Lukáš Ing.