Pages: 1
Print
Author Topic: PDF output: Alignment of step number when step contains a small icon in  (Read 732 times)
IF
Member

Posts: 65


« on: January 28, 2011, 02:38:35 PM »

Using XMetal 6.0; output XMetal Enhanced PDF with RenderX XEP

Is there a way to properly align the step number and the text of the step when the step contains a small image? To see what I mean, see attached example taken from the XMetal Evaluation Guide. Look at the misalignment of step 3. It's very ugly.

How could something like that be fixed?

thanks


* step_number_alignment.png (27.23 KB, 683x125 - viewed 97 times.)
Logged
murray
Global Moderator
Member

Posts: 23


« Reply #1 on: January 28, 2011, 04:01:56 PM »

In a week or two JustSystems will be announcing the release of an output plugin that uses TopLeaf from Turnkey Systems to create PDF output from DITA files. The misalignment of the step number does not happen when PDF output is generated using the default stylesheet for the TopLeaf Plugin. Please see the attached screenshot of the output.

If you’d like more information about the Top Leaf plug-in for XMetaL please contact us at http://na.justsystems.com/content-about-contact-us


* screenshot.JPG (25.96 KB, 421x214 - viewed 134 times.)
Logged
gcrews
Member

Posts: 189


« Reply #2 on: January 29, 2011, 12:00:33 AM »

you could try adding the following to the "ol.li" attribute set:
       
        <xsl:attribute name="relative-align">baseline</xsl:attribute>
Logged
IF
Member

Posts: 65


« Reply #3 on: January 31, 2011, 10:26:07 AM »

Thanks! That put me on the right track. Modifying the ol.li attribute did not work for me but this did the trick:

    <xsl:attribute-set name="steps.step">
          <xsl:attribute name="relative-align">baseline</xsl:attribute>
          </xsl:attribute-set>
Logged
Pages: 1
Print
Jump to:  

email us