Le 03/06/11 14:26, Enrico Forestieri a écrit :
As \selectlanguage introduces spurious white space, it should not be used
in "inline" content. As \selectlanguage is only used when the language is
changed at the very beginning of a LyX paragraph, checking isMainText()
ensures that it is used only at the beginning of a LaTeX paragraph, such
that the spurious white space added at the end is not harmful.

How well does that work when the flex inset is in a branch, for example? Can the otexstream be queried to know whether we are at the start of a LaTeX paragraph?

JMarc

Reply via email to