Re: <br> in fo?

> 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>

than


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

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.

David

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