help-texinfo
[Top][All Lists]
Advanced

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

Re: Displaying images for html output


From: Christopher Dimech
Subject: Re: Displaying images for html output
Date: Wed, 18 Nov 2020 22:15:40 +0100

> Sent: Wednesday, November 18, 2020 at 9:52 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Gavin Smith" <gavinsmith0123@gmail.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> Subject: Re: Displaying images for html output
>
> > Sent: Wednesday, November 18, 2020 at 9:45 PM
> > From: "Gavin Smith" <gavinsmith0123@gmail.com>
> > To: "Christopher Dimech" <dimech@gmx.com>
> > Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> > Subject: Re: Displaying images for html output
> >
> > On Sun, Nov 15, 2020 at 08:11:19PM +0100, Christopher Dimech wrote:
> > > When using the following, the imape is displayed.
> > >
> > > @set dirhtml ../../Ideogr/Ch03b--Chmed
> > > @image{@value{dirhtml}/igc03--01--Sicl--CircAmRg,8cm,8cm,,png}
> > >
> > > However, one gets the following warning
> > >
> > > Ch03a--Chmed--html.texi:309: warning: @image file 
> > > `../../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg'
> > > (for HTML) not found, using 
> > > `../../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.png'
> > >
> > > ----------------------------------------------
> > >
> > > But suppose one changes the command to include .png as below
> > >
> > > @set dirhtml ../../Ideogr/Ch03b--Chmed
> > > @image{@value{dirhtml}/igc03--01--Sicl--CircAmRg,8cm,8cm,,.png}
> > >
> > > One will get
> > >
> > > Ch03a--Chmed--html.texi:309: warning: @image file 
> > > `../../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg'
> > > (for HTML) not found, using 
> > > `../../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg..png'
> > >
> > > And the image is not displayed.
> >
> > Thanks for sending the input and the output.  This problem only occurs
> > when the image file is not found.  I've tried to fix it in commit
> > e2d579377.
>
> Does it really! I have to check that out, give me a moment.

No.  The file exists and I use the correct path relative to
index.html. So the path is correct as far as html is concerned.

But the image is only displayed when using 'png' only.  Whereas
the correct syntax should be '.png', and this fails.



> Regards
> Christopher
>
>
>



reply via email to

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