Reference

show-pdf-tags(1)

show the internal Structure Tree of a tagged PDF file

NAME

show-pdf-tags - show the internal Structure Tree of a tagged PDF file

SYNOPSIS

show-pdf-tags [<options>] <PDF-File>

DESCRIPTION

The show-pdf-tags script shows the internal Structure Tree of a tagged PDF File.

The structure may be shown using an indented tree display using Unicode line characters, or as XML, or (primarily for debugging) as a linearisation of the Lua table structure obtained from the PDF file.

The XML display will use element names matching the names of the structure elements unless the --map option is used, in which case the standard PDF Structure element names will be used, as specified in the role mapping in the file.

It accepts a single PDF File and outputs to the standard output stream.

Valid <options> are:


        
    

    
        
--help|-h Prints this message and exits
--ignore-case Ignore case when sorting directory listing
--tree (default) Show as tree
--xml Show as XML
--table Show Lua table structure
--map Follow role mapping (xml printer)
--xmp Include XMP XML (xml printer)
--w3c- Add - to w3c namespaces to force browser display

SEE ALSO

Full manual available via 'texdoc show-pdf-tags'.

Repository : https://github.com/latex3/pdf_structure

Bug tracker: https://github.com/latex3/pdf_structure/issues

AUTHORS

Copyright (C) 2024–2026 The LaTeX Project