Skip to content

Commit 90211c6

Browse files
committed
show-pdf-tags (4feb26)
git-svn-id: svn://tug.org/texlive/trunk/Build/source@77604 c570f23f-e606-0410-a88d-b1316a301751
1 parent 5945313 commit 90211c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

texk/texlive/linked_scripts/show-pdf-tags/show-pdf-tags.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env texlua
22

3-
local show_pdf_tags_version = "1.4"
3+
local show_pdf_tags_version = "1.5"
44

55
kpse.set_program_name'lualatex'
66

@@ -701,9 +701,9 @@ local function print_tree_xml(tree, ctx)
701701
end
702702
print ("<PDF>\n <StructTreeRoot>")
703703
recurse(tree, ' ', '', '', ' ')
704-
print (" </StructTreeRoot>\n")
704+
print (" </StructTreeRoot>")
705705
if show_xmp then
706-
print(" <XMP>\n" ..pdfe.readwholestream(ctx.xmp,true):gsub("\n[ \n]*\n","\n") .. "\n </XMP>\n")
706+
print(" <XMP>\n" ..pdfe.readwholestream(ctx.xmp,true):gsub("\n[ \n]*\n","\n") .. "\n </XMP>")
707707
end
708708
print ("</PDF>")
709709
return

0 commit comments

Comments
 (0)