Re: Macros inside @displaymath

2020-11-15 Thread Gavin Smith
On Mon, Nov 16, 2020 at 12:43:33AM +0100, Patrice Dumas wrote: > On Sat, Nov 14, 2020 at 05:25:56PM +, Gavin Smith wrote: > > On Sat, Nov 14, 2020 at 05:17:16PM +0100, Patrice Dumas wrote: > > > On Sat, Nov 14, 2020 at 08:49:05AM +, Gavin Smith wrote: > > > > > > > > This works perfectly w

Re: Macros inside @displaymath

2020-11-15 Thread Christopher Dimech
Patrice, So now we can de the following @macro Exp \\mathop{\\rm exp} @end macro @displaymath @exp @end displaymath I suggest that instead of using @macro, we create an alias so that users write @gdef Exp \\mathop{\\rm exp} @end gdef @displaymath @exp @end displaymath > Sent: Monday, Novem

Re: Macros inside @displaymath

2020-11-15 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 05:25:56PM +, Gavin Smith wrote: > On Sat, Nov 14, 2020 at 05:17:16PM +0100, Patrice Dumas wrote: > > On Sat, Nov 14, 2020 at 08:49:05AM +, Gavin Smith wrote: > > > > > > This works perfectly with TeX as far as I can see, but unfortunately > > > not with texi2any at

Re: @value fails with @image for pdf output

2020-11-15 Thread Hilaire Fernandes
You can have both pdf and png files with the same filename in the same folder. For example img1.png and img1.pdf. The pdf one will be pick up first for PDF output and png for html output. That way you just use one command for both. Hilaire Le 15/11/2020 à 19:29, Christopher Dimech a écrit :

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
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'

@value fails with @image for pdf output

2020-11-15 Thread Christopher Dimech
Please note that the following code fails for pdf output, but works for html if I put dirhtml at the correct relative path to index.html @set dir-pdf ../Ideogr/Ch03b--Chmed @image{@value{dir-pdf}/igc03--01--Sicl--CircAmRg.png} @set dir-html ../../Ideogr/Ch03b--Chmed @image{@value{dir-html}/ig

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
> Sent: Sunday, November 15, 2020 at 6:42 PM > From: "Gavin Smith" > To: "Christopher Dimech" > Cc: "help-texinfo gnu" > Subject: Re: Displaying images for html output > > On Sun, Nov 15, 2020 at 05:12:13PM +0100, Christopher Dimech wrote: > > > > It is the fifth and I still get the Alt Text A

Re: Displaying images for html output

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 05:55:19PM +0100, Patrice Dumas wrote: > Actually this is problematic as it requires to put an extension and > there is an error message stating that the file was not found. > > It probably should be documented that > * the file should be relative to the location where texi

Re: Displaying images for html output

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 05:12:13PM +0100, Christopher Dimech wrote: > > It is the fifth and I still get the Alt Text Attribute. > > The output was > > ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg > > If I put > > @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg,8cm,8cm,AltText,.png}

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
> Sent: Sunday, November 15, 2020 at 5:55 PM > From: "Patrice Dumas" > To: "Christopher Dimech" > Cc: "Gavin Smith" , "help-texinfo gnu" > > Subject: Re: Displaying images for html output > > On Sun, Nov 15, 2020 at 05:12:13PM +0100, Christopher Dimech wrote: > > > > But now I have understood

Re: Displaying images for html output

2020-11-15 Thread Patrice Dumas
On Sun, Nov 15, 2020 at 05:12:13PM +0100, Christopher Dimech wrote: > > But now I have understood the problem, > > Although the file exists at > ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg.png > because the html index file resides in a subdirectory generated by texi2any, > the > code got t

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
It is the fifth and I still get the Alt Text Attribute. The output was ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg If I put @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg,8cm,8cm,AltText,.png} I get AltText But now I have understood the problem, Although the file exists at ..

Re: Displaying images for html output

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 03:00:21PM +0100, Christopher Dimech wrote: > > This is what I have inputted which for texi2pdf > > @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg,12cm,,,.png} > > In html I simply get the print > > ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg > > But the i

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
This is what I have inputted which for texi2pdf @image{../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg,12cm,,,.png} In html I simply get the print ../Ideogr/Ch03b--Chmed/igc03--01--Sicl--CircAmRg But the image is not being displayed. > Sent: Sunday, November 15, 2020 at 10:40 AM > From: "Ga

Re: Displaying images for html output

2020-11-15 Thread Christopher Dimech
That's what I have done, but I cannot see the output in html. > Sent: Sunday, November 15, 2020 at 10:40 AM > From: "Gavin Smith" > To: "Christopher Dimech" > Cc: "help-texinfo gnu" > Subject: Re: Displaying images for html output > > On Sun, Nov 15, 2020 at 12:40:05AM +0100, Christopher Dimec

Re: @exdent in @itemize introduces excessive spacing

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 04:10:02AM +0100, Christopher Dimech wrote: > The following section adds excessive vertical space instead of only removing > indentation, > > @itemize @w{} > @item >@exdent @math{H_I(t)}: The Instrumental Transfer Response Function. > @item >@exdent @math{T_G(t)}: T

Re: Displaying images for html output

2020-11-15 Thread Patrice Dumas
On Sun, Nov 15, 2020 at 12:40:05AM +0100, Christopher Dimech wrote: > What is the command for displaying images for html output. When I use > @image, the image is only being displayed when using texi2pdf. It is @image. It is documented here https://www.gnu.org/software/texinfo/manual/texinfo/htm

Re: Displaying images for html output

2020-11-15 Thread Gavin Smith
On Sun, Nov 15, 2020 at 12:40:05AM +0100, Christopher Dimech wrote: > What is the command for displaying images for html output. When I use > @image, the image is only being displayed when using texi2pdf. Hello, have you consulted the documentation on the @image command? https://www.gnu.org/sof

Re: Failure in html output - Reference to nonexistent nodes

2020-11-15 Thread Patrice Dumas
On Sat, Nov 14, 2020 at 06:26:07PM +0100, Christopher Dimech wrote: > Still for productivity's sake, output is better than no output. > This is especially important for large works, where the author > does not want complete failure because of some inconsistency. It really depends. In particular f