Hello,
PeterRobertson wrote:I have a simple docbook file:
robert3L wrote:I have pretty much the same XML in source.
Code: Select all
<figure id="welcome_help_roles">
<title>Some texts here</title>
<screenshot>
<mediobject>
<imageobject>
<imagedata fileref="help_home/screenshots/getstart/help_rolse.png" format="PNG"/>
<imageobject>
<textobject>
<phrase>Documentation paths for different roles</phrase>
<textobject>
<caption>
<para>Roles and Documentation</para>
</caption>
</mediobject>
</screenshot>
</figure>
Your code is not DocBook. Did you validate your file against a DocBook schema ? More than that it is not well-formed XML. There are also validation errors. For example
mediobject does not exist in DocBook. Maybe it should be
mediaobject. If it is not valid it is possible that the DocBook stylesheets do not include the image in the FO file. If you use other schema for validation you should post that. Also if you use other schema we have to see the FO file that is input for the FO processor in order to see why the image is not included in the PDF. After I corrected the errors I generated a PDF file from your
figure using JIMI and other PNG image. If you want to see a sample I can upload it on a server and I can post the URL here. My
figure is:
Code: Select all
<figure id="welcome_help_roles">
<title>Some texts here</title>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="img/caution.png" format="PNG"/>
</imageobject>
<textobject>
<phrase>Documentation paths for different roles</phrase>
</textobject>
<caption>
<para>Roles and Documentation</para>
</caption>
</mediaobject>
</screenshot>
</figure>
robert3L wrote:I have read the manual (which is not very clear whether you need both JIMI and JAI for PNG, or just one of the two.
I quote from that page of the manual:
To include PNG images in the final PDF document you need the JIMI or JAI libraries.
So you need the JIMI library
or the JAI library for PNG images. What is not clear here ?
robert3L wrote:Manual is also out of date wth user intrface. See e.g. Common Transofrmations- much is out of date with the 7.1 UI).
Manual is not out of date. The path to the manual pages changed on the server for new versions of <oXygen/>. The old URLs included in the old forum posts point to the old versions of the manual. You should use the links included in the posts only for reading about the problem of that forum topic. For the latest version you must go to
the Documentation page.
robert3L wrote:On a pretty standard Windows XP installation of Oxygen (all defaut with bundled JRE), I have installed both libraries, trying each one alone, and then installing both. all as described in the manual.
So I now have JimiProClasses.zip installed to C:\Program Files\Oxygen\lib. I also have jai_codec.jar, jai_core.jar and mlibwrapper_jai.jar installed there. My PATH environment variable contains the path to the native DLLs (C:\jai-1_1_2_01\lib). I have restarted Oxygen and when the png images still didn't appear in PDF output I restarted Windows thinking maybe PATH didn't update. I've just rechecked against the manual 5 times. There is still a chance that I have screwed up something but I don't think so this time.
PMG images still don't appear in PDF. (Everything
else is
great!)
HELP please anyone??
Like I said if you need a sample PDF generated from the
figure that I posted and JIMI installed as described in the manual page from the link just let me know.
Regards,
Sorin