applying changebars to nested elements

Post here questions and problems related to editing and publishing DITA content.
kate_lopresti
Posts: 5
Joined: Tue Aug 08, 2023 2:43 am

applying changebars to nested elements

Post by kate_lopresti »

I'm looking for information on how changebars are applied during a PDF transformation.
We use the rev attribute to flag new content (<ul rev="v3.2">). When transforming lists using the out-of-the-box XSL-FO PDF scenario, a changebar is applied to the list and the corresponding text changes color. When transforming the same list using our PDF plugin, only the changebar appears. Is this configurable somewhere?
changebars.png
changebars.png (39.11 KiB) Viewed 66 times
Using dita-ot-4.2.3
julien_lacour
Posts: 581
Joined: Wed Oct 16, 2019 3:47 pm

Re: applying changebars to nested elements

Post by julien_lacour »

Hello Kate,

If the changebar and the color are applied using the default DITA Map PDF - based on XSL-FO scenario you should check in your custom stylesheet if something overrides flagging for lists.
Usually this is made through the following templates:

Code: Select all

<xsl:apply-templates select="*[contains(@class,' ditaot-d/ditaval-startprop ')]"/>
...
<xsl:apply-templates select="*[contains(@class, ' ditaot-d/ditaval-endprop ')]"/>
Maybe they are not called by your custom plugin.

Regards,
Julien
Post Reply