On 01/04/2011 3:20 PM, Y.Wu wrote:
Hi, Stephen,
I am modifying this template
file<http://wiki.lyx.org/uploads//Examples/ComparingLyXAndWord/example.lyx>.
When I remove the blue phase WYSIWYM, there will be an error.
So I have to keep at least one instance of this phase somewhere in my
document to avoid this.
Thanks a lot.
Regards!
Yu
I don't know if it's a good idea to use this document as a starting
point. It is full of LaTeX code in the preamble which I wouldn't want to
touch. You might be better off by just starting a new document.
But to solve your first error, remove this:
\renewcommand{\textcolor}[2]{%
\ifthenelse{\equal{#1}{blue}}{{\versal{#2}}}{}% Versalien
\ifthenelse{\equal{#1}{cyan}}{{\versalomat{#2}}}{}% Weitere
%\ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}% fallthrough
}
From the preamble of that file. You find the preamble from the menu
Document > Settings... > LaTeX preamble
Good luck,
Julien