On Sat, Oct 22, 2016 at 04:37:04PM +0200, Jean-Marc Lasgouttes wrote:

> Le 22/10/2016 à 13:40, Enrico Forestieri a écrit :
> > Moreover, we add a new entry "LyX Default", which corresponds
> > to what is now the default (i.e, load fontenc with the value specified
> > in Tools->Preferences->Output->LaTeX).
> 
> I still wonder why we should keep this preference.

Good observation. I think for backward compatibility. Otherwise we
don't know what was the old default. Suppose that a user unchecked
that preference, meaning that no fontenc is loaded. If we miss this
info, we should convert an old [Default] to T1 (the old default),
thus screwing up old documents. The same if instead that was changed
to OT1, for example.

OTOH, that global preference is dangerous, because if someone sends
you a document expecting a given fontenc (achieved by the sender by
changing this pref) and you have a different default, everything may
screw up. So, having this as a globlal preference is not ideal,
apparently.

-- 
Enrico

Reply via email to