ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: question about the \starteffect[hidden]
       [not found] <mailman.3.1448276401.7376.ntg-context@ntg.nl>
@ 2015-11-23 14:30 ` Jeong Dal
  0 siblings, 0 replies; 3+ messages in thread
From: Jeong Dal @ 2015-11-23 14:30 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about the \starteffect[hidden]
  2015-11-22 10:24 Jeong Dal
@ 2015-11-22 11:01 ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2015-11-22 11:01 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* question about the \starteffect[hidden]
@ 2015-11-22 10:24 Jeong Dal
  2015-11-22 11:01 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dal @ 2015-11-22 10:24 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-23 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1448276401.7376.ntg-context@ntg.nl>
2015-11-23 14:30 ` question about the \starteffect[hidden] Jeong Dal
2015-11-22 10:24 Jeong Dal
2015-11-22 11:01 ` 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).