[NTG-context] \starthiding inside \doifmode?

Procházka Lukáš Ing. LPr at pontex.cz
Fri Feb 12 09:44:18 CET 2016


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 at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModHid.log
Type: application/octet-stream
Size: 2533 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160212/47628898/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModHid.mkiv
Type: application/octet-stream
Size: 204 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160212/47628898/attachment-0001.obj>


More information about the ntg-context mailing list