OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: "xmlto pdf" command fails in TeX/LaTeX step on debian system.

Note: this is not a cross-post.

I posted this to the debian-user mailing list a few days ago but since I
did not get a single response I thought this might elicit more interest
in a specialized mailing list, although it is quite likely caused by
some misconfiguration of the debian system on my part.

I am currently evaluating DocBook as a framework to start building a
personal documentation system (together with LaTeX and a couple of
lesser-known products).

I started playing with DocBook over the weekend and while the "xmlto
html" and "xmlto html-nochunks" commands worked absolutely fine from the
word go, the generation of pdf (or ps) documents does not function

It looks like I might be missing a LaTeX package or that LaTeX is not
correctly configured on my system.

I suspect a problem with certain fonts somehow not being accessible --
although I ran into no such problems while evaluating LaTeX.

Here is the output of the "xmlto pdf" command.

[12:05:42][user@turki:~/devel/docbook/tests/xml-dir]$ xmlto pdf cheat.xml

Making portrait pages on letter paper (215.9 mm x 279.4 mm)
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
No File: tmp.cfg (/usr/share/texmf/tex/xmltex/passivetex/fotex.xmt)
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
No file tmp.aux.
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf/tex/latex/psnfss/t1phv.fd) [1{/var/lib/texmf/dvips/config/pdf
Overfull \vbox (10.0pt too high) has occurred while \output is active [2]
Overfull \vbox (10.0pt too high) has occurred while \output is active [3]
(/usr/share/texmf/tex/latex/misc/ustmry.fd) [4] [5]

! 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.370 ..." hyphenation-remain-character-count="2">

! Emergency stop.

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

!  ==> Fatal error occurred, the output PDF file is not finished!
Transcript written on tmp.log.

I have found a few similar occurrences via google but nothing about a
possible cause or solution.

If I break down the generation into two steps,

.. the "xmlto fo cheat.xml" runs successfully.

but then the ensuing ..

.. "xmltex cheat.fo" runs into what appears to be the same problem.

If tried to hit <enter> a few times and this eventually causes xmltex to
recover from the error and eventually produce a c. 400 pages pdf with
empty pages .. "opt opt" near the top of each page is about all there is
in it.

The test document is an excerpt from my personal vim cheat sheet and
consists mostly of large tables but I have also tried the same procedure
on a bare-bones document of the "Hello World" type and the results are

So if anyone could advise I would greatly appreciate.

In case this is a known problem with debian sarge, I am currently
building a next-generation debian etch system on another set of

If this is a bug that's fixed with the LaTeX setup that comes with the
newer release I could switch at short notice.

FYI - if anyone on the list is familiar with the way DocBook is packaged
on debian systems, here is a list of what to the best of my knowledge
are the relevant packages that are installed on my system.

$ dpkg -l ...

ii  gettext        0.14.4-2       GNU Internationalization utilities
ii  gettext-base   0.14.1-6       GNU Internationalization utilities fo
ii  html2text      1.3.2a-2       An advanced HTML to text converter
ii  jadetex        3.13-6         generator of printable output from SG
ii  latex-ucs      20041017-1     support for using UTF-8 input encodin
ii  latex-xft-font 0.1-4          Xft-compatible versions of some LaTeX
ii  latex2html     2002-2-1-10    LaTeX to HTML translator
ii  liblocale-gett 1.01-17        Using libc functions for internationa
ii  libtext-charwi 0.04-1         get display widths of characters on t
ii  libtext-iconv- 1.2-3          Convert between character sets in Per
ii  libtext-wrapi1 0.06-1         internationalized substitute of Text:
ii  passivetex     1.25-2         Macros to process XSL formatting obje
ii  preview-latex- 0.8.1+0-3      LaTeX style files for editor embedded
ii  tetex-base     2.0.2c-3       Basic library files of teTeX
ii  tetex-bin      2.0.2-23       The teTeX binary files
ii  tetex-doc      2.0.2c-8       The documentation component of the De
ii  tetex-extra    2.0.2c-3       Additional library files of teTeX
ii  texinfo        4.7-2.2        Documentation system for on-line info
ii  textutils      5.2.1-2        The GNU text file processing utilitie
ii  vim-latexsuite 0.20041219-1   brings the LaTeX power to Vim
ii  xmltex         1.9-10         TeX package for processing XML files

ii  docbook        4.3-1          standard SGML representation system f
ii  docbook-dsssl  1.79-1         modular DocBook DSSSL stylesheets, fo
ii  docbook-utils  0.6.14-1       Convert Docbook files to other format
ii  docbook-xml    4.3-1          standard XML documentation system, fo
ii  docbook-xsl    1.68.1-0.1     stylesheets for processing DocBook XM
ii  ldp-docbook-ds 0.0.20040321-2 The Linux Documentation Project's DSS

ii  docbook-xml    4.3-1          standard XML documentation system, fo
ii  libxml-parser- 2.34-4         Perl module for parsing XML files
ii  libxml1        1.8.17-10      GNOME XML library
ii  libxml2        2.6.16-2       GNOME XML library
ii  libxml2-utils  2.6.16-7       XML utilities
ii  python2.3-xml  0.8.4-1        XML tools for Python (2.3.x)
ii  xml-core       0.09           XML infrastructure and XML catalog fi
ii  xmltex         1.9-10         TeX package for processing XML files
ii  xmlto          0.0.18-5       XML-to-any converter

(truncated to 72 columns)

In case anyone would like to take a quick look at my test document, or
try to recreate the problem I have uploaded "cheat.xml" at:



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]