Closed steinbacher01 closed 3 years ago
Actually, I think this issue is in our custom ge-pdf5-ml plugin. I published to the base pdf5.ml and it works as expected.
Update: This error was the result of a duplicate attribute setting in a translation config style file.
Our Chinese (zh-TW_style.xml) style file had this attribute set for atsFig.
<!-- fig -->
<attribute-set name="atsFig">
<attribute name="space-before">$Para_Space_Before</attribute>
<attribute name="start-indent">inherited-property-value(start-indent)</attribute>
<attribute name="keep-with-previous.within-page">7</attribute>
</attribute-set>
The defualt_style.xml file also called the same attribute name for atsFig.
<!-- fig -->
<attribute-set name="atsFig">
<attribute name="space-before">$Para_Space_Before</attribute>
<attribute name="start-indent">inherited-property-value(start-indent)</attribute>
</attribute-set>
It seems that start-indent value is cummulative if defined twice, resulting in the fatal error.
The same attribute will be merged when the result of getAttributeset
is written to output XSL-FO. If you get start-indent
attribute directly from the result of getAttributeset
, the variable may contain multiple start-indent
attributes. The last one will be the effective value.
Thank you for the additional information.
When publishing a topic that has
<fig frame="">
the pub fails.I tried a few different values for @frame and I get the same error.
Is there a way to fix this, or does PDF5.ml not support fig @frame?
Thanks,
Leroy Steinbacher