Re: #DITA-OT #XSLT #PDF #DITA-OT #PDF #XSLT


nyxys21@...
 

Just in case anyone has the same question, I found a simple solution. In root-processing.xsl I replaced the bookmap template with the map template. Now the pages flow like it's a map, without page breaks, and we can still use the bookmap metadata.

I copied this template into my copy of root-processing:
<xsl:template match="*[contains(@class, ' map/map ')]" mode="generatePageSequences">
...

and renamed it to:
<xsl:template match="*[contains(@class, ' bookmap/bookmap ')]" mode="generatePageSequences">
...

Join main@dita-users.groups.io to automatically receive all group messages.