Re: [NTG-context] question about the \starteffect[hidden]

2015-11-23 Thread Jeong Dal
Dear Hans,

Thank you for the comment.
> 
> \startcolor[white] \stopcolor
> 

It works fine. It is really good feature for me to prepare the class materials.

Best regards,

Dalyoung

___
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
___

Re: [NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Hans Hagen

On 11/22/2015 11:24 AM, Jeong Dal wrote:

Dear all,

I need to hide some part of the text while keep the space for them .
I found a very nice command “ \starteffct[hidden]”
It works well in most cases.
But it couldn’t hide horizontal bars in math mode. Is there a way to hide 
horizontal bars also?


because that is hared coded in the engine ... you can try

\startcolor[white] \stopcolor

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___

[NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Jeong Dal
Dear all,

I need to hide some part of the text while keep the space for them .
I found a very nice command “ \starteffct[hidden]”
It works well in most cases.
But it couldn’t hide horizontal bars in math mode. Is there a way to hide 
horizontal bars also?

Here is an sample code.

Thank you.

Dalyoung

%%%

\def\StartHide{\doifmode{nodetails}{\starteffect[hidden]}}   
\def\StopHide{\doifmode{nodetails}{\stopeffect}}   

\enablemode[nodetails]

\starttext

Here is the test file for hiding something.
Below, the same sentence is hiding.
Here is the test file for hiding something.
Below, the same sentence is hiding.

\StartHide
Here is the test file for hiding something.
Below, the same sentence is hiding.
Here is the test file for hiding something.
Below, the same sentence is hiding.
\StopHide

But the horizontal bar in the fraction mode still appears.
\startformula
\frac{12}{1234567}
\stopformula

Hiding mode
\StartHide
\startformula
\frac{12}{1234567}
\stopformula
\StopHide
\stoptext
___
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
___