context --ctx=x-ldx char-cmp.lua fails with {/opt/luatex/minimals/tex/texmf/fonts/map/dvips/iwona/iwona-ex.map} [1.1] [2.2] [3.3] Illegal parameter number in definition of \!!stringa. <to be read again> 1 \doprocesscommalist ... \commalevel \endcsname ##1 ,{#2{##1}\doprocesscommait... \expanded ...long \xdef \@@expanded {\noexpand #1} \@@expanded l.1 \xmlsetup{764}{ldx:function}
\xmlflush #1->\ctxlua {lxml.flush("#1")} \doifelsenothing #1->\edef \!!stringa {#1 }\ifx \!!stringa \empty \expandafte... ... l.2 \xmlprocess{\xmldocument}{./char-cmp.lua}{} -- luigi ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________