Added ppdata and ppwrote.

Some wrestling with a boolean flag, which doesn't really work properly
yet.  I might dump it and leave the citations in the source code
instead.