[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Spacing issue: List and Figure Title
Hello Users,
I am facing some fresh issues while converting my XML to PDF using FOP v 0.93.
1. There is unwanted (extra) spacing between images and figure title. I am currently using graphic element. and within that I use Figure and title. I want to reduce the spacing and want to know how to put this in the customization layer.
------------------------------------
| |
IMAGE
|_________________ |
Figure 1.0
Currently I have the following code in my XSL:
<!-- Figure title customization. -->
<xsl:attribute-set name="figure.properties"
use-attribute-sets="formal.object.properties"/>
<xsl:attribute-set name="formal.title.properties">
<xsl:attribute name="font-size">10pt</xsl:attribute>
<xsl:attribute name="font-family">Helvetica</xsl:attribute>
<xsl:attribute name="space-before.minimum">0em</xsl:attribute>
<xsl:attribute name="space-before.optimum">0em</xsl:attribute>
<xsl:attribute name="space-before.maximum">0em</xsl:attribute>
<xsl:attribute name="space-after.minimum">0em</xsl:attribute>
<xsl:attribute name="space-after.optimum">0em</xsl:attribute>
<xsl:attribute name="space-after.maximum">0em</xsl:attribute>
<xsl:attribute name="keep-together.within-column">always</xsl:attribute>
<xsl:attribute name="text-align">center</xsl:attribute>
<xsl:attribute name="keep-together.within-page">always</xsl:attribute>
</xsl:attribute-set>
<!-- End of Figure title customization. -->
2. The indent between the list label and the beginning of the list para is not looking nice.
For example:
1.To do this do that.
2.Next do this
3.All done go home
4.No wait, you have to fix this still.
It looks worse when the digits get to 10 and beyond!
10.This is what I mean
12.All is not well.
I need to see this and need to know how to do this in my customization layer.Kindly let me know and I appreciate assistance in this regard,
- To do this do that.
- Next do this and so on.
Thanking you all very much,
Dishaa
"The real voyage of discovery consists not in seeking new landscapes, but in having new eyes." - Marcel Proust
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]