show-pdf-tags - Man Page

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

Info

2025-01-28 LaTeX