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
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
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
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
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
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
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
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.