> Sent: Saturday, December 05, 2020 at 8:06 AM
> From: "Gavin Smith" <[email protected]>
> To: "Christopher Dimech" <[email protected]>
> Cc: "help-texinfo gnu" <[email protected]>
> Subject: Re: Latest Development Version - @image with @value
>
> On Sat, Dec 05, 2020 at 03:31:19AM +0100, Christopher Dimech wrote:
> > I often end up with may @ifset and @ifclear in my documents.
> > Is it acceptable to call the following command?  It does work
> > as expected.
> >
> > @inlineifset{igrank-1, @set imgpth /home/hagbard}
> >
> > imgpth: @value{imgpth}
>
> Yes, that looks fine.  You could also do
>
> @ifset igrank-1
> @set imgpth /home/hagbard
> @end ifset

Wonderful.  Was using @ifset but at times using @inlineifset
is more convenient, whilst keeping initialisations compact.
This is most useful when setting up images (e.g. for the pdf
and html, where two files could be used).



Reply via email to