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