Dekel Tsur wrote:
> 
> On Mon, Jul 31, 2000 at 04:42:13PM +0200, Lionel Portmann wrote:
> > In a figure (float) caption, I want to put within the text some math
> > symboles. If I use for instance an overrightarrow over even a single
> > letter, I get an error from Latex. With Lyx 1.04, this error was
> > ignored, (no grey box) and the DVI came out all right (fine for me).
> > With Lyx 1.15 the error is caught, and I get a grey box in my Lyx
> > document, and no DVI (bad for me). Actually, Lyx 1.04 and 1.15 write the
> > same Latex code, which triggers the same error.
> >
> > These errors come when I use overrightarrow, overbrace, etc., but not
> > with overline or tilde!
> 
> You can use the attached patch that fixes this problem.
> If you can not use the patch, a workaround for the problem is to type
> \protect before the overrightarrow.

thanks for the patch. all the following commands need \protect too:

\overleftrightarrow
\underrightarrow
\underleftarrow
\underleftrightarrow

i don't know if it's possible for lyx to test for every (!) 
captionstyle : part, chapter, section .... because they have
the same problem with an unprotected latex-command. And
\addtocontents
\addcontentsline
\markboth
\markright
and some others too.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss

Reply via email to