![](https://secure.gravatar.com/avatar/a0f6b595b0e3b7f3abba19eeb8261fc2.jpg?s=120&d=mm&r=g)
27 Aug
2007
27 Aug
'07
11:31 a.m.
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