added block title to generated pdfs