Hi Dave,
The ANT build file for the Docbook to EPUB transformation:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/epub/bin/build.xml
was created by us (Oxygen XML Editor) from the original Python scripts
which were available to transform to EPUB.
We also added some custom processing which indeed, from what I've tested
does not create a valid OPF file in some cases.
I did not quite manage to reproduce your situation, could you send to
the Oxygen XML Editor Support email address (
support@oxygenxml.com) a
sample Docbook project on which the problem can be reproduced.
I'm attaching a modified version of the build file:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/epub/bin/build.xml
ANT build file which removed some of the custom processing we perform to
the OPF file (and which sometimes leads to invalid EPUB archives).
Can you copy it over the initial ANT build file and see if your
situation is corrected?
Regards,
Radu
Radu Coravu
<oxygen></oxygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com>
> -------- Original Message --------
> Subject: [docbook-apps] Images do not extract to epub OPF manifest
> Date: Sat, 21 May 2011 16:26:45 +1000
> From: redlettucemail <
redlettucemail@mailscan.acenet.net.au>
> To:
docbook-apps@lists.oasis-open.org>
>
>
> I am transforming a DB5 (1.76) book to epub using oXygen 12.2, and
> running epubcheck gives me a warning that images are not declared in the
> OPF file. Inexpicably, I do get only one image showing in the manifest:
> "<manifest>
> <item id="ncxtoc" media-type="application/x-dtbncx+xml" href="toc.ncx"></item>
> <item media-type="text/css" id="css" href="../epub3.css"></item>
> <item id="cover" href="cover.html" media-type="application/xhtml+xml"></item>
> <item id="coverimage" href="images/frontcover.jpg"></item>
> media-type="image/jpeg" />
> <item id="d0e274" href="pr01.html" media-type="application/xhtml+xml"></item>
> <item id="d0e306" href="chap1.html" media-type="application/xhtml+xml"></item>
> <item id="d0e350" href="sec1.2.html" media-type="application/xhtml+xml"></item>
> <item id="d0e403" href="sec1.3.html" media-type="application/xhtml+xml"></item>
> <item id="d0e424" href="chap2.html" media-type="application/xhtml+xml"></item>
> *<item id="d0e451" href="images/Figure2-1.gif" media-type="image/gif"></item>*
> <item id="d0e715" href="sec2.2.html" media-type="application/xhtml+xml"></item>
> ....."
> I've checked the XML markup, and every image in each chunk has the
> imagedata file format declared as GIF, e.g.:
> "
>
> <titleabbrev>Australia’s meso-scale marine bioregions</titleabbrev>
> <mediaobject>
> <textobject>
> <phrase>Australia’s meso-scale marine bioregions</phrase>
> </textobject>
> <imageobject role="fo">
> <imagedata fileref="images/Figure2-2.gif" width="70%" align="center"></imagedata>
> format="GIF" />
> </imageobject>
> <imageobject role="html">
> <imagedata fileref="images/Figure2-2.gif" width="450px" align="center"></imagedata>
> format="GIF" />
> </imageobject>
> </mediaobject>
> "
> I can't see what markup I'm missing to get images to extract to the OPF.
> Any help appreciated thanks.
> Dave Gardiner
>
</manifest></
redlettucemail@mailscan.acenet.net.au>