POV-Ray : Newsgroups : povray.unix : using both a global and a local .ini file : Re: using both a global and a local .ini file Server Time
16 May 2024 23:06:27 EDT (-0400)
  Re: using both a global and a local .ini file  
From: Klaus Nowikow
Date: 19 Jun 2009 11:33:29
Message: <4a3bafc9$1@news.povray.org>
clipka wrote:
> Doctor John <joh### [at] homecom> wrote:
>> clipka wrote:
>>> Never tried this, but I think a simple
>>>
>>>   /etc/povray/povray.ini
>>>
>>> at the beginning of your local .ini file should do the job of invoking the
>>> global one.
>>>
>> Just tested this. Unfortunately what seems to happen is that POV reads
>> the global ini but then stops reading any further in your local file :-(
>> I suppose you could put the line at the _end_ of your local ini but that
>> would be the opposite of what Klaus is trying to achieve.
> 
> In that case we have just discovered a bug; quote from documentation, section
> 2.2.8.2 ("Using INI Files"):
> 
> -------------
> [...] You may nest INI files by simply putting the file name on a line by itself
> with no equals sign after it. Nesting may occur up to ten levels deep. For
> example:

Oops, I missed that statement in the docs. Thanks for pointing me to it.
If that worked it would be exactly what I was looking for.

--
Klaus


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.