Re: adding a newline in a block

2001-11-05 Thread Eric Smith
According to Frederick Evers on Thu, Nov 01, 2001 at 12:34:08PM -0800:
> You can do this by using "
" in the source XML, like this: 
> Some
text
with
newlines
here.
> This will put line-breaks into the fo file. 
> 
> Then, in the  say 
> Some
> text
> with 
> newlines
> here.
> 
> FOP will NOT collapse the whitespace, and leave the linebreaks to appear in
> the PDF. It works!

Just the kind of thing I am looking for - thanx - hope it works
in jfor the fo2rtf processor I use.

-- 
Eric Smith - currently xalan and fop on linux


RE: adding a newline in a block

2001-11-01 Thread Frederick Evers
You can do this by using "
" in the source XML, like this: 
Some
text
with
newlines
here.
This will put line-breaks into the fo file. 

Then, in the  say 
Some
text
with 
newlines
here.

FOP will NOT collapse the whitespace, and leave the linebreaks to appear in
the PDF. It works!

Fred Evers

-Original Message-
From: Eric Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 31, 2001 1:39 PM
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:

Chapter text goes here and
is 
quite ...
a ...
few ...
lines ...
long ...
Then I want a newline (or two)

Chapter two
goes ...
here ...


I started putting something like

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
?

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



RE: adding a newline in a block

2001-11-01 Thread Michail Bikoulis
Maybe you can use  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 text goes here and
is 
quite ...
a ...
few ...
lines ...
long ...


Chapter two
goes ...
here ...


and then your FO can look like this:


Chapter text goes here and
is 
quite ...
a ...
few ...
lines ...
long ...


Chapter two
goes ...
here ...


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:

Chapter text goes here and
is 
quite ...
a ...
few ...
lines ...
long ...
Then I want a newline (or two)

Chapter two
goes ...
here ...


I started putting something like

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
?

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