On Fri, Apr 28, 2000 at 04:59:44PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
>
> Dekel> The following patch allows using the URL inset inside the
> Dekel> \thanks{} command (it adds \protect to the LaTeX file).
>
> Dekel, I still do not understand the statement
> fragile |= style.isCommand();
> in your patch. As I see it, it will \protect any fragile command which
> is in a macro argument. This is certainly not needed. Maybe using the
> needprotect entry of layout files what you want.
I used style.isCommand() because it was used in SimpleTeXSpecialChars()
(in other words, LyX currently put \protect in the argument of any command).
As you suggested, it should be style.needprotect, so I've changed it,
and also renamed the 'fragile' variable to 'need_protect'.
> I'd rather not apply the patch now. Moreover, Lars is not OK with keep
> \direction support.
The new patch doesn't change the (lack of) \direction support.
patch2.gz