On Mon, 21 Sep 2009, Hans Hagen wrote: > > As I've written yesterday, I suppose, that the following syntax is wanted: > > \getvariable{environment}{myVar} but this does not work... > > how does it look with: > > local flag, value = argument:match("^%-+(.-)=(.-)$") > > .+ -> .-
I've changed the line in mtxrun.lua and now it works fine, thanks Hans! There is another occurrence of this line in luatools.lua (line 3426), perhaps it should be changed there too? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________