groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] refer question


From: Peter Schaffter
Subject: Re: [Groff] refer question
Date: Wed, 4 May 2005 19:43:58 -0400
User-agent: Mutt/1.5.4i

On Wed, May 04, 2005, joerg van den hoff wrote:
> hi all,
> 
> is there a way to reset refer settings somewhere 'downstream' if the 
> 'upstream' defaults are no good?
> 
> specifically:
> 
> in my document I source a certain defaults file in which, upon different 
> other settings, one finds:
> 
> ...
> .R1
> database the_standard_database
> .R2
> ...
> 
> now, I want to set in the _current_ document
> 
> ...
> .R1
> database a_different_database
> .R2
> ...
> 
> which by itself of course _appends_ the new database to the set of 
> databases searched (and is searched latest).
> 
> can I enforce solely searching of the new database without eliminating 
> the first one from the defaults file (which would be bad for other 
> documents...)? i.e. is there a way to clear the variable holding the 
> database string (well, what is it's name? :-) )

.R1
no-default-database
database a_different_database
.R2

instructs refer not to search the default database.  If later you
need to have refer include the default database again:

.R1
default-database <filename>
.R2

I think that should work.

-- 
Peter Schaffter
  Author of _The Schumann Proof_ (RendezVous Press, Canada)
  http://faustus.dyn.ca




reply via email to

[Prev in Thread] Current Thread [Next in Thread]