Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I'm posting this because I hope it helps someone. I was having a lot of trouble with hyphenation breaking before a period
<title><xref/></title>
So it lookedlike this:
2.1 YADA/Yada-yada (YADA) Yada/Yada
. (Figure 2).
Not cool. The first period is from the xref's beforetext, the space after the first period is from the xref's aftertext and the last period is from the title's aftertext.
I played with hyphrule, keeps, wordsp, quadding, hyphenad nauseum. but this is the only thing that worked: moving the period and space to the xref's beforetext, and hitting the space bar after the period like so:
<savetext textid="beforetext" conrule="\." \,.9em"=" placemnt="before"/">
This didn't work: <savetext textid="beforetext" conrule="\.\,1em" placemnt="before"/"> and putting \. \ in the aftertext didn't work, either.
Yay!
I am having that exact problem, something I did since is causing the line breaking on Figure. I can't believe I didn't try the hard space there, keeps isn't working. Thanks again, Suzanne! By posting in an attempt to help others, I actually helped myself.
This is for a two-column layout. In some cases the title was oversetting into the next column, with some keeps, or if wordsp avoidoverfull="min".