>>>>> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:
Herbert> thanks for the patch. all the following commands need
Herbert> \protect too:
Herbert> \overleftrightarrow \underrightarrow \underleftarrow
Herbert> \underleftrightarrow
Are these from ams? They are not generated by mathed, are they?
Herbert> i don't know if it's possible for lyx to test for every (!)
Herbert> captionstyle : part, chapter, section .... because they have
Herbert> the same problem with an unprotected latex-command.
All these are marked as moving argument in the layout files.
Herbert> And \addtocontents \addcontentsline \markboth \markright and some
Herbert> others too.
These do not appear in layout file, so you are on your own with them
JMarc