Determine how all images are aligned (left, right, or center) by default.
By default, the PDF plugin aligns block images (that is, images with placement="break") with the left margin of the preceding text, like this:
You can set the align attribute to right or center on a per-image basis. But what if you want all your block images to be aligned the same way? You don’t want to have to set align for every single image. Instead, you can change the default alignment.
<xsl:template match="*" mode="placeImage"> <xsl:param name="imageAlign"/> ...