Mojca Miklavec wrote:
On Tue, Mar 24, 2009 at 00:27, Alan BRASLAU wrote:
Great! I added a section to the wiki http://wiki.contextgarden.net/Expressions taking liberties to modify the presentation slightly.
A few points are broken, though, notably that the online ConTeXt doesn't appear to do luacode...
True. We don't want users to experiment with os.execute.
actually, the code for a more secure handling has been present from the start ... one can overload the normal executer --~ executer.register('.*') --~ executer.register('*') --~ executer.register('dir','ls') --~ executer.register('dir') --~ executer.finalize() --~ executer.execute('dir',"*.tex") --~ executer.execute("dir *.tex") --~ executer.execute("ls *.tex") --~ os.execute('ls') reminds me to add the exec and spawn variants when i have time i will add some commandline argument to control it Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------