Add pandoc support

Now generate pdfs with np.
Create html/pdf dirs if necessary

Previously, error created on first ng/np call.  Now we check and create
html/pdf directories as necessary.