Re: Incremental graphics with texpower?

Wojciech Zabolotny <[email protected]> Tue, 8 Jul 2003 00:57:20 +0200
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
On Mon, 7 Jul 2003, AgustĂ­n E. BolzĂĄn wrote:
> I do not know if this is what you mean, but.. have you tried
> the stepwise environment?
> 
> I use it, as in the following example, to overlay, for
> instance, four plots one over the other, and it works
> great (it is quite  simpler than your example).
> 
> \stepwise*{%
> \overlays{4}{\raisebox{-\height}[0pt][0pt]{\includegraphics[height=\textheight]{figure12-\thesubstep.pdf}}%
> } }
> 

Thanks a lot Agustin, It really helped!!! 
I've changed my code in the following way:

============= BEGIN ===================
\documentclass[12pt]{article}
\usepackage[screen,nopanel,sectionbreak]{pdfscreen}
\margins{2ex}{2ex}{2ex}{2ex}
\screensize{6.25in}{8in}
%%%\usepackage{soul}
\usepackage[display]{texpower}
\usepackage{tpslifonts}
%%%\usepackage{graphicx}

\newsavebox{\ImageBox}
\begin{document}

\section{A picture}
\pdfximage{tcd.pdf}
\savebox{\ImageBox}{\pdfrefximage\pdflastximage}
\begin{center}%
\makeatletter
\newcommand\wdWithoutUnit{\wd\ImageBox\@gobble}
\newcommand\htWithoutUnit{\ht\ImageBox\@gobble}
\makeatother
\stepwise*{
\overlays{3}{
\begin{picture}(\wdWithoutUnit,\htWithoutUnit)
\setlength{\unitlength}{1cm}
\linethickness{1pt}
\put(0,0){\usebox{\ImageBox}}
\put(0,0){\pdfximage{tcd\thesubstep.pdf}\pdfrefximage\pdflastximage}
\end{picture}
}}
\end{center}%
\end{document}
============== END ====================

And it really did the trick.
What's most important - the big "tcd.pdf" file is embedded only once (but
referenced three times) so my resulting file is quite small - something
that I couldn't get when using "prosper" package.
-- 
			Best regards,
			Wojtek Zabolotny
			[email protected]


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01