<br><font size=2 face="sans-serif">Hello William,</font>
<br>
<br><font size=2 face="sans-serif">I agree with Alexander.</font>
<br>
<br><font size=2 face="sans-serif">The intent of widow and orphan control
is to prevent the last line of a paragraph appearing at the top of a page
(a widow) or the first line of a paragraph appearing at the end of a page
(an orphan). The presumption is that it is a multi-line paragraph. It is
also more-or-less an aesthetic consideration. Keep-with-next (or previous)
is generally more important: you really don't want a figure title to be
on a different page than the figure, or a section heading to be separated
from the section contents.</font>
<br>
<br><font size=2 face="sans-serif">Furthemore, you (usually) don't care
if a figure title is an orphan or a section heading is a widow.</font>
<br>
<br><font size=2 face="sans-serif">This is speaking from what I would hope
the specifications would produce, rather than a knowledge of what they
actually say.</font>
<br>
<br><font size=2 face="sans-serif">Regards, Doug &nbsp;x2571</font>
<br>
<br><font size=2 face="sans-serif">The content of this message is Applied
Materials Confidential. &nbsp;If you are not the intended recipient and
have received this message in error, any use or distribution is prohibited.
&nbsp;Please notify me immediately by reply e-mail and delete this message
from your computer system. &nbsp;Thank you.</font>
<br>
<br>
<br>
<br>
<table border width=100%>
<tr valign=top>
<td>
<br>
<br>
<br><font size=1 face="sans-serif"><b>Alexander Peshkov &lt;peshkov@renderx.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: owner-xep-support@renderx.com</font>
<br><font size=1 face="sans-serif">05/05/2004 14:05</font>
<br><font size=1 face="sans-serif">Please respond to xep-support</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;&quot;Schroeder, William&quot; &lt;xep-support@renderx.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re[4]: [xep-support] Orphans &amp; Widows</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br>
<br><font size=2><tt>Hello William,<br>
<br>
First of all I would like to note that XSL-FO specification is not very<br>
explicit when describing scope of orphans/widows. It refers to<br>
&quot;number of line-areas in the first/last area generated by the formatting
object&quot;<br>
but it is not clear that is the first area in this context.<br>
<br>
We believe that first area produced by formatting object do not<br>
include line areas produced by its descendants, that's why in your<br>
first example below XEP can break page after section title.<br>
In the situations like yours it is natural to use keep-with-next.within-page=&quot;always&quot;<br>
on the section title block instead of 'orphans'.<br>
<br>
The same is for the second example - you expect that all line areas<br>
generated by descendants of the topmost block will be taken into<br>
account then its 'widows' property interpreted. Note however that<br>
orphans/widows properties are inheritable and if your interpretation<br>
will be used you won't have any breaks unless one of the nested blocks<br>
is 7 lines long (orphans=&quot;2&quot; (default) and widows=&quot;5&quot;).<br>
Again, there is a simpler way to achieve desired effect - just set<br>
keep-together.within-page=&quot;always&quot; keep-with-pevious.within-page=&quot;always&quot;<br>
on the signature table instead of using 'widows'.<br>
<br>
I believe both examples mentioned in your letter are typical usecases<br>
for keep properties rather then for orphans/widows.<br>
<br>
Best regards,<br>
Alexander Peshkov &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailto:peshkov@renderx.com<br>
RenderX<br>
</tt></font>
<br><font size=2><tt>--- snip ---</tt></font>
<br><font size=2><tt>&gt;&gt; &gt;&gt; -----Original Message-----<br>
&gt;&gt; &gt;&gt; From: Schroeder, William [mailto:SCHRO006@onyx.dcri.duke.edu]
<br>
&gt;&gt; &gt;&gt; Sent: 29 April 2004 15:46<br>
&gt;&gt; &gt;&gt; To: 'xep-support@renderx.com'<br>
&gt;&gt; &gt;&gt; Subject: [xep-support] Orphans &amp; Widows<br>
&gt;&gt; &gt;&gt; <br>
&gt;&gt; &gt;&gt; <br>
&gt;&gt; &gt;&gt; I'm a newbie xep-support subscriber and I'm trying to
get widows &amp;<br>
&gt;&gt; orphans<br>
&gt;&gt; &gt;&gt; attributes working. &nbsp;I have created a report with
signature lines at<br>
&gt;&gt; the<br>
&gt;&gt; &gt;&gt; end. Each signature line takes 3 rows, 1 for spacing,
1 for the line,<br>
&gt;&gt; and<br>
&gt;&gt; &gt;&gt; 1<br>
&gt;&gt; &gt;&gt; for the name under the line. &nbsp;The first signature
line occurs at the<br>
&gt;&gt; &gt;&gt; bottom<br>
&gt;&gt; &gt;&gt; of a page with the rest on the next page. The fo is essentially
a block<br>
&gt;&gt; &gt;&gt; containing a 2 column table with an empty table-header
and a table-body<br>
&gt;&gt; &gt;&gt; containing the signature lines. &nbsp;I reason that by
setting the orphans<br>
&gt;&gt; &gt;&gt; attribute to something greater than 3 that this should
force the lone<br>
&gt;&gt; &gt;&gt; signature line to the next page with the others. &nbsp;I
have not been able<br>
&gt;&gt; to<br>
&gt;&gt; &gt;&gt; get the signature line to budge. &nbsp;I have tried numerous
combinations &amp;<br>
&gt;&gt; &gt;&gt; permutations of orphans &amp; widows at the level of
the fo:block,<br>
&gt;&gt; fo:table,<br>
&gt;&gt; &gt;&gt; and<br>
&gt;&gt; &gt;&gt; fo:table-body but nothing seems to work. Any ideas?<br>
&gt;&gt; &gt;&gt; <br>
&gt;&gt; &gt;&gt; Bill Schroeder<br>
&gt;&gt; &gt;&gt; <br>
&gt;&gt; &gt;&gt; -------------------<br>
</tt></font>
<br>
<br>