
Hi, updating from Oxygen 19.1 to Oxygen 20 I noticed that the PDF transformed now include hyphenation. This works fairly well. Some words, however, are wrongly hyphenated. Is there a possibiliy to add these to a list of patterns which will be enforced for the hyphenation. I would be eager to contribute to such a list. Regards Bernhard -- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

I also like to know where this hyphenation is coded for, since one would like to change errorneous hyphenations. Am 01.05.2018 um 19:52 schrieb Bernhard Kleine:
Hi,
updating from Oxygen 19.1 to Oxygen 20 I noticed that the PDF transformed now include hyphenation. This works fairly well. Some words, however, are wrongly hyphenated. Is there a possibiliy to add these to a list of patterns which will be enforced for the hyphenation. I would be eager to contribute to such a list.
Regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

Hi Bernhard, You are using Docbook content and publishing it to PDF, right? Indeed we enabled hyphenation for the Docbook to PDF by default by adding an extra library in the path used to start the PDF processor. If you edit your Docbook to PDF transformation scenario, click the "Parameters" button and search for "hyphenate" you can find certain hyphenation-related parameters, for example you can turn it off completely. Could you give us a couple of examples (German words) in which the hyphenation is badly done? Also have you set the (xml:lang="de") attribute on the Docbook document's root element? Because the hyphenator needs to know in what language the Docbook content is. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 5/2/2018 6:53 AM, Bernhard Kleine wrote:
I also like to know where this hyphenation is coded for, since one would like to change errorneous hyphenations.
Am 01.05.2018 um 19:52 schrieb Bernhard Kleine:
Hi,
updating from Oxygen 19.1 to Oxygen 20 I noticed that the PDF transformed now include hyphenation. This works fairly well. Some words, however, are wrongly hyphenated. Is there a possibiliy to add these to a list of patterns which will be enforced for the hyphenation. I would be eager to contribute to such a list.
Regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

I did all that and ended with the folloging uncorrectly hypenated words Epit-hel instead of Epi-thel, Glut-amin instead of Glu-tamin, Häm-olymphe instead of Hä-mo-lymphe (alternatively), hypophys-är instead of hypophy-sär, Methy-l–p‑Tyrosin hyphenated in Methy-l, should not be hyphynated there This are 5 errors on 60 pages, quite impressive that there are not more errors. There should be a list with the correct hyphenation, to which a user can add his own corrected words. Regards Bernhard Am 03.05.2018 um 12:34 schrieb Oxygen XML Editor Support (Radu Coravu):
Hi Bernhard,
You are using Docbook content and publishing it to PDF, right? Indeed we enabled hyphenation for the Docbook to PDF by default by adding an extra library in the path used to start the PDF processor. If you edit your Docbook to PDF transformation scenario, click the "Parameters" button and search for "hyphenate" you can find certain hyphenation-related parameters, for example you can turn it off completely. Could you give us a couple of examples (German words) in which the hyphenation is badly done? Also have you set the (xml:lang="de") attribute on the Docbook document's root element? Because the hyphenator needs to know in what language the Docbook content is.
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 5/2/2018 6:53 AM, Bernhard Kleine wrote:
I also like to know where this hyphenation is coded for, since one would like to change errorneous hyphenations.
Am 01.05.2018 um 19:52 schrieb Bernhard Kleine:
Hi,
updating from Oxygen 19.1 to Oxygen 20 I noticed that the PDF transformed now include hyphenation. This works fairly well. Some words, however, are wrongly hyphenated. Is there a possibiliy to add these to a list of patterns which will be enforced for the hyphenation. I would be eager to contribute to such a list.
Regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

On Thu, May 03, 2018 at 01:27:04PM +0200, Bernhard Kleine wrote:
I did all that and ended with the folloging uncorrectly hypenated words
Epit-hel instead of Epi-thel, Glut-amin instead of Glu-tamin, Häm-olymphe instead of Hä-mo-lymphe (alternatively), hypophys-är instead of hypophy-sär, Methy-l–p‑Tyrosin hyphenated in Methy-l, should not be hyphynated there
This are 5 errors on 60 pages, quite impressive that there are not more errors. There should be a list with the correct hyphenation, to which a user can add his own corrected words.
I don't know if the same works with Docbook, but in DITA to [X]HTML transformations I use soft-hyphens in the words I'm concerned about so they'll be what's used when necessary to wrap between lines. I also don't use FOP to go straight to PDF and produce that via [X]HTML+CSS rendering (PrinceXML is rather nice for my use cases). Regards, Ben

Hi Ben, Thank you very much. Am 04.05.2018 um 23:21 schrieb Ben McGinnes:
I don't know if the same works with Docbook, but in DITA to [X]HTML transformations I use soft-hyphens in the words I'm concerned about so they'll be what's used when necessary to wrap between lines. I also don't use FOP to go straight to PDF and produce that via [X]HTML+CSS rendering (PrinceXML is rather nice for my use cases). Soft-hyphen was needed here. I had not seen them in UTF8 before. They work flawlessly with FOP. Thanks again
Bernhard -- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
participants (3)
-
Ben McGinnes
-
Bernhard Kleine
-
Oxygen XML Editor Support (Radu Coravu)