<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:FrutigerLTStd-Bold;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:FrutigerLTStd-Light;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Arial;}
h1
        {margin-top:12.0pt;
        margin-right:0pt;
        margin-bottom:3.0pt;
        margin-left:0pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.Style1, li.Style1, div.Style1
        {margin-top:12.0pt;
        margin-right:0pt;
        margin-bottom:3.0pt;
        margin-left:0pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:Arial;
        font-weight:bold;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
span.c9y6tc1
        {color:blue;}
span.c49dik1
        {color:#AC306D;}
span.c18yc01
        {color:#D00020;}
span.c5m9s01
        {color:#000090;}
span.cluy21
        {color:#EA8F0F;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>I am trying to format an index using rx
extensions. Everything looks fine if the index entry fits on a single line,
however, if the entry scrolls to another line I have trouble with the
justification. &nbsp;I&#8217;ve tried various combinations of blocks and
justifications, however, I can&#8217;t seem to get it right.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>Here is an example of my rendered index. &nbsp;The
first line looks fine because it is both right and left justified and does not
need to scroll. The second line has a problem because text-align-last=&quot;justify&quot;
is forcing the page numbers to spread out. The third entry would be fine if the
scrolled line would indent.&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=3
face=FrutigerLTStd-Bold><span style='font-size:12.0pt;font-family:FrutigerLTStd-Bold;
font-weight:bold'>G<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Gelman,
Martin L., MD..............48, 129<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Girolamo,
Jr., Allessandro A., MD.....37,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>1
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;8<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Greenwald,
Lawrence L., MD,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>FACC...........................................15,
96<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>Below is what I think would be acceptable.
How do I do this? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><b><font size=3
face=FrutigerLTStd-Bold><span style='font-size:12.0pt;font-family:FrutigerLTStd-Bold;
font-weight:bold'>G<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Gelman,
Martin L., MD..............48, 129<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Girolamo,
Jr., Allessandro A., MD.....37,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>&nbsp;&nbsp;
118<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>Greenwald,
Lawrence L., MD,<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=1
face=FrutigerLTStd-Light><span style='font-size:9.0pt;font-family:FrutigerLTStd-Light'>&nbsp;&nbsp;
FACC...........................................15, 96<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>Below is the template that generates the
first example.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&lt;xsl:template match=&quot;dir:name&quot;&gt;<br>
&nbsp;&nbsp;&lt;fo:block text-align-last=&quot;justify&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:value-of select=&quot;concat(dir:lastname,
', ', dir:firstname, ' ', dir:mi, ', ', dir:title)&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;fo:leader leader-pattern=&quot;dots&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;rx:page-index&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;rx:index-item
link-back=&quot;true&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:attribute
name=&quot;ref-key&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;xsl:value-of
select=&quot;parent::dir:person/@id&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/xsl:attribute&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/rx:index-item&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/rx:page-index&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/fo:block&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/xsl:template&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:blue'>Jerry
Janofsky<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=3
  color=blue face="Times New Roman"><span style='font-size:12.0pt;font-family:
  "Times New Roman";color:blue'>Ames</span></font></st1:place></st1:City><font
size=3 color=blue face="Times New Roman"><span style='font-size:12.0pt;
font-family:"Times New Roman";color:blue'> on Demand<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>