>> It is not that easy. When I send my file to other who don't have LyX 1.6.4 >> the file doesn't work while we promise that all files in a stable release >> series. When we would have added this only to LyX 2.0 we would be able to >> handle this in lyx2lyx by incrementing the file format. We have done this >> often in the past. Now we cannot easily use lyx2lyx. > > Your logic astonishes me. By the same logic, better not to fix bugs for > 1.6.5 as they won't work for 1.6.4. The lyx2lyx argument has nothing > to do with it, as there wasn't a file format change.
The problem is that we haven't introduced a fileformat change and released it with LyX 2.0. Then we could easily convert the mhchem preamble entry to the user preamble so that the document would be compilable with LyX 1.6.x. Note that the addition of mhchem was adding a new feature not a bug fix. I use \ce and mhchem successfully also with LyX 1.6.3.
Besides this general issue, you found the real bug in this particular case. thanks and regards Uwe