docbook / xslt10-stylesheets

XSLT 1.0 Stylesheets for DocBook
98 stars 76 forks source link

[feature_request] ability to pass IMAGE path to dbtoepub #258

Open strk opened 1 year ago

strk commented 1 year ago

There's currently no way to pass a PATH to resolve relative image paths. It would be useful (see for example the dblatex -I switch)

See also #257

strk commented 1 year ago

Downstream ticket: https://trac.osgeo.org/postgis/ticket/5422

bobstayton commented 1 year ago

The DocBook XSL stylesheets have a stylesheet parameter named img.src.path that allows you to pass a directory name to the process that is added as a prefix to image filenames. See: https://docbook.sourceforge.net/release/xsl/current/doc/html/img.src.path.html

strk commented 1 year ago

For our case we'd need multiple paths to search into, as some images are in source tree and some are in build tree