[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792616: \ifpdf returning false with xelatex, even when creating PDF



Package: texlive-latex-base
Version: 2012.20120611-5

I'm not quite sure which package to report this against, so I start with
the one providing ifpdf.sty.

I am trying to use https://github.com/aginiewicz/createspace.git with
dblatex, and ran into a problem when using xetex as the dblatex backend.
The build fail with "Package createspace Error: no PDF supported engine
detected".  I've tracked this down to the fact that \ifpdf return false
with xelatex, even if it is generating a PDF.  The following test
document demonstrate the problem:

  \documentclass{article}
  \usepackage{ifpdf}
  \begin{document}
  \ifpdf
  Using PDF
  \else
  Not using PDF
  \fi
  \end{document}

The PDF output is 'Using PDF' with pdflatex, and 'Not using PDF' with
xelatex.  I expected it to return 'Using PDF' with both.

Is this a bug in the ifpdf.sty implementation or with xetex?

CC to the createspace style author, to make him aware of this bug
report.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: