Debian Bug report logs - #567122
xmlto pdf does not support PNG files

version graph

Package: xmlto; Maintainer for xmlto is Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>; Source for xmlto is src:xmlto.

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Wed, 27 Jan 2010 14:15:02 UTC

Severity: normal

Found in version xmlto/0.0.20-5

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>:
Bug#567122; Package xmlto. (Wed, 27 Jan 2010 14:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>. (Wed, 27 Jan 2010 14:15:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xmlto pdf does not support PNG files
Date: Wed, 27 Jan 2010 15:11:24 +0100
Package: xmlto
Version: 0.0.20-5
Severity: normal


When including a PNG file, xmlto fails with the following:

Making portrait pages on letter paper (215.9mmx279.4mm)
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./tmp.fo
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ukrainian, russian, bulgarian, pinyin, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/config/xmltex.cfg) 
No File: tmp.cfg (/usr/share/texmf/tex/xmltex/passivetex/fotex.xmt)
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/xmltex/passivetex/fotex.sty
)
No file tmp.aux.
(/usr/share/texmf/tex/latex/tipa/t3ptm.fd)
(/usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd)
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd)

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.211 ..." hyphenation-remain-character-count="2">
                                                  title</fo:block></fo:block...

? 
! Emergency stop.
 ...                                              
                                                  
l.211 ..." hyphenation-remain-character-count="2">
                                                  title</fo:block></fo:block...

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.



Steps to reproduce:
$ wget http://www.debian.org/logos/openlogo-100.png
$ xmlto pdf in.xml

where:
$ cat in.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<article>
  <articleinfo>
    <title>title</title>
    <author>
      <firstname>author</firstname>
      <surname>author2</surname>
      <affiliation>
        <orgname>bla</orgname>
      </affiliation>
    </author>
    <pubdate>2001</pubdate>
  </articleinfo>
  <section>
    <title>section 1</title>
    <para>text section 1</para>
    <figure>
      <title>first</title>
      <mediaobject>
        <imageobject>
          <imagedata fileref="openlogo-100.png"/>
        </imageobject>
      </mediaobject>
    </figure>
  </section>
</article>

Thanks  

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmlto depends on:
ii  debianutils         2.30                 Miscellaneous utilities specific t
ii  docbook-xml         4.5-6                standard XML documentation system,
ii  docbook-xsl         1.73.2.dfsg.1-5      stylesheets for processing DocBook
ii  libc6               2.10.2-2             GNU C Library: Shared libraries
ii  libxml2-utils       2.6.32.dfsg-5+lenny1 XML utilities
ii  sgml-base           1.26                 SGML infrastructure and SGML catal
ii  xsltproc            1.1.24-2             XSLT command line processor

Versions of packages xmlto recommends:
ii  libpaper-utils               1.1.23+nmu1 library for handling paper charact

Versions of packages xmlto suggests:
ii  fop                       1:0.94.dfsg-2  XML to PDF Translator
ii  links                     2.1pre37-1.1   Web browser running in text mode
ii  lynx                      2.8.7dev9-2.1  Text-mode WWW Browser (transitiona
ii  w3m                       0.5.2-2+b1     WWW browsable pager with excellent
ii  xmltex                    1.9.debian.1-1 TeX package for processing XML fil

-- no debconf information




Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:55:13 GMT) Full text and rfc822 format available.

Bug 567122 cloned as bug 672409 Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Thu, 10 May 2012 20:39:03 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 14:31:02 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.