 \iffalse meta-comment

% File: tagpdf-code.tex

 Copyright (C) 2019-2026 Ulrike Fischer

 It may be distributed and/or modified under the conditions of the
 LaTeX Project Public License (LPPL), either version 1.3c of this
 license or (at your option) any later version.  The latest version
 of this license is in the file

    https://www.latex-project.org/lppl.txt

 This file is part of the "tagpdf bundle" (The Work in LPPL)
 and all files in that bundle must be distributed together.

 -----------------------------------------------------------------------

 The development version of the bundle can be found at

    https://github.com/latex3/tagpdf

 for those people who are interested.

 \fi
\DocumentMetadata{tagging=on}
\documentclass{l3in2edoc}
\usepackage{longtable}

\input{tagpdf-docelements}
\begin{document}

\GetFileInfo{tagpdf.sty}

\title{%
  \pkg{tagpdf} -- \LaTeX{} kernel code for PDF tagging%
  \thanks{This file describes \fileversion,
    last revised \filedate.}%
}

\author{^^A
 Ulrike Fischer\thanks
   {^^A
     E-mail:
       \href{mailto:fischer@troubleshooting-tex.de}
         {fischer@troubleshooting-tex.de}^^A
   }^^A
}

\date{Released \filedate}

\maketitle
% reset \title:
\makeatletter
\providecommand\title{}
\RenewDocumentCommand\title{m}{\def\@title{#1}}
\makeatother

\tableofcontents

\clearpage

% Make the separate source files into a single whole, format-wise
\makeatletter
\NewDocumentCommand\maketitle{}{%
  \clearpage
  \part{\@title}%
}
\makeatother
\renewcommand*\partname{Part}
\DeclareExpandableDocumentCommand\thanks{m}{}

\let\DelayPrintIndex\PrintIndex
\RenewDocumentCommand\PrintIndex{}{}

% Load the source files in order
\DocInput{tagpdf.dtx}
\DocInput{tagpdf-checks.dtx}
\DocInput{tagpdf-user.dtx}
\DocInput{tagpdf-tree.dtx}
\DocInput{tagpdf-mc-shared.dtx}
\DocInput{tagpdf-mc-generic.dtx}
\DocInput{tagpdf-mc-luacode.dtx}
\DocInput{tagpdf-struct.dtx}
\DocInput{tagpdf-backend.dtx}
\DocInput{tagpdf-roles.dtx}
\DocInput{tagpdf-space.dtx}
\clearpage

\DelayPrintIndex

\end{document}
