> Am 29.05.2020 um 22:18 schrieb Aditya Mahajan <adit...@umich.edu>:
> 
> On Fri, 29 May 2020, Henning Hraban Ramm wrote:
> 
>> In a similar setup I wanted to start every chapter with image and short vita 
>> the author and came up with the following (of course not without help from 
>> our wizards):
>> 
>> 
>> \doifelse{\structureuservariable{image}}{}{% if image empty
>> }{%
>> ...
>> }
>>   \doifnot{\structureuservariable{vita}}{}{% if vita
>>  ...
>>     }%
>>   }%
>> }%
> 
> You can use  `\doifsomething{\structureuservariable{image}}` etc which is 
> slightly more readable than \doifelse{...}\empty{}{} or \doifnot{...}\empty{}.

I tried several \doifs and this was the one that worked. Can’t remember the 
details, it’s been a while.

HR
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to