Postby a3howard on Thu Jul 28, 2005 1:18 pm
I’m having problems with test and page numbers running together in a multi-column index.
The index is a 2 level index with dot leaders. In most cases, the second level entry is displayed as two lines if the entry is too long for one line. However, many of the entries overlap the page number. Removing the dot leaders does not help.
Thanks in advance
Postby Graphcat on Fri Jul 29, 2005 11:58 am
It sounds like there’s just too much text to convert to columns. The fix is probably to either edit the tab settings for that page, or choose a condensed font. In either case, the code that makes that change has to be placed before the index generate code, or it will be lost when you regenerate the document.
Another approach may be to change to a different index style, or edit it (in the definition for the index, choose Define…). Test it without the flush right code prior to the page number, and once that works, see if it’s practical to add spacing back in.
I suspect that combining indented second level entries plus flush-right number (dot leaders or not), just may not fit. You could force the issue by adding a hrt code in the second level style definition for the index, but that would move the line number down to its own line for all 2nd-level entries, not just the long ones.
Moderator and Webmaster
Postby Guest on Fri Jul 29, 2005 1:43 pm
Thanks for the reply. Certainly changing the tab setting or font size will affect the layout. Unfortunately, the problem just moves.
I’ll try different index styles.
The confusing part is that WP correctly breaks most of the long second level entries at word boundaries but not all. I wonder if a different font family would resolve the problem.
The suggestion to insert a hard return at the end of long entries is possible too.
Postby Graphcat on Sat Jul 30, 2005 7:28 am
Hmmm. I wrote to use a modified style in the index for that, but on further thought, you could simply extend the marking codes for the index by one additional character at the end of each long heading, and include the hrt code at the end of the line. Might be more control that way.
If WP isn’t breaking the lines properly, take a look at the “hyphenation zone” settings–they’re probably too small.