Re: Orphan/Widow control for individual words

On Wed, Nov 10 2010 12:12:23 +0000, mcauthon1980@hotmail.com wrote:
> just wondering if there's anything similar to word-based orphan/widow
> control in XSL-FO or any specific processor's proprietary extensions
> (i.e. prevent the last X words of block Y to form an extra line all by
> themselves)?

Antenna House has an "axf:avoid-widow-words" [1] extension property.
I'm not aware of any others.

> So far, every time I've seen orphan/widow control mentioned in respect
> to XSL-FO it's been about keeping individual line areas together on
> one page, not glyphs or words.

It's not in XSL 1.1, but the XSL FO 2.0 WD [2] includes both
"word-widows" [3] and "syllable-widows" [5] properties.  It would be
useful for the development of XSL FO 2.0 if you could review the WD and
provide feedback [4] on how well the new properties fit your needs.

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd                               XML Guild member
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2


[1] http://www.antennahouse.com/xslfo/axf5-extension.htm#axf.avoid-widow-words
[2] http://www.w3.org/TR/xslfo20
[3] http://www.w3.org/TR/xslfo20/#word-widows
[4] http://www.w3.org/XML/2008/01/xsl-fo-bugzilla.html
[5] http://www.w3.org/TR/xslfo20/#syllable-widows

Received on Thursday, 11 November 2010 09:48:46 UTC