You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by James Tauber <JT...@bowstreet.com> on 2000/03/01 22:00:32 UTC

RE: FO equivalent to HTML's
?

You shouldn't have to include any content.

I thought <fo:block/> worked fine.

James

> -----Original Message-----
> From: Hani Elabed [mailto:hani@elabed.net]
> Sent: Monday, February 28, 2000 11:29 AM
> To: fop-dev@xml.apache.org; hani
> Subject: Re: FO equivalent to HTML's <br>?
> 
> 
> This is what I have used. It works for now, i.e
> with FOP 0.12.1
> 
> 
>     <!-- this is an empty line, notice the color -->
>     <fo:block font-size="12pt"
>        font-family="sans-serif"
>        line-height="5pt"
>        space-after.optimum="3pt"
>        text-align="start"
>        color="white">
>      _
>     </fo:block>
> 
> 
> 
> enjoy
> 
> Hani
> 
> Philip Suh wrote:
> 
> > Newbie question: how can I simulate a HTML <br> tag in FO? 
> I've looked
> > through the spec but nothing jumps out.
> >
> > Thanks in advance,
> >
> > Phil Suh
> >
> > P.S. I started working w/ FOP last month, and I'm really 
> pleased with it.
> > Thanks to all the developers (special thanks for the sample 
> files now
> > included in the dist.)
> 

Re: FO equivalent to HTML's
?

Posted by Pierpaolo Fumagalli <pi...@apache.org>.
Sean Champ wrote:
> 
> is there any chance that the FOP development-team might be able to put
> together some recommendations to be sent to the XSL working group?
> 
> I'd be willing to write the report, if we can come to a consensus about what
> might be suggested.

James (Tauber, btw, pleased to meet you yesterday, it was _really_ nice)
is on the W3C "team" (how's it called? committee? working group?)
Anyway I'm sure that anything circulating on this m/l and w/ a good
level of reason inside, is going to reach them...

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<ma...@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <http://www.apachecon.com> --------------------



Re: FO equivalent to HTML's
?

Posted by Sean Champ <sy...@email.msn.com>.
is there any chance that the FOP development-team might be able to put
together some recommendations to be sent to the XSL working group?

I'd be willing to write the report, if we can come to a consensus about what
might be suggested.

--Sean


----- Original Message -----
From: "Bill Raudabaugh" <bi...@infomentum.com>
To: <fo...@xml.apache.org>
Sent: Wednesday, March 01, 2000 2:26 PM
Subject: Re: FO equivalent to HTML's <br>?


> Using <fo:block/> will break a line, but won't give you an empty line if
it
> occurs without any text. The following example does the same thing as what
> Hani suggested without having to worry about colors:
>
> <fo:block>&#160;</fo:block>
>
> Here a non-break space suffices to get an empty line.
>
> Bill
>
> ----- Original Message -----
> From: James Tauber <JT...@bowstreet.com>
> To: <fo...@xml.apache.org>
> Sent: Wednesday, March 01, 2000 3:00 PM
> Subject: RE: FO equivalent to HTML's <br>?
>
>
> > You shouldn't have to include any content.
> >
> > I thought <fo:block/> worked fine.
> >
> > James
> >
> > > -----Original Message-----
> > > From: Hani Elabed [mailto:hani@elabed.net]
> > > Sent: Monday, February 28, 2000 11:29 AM
> > > To: fop-dev@xml.apache.org; hani
> > > Subject: Re: FO equivalent to HTML's <br>?
> > >
> > >
> > > This is what I have used. It works for now, i.e
> > > with FOP 0.12.1
> > >
> > >
> > >     <!-- this is an empty line, notice the color -->
> > >     <fo:block font-size="12pt"
> > >        font-family="sans-serif"
> > >        line-height="5pt"
> > >        space-after.optimum="3pt"
> > >        text-align="start"
> > >        color="white">
> > >      _
> > >     </fo:block>
> > >
> > >
> > >
> > > enjoy
> > >
> > > Hani
> > >
> > > Philip Suh wrote:
> > >
> > > > Newbie question: how can I simulate a HTML <br> tag in FO?
> > > I've looked
> > > > through the spec but nothing jumps out.
> > > >
> > > > Thanks in advance,
> > > >
> > > > Phil Suh
> > > >
> > > > P.S. I started working w/ FOP last month, and I'm really
> > > pleased with it.
> > > > Thanks to all the developers (special thanks for the sample
> > > files now
> > > > included in the dist.)
> > >
> >
>



Re: FO equivalent to HTML's
?

Posted by Bill Raudabaugh <bi...@infomentum.com>.
Using <fo:block/> will break a line, but won't give you an empty line if it
occurs without any text. The following example does the same thing as what
Hani suggested without having to worry about colors:

<fo:block>&#160;</fo:block>

Here a non-break space suffices to get an empty line.

Bill

----- Original Message -----
From: James Tauber <JT...@bowstreet.com>
To: <fo...@xml.apache.org>
Sent: Wednesday, March 01, 2000 3:00 PM
Subject: RE: FO equivalent to HTML's <br>?


> You shouldn't have to include any content.
>
> I thought <fo:block/> worked fine.
>
> James
>
> > -----Original Message-----
> > From: Hani Elabed [mailto:hani@elabed.net]
> > Sent: Monday, February 28, 2000 11:29 AM
> > To: fop-dev@xml.apache.org; hani
> > Subject: Re: FO equivalent to HTML's <br>?
> >
> >
> > This is what I have used. It works for now, i.e
> > with FOP 0.12.1
> >
> >
> >     <!-- this is an empty line, notice the color -->
> >     <fo:block font-size="12pt"
> >        font-family="sans-serif"
> >        line-height="5pt"
> >        space-after.optimum="3pt"
> >        text-align="start"
> >        color="white">
> >      _
> >     </fo:block>
> >
> >
> >
> > enjoy
> >
> > Hani
> >
> > Philip Suh wrote:
> >
> > > Newbie question: how can I simulate a HTML <br> tag in FO?
> > I've looked
> > > through the spec but nothing jumps out.
> > >
> > > Thanks in advance,
> > >
> > > Phil Suh
> > >
> > > P.S. I started working w/ FOP last month, and I'm really
> > pleased with it.
> > > Thanks to all the developers (special thanks for the sample
> > files now
> > > included in the dist.)
> >
>