This is in Prince5 beta3. If I have a block element that contains superscript, and the block element is set to something with a marker, for example, display:list-item, then the marker itself will be slightly superscripted. Take the following xml and css as an example:
XML:
CSS:
Running this through Prince will produce the bug. A simple workaround is setting the li element to display:block and changing the li::marker selector to li::before.
Ben
XML:
<ol>
<li>Normal item</li>
<li>Convert mol MnO<sub>4</sub><sup>-</sup> to mol Fe<sup>2+</sup></li>
</ol>
CSS:
sub{vertical-align:sub;font-size:8pt;}
sup{vertical-align:super;font-size:8pt;}
li{display:list-item;counter-increment:numbering;}
li::marker{content:counter(numbering, decimal) ". ";}
ol{counter-reset:numbering;display:block;}
Running this through Prince will produce the bug. A simple workaround is setting the li element to display:block and changing the li::marker selector to li::before.
Ben