xmlto pdf test.xml

Zenaan Harkness zenaan at gmail.com
Wed Jul 11 07:14:48 UTC 2007


Hi, I'm on Ubuntu feisty, and trying to compile a simple test.xml file to
PDF output.

test.xml:
----
<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
               "docbook/dtd/xml/4.2/docbookx.dtd">

<article>
  <articleinfo>
    <title>
      Making your DocBook/XML HTML output not suck
    </title>
  </articleinfo>
  <section id="intro">
    <title>Introduction</title>
    <para>
      Most modern UNIX and Linux distributions come with suitable
DocBook/XML tools, yet by default..
    </para>

  </section>
</article>
----

running xmlto txt test.xml and xmlto html test.xml both work as expected.
running xmlto pdf test.xml gives this output:

----
$ xmlto pdf test.xml
Making portrait pages on a4 paper (210 mm x 297 mm)
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./tmp.fo
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
tur
kish, ukrainian, nohyphenation, 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-tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-tetex/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-tetex/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf-tetex/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-tetex/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-tetex/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.216 ..." hyphenation-remain-character-count="2">

?
! Emergency stop.
 ...

l.216 ..." hyphenation-remain-character-count="2">

No pages of output.
Transcript written on tmp.log.
----

Any help appreciated...

Thanks in advance
Zenaan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070711/c2bca1c9/attachment.html>


More information about the ubuntu-users mailing list