[Top][All Lists]

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

[Fwd: --add-missing]

From: Derek R. Price
Subject: [Fwd: --add-missing]
Date: Tue, 14 Nov 2000 16:38:21 -0500

Yep.  Looks like that could be used by configure to set, say,
TEX_TEXINPUTS & PDFTEX_TEXINPUTS and prepend include dirs differently
for different targets, but I suspect that if your TeX distribution
includes kpsewhich then your TeX applications can already find the
appropriate texinfo.tex.

Of course, I suppose this could still be used to find a more recent
texinfo.tex than was included with your automake distribution, which
would work slightly better than including an out-of-date texinfo.tex,
but the included texinfo.tex will still render PDF targets unbuildable
since texi2dvi will, by default, prefer a texinfo.tex in '.' over one

In other words, a complete solution is probably some combination of
these two, so that TEX_TEXINPUTS or PDFTEX_TEXINPUTS is used when
available and the included texinfo.tex is used when the appropriate
texinfo.tex can't be found.

This is a little more work, but it seems much less baroque than mv'ing
texinfo.tex out of the way when a better one is found.  Then again,
maybe you can find a way to make that work.


Derek Price                      CVS Solutions Architect ( )
mailto:address@hidden     OpenAvenue ( )
... one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of their C

        - Robert Firth

--- Begin Message --- Subject: Re: --add-missing Date: 14 Nov 2000 14:00:15 -0600 User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

"Derek R. Price" <address@hidden> writes:
> Alexandre Oliva wrote:
> > On Nov 13, 2000, "Derek R. Price" <address@hidden> wrote:
> > > Okay, is there some way short of symlinking the
> > > /usr/share/automake/texinfo.tex file by hand to make sure that automake
> > > --add-missing uses the "proper" texinfo.tex file (i.e. the one installed
> > > with the texinfo package and assumedly the most recent one)?
> >
> > I'm afraid not.  Any suggestions about how automake could find out
> > where texinfo.tex from the texinfo package is installed, assuming it
> > is?
> Well, after sifting the documentation for my distribution for several hours,
> I have discovered the "texmf.cnf" file.  It appears to define all sorts of
> possible search paths dependant on the format of your input and output files.

Assuming you're using teTeX (likely for most recent UNIX TeX
installations), you look for things using the 'kpsewhich' program,
like in

  kpsewhich texinfo.tex

The texmf.cnf file should be treated as an internal detail.

- Hari
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

--- End Message ---

reply via email to

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