latex-style-esdpx/xespdinfo.sty

133 lines
4.1 KiB
TeX

% 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{xespdinfo}[2020/03/20 v1.00 Document Information]
\newcommand{\XESPDtheDepartment}{}
\newcommand{\XESPDdepartment}[1]{\renewcommand{\XESPDtheDepartment}{#1}}
\newcommand{\XESPDtheCompany}{}
\newcommand{\XESPDcompany}[1]{\renewcommand{\XESPDtheCompany}{#1}}
\newcommand{\XESPDtheClassCode}{}
\newcommand{\XESPDclassCode}[1]{\renewcommand{\XESPDtheClassCode}{#1}}
\newcommand{\XESPDtheUnitName}{}
\newcommand{\XESPDunitName}[1]{%
\renewcommand{\XESPDtheUnitName}{#1}%
\renewcommand{\@title}{#1}}
\newcommand{\XESPDtheTitle}{\XESPDtheUnitName}
\newcommand{\XESPDtitle}[1]{\XESPDunitName{#1}}
\renewcommand{\title}[1]{\XESPDunitName{#1}}
\newcommand{\XESPDtheDocName}{}
\newcommand{\XESPDdocName}[1]{\renewcommand{\XESPDtheDocName}{#1}}
\newcommand{\XESPDtheSignature}{}
\newcommand{\XESPDsignature}[1]{\renewcommand{\XESPDtheSignature}{#1}}
\newcommand{\XESPDtheLetterI}{}
\newcommand{\XESPDtheLetterII}{}
\newcommand{\XESPDtheLetterIII}{}
\newcommand{\XESPDletter}[3]{%
\renewcommand{\XESPDtheLetterI}{#1}%
\renewcommand{\XESPDtheLetterII}{#2}%
\renewcommand{\XESPDtheLetterIII}{#3}}
\newcommand{\XESPDtheMaterial}{}
\newcommand{\XESPDmaterial}[1]{%
\renewcommand{\XESPDtheMaterial}{#1}}
\newcommand{\XESPDtheMass}{}
\newcommand{\XESPDmass}[1]{%
\renewcommand{\XESPDtheMass}{#1}}
\newcommand{\XESPDtheScale}{}
\newcommand{\XESPDscale}[1]{%
\renewcommand{\XESPDtheScale}{#1}}
\newcommand{\XESPDtheGroup}{}
\newcommand{\XESPDgroup}[1]{\renewcommand{\XESPDtheGroup}{#1}}
\newcommand{\XESPDtheAuthor}{}
\newcommand{\XESPDauthor}[1]{%
\renewcommand{\XESPDtheAuthor}{#1}%
\renewcommand{\@author}{#1}}
\renewcommand{\author}[1]{\XESPDauthor{#1}}
\newcommand{\XESPDtheChecker}{}
\newcommand{\XESPDchecker}[1]{\renewcommand{\XESPDtheChecker}{#1}}
\newcommand{\XESPDtheNormContr}{}
\newcommand{\XESPDnormContr}[1]{\renewcommand{\XESPDtheNormContr}{#1}}
\newcommand{\XESPDtheApprovedBy}{}
\newcommand{\XESPDapprovedBy}[1]{\renewcommand{\XESPDtheApprovedBy}{#1}}
\newcommand{\XESPDtheFileName}{}
\newcommand{\XESPDfileName}[1]{\renewcommand{\XESPDtheFileName}{#1}}
\newcommand{\XESPDtheOrgCode}{}
\newcommand{\XESPDorgCode}[1]{\renewcommand{\XESPDtheOrgCode}{#1}}
\newcommand{\XESPDtheDocCode}{}
\newcommand{\XESPDdocCode}[1]{\renewcommand{\XESPDtheDocCode}{#1}}
\newcommand{\XESPDtheDocType}{}
\newcommand{\XESPDdocType}[1]{\renewcommand{\XESPDtheDocType}{#1}}
\newcommand{\XESPDtheLitera}{}
\newcommand{\XESPDlitera}[1]{\renewcommand{\XESPDtheLitera}{#1}}
\newcommand{\XESPDtheControllerStampI}{}
\newcommand{\XESPDcontrollerStampI}[1]{\renewcommand{\XESPDtheControllerStampI}{#1}}
\newcommand{\XESPDtheControllerStampII}{}
\newcommand{\XESPDcontrollerStampII}[1]{\renewcommand{\XESPDtheControllerStampII}{#1}}
\newcommand{\XESPDtheYear}{\number\year}
\newcommand{\XESPDtheMonth}{\number\month}
\newcommand{\XESPDtheDay}{\number\day}
\def\XESPD@set@date#1/#2/#3 enddate{%
\renewcommand{\XESPDtheYear}{#1}%
\renewcommand{\XESPDtheMonth}{#2}%
\renewcommand{\XESPDtheDay}{#3}}
\newcommand{\XESPDdate}[1]{%
\XESPD@set@date #1 enddate%
\renewcommand{\@date}{#1}}
\renewcommand{\date}[1]{\XESPDdate{#1}}
\RequirePackage{xespdafterpkg}
\RequirePackage{ifxetex}
\XESPD@after@package{hyperref}{%
\ifxetex
\hypersetup{xetex,%
breaklinks,pdftitle=\XESPDtheUnitName,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\else
\hypersetup{%
breaklinks,pdftitle=\XESPDtheUnitName,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\fi
}