On 8/3/22 05:22, Patrice Dumas wrote:
In EPUB, the images are copied to a directory, such as
my_manual_epub_package/EPUB/images/
The manual files are in
my_manual_epub_package/EPUB/xhtml/*.xhtml
and the paths to images in the XHTML files have ../images/ prepended.

Why?  I don't see any such requirement in
https://www.w3.org/publishing/epub3/epub-ocf.html

3.2 File and Directory Structure

    All other files within the OCF Abstract Container MAY be in any location
    descendant from the Root Directory, provided they are not within the 
META-INF directory.

kawa-manual.epub (generated using the docbook xsl stylesheets) contains:

    mimetype
    META-INF/
    META-INF/container.xml
    OEBPS/
    OEBPS/index.html
    OEBPS/Unicode.xhtml
    OEBPS/Sequences.xhtml
    ...
    OEBPS/images/
    OEBPS/images/border-1.png
    OEBPS/images/polygon-1.png
--
        --Per Bothner
[email protected]   http://per.bothner.com/

Reply via email to