pdf generation from latex template with inclusion of graphs is pretty much working