<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>Thanks for the answers. I think my mind is becoming
blurry that I can't see the easy answers and think they all have to be much more
complex than they are.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>I have a second issue.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>the text I want in the table of contents is left justified
and the page number is right justified. I use the Reference Page
<$elementonly>(tab)....<$pagenum>. When the text is just long
enough that it "runs into" the page number the page number wraps to the next
line instead of the text "breaking" and then wrapping. Here's an example
of what I mean:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>ILS or ILS/RADAR RWY 26L.......177</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>SID(VECTOR) NON JET RICHMOND.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>178</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>SID(VECTOR) VANCOUVER......179</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>NOISE ABATEMENT (pg 1)........180</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>Is there a way to detect the conflict and "break" the text
for page 178 so that it reads like this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>ILS or ILS/RADAR RWY 26L.......177</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>SID(VECTOR) NON JET</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>
RICHMOND............................178</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>SID(VECTOR) VANCOUVER......179</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005><FONT face=Arial
color=#0000ff size=2>NOISE ABATEMENT (pg 1)........180</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=621295320-23112005></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=621295320-23112005></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
framers-bounces+sctweedy=nrcan.gc.ca@lists.frameusers.com
[mailto:framers-bounces+sctweedy=nrcan.gc.ca@lists.frameusers.com] <B>On Behalf
Of </B>Tweedy, Scott<BR><B>Sent:</B> November 23, 2005 2:43 PM<BR><B>To:</B>
'framers@FrameUsers.com'<BR><B>Subject:</B> Table of Contents
Question<BR></FONT><BR></DIV></DIV>
<DIV></DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial size=2>I have a table of
contents that is dynamically generated from the contents of a book (I do this
for 12 different books). At times the length of the text in the element I
have to use to create the entries in the table of contents is too long and it
wraps to a second line.</FONT></SPAN></DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial size=2>Is there a way to
elegantly handle this situation?</FONT></SPAN></DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial size=2>What I would like to
be able to do is set up a tab so that when the text wraps there is a little bit
of an indent to show that the new line is still part of the original
element.</FONT></SPAN></DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial size=2>Thanks in
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=071413919-23112005><FONT face=Arial
size=2>st</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><I><SPAN lang=en-us><FONT face="ZapfEllipt BT" color=#0000ff size=5>Scott
Tweedy</FONT><B></B></SPAN></I><SPAN lang=en-us><B></B><B></B></SPAN> <BR><SPAN
lang=en-us><FONT face="Times New Roman" color=#000000 size=2>Project Leader -
Chef de projet</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Times New Roman"
color=#000000 size=2>Aeronautical and Technical Services - Services
Aéronautiques et Techniques</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face="Times New Roman" color=#000000 size=2>Earth Sciences Sector - Secteur des
sciences de la terre</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face="Times New Roman" color=#000000 size=2>Natural Resources Canada -
Ressources naturelles Canada</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face="Times New Roman" color=#000000 size=2>174-615 Booth Street - 174-615 rue
Booth</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Times New Roman"
color=#000000 size=2>Ottawa, ON Canada K1A 0E9</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face="Times New Roman" color=#000000 size=2>tel.
(613) 992-4459 - tél. (613) 992-4459</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face="Times New Roman" color=#000000 size=2>fax (613) 943-8959 - télc. (613)
943-8959</FONT></SPAN> <BR><SPAN lang=en-us><FONT face="Times New Roman"
color=#000000 size=2>Email sctweedy@nrcan.gc.ca - Courriel
sctweedy@nrcan.gc.ca</FONT><FONT face=Arial color=#000000
size=1> </FONT>
</SPAN></P>
<DIV> </DIV></BODY></HTML>