% Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% 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.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
% 
% This Current Maintainer of this work is Konstantin Korikov.
%
% This work consists of all files listed in manifest.txt.
%

%
% This is automaticaly generated file, do not edit it.
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eskdappsheet}[2006/11/28 v0.97 Approving Sheet GOST 2.105]

\RequirePackage{eskdlang}
\RequirePackage{eskdtitle}

\newcount\ESKD@appsheet@doc@cnt
\ESKD@appsheet@doc@cnt = 0

\newcommand{\ESKDapprovingDoc}[1]{%
  \advance \ESKD@appsheet@doc@cnt 1
  \@namedef{ESKD@appsheet@doc@\number\ESKD@appsheet@doc@cnt}{#1}}

\renewcommand{\ESKDtheTitleFieldV}{%
  \ESKDapprovingSheetName}

\renewcommand{\ESKDtheTitleFieldVI}{%
  \MakeUppercase{\ESKDtheSignature}}

\renewcommand{\ESKDtheTitleFieldVII}{}

\def\ESKDtheTitleFieldVIIIlb{}
\renewcommand{\ESKDtheTitleFieldVIIIlb}{%
  \ESKD@tmpcnta = 1
  \ESKD@tmpcntb = \ESKD@appsheet@doc@cnt
  \advance \ESKD@tmpcntb 1
  \loop
  \ifnum \ESKD@tmpcnta < \ESKD@tmpcntb
    \@nameuse{ESKD@appsheet@doc@\number\ESKD@tmpcnta}\par
    \advance \ESKD@tmpcnta 2
  \repeat}
\def\ESKDtheTitleFieldVIIIrb{}
\renewcommand{\ESKDtheTitleFieldVIIIrb}{%
  \ESKD@tmpcnta = 2
  \ESKD@tmpcntb = \ESKD@appsheet@doc@cnt
  \advance \ESKD@tmpcntb 1
  \loop
  \ifnum \ESKD@tmpcnta < \ESKD@tmpcntb
    \@nameuse{ESKD@appsheet@doc@\number\ESKD@tmpcnta}\par
    \advance \ESKD@tmpcnta 2
  \repeat}
\renewcommand{\ESKDtheTitleFieldVIII}{%
  \ESKD@title@split@field{\ESKDtheTitleFieldVIIIl}{\ESKDtheTitleFieldVIIIr}
  \par
  \ESKD@title@split@field{\ESKDtheTitleFieldVIIIlb}{\ESKDtheTitleFieldVIIIrb}}

\renewcommand{\ESKDtheTitleFieldX}{}

\renewcommand{\ESKDtitleFontX}{\ESKDfontIII}

\newcommand{\ESKDmakeApprovingSheet}{\maketitle}

