SHOW-PDF-TAGS(1)
π show-pdf-tags(1) β General Commands Manual π
okay bestie, sit down, hydrate, because we're about to peek inside a tagged PDF's soul. this is a General Commands Manual page for show-pdf-tags, and it is lowkey iconic.
β¨ NAME β¨
show-pdf-tags β show the internal Structure Tree of a tagged PDF file π¦
πΈ SYNOPSIS πΈ
show-pdf-tags [<options>] <PDF-File>
π DESCRIPTION π
so the show-pdf-tags script does exactly what it says on the tin: it shows the internal Structure Tree of a tagged PDF File. no cap. π
you can see that structure in a few different ways:
- an indented tree display using Unicode line characters
- as XML
- or (and this one is primarily for debugging, so, devs only, iykyk) as a linearisation of the Lua table structure obtained from the PDF file
now, the XML display? it will use element names matching the names of the structure elements β unless you bring the --map option into the chat, in which case the standard PDF Structure element names get used instead, as specified in the role mapping in the file. periodt.
it accepts a single PDF File and outputs to the standard output stream. one file, one stream, very demure.
Valid <options> are:
--help,-hβ prints this message and exits (the classic "help me, i'm lost" move) π--ignore-caseβ ignore case when sorting directory listing--treeβ show as tree. this is the default, bestie, it's already on--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
heads up:--map,--xmpand--w3c-are all tied to the xml printer, so they're giving side-quest energy unless you're in XML mode.
π SEE ALSO π
- Full manual available via
texdoc show-pdf-tags. go read it, fr fr π - Repository:
https://github.com/latex3/pdf_structure - Bug tracker:
https://github.com/latex3/pdf_structure/issues
π AUTHORS π
Copyright (C) 2024β2026 The LaTeX Project π
and that's the whole page, bestie β brought to you by LaTeX, version dated 2025-01-28, living its SHOW-PDF-TAGS(1) main character era in the General Commands Manual. slay, stay tagged, mwah πβ¨
π¦ where this page comes from
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- fedora 44: texlive-show-pdf-tags 12:svn77604-105.fc44 Β· MIT
- fedora 44: texlive-show-pdf-tags 12:svn77604-111.fc44 Β· MIT
- ubuntu stonking: texlive-extra-utils 2026.20260711-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms