bug-texinfo
[Top][All Lists]
Advanced

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

Re: How to install images with *.info files?


From: Patrice Dumas
Subject: Re: How to install images with *.info files?
Date: Thu, 31 May 2007 08:20:07 +0200
User-agent: Mutt/1.5.14 (2007-02-12)

On Wed, May 30, 2007 at 04:19:52PM -0500, Karl Berry wrote:
> Hi Simon, Kevin, and all,
> 
> The problem I imagine with using a subdir is that then I think the
> @image command would have to include the subdir
> (@image{gnutls/internals.png}), resulting in the *HTML* output also
> having the gnutls/ subdir in the href, and that seems pretty
> undesirable, as well as causing more installation complications.
> 
> Without some exhaustive investigation I can't do right now, I'm not sure
> if -I options can be passed to makeinfo to any useful effect.

In texi2html we do something a bit ugly, first we find the relative path
leading from the directory where the manual will be to the current
directory. Then we find the images using -I, relative to the current
directory, this gives an include path. And when constructing the url we 
add the relative path that leads from the document directory to the working 
directory in front, then the include path and last the file name.

I am not convinced that it is the best way to handle that issue.

--
Pat




reply via email to

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