Koes, Derrick wrote:
I see the example at http://www.zvon.org/HowTo/Output/howto_jj_fo_13.html
works as expected.  Also, I've created a small example that works as
expected (see small_example.zip).  However, in the "production" code, the
text in the inline gets the correct attributes (color and so on), but always
indents and starts a new line.  I cannot figure out why this is happening.
The large example uses FOP embedded through the Driver class.  I've included
XML and the two stylesheets in large_example.zip.
I can't figure out why this example differs.  It uses the same
substitute.xsl as the small example.

Your fo:inline is always enclosed in fo:block and fo:block always starts new line.

<fo:block space-after.optimum="5pt" font-size="10pt" language="en" country="US" hyphenate="true" hyphenation-push-character-count="2" hyphenation-remain-character-count="2" white-space-collapse="false">
<xsl:call-template name="substitute">
<xsl:with-param name="state" select="$state" />
</xsl:call-template>
</fo:block>


--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to