Hi,
I decided to test lyx-1.0.0-pre4 on a paper I am writing.
I have defined the following command in a .sty file.
\newcommand{\T}{\ensuremath{T}}
Now, whenever I use the command \T\ as ERT in the documents
standard test things are fine.
In section and subsection headings and also in table captions
and figure captions I get either errors during latexing the
document (if the expression \T\ is at the end of the line),
or I get a dvi output looking like
protect
T
protect
the rest of the section
In the the nice latex file the
\ensuremath{T}
becomes
\protect \\protect T\protect \\protect
in all section headings, etc.
Now, this was for shure different in 0.12.8 which was my version
until today and I suspect it might be a bug ?
Maybe I am doing something stupid though, please let me know.
Regards
Roland Krause
Visiting Research Associate - Center for Computational Mechanics
Washington University, Saint Louis
Roland Krause <[EMAIL PROTECTED]>