Hyphenation
Posted: Fri Jan 30, 2026 1:34 pm
I'm trying to see if I can configure the hyphenation rules for ditamap publishing (CSS > PDF). The docs don't seem to be quite right for this though:
The docs tell me the license terms are in [CHEMISTRY_INSTALL_DIR]/config/hyph but they're actually in [CHEMISTRY_INSTALL_DIR]/lib. Is the list of supported languages default correct in the docs?
The docs suggest adding fop-hyph.jar to [CHEMISTRY_INSTALL_DIR]/lib but when I do this, oxygen complains during startup that 'there are additional libraries present in the applications libraries folder' and insists that I remove it.
When it comes to adding new dictionaries, the docs describe .xml files but the downloaded package only contains pre-compiled .hyp files. It also says:
Essentially, this is what I'd like to do:
Enable default hyphenation for the languages in the TeX dictionaries
I have a repository (folder) for each language of our documentation. I'd like to keep an xml file alongside the dita documents which describes any hyphenation customisations I've made for that language (like a glossary)
What I'd like to avoid is having each user update/modify the installation files with customisations because these will likely get lost during updates/re-installs etc.
Thanks
The docs tell me the license terms are in [CHEMISTRY_INSTALL_DIR]/config/hyph but they're actually in [CHEMISTRY_INSTALL_DIR]/lib. Is the list of supported languages default correct in the docs?
The docs suggest adding fop-hyph.jar to [CHEMISTRY_INSTALL_DIR]/lib but when I do this, oxygen complains during startup that 'there are additional libraries present in the applications libraries folder' and insists that I remove it.
When it comes to adding new dictionaries, the docs describe .xml files but the downloaded package only contains pre-compiled .hyp files. It also says:
but it's not clear which parameter it's talking about.You can copy the dictionaries you need to change in another directory, then use the parameter to reference it inside your transformation.
Essentially, this is what I'd like to do:
Enable default hyphenation for the languages in the TeX dictionaries
I have a repository (folder) for each language of our documentation. I'd like to keep an xml file alongside the dita documents which describes any hyphenation customisations I've made for that language (like a glossary)
What I'd like to avoid is having each user update/modify the installation files with customisations because these will likely get lost during updates/re-installs etc.
Thanks