ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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).