docbook / xslTNG

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

Add tunnel-parameter for base uris in mode chunk-cleanup in print.xsl #485

Closed fsteimke closed 3 months ago

fsteimke commented 3 months ago

See Issue #484 Adds necessary parameters for template calls in mode chunk-cleanup in the print.xsl stylesheet.

This allows fake chunking for paged media, which is basically to produce one single HTML file at a location that is known to, and controlled by, the stylesheet in form of $chunk-output-base-uri and $chunk. This, in turn, enables the stylesheets to produce (and execute, if the file:copy function is available) copy instructions for media files, since the absolute path for the destination can be calculated.

It was not clear to me where i had to use the tunnel="yes" declaration. My first guess was to use it for every template parameter rootbaseuri and chunkbaseuri, but that leads to errors. The current solution is the result of trial-and-error.

Greetings, Frank

fsteimke commented 3 months ago

revoked