%% \iffalse
%% Copyright 2013-2022 Charles Duan. This program is free software: you can
%% redistribute it and/or modify it under the terms of the GNU General Public
%% License as published by the Free Software Foundation, either version 3 of the
%% License, or (at your option) any later version.
%%
%% This program is distributed in the hope that it will be useful, but WITHOUT
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
%% FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
%% details.
%%
%% You should have received a copy of the GNU General Public License along with
%% this program.  If not, see <http://www.gnu.org/licenses/>.
%% \fi
%%
\expandafter\ifx\csname @twoclasseserror\endcsname \documentclass
    \ifdefined\HidocDidTitle
        \def\thisis#1#2{}
    \else
        \def\thisis#1#2{%
            \section[#2]{\DescribeFile{#1}#2}
            \label{s:#1}%
        }%
    \fi
    \setcounter{secnumdepth}{100}
    \expandafter\endinput
\else
    \def\thisis#1#2{%
        \title{#2 (\texttt{\jobname.dtx})}\maketitle
        \gdef\HidocDidTitle{}
        \renewcommand\thesubsection{\arabic{subsection}}
        \DocInput{src/\jobname.dtx}
        \end{document}
    }%
\fi
\documentclass[11pt]{ltxdoc}
\usepackage{hidoc}
\EnableCrossrefs
\PageIndex
\RecordChanges
\makeatletter
\begin{document}

\author{Charles Duan}

