Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Steve Litt wrote: On Monday 25 May 2009 10:40:43 am Oscar Lopez wrote: What surprises me is that it's dependent on LyX version. If the LyX file is called bar.lyx, I'd like to see you do the following: lyx-1.5.4 -e latex bar.lyx mv bar.tex bar-1.5.4.tex lyx-1.6.2 -e latex bar.lyx mv bar.tex

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Enrico Forestieri wrote: Jürgen Spitzmüller writes: LyX does this automatically for you, that's why your document works if the code is inserted directly to the preamble. In former versions, Lyx blindly embraced any preamble with this pair. Now, it tries to be smart and only embraces it if

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-26 Thread Oscar Lopez
Jürgen Spitzmüller wrote: Oscar Lopez wrote: * if the lyx preamble consists of \input{foo.tex} it does not work and the aforementioned error appears. If I enclose \input{foo.tex} between \makeatletter and \makeatother then it works, which really puzzles me. *if the content of the preamble fo

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Enrico Forestieri
Jürgen Spitzmüller writes: > LyX does this automatically for you, that's why your document works if the > code is inserted directly to the preamble. In former versions, Lyx blindly > embraced any preamble with this pair. Now, it tries to be smart and only > embraces it if the preamble actually

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Steve Litt
On Monday 25 May 2009 10:40:43 am Oscar Lopez wrote: > Dear all > > I have been able to reproduce the problem. Attached there is a minimal > lyx file together with a minimal preamble (foo.tex) which reproduces the > problem. > > * if the lyx preamble consists of \input{foo.tex} it does not work and

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Jürgen Spitzmüller
Oscar Lopez wrote: > * if the lyx preamble consists of \input{foo.tex} it does not work and > the aforementioned error appears. If I enclose \input{foo.tex} between > \makeatletter and \makeatother then it works, which really puzzles me. > > *if the content of the preamble foo.tex is directly inclu

Re: memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Oscar Lopez
Dear all I have been able to reproduce the problem. Attached there is a minimal lyx file together with a minimal preamble (foo.tex) which reproduces the problem. * if the lyx preamble consists of \input{foo.tex} it does not work and the aforementioned error appears. If I enclose \input{foo.t

memoir class lyx-1.5 file does not work with lyx-1.6

2009-05-25 Thread Oscar Lopez
Dear Lyxers I am trying to use a lyx template which uses the memoir book class that worked pretty well with lyx-1.5.4 but now with lyx-1.6.2 refuses to compile because the lyx error (in fact latex error) says: \pagestyle{myMainheading} I've run across a `}' that doesn't seem to match anything.