Code for PDF tagging using pdfLaTeX and LuaLaTeX
