xmlto pdf test.xml

Jhair Tocancipa Triana jhair.tocancipa at gmail.com
Wed Jul 11 09:35:58 UTC 2007


Zenaan Harkness writes:
> <?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:

docbook2pdf works,

$ docbook2pdf test.xml
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
Working on: /home/user/tmp/test.xml
Done.

$ ls -altr test.pdf
-rw-r--r-- 1 user user 27899 2007-07-11 11:34 test.pdf

-- 
--Jhair





More information about the ubuntu-users mailing list