https://bugs.documentfoundation.org/show_bug.cgi?id=148189

--- Comment #9 from Amir E. Aharoni <[email protected]> ---
A few more details.

Actually, it is possible to type the maqaf on Windows 8 and up, just like on
desktop Linux systems, using Right Alt, a.k.a. AltGr and the minus key. It has
also been possible to type it on Mac systems for a long time, using Option-\ or
Shift-\.

But more importantly, I do agree with Eyal that it can be autocorrected. The
correction rules must be carefully defined, of course. I can think of the
following cases where it can be safely autocorrected:
* Between certain Hebrew letters (משהוכלב) and numbers, e.g. ו-4 to ו־4.
* Between certain Hebrew letters (משהוכלב) and non-Hebrew letters, e.g.
ו-LibreOffice to ו־LibreOffice. (Sorry, it may look weird here because I don't
have proper bidi markup, but the logical order of the letters is correct.)

Between two Hebrew letters, it's less certain. It should be autocorrected to
something, either maqaf or en-dash, but it's difficult to say what exactly. For
example, in כביש ירושלים-תל-אביב, the first one should be en-dash, and the
second should be maqaf (according to the punctuation rules of the Academy of
the Hebrew Language). I can't think of a smart automatic way to guess it,
unfortunately. Perhaps it's possible to give LibreOffice lists of words where
it's likelier to use one or the other, but it still won't be perfect.

If it's possible to suggest the user both maqaf and en-dash and let the user
choose, it would be nice, but I'm not sure that LibreOffice has such a feature.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to