Manual updated.
[eskdx.git] / source / eskdinfo.sty.in
blob588a899791fdf3fe3369aea4a7488fca4cb96d6b
1 % Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2003/12/01 or later.
11 % This work has the LPPL maintenance status "maintained".
13 % This Current Maintainer of this work is Konstantin Korikov.
15 % This work consists of all files listed in manifest.txt.
17 m4_ESKDX_INIT
18 m4_FILE_INIT
19 \NeedsTeXFormat{LaTeX2e}
20 \ProvidesPackage{eskdinfo}[m4_dnl
21 m4_FILE_ID([[$Date:: $]]) Document Information]
23 m4_dnl ×ÅÄÏÍÓÔ×Ï
24 \newcommand{\ESKDtheDepartment}{}
25 \newcommand{\ESKDdepartment}[1]{\renewcommand{\ESKDtheDepartment}{#1}}
27 m4_dnl ÐÒÅÄÐÒÉÑÔÉÅ
28 \newcommand{\ESKDtheCompany}{}
29 \newcommand{\ESKDcompany}[1]{\renewcommand{\ESKDtheCompany}{#1}}
31 m4_dnl ËÏÄ ÐÏ ËÌÁÓÓÉÆÉËÁÔÏÒÕ ÐÒÏÄÕËÃÉÉ
32 \newcommand{\ESKDtheClassCode}{}
33 \newcommand{\ESKDclassCode}[1]{\renewcommand{\ESKDtheClassCode}{#1}}
35 m4_dnl ÎÁÉÍÅÎÏ×ÁÎÉÅ ÉÚÄÅÌÉÑ/ÔÅÍÁ
36 \newcommand{\ESKDtheUnitName}{}
37 \newcommand{\ESKDunitName}[1]{%
38 \renewcommand{\ESKDtheUnitName}{#1}%
39 \renewcommand{\@title}{#1}}
40 \newcommand{\ESKDtheTitle}{\ESKDtheUnitName}
41 \newcommand{\ESKDtitle}[1]{\ESKDunitName{#1}}
42 \renewcommand{\title}[1]{\ESKDunitName{#1}}
44 m4_dnl ÎÁÚ×ÁÎÉÅ ÄÏËÕÍÅÎÔÁ
45 \newcommand{\ESKDtheDocName}{}
46 \newcommand{\ESKDdocName}[1]{\renewcommand{\ESKDtheDocName}{#1}}
48 m4_dnl ÏÂÏÚÎÁÞÅÎÉÅ ÄÏËÕÍÅÎÔÁ
49 \newcommand{\ESKDtheSignature}{}
50 \newcommand{\ESKDsignature}[1]{\renewcommand{\ESKDtheSignature}{#1}}
52 m4_dnl ÌÉÔÅÒÁ
53 \newcommand{\ESKDtheLetterI}{}
54 \newcommand{\ESKDtheLetterII}{}
55 \newcommand{\ESKDtheLetterIII}{}
56 \newcommand{\ESKDletter}[3]{%
57 \renewcommand{\ESKDtheLetterI}{#1}%
58 \renewcommand{\ESKDtheLetterII}{#2}%
59 \renewcommand{\ESKDtheLetterIII}{#3}}
61 m4_dnl ÏÂÏÚÎÁÞÅÎÉÅ ÍÁÔÅÒÉÁÌÁ ÄÅÔÁÌÉ
62 \newcommand{\ESKDtheMaterial}{}
63 \newcommand{\ESKDmaterial}[1]{%
64 \renewcommand{\ESKDtheMaterial}{#1}}
66 m4_dnl ÍÁÓÓÁ ÉÚÄÅÌÉÑ
67 \newcommand{\ESKDtheMass}{}
68 \newcommand{\ESKDmass}[1]{%
69 \renewcommand{\ESKDtheMass}{#1}}
71 m4_dnl ÍÁÓÛÔÁÂ
72 \newcommand{\ESKDtheScale}{}
73 \newcommand{\ESKDscale}[1]{%
74 \renewcommand{\ESKDtheScale}{#1}}
76 m4_dnl ÇÒÕÐÐÁ, ÉÎÄÅËÓ, ÉÌÉ ÎÁÉÍÅÎÏ×ÁÎÉÅ ÐÒÅÄÐÒÉÑÔÉÑ
77 \newcommand{\ESKDtheGroup}{}
78 \newcommand{\ESKDgroup}[1]{\renewcommand{\ESKDtheGroup}{#1}}
80 m4_dnl ÆÁÍÉÌÉÑ Á×ÔÏÒÁ
81 \newcommand{\ESKDtheAuthor}{}
82 \newcommand{\ESKDauthor}[1]{%
83 \renewcommand{\ESKDtheAuthor}{#1}%
84 \renewcommand{\@author}{#1}}
85 \renewcommand{\author}[1]{\ESKDauthor{#1}}
87 m4_dnl ÆÁÍÉÌÉÑ ÐÒÏ×ÅÒÑÀÝÅÇÏ
88 \newcommand{\ESKDtheChecker}{}
89 \newcommand{\ESKDchecker}[1]{\renewcommand{\ESKDtheChecker}{#1}}
91 m4_dnl ÆÁÍÉÌÉÑ ÎÏÒÍÏËÏÎÔÒÏÌÅÒÁ
92 \newcommand{\ESKDtheNormContr}{}
93 \newcommand{\ESKDnormContr}[1]{\renewcommand{\ESKDtheNormContr}{#1}}
95 m4_dnl ÆÁÍÉÌÉÑ ÕÔ×ÅÒÄÉ×ÛÅÇÏ
96 \newcommand{\ESKDtheApprovedBy}{}
97 \newcommand{\ESKDapprovedBy}[1]{\renewcommand{\ESKDtheApprovedBy}{#1}}
99 m4_dnl ÄÁÔÁ
100 \newcommand{\ESKDtheYear}{\number\year}
101 \newcommand{\ESKDtheMonth}{\number\month}
102 \newcommand{\ESKDtheDay}{\number\day}
103 \def\ESKD@set@date#1/#2/#3 enddate{%
104 \renewcommand{\ESKDtheYear}{#1}%
105 \renewcommand{\ESKDtheMonth}{#2}%
106 \renewcommand{\ESKDtheDay}{#3}}
107 \newcommand{\ESKDdate}[1]{%
108 \ESKD@set@date #1 enddate%
109 \renewcommand{\@date}{#1}}
110 \renewcommand{\date}[1]{\ESKDdate{#1}}
112 \RequirePackage{eskdafterpkg}
113 m4_dnl ÎÁÓÔÒÏÊËÉ ÐÁËÅÔÁ hyperref
114 \ESKD@after@package{hyperref}{%
115 \hypersetup{breaklinks,pdftitle=\ESKDtheUnitName,%
116 pdfsubject=\ESKDtheDocName,pdfauthor=\ESKDtheAuthor}}
118 m4_dnl vim:ft=tex:sw=2:ai