added convenient per document output for documentation

-jeffgee@cmu.edu