Opened 17 months ago
Closed 17 months ago
#5422 closed defect (fixed)
EPUB Makefile target requires manually copying files around
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.0 |
Component: | build | Version: | master |
Keywords: | Cc: |
Description
The dbtoepub tool doesn't seem to have a way to pass XSLT path so it doesn't work when images referenced via images/xxx are instead found in html/images/xxx
The debbie's script "solves" this by creating an images/ directory and copying all files there, but we need a more general fix
Change History (7)
comment:1 by , 17 months ago
comment:2 by , 17 months ago
It's actually also XSLT path that we need, for postgis_special.ent I guess I could merge those entities back to postgis.xml to simplify life and be happy again with epub generation.
comment:4 by , 17 months ago
comment:6 by , 17 months ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
debbie's builds appear to be broken now.
Giving error:
11:51:52 rm images # work around https://trac.osgeo.org/postgis/ticket/5422 11:51:52 rm: cannot remove 'images': No such file or directory
Also gitlab is broken for same reason
On further analisys, it's not XSLT path that we are in need of, but rather images path, required at epub packaging time. Something to fix in here: https://github.com/docbook/xslt10-stylesheets/blob/fe16c90013b64e316c3e21ef92d1e8813c10f88c/xsl/epub/bin/lib/docbook.rb#L167
The code above just assumes image paths are relative to the path of the docbook input file (it'd be build dir)