Hi,

as some other on this list I have the problem of very long strings without whitespaces. In my case these strings contains source code. So for example I have the following line:

this.element.nextElement.getSomething(foo).getAnotherThing();

The string might of cause be much longer... Now I tried to create a custom hyphenation file, which should allow this string to break at the dot character or at the "(" character. Unfortunately it is not working. It is working for normal text, but if I try to break after special characters like "#", "*", "+", ".", etc. it's not working. I'm using fop-0.92beta.

I would appreciate any hints and tips. Below I've attached a very small hyphenation file, which of cause is far from complete.

Best regards
Conny


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE hyphenation-info SYSTEM "hyphenation.dtd">
<hyphenation-info>
  <hyphen-char value="-"/>
  <hyphen-min before="2" after="2"/>
  <classes>
    #({[=-
    aA
    bB
    cC
    <!-- ... -->
  </classes>
  <patterns>
    .cup9 #9
  </patterns>
</hyphenation-info>





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

Reply via email to