On Fri, 19 Oct 2007 10:57:07 +0200 Georg Baum <[EMAIL PROTECTED]> wrote:
> Martin Vermeer wrote: > > > I don't think we should do this in lyx2lyx after all. Currently the > > unsuspecting user can manually enter LyX into an index inset and get > > mysterious latexing errors. Not good. > > Yes. > > > I suppose we need runparams flags for verbatim output and for > > suppression of these standard phrases. The relevant insets can then set > > these flags. Does that sound like a plan? > > Yes, that would restore the previous state. It does however have one > disadvantage: A user entering a percent sign into an index inset will get > surprising results, too. Previously this was barely acceptable because the > stuff came from a dialog, but since it comes from the workarea now it is > IMHO not acceptable anymore. How should a user remember when to escape some > special characters and when not? Therefore I believe that the verbatim flag > should be more fine grained. For index, I was just thinking of switching off the standard phrases. % would still be escaped. BTW what _is_ the rule for stuff entered into an index? Or into an URL? - Martin