On Wednesday 17 July 2002 1:09 pm, Dekel Tsur wrote:
> On Wed, Jul 17, 2002 at 09:35:54AM +0200, Andre Poenitz wrote:
> > How do I override some global default \converter setting (like
> > .fig->.eps) in my .lyx/preferences?
> >
> > The only method I found is to comment it out in the global
> > lyxrc.defaults, which is not exactly nice if you don't have write
> > permissions there.
>
> What exactly is the problem ?
> The converter lines in .lyx/preferences overrides lyxrc.defaults.

The question is: what is the syntax that should be used to REMOVE a converter 
that is defined in lyxrc.defaults? 

lyxrc.C outputs changed converters so:

                // New/modifed converters
                for (Converters::const_iterator cit = system_converters.begin();
                     cit != system_converters.end(); ++cit)
                        if (!converters.getConverter(cit->from, cit->to))
                                os << "\\converter \"" << cit->from
                                   << "\" \"" << cit->to << "\" \"\" \"\"\n";

FormPreferences simply removes a converter from the list of local converters. 
It does not "none" it, so the removal of this converter is not saved.

At least, that's how I read the code.

Angus

Reply via email to