> Don't ask me why it works when used as a module, but fails when module > documentation has to be typeset.
Actually the second problem happens when one uses your file with Mark II as well: ConTeXt tries to expand \savebuffer and finds a \ctxlua which it doesn't know, since it is running pdfTeX. You should really check for \ctxlua instead of \savebuffer in the line you added (\ifx\ctxlua\undefined ...); \savebuffer is defined anyway (in core-buf.tex) but when running Mark II it expands to something pdfTeX doesn't understand. Arthur ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________