Re: #338879: cdbs: FTBFS: DVI file can't be opened
Isaac Clerencia <isaac@debian.org> writes:
> Hi, dear teTeX maintainers :)
>
> cdbs fails to build from source because "latex" is generating a PDF file
> instead of a .dvi .
>
> I've read in several threads and bugs (like #321942) that this happens to
> buggy .tex documents.
I didnt compile the file, but you are testing whether \pdfoutput is
\undefined, but it wont be even, if (pdfe)latex is creating dvi.
<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ifpdf>
explains things (one way is to remove the definition of \ifpdf and
instead just \RequirePackage{ifpdf} before the documentclass, which
will define \ifpdf in the correct way (ifpdf is in tetex-extra in
sarge))
Reply to: