Generate bookmark tree in PDFs.