DocBook

From Wiki
Jump to navigation Jump to search

Every few years someone tries to convert from DocBook to ConTeXt, since the usual way via XSL-FO can’t provide the same typographical quality. Those who do it successfully every day probably don’t talk about it...

The dbcontext project is long dead. As of April 2016, there’s a set of stylesheets by Jan Tošovský available: Announcement & Documentation / Sources on GitHub.

Since 2019, there’s an experimental XML setup for a subset of DocBook: x-pandoc.mkiv

Try to use it like:

\usemodule[pandoc] % the name is misleading
\xmlregisterdocumentsetup{main}{xml:docbook}
\xmlprocessfile{main}{docbookfile.xml}{}