Jean-Marc Lasgouttes wrote:

>>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]>
>>>>>> writes:
> 
> Angus> 2. Alternatively, add lines like
> 
> Angus> \screen_font_roman "Times New Roman"
> 
> Angus> to the lyxrc.defaults file. The place to do this would be in
> Angus> lyx_configure.C in the Win32/packaging/installer directory.
> 
> I am not sure why such things are done in the windows installer. Why
> not ship a preference file that has the right defaults instead? This
> is what LyX/Mac does.

So? Why would I want to repeat a mistake ;-)

Each user has his own $LYX_USER_DIR/preferences file, no? If I install
as Administrator, how can my users see/use my preferences file that's
in
  C:\Documents and Settings\Admin\Application Data\LyX\preferences
? They don't even have read permission to look in that directory and,
anyway, LyX currently looks only for a system-wide lyxrc.defaults
file at
  C:\Program Files\LyX\Resources\lyx\lyxrc.defaults

It's this file that should contain system-wide configuration data even
though it's currently a PITA to generate/modify on Windows.

-- 
Angus

Reply via email to