Apache OpenOffice (AOO) Bugzilla – Issue 23156
Dashes following a quote are not converted to em-dash
Last modified: 2013-08-07 14:38:26 UTC
If there is a quote or other punctuation preceding or following a dash or double-dash, the dash is not converted to an em-dash. To get an em-dash, I have to make sure there is nothing on either side of the dash except an alphabetic character. The autoreplace function should work consistently and reliably. It doesn't.
Verified on OpenOffice.org 1.1.0, built from sources on Gentoo Linux. I don't know whether it's intentional or not, but it is reproducible.
reassigend to jw i will take a look on this
reassigned khong can you please take a look on this issue. us@openoffice.org told me that this might be somthing for you. even if you just can tell us why this is not fixable.
.
Sorry, what is em-dash? what do you expect autoreplace to convert dash to em-dash, could you give me more detail step to reproduce the problem.
An en-dash is a dash as long as the letter "n" in proportional fonts. An em-dash is as long as an "m" in the same font. En-dashes are used for hyphens. Em-dashes are used as punctuation marks and are required by almost all publishers.
Sorry, I failed to respond to your entire questions. An em-dash is produced after the writer types <space> - <space> or <space> -- <space> and replaces the dashes (en-dashes) with em-dashes. Every word processor I've seen for the past 20 years does this (I'm 62). However, OOo does NOT do it if there is <punctuation mark> <space> <- or --> <space> or <space> <- or --> <space> <punctuation mark>. That failure occurs with quotes and commas (the most common places). For example, typing <Jack," -- he said> leaves double en-dashes. I have to go in and type <Jack,"j -- he said> and then delete the extra j to get it to work. In other words, the replacement is not looking at <space> <- or --> <space> to determine an em-dash (as it should) but at <character> <space> <- or --> <space> <character> and if <character> is a punctuation mark, fails to replace the dashes. It's a bug found in no other word processor. I would hope it's an easy fix.
Karl->OS: It seems an autocorrection problem, if you found that is caused by breakiterator, please give me your comment and send back to me.
Same problem persists in 1.1.1rc. No change in behavior.
Problem persists in 1.1.2rc.
Can this be merged with issue 5018?
SBA: In my opinion, this one is a duplicate of enhancement issue 5018. *** This issue has been marked as a duplicate of 5018 ***
*** Issue 89130 has been marked as a duplicate of this issue. ***
close the duplicate