
23 Apr
2025
23 Apr
'25
5:33 p.m.
Hi ConTeXt users, I'm trying to build a user-defined command called *mycommand* and followed the hints on (https://wiki.contextgarden.net/ConTeXt_and_Lua_programming/Tutorials/System_...) \def\dodefinemycommand[#1][#2]% {\getparameters[\??xx#1][#2]} \def\mycommand% {\dodoubleargumentwithset\dodefinemycommand\strut\blank[2*big] See what happens: \@@xxonex} and call it with: *\mycommand[one,two][x=1,y=2]* ** This yields a fatal error; while I'd expect something like: *See what happens: 1* What am I doing wrong here? ** ** Gerard P.S. Currently using version: 2023.02.14 17:44!