https://bugs.freedesktop.org/show_bug.cgi?id=62923

          Priority: medium
            Bug ID: 62923
          Assignee: [email protected]
           Summary: En dash (not em) should replace two hyphens when
                    inserted between numbers.
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.0.1.2 release
         Component: Writer
           Product: LibreOffice

By default in Writer, when two hyphens (--) are set between two words they are
converted into an em dash. This behavior is correct most of the time, but only
when words are used. This causes problems with number ranges.

Two examples of the problem would be when typing a page range (e.g. 45--53) or
a date range (1245--1312). En, not em, dashes should be used. This is according
to every English style guide I can find, including Chicago, MLA, and APA
styles. Obviously different languages might follow different patterns.

The behavior should be more nuanced then: 
When a numeric character is typed, followed by two hyphens, then another
number, an en dash (U+2013) should be used. The current behavior, placing an em
dash, (U+2014) should be kept for alphabetic characters only. 

So:
A--B = A[em dash]B
#--# = #[en dash]#

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to