On 2017-02-27, Enrico Forestieri wrote: > On Mon, Feb 27, 2017 at 04:55:43PM +0000, Guenter Milde wrote: >> On 2017-02-26, Guillaume Munch wrote: >> > Le 25/02/2017 à 21:09, Enrico Forestieri a écrit :
>> >> Then, a decision has to still be taken as regards the original problem >> >> in this thread. I think that the patch Günther proposed on Jan. 25 is >> >> the less controversial one. >> > I think you mean >> > https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198620.html >> However, this patch is obsolete. As Guillaume pointed out, there are use >> cases for the dashes with and without line break opportunity. (See also >> the attachments to https://www.lyx.org/trac/ticket/10543) > A patch that does not exist cannot obsolete anything ;) But it can be obsolete. Obsoleted by new findings during testing and discussion of the problem. > At this point we have two simple alternatives. Either the above one or > https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198615.html Both have serious drawbacks. See #10543. > Then, I refuse to have a mess in the latex output only to obtain a simple > en(em)-dash when LaTeX already uses -- and --- for those dashes. LaTeX supports — for the em-dash (with inputenc utf8), so why don't use it? Using font ligatures as an input convention is seventies technology, obsoleted by LaTeX2e 20 years ago. LyX supports — for the em-dash since 2007. I refuse a change where I need to put \textemdash in ERT to get rid of the drawbacks of the font ligatures. (The suggestion in msg198615 would convert all literal em-dashes into "---" without any way to bypass this conversion. This breaks documents that use direct Unicode char input.) There is no simple solution that covers all use cases. Günter