latex-style-esdpx/espdinfo.sty

109 lines
3.3 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{espdinfo}[2010/01/14 v0.98 Document Information]
\newcommand{\ESPDtheDepartment}{}
\newcommand{\ESPDdepartment}[1]{\renewcommand{\ESPDtheDepartment}{#1}}
\newcommand{\ESPDtheCompany}{}
\newcommand{\ESPDcompany}[1]{\renewcommand{\ESPDtheCompany}{#1}}
\newcommand{\ESPDtheClassCode}{}
\newcommand{\ESPDclassCode}[1]{\renewcommand{\ESPDtheClassCode}{#1}}
\newcommand{\ESPDtheUnitName}{}
\newcommand{\ESPDunitName}[1]{%
\renewcommand{\ESPDtheUnitName}{#1}%
\renewcommand{\@title}{#1}}
\newcommand{\ESPDtheTitle}{\ESPDtheUnitName}
\newcommand{\ESPDtitle}[1]{\ESPDunitName{#1}}
\renewcommand{\title}[1]{\ESPDunitName{#1}}
\newcommand{\ESPDtheProject}{}
\newcommand{\ESPDproject}[1]{\renewcommand{\ESPDtheProject}{#1}}
\newcommand{\ESPDtheDocName}{}
\newcommand{\ESPDdocName}[1]{\renewcommand{\ESPDtheDocName}{#1}}
\newcommand{\ESPDtheSignature}{}
\newcommand{\ESPDsignature}[1]{\renewcommand{\ESPDtheSignature}{#1}}
\newcommand{\ESPDtheFileName}{}
\newcommand{\ESPDfileName}[1]{\renewcommand{\ESPDtheFileName}{#1}}
\newcommand{\ESPDtheLetterI}{}
\newcommand{\ESPDtheLetterII}{}
\newcommand{\ESPDtheLetterIII}{}
\newcommand{\ESPDletter}[3]{%
\renewcommand{\ESPDtheLetterI}{#1}%
\renewcommand{\ESPDtheLetterII}{#2}%
\renewcommand{\ESPDtheLetterIII}{#3}}
\newcommand{\ESPDtheMaterial}{}
\newcommand{\ESPDmaterial}[1]{%
\renewcommand{\ESPDtheMaterial}{#1}}
\newcommand{\ESPDtheMass}{}
\newcommand{\ESPDmass}[1]{%
\renewcommand{\ESPDtheMass}{#1}}
\newcommand{\ESPDtheScale}{}
\newcommand{\ESPDscale}[1]{%
\renewcommand{\ESPDtheScale}{#1}}
\newcommand{\ESPDtheGroup}{}
\newcommand{\ESPDgroup}[1]{\renewcommand{\ESPDtheGroup}{#1}}
\newcommand{\ESPDtheAuthor}{}
\newcommand{\ESPDauthor}[1]{%
\renewcommand{\ESPDtheAuthor}{#1}%
\renewcommand{\@author}{#1}}
\renewcommand{\author}[1]{\ESPDauthor{#1}}
\newcommand{\ESPDtheChecker}{}
\newcommand{\ESPDchecker}[1]{\renewcommand{\ESPDtheChecker}{#1}}
\newcommand{\ESPDtheNormContr}{}
\newcommand{\ESPDnormContr}[1]{\renewcommand{\ESPDtheNormContr}{#1}}
\newcommand{\ESPDtheApprovedBy}{}
\newcommand{\ESPDapprovedBy}[1]{\renewcommand{\ESPDtheApprovedBy}{#1}}
\newcommand{\ESPDtheYear}{\number\year}
\newcommand{\ESPDtheMonth}{\number\month}
\newcommand{\ESPDtheDay}{\number\day}
\def\ESPD@set@date#1/#2/#3 enddate{%
\renewcommand{\ESPDtheYear}{#1}%
\renewcommand{\ESPDtheMonth}{#2}%
\renewcommand{\ESPDtheDay}{#3}}
\newcommand{\ESPDdate}[1]{%
\ESPD@set@date #1 enddate%
\renewcommand{\@date}{#1}}
\renewcommand{\date}[1]{\ESPDdate{#1}}
\RequirePackage{espdafterpkg}
\ESPD@after@package{hyperref}{%
\hypersetup{breaklinks,pdftitle=\ESPDtheUnitName,%
pdfsubject=\ESPDtheDocName,pdfauthor=\ESPDtheAuthor}}