xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Sargent <rsarg...@xmission.com>
Subject Re: preserving a trailing space in inline
Date Tue, 20 May 2014 03:55:50 GMT

This has worked for me

   <fo:block-container height="0.75in" overflow="hidden">
     <fo:block font-family="Optima" font-size="8pt" font-style="italic">
     <fo:inline font-weight="bold"><xsl:value-of 
select="concat('(Left)','&#160;')"/></fo:inline>
     <xsl:value-of select="//pages/page[1]/image[@pos=1]/caption/text()"/>
    </fo:block>
  </fo:block-container>

On 05/19/2014 09:25 PM, Terence M. Bandoian wrote:
> On 5/19/2014 10:03 PM, Jason Harrop wrote:
>> Hi Terence,  thanks, it's good to know the simple FO works fine!
>>
>> Its non trivial for me to get rid of the inline elements, although I
>> could get rid of the nested ones if it is these which are causing the
>> problem.
>>
>> I'll look into that, but it would still be useful to get confirmation
>> as to which of the whitespace attributes I should be using.
>>
>> thanks .. Jason
>
>
> Hi, Jason-
>
> Both fo:page-number and fo:page-number-citation-last are documented to 
> support padding so you might look into that if you can't determine why 
> the white space is collapsing.
>
> Good luck!
>
> -Terence Bandoian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>


---------------------------------------------------------------------
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