\iffalse meta-comment

File: ltx-talk-code.tex Copyright (C) 2025,2026 Joseph Wright

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 "ltx-talk bundle" (The Work in LPPL)
and all files in that bundle must be distributed together.

The released version of this bundle is available from CTAN.

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

The development version of the bundle can be found at

   https://github.com/josephwright/ltx-talk

for those people who are interested.

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

\fi

\documentclass{l3doc}

% As we are dealing with a class, this has to be done manually
\def\filedate{2026-02-18}
\def\fileversion{v0.4.6}

% Commands for this document
\ExplSyntaxOn
\makeatletter
\NewDocumentCommand \acro { m }
  {
    \textsc
      {
        \exp_args:NV \tl_if_head_eq_charcode:nNTF \f@series { m }
          { \text_lowercase:n }
          { \use:n }
            {#1}
      }
  }
\makeatother
\ExplSyntaxOff
\NewDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}}
\NewDocumentCommand\foreign{m}{\textit{#1}}

% Standard settings
\EnableDocumentation
\EnableImplementation

\begin{document}

\title{%
  \pkg{ltx-talk} -- A class for typesetting presentations%
  \thanks{This file describes \fileversion,
    last revised \filedate.}%
}

\author{%
  Joseph Wright%
  \thanks{%
    E-mail: \email{joseph@texdev.net}%
  }%
}

\date{Released \filedate}

\pagenumbering{roman}

\maketitle
\tableofcontents
\clearpage
\pagenumbering{arabic}

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

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

% Load the source files in order
\DocInput{ltx-talk.dtx}
\DocInput{ltx-talk-color.dtx}
\DocInput{ltx-talk-decode.dtx}
\DocInput{ltx-talk-frame.dtx}
\DocInput{ltx-talk-frame-structure.dtx}
\DocInput{ltx-talk-mode.dtx}
\DocInput{ltx-talk-overlay.dtx}
\DocInput{ltx-talk-required.dtx}
\DocInput{ltx-talk-structure.dtx}
\DocInput{ltx-talk-title.dtx}
\clearpage

\DelayPrintIndex

\end{document}
