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. For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that I've just
inserted will cause me to report a runaway argument that might be the
root of the problem. But if your `}' was spurious, just type `2' and it
will go away.
I thought that the problem could be related to this chunk of code
\makepsmarks{companion}{%
\l...@mkboth\markboth
\def\chaptermark##1{\markboth{##1}{##1}}% % left & right marks
\def\sectionmark##1{\markright{% % right mark
\ifnum \...@secnumdepth>\z@
\thesection. \% % section number
\fi
##1}}
}
because when I remove it, everything works (the above code is a copy of
the memoir manual) I've tried to reproduce the error in a minimal
document but unfortunately I am not able to reproduce the error which
suggest me that it could be a problem related with other packages.
My question is that if there have been some modifications to the memoir
layout from lyx-1.5 which can be responsible of the error. Do you have
some advises to debug the problem because I am running out of ideas?
Thank you very much for all your help
Best regards
Oscar