Hi all,

I'm dealing with an issue that appears fairly frequently on the FOP and
DocbookXSL mailing lists, but my version of it appears to be a bit of a
hybrid.

I've got OFFO hyphenation up and running and it works just fine in
easily 90% of my cases, but I've a special problem with table entry
values that are basically impossible to hyphenate (e.g.
XREF2TTMQ8_QRS20) and are contained in columns that require them to
break at least once. They overflow the cell and overwrite the contents
of the next cell. I'm not sure if the answer lies in hyphenation or line
breaking.

I've got a couple ideas for how to approach this, and would appreciate
the input of anyone who had experience with them.

1. I've noticed that values will break if they contain a backslash (/).
If I could extend that function to include underscores, colons, and
brackets, that would address the vast majority of my corner cases.

2. I've notices that the values that refuse to break invariably contain
numbers; I suspect that this is what's throwing the hyphenation
algorithm for a loop, but I can't find any guidance on adding numbers to
the classes in the hyphenation configuration file and just telling the
system to break the word whereever the heck it wants to.

3. Many have suggested that one should use zero-width spaces. I can't
ask my writers to do this on an as-needed basis, since the data is
published in many different scales and formats, but I'd be fine with
adding a zero-width space between every single character of a table
entry block and letting the lines break where they may. Has anyone
written the XSL for this already, or am I going to be the first?

Thanks in advance for any help,
Jeff.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to