\input regression-test.tex \DocumentMetadata{tagging=on,lang=en-US} \documentclass{article} \usepackage{tagdirtree} \begin{document} \START % Tagging active, but no tree comparison: any tagpdf error or warning % about the structure shows up in the log. % Without the probe the test would also pass where \DocumentMetadata does % not understand tagging=on and the document is silently left untagged. \ExplSyntaxOn \TYPE{tagging~active:~\tag_if_active:TF{yes}{no}} \ExplSyntaxOff \begin{tagdirtree} \dtdir{project}{root directory}{ \dtdir{src}{}{ \dtfile{main.py}{entry point} } \dtarchive{data.zip}{raw data} \dtfile{README.md}{} } \end{tagdirtree} \TYPE{depth after tree: \tagdirtreedepth} \TYPE{done} \END