[Build-common-hackers] Bug#397060: cdbs: figure 1 gets truncated in pdf version of cdbs documentation manual

Andreas Hoenen andreas.hoenen at arcor.de
Sat Nov 4 20:53:18 CET 2006


Package: cdbs
Version: 0.4.47
Severity: minor
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The image "Figure 1: Buildcore targets" is truncated at the upper and the right
edges in the pdf version of the cdbs documentation manual.

When building the pdf documentation, from the dot file first an eps image gets
built, which subsequently is converted to an pdf image, which finally is
integrated into the pdf manual by dblatex.  The eps image looks fine (using gv),
but the pdf image is truncated (using xpdf).

I don't know why the eps->pdf image conversion fails, but an alternative way of
integrating the image into the manual is possible:

As dblatex also can handle png images, just convert the dot file to a png image
(as in the html build).  Advantages:

- - Works without image truncation
- - One less conversion step
- - Same method in html and pdf build

Regards, Andreas Hoenen
- --
Andreas Hoenen <andreas.hoenen at arcor.de>

GPG: 1024D/B888D2CE
     A4A6 E8B5 593A E89B 496B
     82F0 728D 8B7E B888 D2CE

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)

cdbs depends on no packages.

Versions of packages cdbs recommends:
pn  autotools-dev                 <none>     (no description available)
ii  debhelper                     5.0.40     helper programs for debian/rules

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFTO+tco2LfriI0s4RAvnlAKCRLo/tiiHPZHRLM+Z0+FmNucmA1wCgvF3n
DdvkJFjUs5P2FCXcQ6iKQcM=
=yzY0
-----END PGP SIGNATURE-----
-------------- next part --------------
--- Makefile.orig	2006-10-26 12:20:42.000000000 +0200
+++ Makefile	2006-11-04 20:39:00.000000000 +0100
@@ -11,7 +11,7 @@
 	xsltproc --nonet --xinclude -o $@ cdbs-doc-xhtml.xsl $<
 
 pdf: cdbs-doc.pdf
-%.pdf: %.xml xmllint-stamp-% $(graphics:%=%.pdf)
+%.pdf: %.xml xmllint-stamp-% $(graphics:%=%.png)
 	dblatex -b pdftex -T db2latex $<
 
 ps: cdbs-doc.ps


More information about the Build-common-hackers mailing list