PDF for reports tested and fine. Some debuggings