I think I have made a mistake. What I want to do is call the following
thing everytime by just passing the parameters.
@float Figure,fig-208-2051
@center @image{@value{imgnm},@value{imgsz},,,.png}
@caption{@value{explan}
@flushright
@* Label: @t{@value{fignm}}
@c Return to @ref{identification--of--hazards,, @value{idh}}.
@end flushright
}
@shortcaption{@value{shtc}.}
@end float
Is there any simpler way to call the same sequence of commands but using
just different parameters for me to display many figures?
> Sent: Thursday, May 30, 2019 at 5:08 PM
> From: "Christopher Dimech" <[email protected]>
> To: "help-texinfo gnu" <[email protected]>
> Subject: [help-texinfo] Calling User Defined functions
>
> 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
>
>