Am 14.10.2010 um 17:31 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Hello,
> 
> this thing was probably shown during last Ctx meeting, but I can't remember 
> the answer.
> 
> Let's ave the Ctx code:
> 
> \typefile[default]{Myfile.txt}
> 
> and I'd need to call this command by Lua, like:
> 
> \startluacode
>  context.typefile("MyFile.txt")
> \stoluacode
> 
> But how to pass the "[default]" option?

context.typefile( { "default" }, "MyFile.txt" )

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to