Re: Including files from parent dir

Stefan Monnier <[email protected]>
Newsgroups gmane.comp.tex.texinfo.general
Message-ID <[email protected]>
> It is because includes with leading . or .. in their paths in or include
> that are absolute paths are treated differently from other includes:
> they are not searched for in include directories.
[...]
> Unless I missed something, none of these two information is documented.

Hmm... here I was, thinking the presence of `/` in the file name was the
source of the difference :-)

I also couldn't find any mention of "include directories" in the doc.

>> How can I convince `makeinfo` to find the `bar.texi` file in both cases?
> Right now, I can't think of a way to make this happen.  The only
> thing I can think of would be to change the code to consider that
> only paths with leading . are considered differently.

I need my scripts to work with "old" makeinfo as well, so that wouldn't
help me for the foreseeable future, I'm afraid.
Thanks for the explanation, tho.  It confirms that I'll have to
workaround the problem some other way.


        Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.