diff --git a/show-pdf-tags/README.md b/show-pdf-tags/README.md index fbe4ad7..5f8fbc0 100644 --- a/show-pdf-tags/README.md +++ b/show-pdf-tags/README.md @@ -1,6 +1,6 @@ # Print structure element hierarchy for Tagged PDF -show-pdf-tags version 1.4 +show-pdf-tags version 1.5 Print a plain text or XML tree representing the structure of tagged PDF files. diff --git a/show-pdf-tags/show-pdf-tags.lua b/show-pdf-tags/show-pdf-tags.lua index a535811..ad893a1 100755 --- a/show-pdf-tags/show-pdf-tags.lua +++ b/show-pdf-tags/show-pdf-tags.lua @@ -1,6 +1,6 @@ #!/usr/bin/env texlua -local show_pdf_tags_version = "1.4" +local show_pdf_tags_version = "1.5" kpse.set_program_name'lualatex' @@ -701,9 +701,9 @@ local function print_tree_xml(tree, ctx) end print ("\n ") recurse(tree, ' ', '', '', ' ') - print (" \n") + print (" ") if show_xmp then - print(" \n" ..pdfe.readwholestream(ctx.xmp,true):gsub("\n[ \n]*\n","\n") .. "\n \n") + print(" \n" ..pdfe.readwholestream(ctx.xmp,true):gsub("\n[ \n]*\n","\n") .. "\n ") end print ("") return