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

Reply via email to