W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2001

is there something like TeX's "\discretionary{}{}{}" in xsl-fo syntax?

From: Bodo Teichmann <bodo.t@web.de>
Date: Thu, 13 Dec 2001 17:40:37 +0100
Message-ID: <007101c183f4$e51804e0$7178a8c0@intern.multivisual.de>
To: <www-xsl-fo@w3.org>
hi ,
is there anything in xsl-fo syntax which works comparable to TeX's
\discretionary{}{}{} command ?

Explanation from the TeXbook:
"A discretionrary break consists of three sequences of characters called the
pre-break, post-break, an no-break texts. The idea is that if a line break
occurs here, the pre-break text will appear at the end of the current line
and the post-break text will occur at the beginning of the next line; but if
no break occures, the no-break text will appear in the current line."

Bodo

Bodo Teichmann
Tel priv +499114790473
Received on Thursday, 13 December 2001 11:40:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT