Package: dblatex Version: 0.3-2 Tag: upstream https://sourceforge.net/tracker/?func=detail&aid=3039592&group_id=72607&atid=535062
The inkscape arguments used to convert from svg to png have the wrong order, causing input to be read as output and output to be read as input. When processing this example docbook file, <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <book> <bookinfo> <title>Your title here</title> </bookinfo> <chapter><title>Chapter 1</title> <para> <inlinemediaobject> <imageobject> <imagedata fileref="images/cc.svg" width="100%" align="center"/> </imageobject> <textobject> <phrase>Creative Commons, Some rights reserved</phrase> </textobject> </inlinemediaobject> </para> </chapter> </book> I get the following error and the image fail to show up in the PDF. % dblatex image-test.xml Build the book set list... Build the listings... XSLT stylesheets DocBook - LaTeX 2e (0.3-2) =================================================== inkscape -z -D "--export-pdf=/home/pere/src/debiancvs/debianedusvn/src/debian-edu-itil-doc-nb/documentation/free-culture-lessig/images/cc.svg" fig0.pdf Error: Couldn't open file 'fig0.pdf': Ingen slik fil eller filkatalog. ** Message: couldn't open the PDF file. ** (inkscape:5334): CRITICAL **: Inkscape::XML::Document* sp_repr_read_file(const gchar*, const gchar*): assertion `Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )' failed ** (inkscape:5334): WARNING **: Specified document fig0.pdf cannot be opened (does not exist or not a valid SVG file) Build image-test.pdf This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended mode This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) entering extended mode 'image-test.pdf' successfully built % The error has been reported upstream, and is also reported to be fixed. Please fix it in Squeeze, to make dblatex more useful in Debian stable. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org