On 01/13/2010 06:21 AM, Jürgen Spitzmüller wrote:
Uwe Stöhr wrote:
Sure, because you do the same in all other text editors and Word-like
  applications. I was often  asked in the past why there are two or three
  subsequent dashes and it is hard to explain that they become one in the
  output but not within LyX.
At least our documentation files should therefore contain the correct
  characters. People can  copy/paste them to their documents.
Another point is that "---" is a command and the only case where you enter
  LaTeX commands in LyX  outside of math and TeX mode (ERT).
But inserting -- and --- is much easier and less error-prone. And it's easier
to recognize.

Moreover, using the Unicode em-dash produces the wrong spacing, since it has to be surrounded by spaces, lest LaTeX break lines incorrectly. And then you can get lines where the dash is at the beginning of the line, unless you do:
    text[protected space][em-dash][space]more text
See the file dash.lyx that I attached to a different message.

rh

Reply via email to