docs/pbook.py: correct faulty check for PDF output
authorLuca Capello <luca@pca.it>
Mon, 2 Oct 2006 21:55:16 +0000 (21:55 +0000)
committerLuca Capello <luca@pca.it>
Mon, 2 Oct 2006 21:55:16 +0000 (21:55 +0000)
commit9d5ab9335266debb0988c137803fcc3528f11545
treea0dbe538e23d94694d580bd40cf10ca294cc6508
parentaea55c1b007b15b590b5e77c4558aaef6f14f530
docs/pbook.py: correct faulty check for PDF output

Frank K[_\c3_][_\bc_]ster discovered that docs/pbook.py produces buggy
LaTeX code, a faulty check for PDF output.  It doesn't show up if you
only try to create PDF.

But if you want to go the traditional route and produce dvi files (and
from that PostScript and maybe finally again PDF), this will fail and
still produce PDF.  The script itself doesn't do that (or rather, it
does that in fact but ignores the output in this first run), but it's
still an uglyness.

Moreover, it's completely useless, because the only package that uses
the information, graphicx, will detect the output format itself (and
in a proper way).

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390629
docs/pbook.py