docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

Mediaobject output adjust only for chunked output? #416

Open frank-steimke opened 9 months ago

frank-steimke commented 9 months ago

I have to adjust image URIs for printed Media Output. So i followed the instructions given in the Reference Manual for the `m:mediaobject-output-adjust' mode, but without success. The (single, not chunked) HTML Output does not use the adjusted URI.

Inspecting the code i see that this mode is used only in chunk-cleanup.xsl. Maybe it's of no use for non-chunked output?

Greetings, Frank

ndw commented 8 months ago

Can you provide an example of what you're trying to do? It's quite possible that you have a perfectly reasonable use case that isn't (yet) supported.

For chunked output, the base URIs of the output files change so it's absolutely necessary to "fix up" the media object references. For single-file output, I think I've usually just relied on the references being correct in the output because they're correct in the input.