help-texinfo
[Top][All Lists]
Advanced

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

Re: Latest Development Version - @image with @value


From: Christopher Dimech
Subject: Re: Latest Development Version - @image with @value
Date: Sat, 5 Dec 2020 08:58:35 +0100

> Sent: Saturday, December 05, 2020 at 8:06 AM
> From: "Gavin Smith" <gavinsmith0123@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> 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

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