[NTG-context] \doifnotdocumentargument in proper Lua

Pablo Rodriguez oinos at gmx.es
Fri Apr 29 22:20:55 CEST 2022


Dear list,

I have the following command in one of my documents:

  \doifnotdocumentargument{no-metadata}
    {\ctxlua{document.transfer_metadata(document.main_file)}}

Which would be the right way to write \doifnotdocumentargument in proper
Lua?

Many thanks for your help,

Pablo


More information about the ntg-context mailing list