Re: texpower & pdfscreen & dimmed colors

2000-08-15 Thread Hana Skoumalova

Thanks for all the hints. I was at a conference last week, and I managed
to prepare my slides just in time.

Hana
-- 
Hana Skoumalova Institute of Theoretical & Computational Linguistics
  Charles University
tel: +420 2 24491858  Celetna 13, 110 00 Praha 1
http://utkl.ff.cuni.cz/~skoumal   Czech Republic




Re: texpower & pdfscreen & dimmed colors

2000-08-07 Thread Stephan Lehmke

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 




Re: texpower & pdfscreen & dimmed colors

2000-08-03 Thread Hana Skoumalova

Thank you for the hint. I already got the answer from Ross Moore. I will
try the better solution but 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? And what if I wanted to use a different color
(say green instead of dimmed)?

Hana
-- 
Hana Skoumalova Institute of Theoretical & Computational Linguistics
  Charles University
tel: +420 2 24491858  Celetna 13, 110 00 Praha 1
http://utkl.ff.cuni.cz/~skoumal   Czech Republic




Re: texpower & pdfscreen & dimmed colors

2000-08-03 Thread Stephan Lehmke

On Thu, 03 Aug 2000 14:33:40 +0200, Hana Skoumalova wrote:
> 
> I am trying to prepare a presentation with pdfscreen and texpower but I
> am unable to achieve the effect of change color from dimmed to normal
> (as described in FAQ 3.2). If I use this
> 
> \begin{itemize}

A fatal typo --
  v
> \liststepwise[\let\hidestepcontens=\hidedimmed]

Now I know why I had the nagging feeling that
setting parameters using \let isn't a good idea ;-)

Maybe I'll look for a safer way for setting parameters
within \stepwise.

But even with \hidestepcontents spelled correctly,
you might experience grief with vertical spelling,
because \hidestepcontents uses \textcolor which
doesn't really belong around \item...

I'd advise using

\begin{itemize}
\liststepwise
{
  \dstep\item we ``discover'' the structure of the document (DTD)
  \dstep\item SGML tools (nsgmls, yasp) help us to correct the source
  \dstep\item we can produce the ``printing'' markup again
  \dstep\item we can use SGML format for other applications
}
\end{itemize}

or even safer

\liststepwise
{%
\begin{itemize}
  \dstep\item we ``discover'' the structure of the document (DTD)
  \dstep\item SGML tools (nsgmls, yasp) help us to correct the source
  \dstep\item we can produce the ``printing'' markup again
  \dstep\item we can use SGML format for other applications
\end{itemize}
}

regards
Stephan

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




texpower & pdfscreen & dimmed colors

2000-08-03 Thread Hana Skoumalova

I am trying to prepare a presentation with pdfscreen and texpower but I
am unable to achieve the effect of change color from dimmed to normal
(as described in FAQ 3.2). If I use this

\begin{itemize}
\liststepwise[\let\hidestepcontens=\hidedimmed]
{
  \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}

it has the same effect as if there were no parameters of \liststepwise.
I am sending a whole test file.

Hana
-- 
Hana Skoumalova Institute of Theoretical & Computational Linguistics
  Charles University
tel: +420 2 24491858  Celetna 13, 110 00 Praha 1
http://utkl.ff.cuni.cz/~skoumal   Czech Republic
 test1.tex