ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: question about the \starteffect[hidden]
Date: Sun, 22 Nov 2015 19:24:41 +0900	[thread overview]
Message-ID: <89838F66-EC89-4CD5-B8A3-F952D25D3AD3@me.com> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2015-11-22 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-22 10:24 Jeong Dal [this message]
2015-11-22 11:01 ` Hans Hagen
     [not found] <mailman.3.1448276401.7376.ntg-context@ntg.nl>
2015-11-23 14:30 ` Jeong Dal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89838F66-EC89-4CD5-B8A3-F952D25D3AD3@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).