Maybe you can use <fo:inline> in some way, but I'm not sure since I haven't
done it myself.

Idealy, you should modify your XML do be something like this:

<Chapter>
        Chapter text goes here and
        is ....
        quite ...
        a ...
        few ...
        lines ...
        long ...
</Chapter>
<Chapter>
        Chapter two
        goes ...
        here ...
</Chapter>

and then your FO can look like this:

<fo:block>
        Chapter text goes here and
        is ....
        quite ...
        a ...
        few ...
        lines ...
        long ...
</fo:block>
<fo:block space-before="6pt">
        Chapter two
        goes ...
        here ...
</fo:block>

Regards,

Mike

-----Original Message-----
From: Eric Smith [mailto:[EMAIL PROTECTED]
Sent: 31. oktober 2001 19:39
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: adding a newline in a block


I like to have a newline within a block say to divide chapter, like
I would have:
<fo:block>
Chapter text goes here and
is ....
quite ...
a ...
few ...
lines ...
long ...
Then I want a newline (or two)

Chapter two
goes ...
here ...
</fo:block>

I started putting something like
<chapter_break/>
in the xml, and then creating an extra block in the fo output and
this worked, but some fo processors don't like it and I believe
that
what I do breaks some rules, what is the simplest / best way to have a 
visible newline (or two) in the output, without creating another
<fo:block>?

thanx
-- 
Eric Smith - currently xalan and fop on linux

Reply via email to