[Libreoffice-bugs] [Bug 128994] New: EDITING / FORMATTING Bad management of em dash in Spanish language texts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 24 15:21:22 UTC 2019


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

            Bug ID: 128994
           Summary: EDITING / FORMATTING Bad management of em dash in
                    Spanish language texts
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: josemoya at gmail.com

Description:
In Spanish, em dash (—) is a parenthetical sign. This means it has to be
treated as brackets or quotes when breaking lines:

In Spanish, dialogue is written this way:
—Blah blah blah —lorem ipsum dolor— blah

Notice there is no space between first — and blah: this means "dialogue start."

There is also no space between lorem ipsum dolor and the surrounding dashes.
This means lorem...dolor should be interpreted as a comment.

If a line begins with dash (—), the line is interpreted as a dialogue
quotation, thus the line should never break before the third dash (—), but
after it. Just as it would do if a quote char were on its place.

This problem was reported years ago to OOo, and it seems no one took it in
charge. I hoped some user from Libreoffice noticed the bug report in the forked
app, but Libreoffice still has a bad management of "—" in Spanish.
Your competitor MsWord has the right behaviour from version 2013.

(More info about using dashes in Spain will appear if you look the Royal
Academy web at http://lema.rae.es/dpd/?key=raya )





Steps to Reproduce:
1.Select Spanish as language.
2. Type "—baah —said little sheep— baah."
3. Add baah before "—said" until "— baah." arrives to a new line.
4. The second line will say "— baah". This is undesired.

Actual Results:
—baah baah baah —said little sheep
— baah

Expected Results:
—baah baah baah —said little sheep—
baah


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Each language in the world has their own typographical rules. Ooo assumed all
languages had the same rules than english and hardcoded some line break rules.
I found that when trying to make a quick fix for Ooo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191124/444b9288/attachment-0001.html>


More information about the Libreoffice-bugs mailing list