>>>>> "John" == John Weiss <[EMAIL PROTECTED]> writes:

John> No, the best way to fix this is to make a new patch that
John> converts protected spaces inside of ERT into the ~ .  That adds
John> a new feature to LyX: transparent conversion of the LyX special
John> "ProtectedSpace" into what it means.

John> Something similar should be done, BTW, for some [non-LaTeX]
John> Export modes.  I'm thinking mostly of those based on text.  The
John> offending characters would be: Protected Space->" "
Ellipses-> "..."
EmDash-> "-"
EnDash-> "-"

Disagreed. ERT is for *explicit* code and you have to be sure that no
special modification is done behind your back. This means that *all*
special characters must be disabled.

Consider for example the following example:

\begin{verbatim}aa _bb\end{verbatim}

where _ is a LyX protected space. The output will clearly not be what
the user expects. Thus, we shall not play tricks in ERT.

JMarc

Reply via email to