Writing on a PDF file inside or outside the notebook.