So the crash here is being caused by the assertion BOOST_ASSERT(c>0) on line 941 of Font.cpp. Doesn't this seem like overkill? I mean, yes, we'll get invalid LaTeX output, but why the assertion? There's no danger of a crash here. So if I replace the assertion with this: lyxerr << "Warning: invalid encoding switch in " << BOOST_CURRENT_FUNCTION << endl; the crash goes away and, even better, the View>Source output is CORRECT. This is because, as I noted earlier, we actually go through several updates in a row here, and it is only the first one that gives incorrect LaTeX, but the user never sees that.
Longer term, something more extensive might be done. But will this do for now? rh -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto