How to embed PDF files in Docbook when output format is also PDF
Posted: Mon Mar 27, 2017 8:05 pm
Hey,
I am trying to generate a PDF version of my Docbook. This document includes lots of text, but also several figures.
In order to make those figures look sharp in the PDF output file, the figures are also included as PDF format.
This works perfectly fine, when I am generating HTML output, but when the output format is PDF the figures are just not shown. Why?
I am including the figures as shown below:
<inlinemediaobject>
<imageobject>
<imagedata fileref="./figure.pdf"/>
</imageobject>
</inlinemediaobject>
And when I add the attribute format="PDF" to the imagedata, OxygenXML is even complaining and states that this is not a valid value for format.
I am trying to generate a PDF version of my Docbook. This document includes lots of text, but also several figures.
In order to make those figures look sharp in the PDF output file, the figures are also included as PDF format.
This works perfectly fine, when I am generating HTML output, but when the output format is PDF the figures are just not shown. Why?
I am including the figures as shown below:
<inlinemediaobject>
<imageobject>
<imagedata fileref="./figure.pdf"/>
</imageobject>
</inlinemediaobject>
And when I add the attribute format="PDF" to the imagedata, OxygenXML is even complaining and states that this is not a valid value for format.