On Thu, Dec 19, 2013 at 7:44 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > 2013/12/17 Scott Kostyshak <skost...@lyx.org> >> >> As of PS Tricks 2.47a (Nov. 28), some functions are now in the new >> pst-ovl package. >> >> If this patch is not applied and you have an up-to-date TeX Live 2013 >> distribution, two of our example files will fail to export: >> examples/fr/exemple-powerdot >> powerdot-example_pdf >> >> Unfortunately, this fix means that if you do not have an up-to-date >> TeX Live 2013 distribution you do not have pst-ovl and the powerdot >> layout will fail for you. Thus, this breaks compilation for older TeX >> distributions. > > > How about > > +Preamble > + \IfFileExists{pst-ovl}{\usepackage{pst-ovl}}{} > +EndPreamble > > instead?
Looks good. Do you have a preference for IfFileExists{pst-ovl} over IfFileExists{pst-ovl.sty} ? I prefer to be more strict unless you have a reason otherwise. Scott