[xml/sgml-pkgs] Bug#567122: xmlto pdf does not support PNG files
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Jan 27 14:11:24 UTC 2010
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
More information about the debian-xml-sgml-pkgs
mailing list