Common helpers for generating PDF documents (reports with charts,...) using LaTeX