\starthiding inside \doifmode?
![](https://secure.gravatar.com/avatar/d6e7462bd4209f9c4cd08271985a50df.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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.