How do I left-justify TOC/Index page numbers?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
amatsumoto
Sr. Propeller Head
Posts: 121
Joined: Tue Apr 29, 2008 9:20 am
Location: Boulder, CO

How do I left-justify TOC/Index page numbers?

Post by amatsumoto »

I want the mini TOC and index page numbers in my print output to look like this:

saving and restoring data, 34

It currently looks like this:

saving and restoring data 34 (all the way to the right-side margin)

In the stylesheet I've set the leader to None and page number to Left, which only moves the number slightly more to the left. Are these lists generated into a table format? Is it possible to do what I want to in the Index and mini TOC, or are there limitations to how much formatting you can do?

Thanks.
Abby
ChristyPatton
Sr. Propeller Head
Posts: 159
Joined: Thu Sep 18, 2008 8:34 am
Location: "West of the Mississippi"

Re: How do I left-justify TOC/Index page numbers?

Post by ChristyPatton »

I had a problem with my TOC, Index and Glossary that ended up being a bug. It did not look like yours but it could be related. Check your div class on your print medium and make sure the float is set to left.
Christy Patton
Technical Communications

MadPak
Flare 6.1
Capture 4.0
ChristyPatton
Sr. Propeller Head
Posts: 159
Joined: Thu Sep 18, 2008 8:34 am
Location: "West of the Mississippi"

Re: How do I left-justify TOC/Index page numbers?

Post by ChristyPatton »

Hey, I'm sorry, I told you wrong. Set any float on your div tag to default.
Christy Patton
Technical Communications

MadPak
Flare 6.1
Capture 4.0
amatsumoto
Sr. Propeller Head
Posts: 121
Joined: Tue Apr 29, 2008 9:20 am
Location: Boulder, CO

Re: How do I left-justify TOC/Index page numbers?

Post by amatsumoto »

After playing with it a little more, it doesn't appear that I can do what I want to. The generated lists look like they are put into a table and the page number goes into the second column. As far as I can tell, all I can do is adjust the width of the second column and whether or not the number is left/right/center justified in it.
Abby
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: How do I left-justify TOC/Index page numbers?

Post by LTinker68 »

Did you set the mc-leader-align property to left on the p.TOC1, p.TOC2, etc. tags? Or is that what you meant when you said you set the leader to none and page number to left?

You might also try setting the display option (under Block) to "none" for each of those styles. You'll have to test that, though -- I've never tried it.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
amatsumoto
Sr. Propeller Head
Posts: 121
Joined: Tue Apr 29, 2008 9:20 am
Location: Boulder, CO

Re: How do I left-justify TOC/Index page numbers?

Post by amatsumoto »

Yes, that was what I meant. I tried setting block to "none" on the miniTOC1 style and when I generate the PDF, the mini TOC doesn't appear at all. I'll just stick with what I've got.

Thanks.
Abby
Post Reply