xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. krishna" <balakrishnan_h...@yahoo.com>
Subject Re: SPACE BEFORE
Date Thu, 23 Jun 2005 16:27:09 GMT
Hi Chris,

Thanks for your response. I have used Antenna house
software. I'll try in the FOP. FOP is supported
fo-float & mathml tag? Due to this i had gone for
Antenna house...

my synatx is :

	<xsl:template match="group">
		<xsl:if test="cab"> 
		<xsl:choose>
			<xsl:when test="contrib">
				<fo:block font-size="12pt" line-height="14pt"
space-after="12pt" space-before="12pt"
font-style="italic" span="all">
					<xsl:value-of
select="descendant::contrib/descendant::name/descendant::surname"/>
					<xsl:text> </xsl:text>
					<xsl:value-of
select="descendant::contrib/descendant::name/descendant::given-names"/>
					<fo:inline baseline-shift="super">
						<xsl:value-of
select="descendant::contrib/xref[@ref-type='aff']"/>
					</fo:inline>
				</fo:block>
			</xsl:when>
			<xsl:otherwise>
				<fo:block font-size="10pt" space-after="12pt"
space-before="12pt" font-style="italic" span="all">
					<xsl:value-of select="contrib/name/surname"/>
				</fo:block>
			</xsl:otherwise>
		</xsl:choose>
		</xsl:if>
	</xsl:template>


The condition is true. Everything is working fine,
except "space-before" attribute.


Regards,
bala

--- Chris Bowditch <bowditch_chris@hotmail.com> wrote:

> H. krishna wrote:
> > Hi All,
> > 
> > The "space-before" attribute is not working on my 
> > stylefile. Anybody advise me?
> 
> space-before works fine for me. Can you be a bit
> more specific? What fo are 
> you specifying it on, e.g. fo:block or something
> else? And by not working do 
> you mean space is not enforced or conditionality is
> not honoured? FOP does not 
> yet support space conditionality.
> 
> Chris
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail:
> fop-users-help@xmlgraphics.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message