help-texinfo
[Top][All Lists]
Advanced

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

Macro Determining of Arguments


From: Christopher Dimech
Subject: Macro Determining of Arguments
Date: Sat, 25 Jul 2020 20:03:58 +0200

I have written a macro for texinfo

@macro GPage{titl, titlCn, subTitl, subTitlCn, date}
...
@end macro


Call to macro
@GPage{, 1 @ User Freedom, Sub, Test, Friday 24 July 2020}

Is there a way to determine whether an argument has been passed or not?
Currently I am checking using set variables

@macro GPage{titl, titlCn, subTitl, subTitlCn, date}

@title @sc{\titl\ @* \titlCn\}
@inlineifset{GSt, @subtitle \subTitl\}
@inlineifset{GToday , @subtitle \subTitlCn\ @today{}}
@inlineifclear{GToday , @subtitle \subTitlCn\ \date\}

@end macro

---------------------
Christopher Dimech
Chief Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy




reply via email to

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