On Mon, 10 Oct 2011, Aditya Mahajan wrote:
Compiling the following document
~~~
\definehighlight [object] [style=mono]
\setupbackend [export=yes]
\starttext
\object{test}
\stoptext
~~~
gives
backend > export > saving xml data in 'test.export
backend > export > saving css image definitions in 'test-images.css
backend > export > saving css style definitions in 'test-styles.css
! LuaTeX error bad argument #3 to '?' (value expected).
system > tex > error on line 0 in file : LuaTeX error ...
<empty file>
<*> ./test
\stoptext
Quick workaround: use \definestartstop instead of \definehighlight.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________