Pandoc 1.6 exports images in DocBook very strange. The captions are set wrong.
I have to use:
cat text.db | sed -e 's/<inlinemediaobject>/<figure>/g' -e
's/<imageobject>//g' -e 's/<objectinfo>//g' -e
's/<\/objectinfo>/<mediaobject><imageobject>/g' -e
's/<\/inlinemediaobject>/<\/mediaobject><\/figure>/g' > text.db
The OBJECTINFO element seems to be worthless and the included title
will be never shown:
http://www.docbook.org/tdg/en/html/objectinfo.html
The way to include an image with caption correctly is described here:
http://www.ibiblio.org/godoy/sgml/docbook/howto/using-docbook.html#INSERTING-PIC
TURES
Original issue reported on code.google.com by schm...@gmx.de on 10 Nov 2010 at 5:05
Original issue reported on code.google.com by
schm...@gmx.de
on 10 Nov 2010 at 5:05