Le 15/09/2016 à 01:05, Enrico Forestieri a écrit :
On Wed, Sep 14, 2016 at 04:46:20PM +0100, Guillaume Munch wrote:Le 14/09/2016 à 01:39, Enrico Forestieri a écrit :Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again.Unfortunately, the attached file which used to compile successfully no longer does. LyX used to export $\mbox{\ensuremath{\comp}}$, now it exports $\mbox{\comp}$, where \comp is a user-defined macro.Oibò... This was a stupid thinko on my part. I have to revert to the previous strategy, but using properly the info returned by the globalMacros method. Sorry for the ping pong.
Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ instead of $\mbox{\ensuremath{\comp\comp}}$.
Also, I was surprised to see that when I enter \textit,\mbox,... it gets wrapped inside a \text environment.
Guillaume
comp2.lyx
Description: application/lyx