W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2002

Re: <br> in fo?

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 20 Jun 2002 14:27:03 +0100
Message-Id: <200206201327.OAA17855@penguin.nag.co.uk>
To: gkholman@CraneSoftwrights.com
CC: www-xsl-fo@w3.org

> Just use <block/> as the equivalent of a <br>.

But isn't that the moral equivalent of using <p/> between (as opposed to
round) paragraphs in HTML (ie, it's immoral:-)

Yes it works (so long as the empty block doesn't have any unexpected
inherited properties) but isn't it architecturally more correct to have

    <block text-align="center" ..blah.. ..blah... >
       <block><external-graphic .....></block>
       <block>Caption text goes here</block>


    <block text-align="center" ..blah.. ..blah... >
       <external-graphic .....>
       Caption text goes here

Especially in this case I'd say the caption really should be a block on
its own. The case where you want an inline br-like thing (or
equivalently a preserved #10) is where logically the stuff after the
line break isn't a new block but is part of the same run, for example if
you have a lot of technical words your system can't hyphenate and you
just want to give it a hand with the line breaking.

Of course the counter argument is that (unlike HTML) FO is just a
presentation format and so morals don't come in to it, if it looks right
then it is right.


pp Big Brother

This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Thursday, 20 June 2002 09:27:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:26 UTC