[powerdot] Re: Draft option?

  • From: Patrice Mégret <Patrice.Megret@xxxxxxxxxx>
  • To: <powerdot@xxxxxxxxxxxxx>
  • Date: Fri, 29 Jun 2007 08:54:43 +0200

Luis,

One way to do what you want is to add in your powerdot style file a line:

  \newif\ifpdfinal\pdfinalfalse  

and then use a test when you put your eps background:

  \ifpdfinal\rput[tl](0,\slideheight){\usebox\pd@imagebox}\fi%  

Finally, you switch on or off the 'final' option in your main document by the 
command just before the \begin{document}

\pdfinaltrue (or \pdfinalfalse, by default is false)

Of course, this trick can be made better by transforming this simple 'if test' 
in an option to be put in [].

The two attached files implement this feature on the default powerdot style. 
You have just to adapt it to your style. 

Best regards,  


Patrice MEGRET

 
> -----Message d'origine-----
> De : powerdot-bounce@xxxxxxxxxxxxx [mailto:powerdot-bounce@xxxxxxxxxxxxx]
> De la part de Hendri Adriaens
> Envoyé : mercredi 20 juin 2007 23:19
> À : powerdot@xxxxxxxxxxxxx
> Objet : [powerdot] Re: Draft option?
> 
> > I believie it should be \rput[bl] instead of \rput[tl] --- the way
> > it's written, the file would be placed just outside (below) the slide
> > - and you wouldn't see it.
> > (0,0) is at the bottom left and you want that to coincide with the
> > bottom left of the picture that's what the bl stands for. Probably
> > just a typo on Hendri's message, but one that would cause confusion
> > for one not familiar with pstricks.
> 
> Thanks, you're right. Somehow I got confused with a very early
> pre-release version of powerdot that had the origin in de top left
> corner.
> 
> Thanks for the keen eye and the correction.
> 
> Best,
> -Hendri.

Other related posts: