Changes

Jump to navigation Jump to search
279 bytes added ,  19:02, 30 September 2023
hint to "pandoc" module
Every few years someone tries to convert from [http://docbook.sourceforge.net/ 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 [https://sourceforge.net/projects/dblatex/files/dbcontext/ dbcontext] project is long dead. But there is a new (as As of April 2016) , there’s a set of stylesheets by Jan Tošovský available:[http://doctribute.com/blog/003-docbook-to-context-xsl-stylesheets-en.html Announcement & Documentation] / [https://github.com/doctribute/docbook-to-context-xsl-stylesheets Sources on GitHub].
* [httpSince 2019, there’s an experimental XML setup for a subset of DocBook://doctribute.com/blog/003-docbook-to-context-xsl-stylesheets{{src|x-en.html Announcement]* [https://githubpandoc.com/doctribute/docbook-to-context-xsl-stylesheets Sources on GitHub]mkiv}}
Try to use it like:
 
<texcode>
\usemodule[pandoc] % the name is misleading
\xmlregisterdocumentsetup{main}{xml:docbook}
\xmlprocessfile{main}{docbookfile.xml}{}
</texcode>
[[Category:XML]]

Navigation menu