If I manually change <body> to <body xml:lang="de">, hyphenation is correct on all accounts. IIRC there's no way to do this in CSS, so I either need to get my html generator (docutils) to do this for me or I postprocess to add it in.
Thanks for taking the effort of looking into it, even if it was a false alarm.
Nonetheless, this seems to be a regression from prince 6.0 where this wasn't an issue (for several small-run print publications with very picky audience).
I am trying to use the latest hyphenation from OpenOffice, but without success. Swiss-German hyphenation is a variant of German hyphenation. For example we have no "strong letter s" in Switzerland leading to different hyphenation rules.
I use in my .css-file prince-hyphenate-patterns: url(../Hyphenate/hyph_de_CH.dic) and I have placed the downloaded hyph_de_CH.dic in a local directory called Hyphenate. I downloaded from http://extensions.openoffice.org/en/project/german-de-ch-frami-dictionaries and I copied the following file from inside the oxt-zip archive: dict-de_ch-frami_2013-12-06\hyph_de_CH\hyph_de_CH.dic
I also have lang="de" in the html-tag of the document. I also tried with "de-CH".
But I get awful hyphenations. So I must make a mistake.
Do you have any idea what mistake? (Am I right in thinking that the path to the .dic-File must be relative to the .css-File?).
I think I found the de-CH hyphenation data in the right format, although the 1901 version instead of the 1996 version. I have to find out if the 1901-1996-difference is mainly in the spelling and not so much in the hyphenation...
It seems there are still some hyphenation bugs in Prince9. We had an actual problem with the word "Dateipfad" which displays as "Dateip-fad" (wrong). Using the method described above, I get "Da·tei·p·fad". The correct hyphenation in this case should be "Datei-pfad"
Is there a way to correct single cases without using a complete external library like LibreOffice?