On Wed, Mar 01, 2000 at 11:59:12AM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > >> I don't know. How can reLyX tell that it's a \protect that LyX put > >> in, and not one that the coder put in? > > Andre> Urmh... would the following work? > > Andre> Put \def\lyxprotect{\protect} in the preamble and use > Andre> '\lyxprotect' for the 'helpers'. reLyX could then ignore > Andre> \lyxprotect and copy \protect... This should be able to work. The problem is that you have to decide carefully just how many constructs you want lyx to create in the preamble. I think I've seen a bunch of different problems (with reLyX and LyX in general) that had solutions of this type, but you end up with a huge preamble and less portable LaTeX if you use too many of them. -Amir