%% Copyright (C) 2018 The University of Sheffield
%%               2018 The University of Paris-Sud
%%
%% License:
%%   This program can be redistributed and/or modified under the terms
%%   of the LaTeX Project Public License Distributed from CTAN
%%   archives in directory macros/latex/base/lppl.txt; either
%%   version 1 of the License, or any later version.
%%   OR
%%   The 2-clause BSD-style license.
%%  
%%   SPDX-License-Identifier: LPPL-1.0+ OR BSD-2-Clause

\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{DOF-cenelec_50128}
  [0000/00/00 Unreleased v0.0.0+%
  Document-Type Support Framework for Isabelle (CENELEC 50128).]

\RequirePackage{DOF-core}


\newkeycommand\isaDofSectionRequirement[label=,type=,main_author=,long_name=][1]{%
  \isamarkupfalse\isamarkupsection{#1}\label{\commandkey{label}}\isamarkuptrue%
}

\newkeycommand\isaDofSubSectionRequirement[label=,type=,main_author=,long_name=][1]{%
  \isamarkupfalse\isamarkupsection{#1}\label{\commandkey{label}}\isamarkuptrue%
}

\newkeycommand\isaDofSectionInterface[label=,type=,main_author=,kind=][1]{%
  \isamarkupfalse\isamarkupsection{#1}\label{\commandkey{label}}\isamarkuptrue%
}


\newkeycommand\isaDofTextEc[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}

\newkeycommand\isaDofTextSrac[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}

\expandafter\newkeycommand\csname isaDof.text.CENELEC_50128.assumption\endcsname%
[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}

\expandafter\newkeycommand\csname isaDof.text.CENELEC_50128.hypothesis\endcsname%
[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}

\expandafter\newkeycommand\csname isaDof.text.CENELEC_50128.srac\endcsname%
[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}
\expandafter\newkeycommand\csname isaDof.text.CENELEC_50128.ec\endcsname%
[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}
\expandafter\newkeycommand\csname isaDof.text.CENELEC_50128.test_result\endcsname%
[label=,type=,assumption=][1]{%
  \begin{isamarkuptext}%
      #1
  \end{isamarkuptext}%
}
