Minor docs changes.
Added a return text if PDF could not be generated.