Hi list,
I'm currently messing around with a custom lua script (a pretty printer)
and I have some beginner trouble.
First: I put the file in "MyContexDir\tex\texmf\tex\context\base\". What
do I have to do to let ConTeXt work with the script and to let ConTeXt
know that something has changed in the script? Is "context --generate"
enough (after initializing with "setuptex.bat")?
Second: How can I debug errors in my *.lua file? Just put
print("debug message")
in the function that is (supposed to be) called?
Any help appreciated and thanks in advance!
Stefan
___________________________________________________________________________________
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
___________________________________________________________________________________