PDF index page-number line breaks
-
pdxwordsmith
- Sr. Propeller Head
- Posts: 100
- Joined: Thu Oct 30, 2008 2:12 pm
- Location: Portland, OR
PDF index page-number line breaks
In my index, sometimes the (hyphenated) page numbers break across a line, like so:
I've tried various stylesheet tweeks with hyphenation settings, but can't seem to influence this behavior. Ideas?
You do not have the required permissions to view the files attached to this post.
Hanna
Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
Flare 6.1.0, WebHelp, PDF, and Word targets, sometimes import from FM 8.0p277 and 9.0p196
Submit bugs and feature requests here: http://www.madcapsoftware.com/bugs/submit.aspx
-
Nita Beck
- Senior Propellus Maximus
- Posts: 3672
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: PDF index page-number line breaks
This is a guess. I haven't tried this myself.
In the p.Index1, p.Index2, etc. styes, add a white-space attribute and set it to "nowrap" as in:
white-space: nowrap;
I'm not sure if that will make ALL the numbers stay together, so you'll get even weirder line breaks, or if this will make individual page numbers, as in 8-26, stay together.
You might need to edit the style sheet in Advanced view or manually directly in the internal text editor. I'm not sure you can add this attribute in Simplified view.
I hope that this at least points you in the right direction.
In the p.Index1, p.Index2, etc. styes, add a white-space attribute and set it to "nowrap" as in:
white-space: nowrap;
I'm not sure if that will make ALL the numbers stay together, so you'll get even weirder line breaks, or if this will make individual page numbers, as in 8-26, stay together.
You might need to edit the style sheet in Advanced view or manually directly in the internal text editor. I'm not sure you can add this attribute in Simplified view.
I hope that this at least points you in the right direction.
Nita

RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: PDF index page-number line breaks
This sounded familiar to me, so I dug up a link to an old thread on formatting the index: index problems. Based on that discussion, I think that "white-space:nowrap" may make the text of your index entry go outside the boundaries of the table cell.
I set my index entries to use "white-space:normal". You may want to experiment with this setting to see which does the job.
Bob
I set my index entries to use "white-space:normal". You may want to experiment with this setting to see which does the job.
Bob