ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \phantom{\item ... }
@ 2012-04-27 20:04 Troy Henderson
  2012-04-27 21:01 ` Peter Münster
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Troy Henderson @ 2012-04-27 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Using \phantom to hide an itemized item does not reserve the
(vertical) space for the item as I expect.  That is, in the following
example

\starttext
   \startitemize
      \item Foo
      \phantom{\item Bar}
      \item Boo
   \stopitemize
\stoptext

the second item is hidden, but in fact, the space for that item has
not been allocated at all.  Why is this, and more importantly to me,
how can I get the space allocated without using hackish transparent
colors?

Thanks in advance,

Troy Henderson
___________________________________________________________________________________
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] 4+ messages in thread

* Re: \phantom{\item ... }
  2012-04-27 20:04 \phantom{\item ... } Troy Henderson
@ 2012-04-27 21:01 ` Peter Münster
  2012-04-29  3:22 ` Troy Henderson
  2012-04-29  8:08 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Münster @ 2012-04-27 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Apr 27 2012, Troy Henderson wrote:

> the second item is hidden, but in fact, the space for that item has
> not been allocated at all.

Did you try the methods here:
http://wiki.contextgarden.net/Hiding_Content ?


> Why is this, and more importantly to me, how can I get the space
> allocated without using hackish transparent colors?

Or hackish white...

-- 
           Peter
___________________________________________________________________________________
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] 4+ messages in thread

* Re: \phantom{\item ... }
  2012-04-27 20:04 \phantom{\item ... } Troy Henderson
  2012-04-27 21:01 ` Peter Münster
@ 2012-04-29  3:22 ` Troy Henderson
  2012-04-29  8:08 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Troy Henderson @ 2012-04-29  3:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks Peter.  That works just fine.

Troy
___________________________________________________________________________________
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] 4+ messages in thread

* Re: \phantom{\item ... }
  2012-04-27 20:04 \phantom{\item ... } Troy Henderson
  2012-04-27 21:01 ` Peter Münster
  2012-04-29  3:22 ` Troy Henderson
@ 2012-04-29  8:08 ` Hans Hagen
  2 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2012-04-29  8:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 27-4-2012 22:04, Troy Henderson wrote:
> \starttext
>     \startitemize
>        \item Foo
>        \phantom{\item Bar}
>        \item Boo
>     \stopitemize
> \stoptext

\starttext
    \startitemize
       \item Foo
       \starteffect[hidden]
       \item Bar
       \stopeffect
       \item Boo
    \stopitemize
\stoptext

works ok for text

-- 

-----------------------------------------------------------------
                                           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] 4+ messages in thread

end of thread, other threads:[~2012-04-29  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27 20:04 \phantom{\item ... } Troy Henderson
2012-04-27 21:01 ` Peter Münster
2012-04-29  3:22 ` Troy Henderson
2012-04-29  8:08 ` 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).