Package: dblatex
Version: 0.1.10-1
Severity: important
Tags: patch
db2latex.sty has exactly the same buggy test for PDF mode that we had a
hard time patching out of db2latex proper. Moreover, there's no reason
to make such a test. Here's a patch, it fixes also the problem with
building cdbs' PS documentation with dblatex.
Regards, Frank
--- /etc/dblatex/contrib/db2latex/db2latex.sty 2006-02-16 22:18:36.000000000
+0100
+++ /home/frank/texmf/tex/latex/misc/db2latex.sty 2006-10-25
18:21:33.000000000 +0200
@@ -121,13 +121,8 @@
% --------------------------------------------
% Check for PDFLaTeX/LaTeX
% --------------------------------------------
-\newif\ifpdf
-\ifx\pdfoutput\undefined
-\pdffalse % we are not running PDFLaTeX
-\else
-\pdfoutput=1 % we are running PDFLaTeX
-\pdftrue
-\fi
+% not needed
+% \usepackage{ifpdf}
% --------------------------------------------
% Load graphicx package with pdf if needed
% --------------------------------------------
@@ -340,11 +335,12 @@
\floatname{algorithm}{Algorithm}
}
\makeatother
-\ifpdf
-\DeclareGraphicsExtensions{.pdf,.png,.jpg}
-\else
-\DeclareGraphicsExtensions{.eps}
-\fi
+% \ifpdf
+% not needed
+% \DeclareGraphicsExtensions{.pdf,.png,.jpg}
+% \else
+% \DeclareGraphicsExtensions{.eps}
+% \fi
% --------------------------------------------
% $latex.caption.swapskip enabled for $formal.title.placement support
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.17-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages dblatex depends on:
ii docbook-xml 4.3-1.1 standard XML documentation system,
ii file 4.12-1 Determines file type using "magic"
ii gs-afpl [gs-pdfencryp 8.14-3 The AFPL Ghostscript PostScript in
ii gs-esp [gs-pdfencrypt 7.07.1-9 The Ghostscript PostScript interpr
ii gs-gpl [gs-pdfencrypt 8.01-5 The GPL Ghostscript PostScript int
ii locales 2.3.2.ds1-22sarge4 GNU C Library: National Language (
ii tetex-extra 3.0.dfsg.2-2~bpo.1 Additional TeX input files of teTe
ii xsltproc 1.1.12-8 XSLT command line processor
-- no debconf information
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)