Apache OpenOffice (AOO) Bugzilla – Issue 35596
Better handling of m-dash and n-dash
Last modified: 2008-11-05 20:31:07 UTC
The m-dash and n-dash handling does not take proper use into account. There are simple guidelines for the use of these punctuation symbols in text, and it would be greatly usefull if this was supported by OO. I write most of my texts in Norwegian so following argument reflects this. I would expect there to be localization issues. In regular text one finds three different dashes. The hyphenation mark, the n-dash and the m-dash. Here, I will refer to these symbols by '-', '--' and '---' respectively. The reasoning behind the names n-dash and m-dash is that the dashes have the same length as the letters n and m. The simplest first: '---'. the m-dash is used as a delimiter, separating parts of a period. There should not be spaces around the m-dash. (However, I guess it is allowed to divide a line after an m-dash. "This had never happened before---and would most likely never happen again---had it not been..." Then, the n-dash: '--'. It is used to separate the endpoints of an interval: "The opening hours are 8--10 every morning." and "The train Oslo--Bergen.". And also: "The Liverpool--Arsenal football match" (this is how it is in Norwegian, at least). Finally, there is the hyphenation mark, used in most (all?) other cases. (In addition, the minus sign can be a slightly different symbol from the hyphenation mark, especially in formulas.) Having summarized the relevant symbols, I will now suggest how this can be used to improve OO. Most importantly: One should not infer anything from the presence (or lack of presence) of spaces when handling n- and m-dashes. It is particularily annoying to get an m-dash when writing intervals. Inserting the symbols manually should be easily accomplished using few keystrokes. For example Menu: "Insert | Symbol | Hyphenation (tabbed pane?) | m-dash (radio button?)". At this point one should not have to consider fonts, we want to insert a symbol from the font of the running text. Autocorrect should by default (or easily) be configured to replace all occurences of '--' with n-dash and '---' with m-dash when typing, regardless of spaces. This is consistent with the expectations of LaTEX users. I haven't thought of whether OO should consider n-dashes as candidates for dividing expressions over two lines, sometimes ("8--10") it seems inappropriate, whereas in other cases ("Kristiansand--Trondheim", a route between two cities in Norway with somewhat long names) I guess one should split lines. I believe this is an important issue to many authors.
reassigned to BH.
SBA: In my opinion, this one is a duplicate of enhancement issue 5018. *** This issue has been marked as a duplicate of 5018 ***
close the duplicate