[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to apply stylesheets to docbook?



Hi all -

  I have been trying to figure out how to make something useful out of
docbook documents. I'd like to render to pdf, latex, groff, and html, but
available documentation is archaic and conflicting.

Where do I start? I'd previously been trying with jade, but I caught wind
that sgml-tools gained support for docbook 3.1. This doesn't appear to be
true...

Executing sgml2latex on a minimal document:

 ..~/docs$ sgml2latex DB-article.sgml
Processing file DB-article.sgml
/usr/bin/sgmlsasp: can't open
/usr/lib/sgml-tools/dist/article/latex2e/mapping': No such file or directory

Executing jade on the same minimal document:

 ..~/docs$ jade -t tex DB-article.sgml -d
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl -o
DB-article.tex
[about 500 lines of errors follow]

Even norm walsh's book doesn't offer any help here. Ideas anyone? ;)

-- 
..Aaron Van Couwenberghe... ..avancouw@calpoly.edu.. ..aaronv@debian.org..
	Berlin:			http://www.berlin-consortium.org
	Debian GNU/Linux:	http://www.debian.org

About the use of language: it is impossible to sharpen a pencil with a blunt
ax.  It is equally vain to try to do it with ten blunt axes instead.
                -- Edsger Dijkstra


Reply to: