How do YOU format page alignment in FM TOCs

John Posada jposada01 at yahoo.com
Fri May 5 09:22:56 PDT 2006


Hi, guys...I need to make a recomendation to my writing team next
week on the best way to address some TOC rough edges.

Let me explain. Right now, we include a section number <$paranum>,
the text <$paratext>, and a page number <$pagenum> on the TOC
reference page. 

What I'm trying to address is when a TOC goes to a second line, the
page number would not right align, but only move to the next tab
position.

The way they were doing it was to manualy press the tab key to move
things around. Their definition on the Reference page looks like:

<$paranum>     >    <$paratext>   >    <$pagenum>
 
The first thing that I did was to change the manual tabs to the tab
character \t

It then looked like:

<$paranum>\t<$paratext>\t<$pagenum>

The problem is it still doesn't move the page number to the right.
So, I added a pair of \t\t

<$paranum>\t<$paratext>\t\t<$pagenum>

which now does what I want. If the TOC entry is one line, no impact.
If the TOC entry is two lines, the page number still right aligns.
This is what I want.

However...I'm interested in other ways of doing this. If anyone has a
more gracefull way of addressing it, I'd be interested in hearing
about it.

Thanks


John Posada
Senior Technical Writer

"So long and thanks for all the fish."



More information about the framers mailing list