demo file remarks



> I would like to create demo files  *.dem which include comments on what is 
> happening.

How about this:
"a classical textbook example of differentiation"$
x^x^x;
diff(%,x);

HTH,
Harald