[metapost] test for empty text?

Colin Fraizer metapost at cfraizer.com
Tue May 28 14:27:38 CEST 2013


Perhaps I am missing something really obvious:

 

-          Is there a way to test if the replacement text of a macro is
empty?

 

I have a macro which expands to a color or to empty (0 tokens), in which
case I want to use "background". 

 

Thanks,

--Colin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20130528/97f9d870/attachment.html>


More information about the metapost mailing list