On Friday 18 November 2005 17:38, Georg Baum wrote: > > And if you solve the problem, please tell me or tell the forum so all of > > us can learn from these bugs. > > It was very easy: > > You had the two commands > > \newcommand {\be} {\begin{equation}} > \newcommand {\ee} {\end {equation}} > > in the preamble and used these. This falls under the category "dirty > tricks" as far as tex2lyx is concerned, because tex2lyx does not know that > these commands start math mode and does not interpret macros. Everything > works well if you replace these commands by their definition: > > s/^\\be$/\\begin{equation}/ > s/^\\ee$/\\end{equation}/ > > replaced all but one occurence, which I searched and replaced by hand. I > needed to bind the searched words to the beginning and end of the line, > otherwise it would also find \begin and \end.
This could/should go in the wiki I have seen this kind of stuff so many times, the problem is that this varies from person. That and the words with accents... argh..... > Georg -- José Abílio