On 23/03/2011 4:53 AM, Jürgen Spitzmüller wrote:
Am 22.03.2011 23:41, schrieb Julien Rioux:
Once we are in the preview script, what's a good way to identify that we
use the pdflatex route?
I think the safest method is to search for \usepackage[pdftex]{preview}
in the preamble, as we do in the color_pdf method.
Jürgen
Actually, this is not a good test, because this line is always in the
preamble. It's enclosed in a \ifpdf construct. I can't determine whether
or not \ifpdf will be true or false.
The previous patch was fine though.
--
Julien