ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* itemize + color question
@ 2005-08-15 14:04 Thomas A. Schmitz
  2005-08-15 21:24 ` Vit Zyka
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2005-08-15 14:04 UTC (permalink / raw)


Dear gang,

This seems like a very easy one, but I can't figure it out: on my  
slides, I want numbered itemizations to appear item by item, and I  
want the previous items to be "greyed out." I think this can only be  
done by combining two itemize environments. This is what I tried:


\setupitemize[1][n,packed,joinedup]

\startitemize[color=darkgray]

\item \color[darkgray]{one}

\stopitemize

\startitemize[color=white][continue]

\item two

\stopitemize

But the switches color=something and continue seem to exclude each  
other: either I get a continued item numbered "2," but in grey, or I  
get a white item number "1". There must be some obvious mistake, but  
where?

Thanks, and best

Thomas

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

* Re: itemize + color question
  2005-08-15 14:04 itemize + color question Thomas A. Schmitz
@ 2005-08-15 21:24 ` Vit Zyka
  2005-08-16  6:58   ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Vit Zyka @ 2005-08-15 21:24 UTC (permalink / raw)


Thomas A. Schmitz wrote:
> Dear gang,
> 
> This seems like a very easy one, but I can't figure it out: on my  
> slides, I want numbered itemizations to appear item by item, and I  want 
> the previous items to be "greyed out." I think this can only be  done by 
> combining two itemize environments. This is what I tried:
> 
> 
> \setupitemize[1][n,packed,joinedup]
> 
> \startitemize[color=darkgray]
> 
> \item \color[darkgray]{one}
> 
> \stopitemize
> 
> \startitemize[color=white][continue]
> 
> \item two
> 
> \stopitemize

Like this?

----------------------------------------
\setupcolors[state=start]

\starttext

\setupitemize[1][n,packed,joinedup][color=darkgray]
\startitemize
   \item one
   \setupitemize[color=red]
   \item two
\stopitemize

\stoptext
------------------------------------------

vit

> 
> But the switches color=something and continue seem to exclude each  
> other: either I get a continued item numbered "2," but in grey, or I  
> get a white item number "1". There must be some obvious mistake, but  
> where?
> 
> Thanks, and best
> 
> Thomas

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

* Re: itemize + color question
  2005-08-15 21:24 ` Vit Zyka
@ 2005-08-16  6:58   ` Thomas A. Schmitz
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2005-08-16  6:58 UTC (permalink / raw)


OMG, it is that easy!! ConTeXt never ceases to amaze me, I just  
didn't think of trying this because it's too obvious. Thanks so much,  
Vit, this is just what I was looking for!

Best

Thomas

On Aug 15, 2005, at 11:24 PM, Vit Zyka wrote:

> Thomas A. Schmitz wrote:
>
>> Dear gang,
>> This seems like a very easy one, but I can't figure it out: on my   
>> slides, I want numbered itemizations to appear item by item, and  
>> I  want the previous items to be "greyed out." I think this can  
>> only be  done by combining two itemize environments. This is what  
>> I tried:
>> \setupitemize[1][n,packed,joinedup]
>> \startitemize[color=darkgray]
>> \item \color[darkgray]{one}
>> \stopitemize
>> \startitemize[color=white][continue]
>> \item two
>> \stopitemize
>>
>
> Like this?
>
> ----------------------------------------
> \setupcolors[state=start]
>
> \starttext
>
> \setupitemize[1][n,packed,joinedup][color=darkgray]
> \startitemize
>   \item one
>   \setupitemize[color=red]
>   \item two
> \stopitemize
>
> \stoptext
> ------------------------------------------
>
> vit
>
>
>> But the switches color=something and continue seem to exclude  
>> each  other: either I get a continued item numbered "2," but in  
>> grey, or I  get a white item number "1". There must be some  
>> obvious mistake, but  where?
>> Thanks, and best
>> Thomas
>>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

end of thread, other threads:[~2005-08-16  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 14:04 itemize + color question Thomas A. Schmitz
2005-08-15 21:24 ` Vit Zyka
2005-08-16  6:58   ` Thomas A. Schmitz

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).