Apache OpenOffice (AOO) Bugzilla – Issue 56499
en-dash and em-dash replacement
Last modified: 2007-07-18 17:24:13 UTC
Dash-replacement currently replaces -- by an em-dash and doesn't replace --- at all. IMO, -- should be replaced by an en-dash and --- by an em-dash. This is also the way it works in (La)TeX and even MS Word.
I have checked this on a Windows2003 installation which is scarcely used here at work, presumably in pristine condition as installed. Word replaces <space><hyphen><hyphen><space> by an en-dash surrounded by spaces not an em-dash surrounded by spaces. It also replaces <normal character><hyphen><hyphen><normal character> by an em-dash, exactly as does OpenOffice Writer. Possibly the version of MS Word being used by the previous poster has some autocorrection enhancements. See issue 61325 which provides what I believe is the rationale for MS Word's practice which OpenOffice Writer follows exactly. That said, it would be a reasonable enhancement to automatically change a triple hyphen into an em-dash, regardless of spacing around it, except when immediately followed by ENTER key when being entered, which currently produces a full line across the page and should continue to do so.
Note that in both MS Word and OpenOffice Writer, the combination <space><hyphen><space> also resonably resolves to an en-dash surrounded by spaces. The combination a triple-hyphen resolves to nothing in MS Word, regardless of whether surrounded by spaces or other characters. The use of a triple hyphen for a n m-dash and a double hyphen for n-dash is so far as I know limited to TeX code and so intuitive only to a very small number of word processor users.
See also issue #61005.
I think this one belongs to Writer.
SBA: In my opinion, this one is a duplicate of enhancement issue 5018. *** This issue has been marked as a duplicate of 5018 ***
SBA: Closed.