https://bugs.documentfoundation.org/show_bug.cgi?id=158885
Bug ID: 158885
Summary: Hyphenate compound words at stem boundaries within the
hyphenation zone
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Linguistic
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Description:
For readability and tradition, orthography and typography prefer or only allow
hyphenation between stems in compound words in several languages, like Danish,
Dutch, German, Hungarian, Norwegian and Sweden.
Hyphenation zone is to avoid of too much or bad hyphenation. Preferring stem
boundaries for hyphenation within the hyphenation zone is a natural extension
of it, i.e. skip hyphenation within stems, if there is stem boundary within
the hyphenation zone.
More information: “The hyphenation problems in Swedish have to do with the high
frequency of compound words (the Swedish vocabulary can’t be enumerated: new
compounds are easily created by anyone) and the rule that a compound word shall
always be hyphenated between the constituent word parts, to ease the flow of
reading.” quoted in Notes on Compound Word Hyphenation in TEX by Petr Sojka,
TUGboat, Volume 16 (1995), No. 3 — Proceedings of the 1995 Annual Meeting
(https://tug.org/TUGboat/tb16-3/tb48soj2.pdf).
Steps to Reproduce:
1. open the attached test file after installing the Hungarian hyphenation
patterns
Actual Results:
hyphenation of “főbejárat” (main entrance) as “főbe-járat” (resulting words
with different meaning: “főbe” = “into head”, “járat” = “route/flight”).
Expected Results:
fő-bejárat (“main” and “entrance”)
Reproducible: Always
User Profile Reset: No
Additional Info:
Note: libhyphen contains some compound word support and hard-wired arguments
for limiting hyphenation near the stem boundaries, but only German hyphenation
patterns started to use that, and the solution doesn't work for compounds
containing custom words (see Grammar By feature of the custom dictionary of
LibreOffice).
--
You are receiving this mail because:
You are the assignee for the bug.