Suppress overlapping change bars in descendants
Posted: Sat Mar 07, 2020 3:36 pm
I have the following topic, where I apply @rev at the topmost topic level:
When I configure the ditaval to publish this with change bars:
the change bars are applied both to the top-level element and to all its descendants:
Our writers complain that this makes the output too busy. (They are used to FrameMaker, which uses a single change bar at a fixed horizontal position in the left margin.) It would be great if PDF Chemistry suppressed the change bars for descendants when the parent is already rendered with a change bar.
Testcase:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:oasis:names:tc:dita:rng:basetopic.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<topic id="ID_A_topic1" rev="1.0">
<title>topic</title>
<body>
<fig>
<title>figure</title>
<ul>
<li><p>line</p>
<ul>
<li><p>line</p></li>
<li><p>line</p></li>
</ul></li>
<li><p>line</p>
<note>note</note>
</li>
</ul>
</fig>
</body>
</topic>
Code: Select all
<val>
<revprop action="flag" changebar="color:#FE8181;style:solid;width:2.5pt;offset:1pt;placement:start"/>
</val>
Our writers complain that this makes the output too busy. (They are used to FrameMaker, which uses a single change bar at a fixed horizontal position in the left margin.) It would be great if PDF Chemistry suppressed the change bars for descendants when the parent is already rendered with a change bar.
Testcase: