> Sent: Wednesday, November 18, 2020 at 9:52 PM
> From: "Christopher Dimech" <[email protected]>
> To: "Gavin Smith" <[email protected]>
> Cc: "help-texinfo gnu" <[email protected]>
> Subject: Re: Displaying images for html output
>
> > Sent: Wednesday, November 18, 2020 at 9:45 PM
> > From: "Gavin Smith" <[email protected]>
> > To: "Christopher Dimech" <[email protected]>
> > Cc: "help-texinfo gnu" <[email protected]>
> > 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