On Thu, 03 Aug 2000 16:15:15 +0200, Hana Skoumalova wrote:
>
> in fact I would like to get sth like this:
> 
> \begin{itemize}
> \liststepwise[\let\hidestepcontents=\hidedimmed
> \let\displaystepcontents=\hidedimmed
> \let\activatestep=\highlightenhanced]
> {
>   \step{\item we ``discover'' the structure of the document (DTD)}
>   \step{\item SGML tools (nsgmls, yasp) help us to correct the source}
>   \step{\item we can produce the ``printing'' markup again}
>   \step{\item we can use SGML format for other applications}
> }
> \end{itemize}
> 
> Only the highlighted item is well seen, others are dimmed. Is there a
> better way to do this?

Looks ok to me. If you wish to avoid dimming colors with 
\displaystepcontents only to enhance them again with
\activatestep, you can use the optional arguments of
\step for controlling activation:

\liststepwise[\let\hidestepcontents=\hidedimmed
\let\activatestep=\highlightenhanced]
{
  \step[][\boolean{firstactivation}]{\item we ``discover'' the structure of the 
document (DTD)}
  \step[][\boolean{firstactivation}]{\item SGML tools (nsgmls, yasp) help us to 
correct the source}
  \step[][\boolean{firstactivation}]{\item we can produce the ``printing'' 
markup again}
  \step[][\boolean{firstactivation}]{\item we can use SGML format for other 
applications}
}

Of course, you can hide the optional argument in a 
selfdefined macro (item can go in there, too, like
\newcommand{\myitem}[1]{\step[][\boolean{firstactivation}]{\item#1}}
).


> And what if I wanted to use a different color
> (say green instead of dimmed)?

If you want _all_ colors to go to green, use 
\hidevanish instead of \hidedimmed and set
\renewcommand{\vanishcolor}{green}.

If you want different defined colors to go
to different shades of green, redefine the
dimmed variants (dtextcolor, dmathcolor, ...)
accordingly (using \definecolor or \replacecolor).

regards
Stephan

-- 
  Stephan Lehmke                 [EMAIL PROTECTED]
  Fachbereich Informatik, LS I   Tel. +49 231 755 6434 
  Universitaet Dortmund          FAX              6555
  D-44221 Dortmund, Germany             

Reply via email to