applying changebars to nested elements
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 6
- 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?
Using dita-ot-4.2.3
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 (39.11 KiB) Viewed 202 times
-
- Posts: 601
- 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:
Maybe they are not called by your custom plugin.
Regards,
Julien
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 ')]"/>
Regards,
Julien
-
- Posts: 6
- Joined: Tue Aug 08, 2023 2:43 am
Re: applying changebars to nested elements
Post by kate_lopresti »
Thanks for advice, Julien. Looks like our stylesheet was indeed the issue.
The color assigned to common.block was overriding other formatting.
Thanks for your help.
The color assigned to common.block was overriding other formatting.
Code: Select all
<xsl:attribute-set name="common.block">
<xsl:attribute name="color">
<xsl:value-of select="$default-font-color"/>
</xsl:attribute>
</xsl:attribute-set>
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service