help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] Calling User Defined functions


From: Christopher Dimech
Subject: Re: [help-texinfo] Calling User Defined functions
Date: Thu, 30 May 2019 19:48:56 +0200

I think a macro would do the trick and have been trying
The image is not showing up and I am getting an error.

@macro dispimg {imgnm}
File Name: \imgnm\
@center @image{\imgnm\,10cm,,,.png}
@end macro

@set imgnm ./q208--files/208--2051
@address@hidden



> Sent: Thursday, May 30, 2019 at 5:36 PM
> From: "Christopher Dimech" <address@hidden>
> To: "Christopher Dimech" <address@hidden>
> Cc: "help-texinfo gnu" <address@hidden>
> Subject: Re: [help-texinfo] Calling User Defined functions
>
>
> 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 @address@hidden,@value{imgsz},,,.png}
> @address@hidden
>   @flushright
>     @* Label: @address@hidden
>     @c Return to @ref{identification--of--hazards,, @value{idh}}.
>   @end flushright
> }
> @address@hidden
> @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" <address@hidden>
> > To: "help-texinfo gnu" <address@hidden>
> > 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
> >
> >
>



reply via email to

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