On 01/15/2010 05:24 AM, Guenter Milde wrote:

In my view, the issues are:

So, just to be clear what my views are:

a) What to use in the tutorial, --- or em-dash?

---, on the ground that em-dash as currently handled breaks lines wrong. One could change the handling of em-dash, but I see no generally acceptable way to do it, though see below.

b) How to export the em-dash Unicode char to LaTeX?

As we do it is fine with me.

c) Shall we pass --- directly to LaTeX even if it is not ERT also if this
    breaks the WYSIWYM principle?

Yes, on the ground that it doesn't actually break that principle in any very significant way, though apparently we disagree about this.

d) Do we want a em-dash ("Gedankenstrich") macro choosing the
    typographically correct dash depending on the language?
    At the LaTeX or LyX level?

    (An implementation on the LyX level would be something similar to the
    smart-quotes feature.)

I thought about this. One could add the dashes to InsetSpecialChar, or give them their own inset. But this seems like overkill to me, and the proper solution is surely at the LaTeX level, anyway.

The other possibility is to display "---" as an em-dash, when we're in text, not in ERT, and not in a typewriter font.

rh

Reply via email to