Supporting export to PDF for stylesheets, markers and BOMs