%% regulatory-en.tex
%% Copyright 2024 E. Nijenhuis
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status ‘maintained’.
%
% The Current Maintainer of this work is E. Nijenhuis.
%
% This work consists of the files listed in the meta-comment of
% regulatory-struct.dtx.
% PDF management has to be active for the attachments of regulatory-attachments.
\DocumentMetadata{}
% Before the class, because regulatory loads hyperref and this has to reach it:
% hyperref would otherwise encapsulate every index entry a second time and
% makeindex would write an empty index. See regulatory-preamble.tex.
\PassOptionsToPackage{hyperindex=false}{hyperref}
\documentclass[10pt,english]{ltxdoc}

%! suppress = InclusionLoop
\usepackage{regulatory}
\usepackage{tabularx}
\usepackage[english,dutch]{babel}

\input{regulatory-preamble}
\newcommand\translation[2]{#1}
\masterdocument[ex1-]{example1-en}{%
    path=../test/,%
    defs=example1,%
    author=E. Nijenhuis,%
    subject= Example One,%
    description = The first example document,
    ref label=of Example One
}

\masterdocument[ex2-]{example2-en}{%
    path=../test/,%
    defs=example2,%
    author=E. Nijenhuis,%
    subject= Example Two,%
    description = The second example document,
    ref label=of Example Two
}

\newartifact{md-example}{%
    path=../test/,%
    author=E. Nijenhuis,%
    subject= Markdown Example,%
    description = The Markdown example
}

\newartifact{sign-example}{%
    path=../test/,%
    author=E. Nijenhuis,%
    subject= Signature Example,%
    description = The signature example
}

\newartifact{source-example}{%
    path=../test/,%
    author=E. Nijenhuis,%
    subject= Sources Example,%
    description = The sources example
}

% Document
\begin{document}
    \selectlanguage{english}
    \input{regulatory}
\end{document}
