|
From: | Per Bothner |
Subject: | Re: images subdirectories in epub |
Date: | Wed, 3 Aug 2022 09:13:31 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
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 per@bothner.com http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |