<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=115182321-23112005><FONT face=Arial
size=2>Chris Despopoulos has a great utility "TOCbreaker" that helps solve this
problem if you're running under Windows. See <A
href="http://www.telecable.es/personales/cud/cssIndex.htm">http://www.telecable.es/personales/cud/cssIndex.htm</A> where
you can get more info about this (and other tools).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=115182321-23112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=115182321-23112005><FONT face=Arial
size=2>You'll have to make the manual breaks once, but thereafter can easily
restore those same line breaks after generating a new table of
contents..</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2><B>– Lester</B></FONT></DIV>
<HR align=left width=500>
<TABLE cellSpacing=0 cellPadding=1 width=500 border=0>
<TBODY>
<TR>
<TD width="40%"><FONT face=Arial size=2> Lester C.
Smalley</FONT></TD>
<TD align=right width="11%"><FONT face=Arial
size=2>Email: </FONT></TD>
<TD><FONT face=Arial size=2>lsmalley <FONT color=#000080>AT</FONT> infocon
<FONT color=#000080>DOT</FONT> com</FONT></TD></TR>
<TR>
<TD><FONT face=Arial size=2> Information Consultants,
Inc.</FONT></TD>
<TD align=right><FONT face=Arial size=2>Phone: </FONT></TD>
<TD><FONT face=Arial size=2>302–239–2942 FAX:
302–239–1712</FONT></TD></TR>
<TR>
<TD><FONT face=Arial size=2> Yorklyn,
DE 19736</FONT></TD>
<TD align=right><FONT face=Arial size=2>Web: </FONT></TD>
<TD><FONT face=Arial size=2><B><A href="http://www.infocon.com/"
target=_blank>www.infocon.com</A></B></FONT></TD></TR></TBODY></TABLE>
<HR align=left width=500>
<BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tweedy, Scott<BR><B>Sent:</B> Wednesday,
November 23, 2005 04:01 PM<BR><B>To:</B>
'framers@FrameUsers.com'<BR><B>Subject:</B> RE: Table of Contents Question -
2<BR></FONT><BR></DIV>
<DIV></DIV>
<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></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> 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></BLOCKQUOTE></BODY></HTML>