Am 13.01.2010 15:54, schrieb Jean-Marc Lasgouttes:

This is not correct, neither the Unicode standard nor typographic
books know a ligature of dashes, see also
http://en.wikipedia.org/wiki/Typographic_ligature

-- and -- are implemented in TeX as ligatures in the font, as are ?`,
!`, `` and ''.

I see now. Some fonts like the latin modern fonts translate "--" to the endash 
glyph.

> A better UI *might* (and I do mean *might*) be to display it as a unicode 
em-dash.
> But you do not want that character, since LaTeX does not know it can break 
after,
> but not before, it.

This is an interesting issue. I wasn't aware of that problem. So the best is to leave it as it is. The UserGuide already explains the different types of dashes and tells the user that there are two different ways of inserting them (as "---" and as "—"). I have nevertheless still the opinion that the documentation files should use the Unicode glyphs directly. The vast majority of the LyX users I know are coming from the WYSIWYG world and expect to enter a single character to get a glyph.

regards Uwe

Reply via email to