Angus Leeming wrote: > I'm trying to get (the just now updated by Dekel) lib/examples/mathed.lyx to > produce valid LaTeX as well as look good on screen. > > It seems that I have to insert the lyxcode environment definition into the > preamble by hand. I don't understand why this is, because my article.layout > is the standard one, including lyxmacros.inc and that piece of code contains > the definition. Why isn't it being inserted automatically?
are you sure that you have the newest article.layout? send the lyx-file and the article-layout or delete both and do a cvs update. Herbert -- http://www.lyx.org/help/