process document with smartypants