On Thu, May 30, 2019 at 07:08:13PM +0200, Christopher Dimech wrote: > I have produced a simple function put I do not know how to use it. > Tried checking the manual but have not been able to find where it > mentions how user define functions can be used. > > @deffn Command disp-expr imgnm > The name of the image is @var{imgnm} > @end deffn >
This does not create a function you can call from Texinfo. I suggest reading the Texinfo manual on how to define macros using the @macro command.