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: unable to convert DocBook to PDF

Hi All,

I'm trying to familiarize myself with DocBook. I started with
O'Reilly's sample at

From the command line:

$ docbook2pdf book.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
Working on: <path>/book.xml
openjade:<path>/book.xml:8:19:E: there is no attribute "href"
openjade:<path>/book.xml:8:43:E: there is no attribute "xmlns:xi"
openjade:<path>/book.xml:8:78:E: element "xi:include" undefined
openjade:<path>/book.xml:9:74:E: element "xi:include" undefined

book.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
 <title>DocBook Authoring Guidelines</title>

 <xi:include href="bookinfo.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; />
 <xi:include href="ch00.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; />
 <xi:include href="ch01.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; />
 <xi:include href="ch02.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; />
 <xi:include href="ch03.xml" xmlns:xi="http://www.w3.org/2001/XInclude"; />

I also fetched the schema specified at
http://www.w3.org/2001/XInclude, and tried to manually include it:
`docbook2pdf -d schema.xml book.xml.` Things only got worse.

I'm on Ubuntu 10.04 (x64). The DocBook package is installed.

$ docbook2pdf --version
DocBook-utils version 0.6.14 (jw version 1.1)
$ openjade --version
openjade:I: "OpenJade" version "1.4devel"
openjade:I: "OpenSP" version "1.5.2"
^C #not sure why it hangs the shell...
$ uname -a
Linux studio 2.6.32-34-generic #77-Ubuntu SMP Tue Sep 13 19:39:17 UTC
2011 x86_64 GNU/Linux

Any ideas? Thanks in advance.


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