[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: orphans and widows??
Tanzila, Traditionally, a widow is a line or two of text which breaks to another page, either leading or trailing the body of a paragraph; an orphan is an individual word or hyphenated part which breaks to a line by itself, at a page break or not. The XSL spec uses these terms differently. Here orphans refers to the minimum lines leading a paragraph which must appear before a break and widows refers to the minimum lines to appear after a break at the top of the new page. These properties apply at the block level and each defaults to two. They can be applied to block-areas in tables just as to paragraphs. HTH, Mike On Wed, 28 Nov 2001, Tanzila Mohammad wrote: > Thanks. > > The context in which orphans and widows was described involves tables and in > particular particular rows of the table that need to be kept together. > > Tanz > > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Greg Martel > Sent: 28 November 2001 15:19 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: orphans and widows?? > > > In publishing, "orphans" and "widows" are terms used almost > interchangeably both referring to runover lines of text. If a > paragraph has 5 full lines of text and one word on the sixth line, > that last word is referred to as an "orphan." A paragraph which > starts on one page where the last line of the paragraph starts at the > top of the next page is also called an "orphan." Finally, a "widow" > is a paragraph which starts at the bottom of a page where only the > first line fits on the bottom of the page and the rest is continued > on the next page. Because the terms are often used interchangeably, > your friend is telling you to "make orphans" by increasing the > tracking--space between characters--of your text in order to create > more runover lines or by rebreaking lines manually. > > If you are trying to do this automatically in order to preserve > SPECIFIC page breaks then your friend's suggestion is probably a poor > one. You would have to go paragraph by paragraph to adjust each one > accordingly. If you are using a typesetting software of some kind, so > you should probably find out: > > a) If there is any way to find or create a page break code in your XML > b) What the code is for a page break in your typesetting software and > have XSL replace the old code (assuming you are able to add it) with > the new code. > > hope that helps a little. > > > > >I am doing some work in FO and it has been suggested that in order to force > >data from one page to another I can use orphans and widows. > > > >I have no idea what they are, can anyone advise a site in which orphans and > >widows are explained and examples given? > > > >Thanks. > > > >Tanz > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > -- > Thanks Muchos, > > Greg Martel > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > Mike Haarman -- mhaarma@xxxxxxxxxxxxxx College of Liberal Arts University of Minnesota, Minneapolis, West Bank XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|