help-texinfo
[Top][All Lists]
Advanced

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

Re: Width and Height in @image for Html Output fail


From: Christopher Dimech
Subject: Re: Width and Height in @image for Html Output fail
Date: Wed, 25 Nov 2020 19:40:51 +0100

> Sent: Wednesday, November 25, 2020 at 7:07 PM
> From: "Gavin Smith" <gavinsmith0123@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> Subject: Re: Width and Height in @image for Html Output fail
>
> On Thu, Nov 19, 2020 at 07:51:30PM +0100, Christopher Dimech wrote:
> > It occurs to me that one requires two image versions:
> > (1) An image for high-resolution pdf; and (2) Another
> > image for low resolution image html.
> >
> > Can we think of only having one command that calls
> > @image, rather than two (i.e. rather than having @iftex
> > and @ifhtml)?
> >
> > For instance,
> >
> > @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg,,,,.png}
> >
> > For pdf output will use the file
> > ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.png
> >
> > For html output will use
> > ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.html.png
> >
> > Or the like.
>
> If we could make @value work properly in the first argument of @image,
> then this could be used to configure image resolution.  So you
> would do
>
> @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.@value{imageres},,,,.png}
>
> and elsewhere do
>
> @set imageres high
>
> to look for a file
>
> ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.high.png
>
> I will look at the @value issue.

Yes, allowing @value would allow various possibilites and likely solve
other things, as you have mentioned.

Kind Regards
Christopher



reply via email to

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