Khaled Hosny <khaledho...@eglug.org> writes: > On Fri, Jan 14, 2011 at 06:52:25PM +0100, Peter Münster wrote: >> Khaled Hosny <khaledho...@eglug.org> writes: >> >> > context.environment("foo.tex") -- throws an error >> >> context("\\environment foo ") > > The same error, no difference.
Then a minimal example is needed. This works here: local env = io.open("foo.tex", "w") env:write"\\setuplayout[width=1em]\n" env:close() context"\\environment foo " context.starttext() context"bla bla" context.stoptext() -- Peter Münster 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________