Closed nr0cinu closed 8 years ago
PS: my temporary workaround is to use xsltproc
and the db4-upgrade.xsl
stylesheet included in DocBook 5
Are you talking about input (reader) or output (writer)?
Can you give a summary of the changes from 4.5 to 5 that would affect pandoc?
I’m talking about the writer. The reader probably doesn’t care if it’s 4.5 or 5, because they are so similar.
For sure a DocBook 5 template would be needed, because the header is different.
Additionally it should only be minor tweaks, like renaming tags or attributes (ulink
to link
, id
to xml:id
, …)
A list of all the changes: http://docbook.org/tdg5/en/html/ch01.html#introduction-whats-new
Input would be cool too. I use pandoc to go from docbook4.5 to epub atm.
Had a stab at adding docbook5 writer support; see pull requests https://github.com/jgm/pandoc/pull/2890 and https://github.com/jgm/pandoc-templates/pull/197
Closing since we now have the writer support.
This would be nice. I guess it shouldn’t be very much effort, because DocBook 4.5 and 5 are very similar.
Thanks! :)
Bela