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: Sun, 3 Jun 2007 11:26:49 +0200
User-agent: Mutt/1.5.14 (2007-02-12)

On Sat, Jun 02, 2007 at 05:37:48PM -0500, Karl Berry wrote:
>     Is it clearer?
> 
> Yes, thanks.  I wouldn't like to try to document it, though :).
> What happens with split output?

In that case the 'path leading to the current directory' is adjusted to 
be right. Well after testing seems like texi2html is broken, but for
example
texi2html -I images/ -split chapter -o manuals_split/somewhere/ 
include_image.texi
should lead to a path like
 ../../  images/ test.jpg

> I wonder about defining a special variable name, say
> texiimageoutputprefix.  So a source doc could have something like
> 
> @ifhtml
> @set texiimageoutputprefix ../images/
> @endif html
> @ifinfo
> @set texiimageoutputprefix gnutls-images/
> @end ifinfo
> 
> The processors would just prepend @value{texiimageoutputprefix} in the
> href's (html) or [image ...] (info).

I don't think this is right. In general variables set by @set shouldn't
have a specific meaning (or am I missing something). In my opinion this
should better be a new command. If that command is set then -I is
ignored for images and the prefix is added unconditionaly. Otherwise the
solution I used in texi2html is used. The -I passed to makeinfo should
then be different depending on the output format used.

--
Pat




reply via email to

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