%% regulatory-nl.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,dutch]{ltxdoc}

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

\input{regulatory-preamble}

\zcRefTypeSetup{listing}{%
    Name-sg = Codelijst,
    name-sg = codelijst,
    Name-pl = Codelijsten,
    name-pl = codelijsten
}

\renewcommand{\lstlistingname}{Codelijst}

\newcommand\translation[2]{#2}

\masterdocument[ex1-]{example1-nl}{%
    path=../test/,%
    defs=example1,%
    author=E. Nijenhuis,%
    subject= Voorbeeld Één,%
    description = Het éérste voorbeeld document,
    ref label=van Voorbeeld Één
}

\masterdocument[ex2-]{example2-nl}{%
    path=../test/,%
    defs=example2,%
    author=E. Nijenhuis,%
    subject= Voorbeeld Twee,%
    description = Het tweede voorbeeld document,
    ref label=van Voorbeeld Twee
}

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

\newartifact{sign-example}{%
    path=../test/,%
    author=E. Nijenhuis,%
    subject= Voorbeeld Handtekening,%
    description = Het handtekening voorbeeld
}

\newartifact{source-example}{%
    path=../test/,%
    author=E. Nijenhuis,%
    subject= Voorbeeld Bronnen,%
    description = Het bronnen voorbeeld
}

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