summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eskdx/source/eskdinfo.sty.in
blob: a171b892a0e4fc19a0b7e542b94f07bfcc8fc843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
% 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.
%
m4_ESKDX_INIT
m4_FILE_INIT
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eskdinfo}[m4_dnl
m4_FILE_ID([[$Date: 2006/03/02 08:32:02 $]]) Document Information]

m4_dnl ×ÅÄÏÍÓÔ×Ï
\newcommand{\ESKDtheDepartment}{}
\newcommand{\ESKDdepartment}[1]{\renewcommand{\ESKDtheDepartment}{#1}}

m4_dnl ÐÒÅÄÐÒÉÑÔÉÅ
\newcommand{\ESKDtheCompany}{}
\newcommand{\ESKDcompany}[1]{\renewcommand{\ESKDtheCompany}{#1}}

m4_dnl ËÏÄ ÐÏ ËÌÁÓÓÉÆÉËÁÔÏÒÕ ÐÒÏÄÕËÃÉÉ
\newcommand{\ESKDtheClassCode}{}
\newcommand{\ESKDclassCode}[1]{\renewcommand{\ESKDtheClassCode}{#1}}

m4_dnl ÎÁÉÍÅÎÏ×ÁÎÉÅ ÉÚÄÅÌÉÑ/ÔÅÍÁ
\newcommand{\ESKDtheUnitName}{}
\newcommand{\ESKDunitName}[1]{%
  \renewcommand{\ESKDtheUnitName}{#1}%
  \renewcommand{\@title}{#1}}
\newcommand{\ESKDtheTitle}{\ESKDtheUnitName}
\newcommand{\ESKDtitle}[1]{\ESKDunitName{#1}}
\renewcommand{\title}[1]{\ESKDunitName{#1}}

m4_dnl ÎÁÚ×ÁÎÉÅ ÄÏËÕÍÅÎÔÁ
\newcommand{\ESKDtheDocName}{}
\newcommand{\ESKDdocName}[1]{\renewcommand{\ESKDtheDocName}{#1}}

m4_dnl ÏÂÏÚÎÁÞÅÎÉÅ ÄÏËÕÍÅÎÔÁ
\newcommand{\ESKDtheSignature}{}
\newcommand{\ESKDsignature}[1]{\renewcommand{\ESKDtheSignature}{#1}}

m4_dnl ÌÉÔÅÒÁ
\newcommand{\ESKDtheLetterI}{}
\newcommand{\ESKDtheLetterII}{}
\newcommand{\ESKDtheLetterIII}{}
\newcommand{\ESKDletter}[3]{%
  \renewcommand{\ESKDtheLetterI}{#1}%
  \renewcommand{\ESKDtheLetterII}{#2}%
  \renewcommand{\ESKDtheLetterIII}{#3}}

m4_dnl ÏÂÏÚÎÁÞÅÎÉÅ ÍÁÔÅÒÉÁÌÁ ÄÅÔÁÌÉ
\newcommand{\ESKDtheMaterial}{}
\newcommand{\ESKDmaterial}[1]{%
  \renewcommand{\ESKDtheMaterial}{#1}}

m4_dnl ÍÁÓÓÁ ÉÚÄÅÌÉÑ
\newcommand{\ESKDtheMass}{}
\newcommand{\ESKDmass}[1]{%
  \renewcommand{\ESKDtheMass}{#1}}

m4_dnl ÍÁÓÛÔÁÂ
\newcommand{\ESKDtheScale}{}
\newcommand{\ESKDscale}[1]{%
  \renewcommand{\ESKDtheScale}{#1}}

m4_dnl ÇÒÕÐÐÁ, ÉÎÄÅËÓ, ÉÌÉ ÎÁÉÍÅÎÏ×ÁÎÉÅ ÐÒÅÄÐÒÉÑÔÉÑ
\newcommand{\ESKDtheGroup}{}
\newcommand{\ESKDgroup}[1]{\renewcommand{\ESKDtheGroup}{#1}}

m4_dnl ÆÁÍÉÌÉÑ Á×ÔÏÒÁ
\newcommand{\ESKDtheAuthor}{}
\newcommand{\ESKDauthor}[1]{%
  \renewcommand{\ESKDtheAuthor}{#1}%
  \renewcommand{\@author}{#1}}
\renewcommand{\author}[1]{\ESKDauthor{#1}}

m4_dnl ÆÁÍÉÌÉÑ ÐÒÏ×ÅÒÑÀÝÅÇÏ
\newcommand{\ESKDtheChecker}{}
\newcommand{\ESKDchecker}[1]{\renewcommand{\ESKDtheChecker}{#1}}

m4_dnl ÆÁÍÉÌÉÑ ÎÏÒÍÏËÏÎÔÒÏÌÅÒÁ
\newcommand{\ESKDtheNormContr}{}
\newcommand{\ESKDnormContr}[1]{\renewcommand{\ESKDtheNormContr}{#1}}

m4_dnl ÆÁÍÉÌÉÑ ÕÔ×ÅÒÄÉ×ÛÅÇÏ
\newcommand{\ESKDtheApprovedBy}{}
\newcommand{\ESKDapprovedBy}[1]{\renewcommand{\ESKDtheApprovedBy}{#1}}

m4_dnl ÄÁÔÁ
\newcommand{\ESKDtheYear}{\number\year}
\newcommand{\ESKDtheMonth}{\number\month}
\newcommand{\ESKDtheDay}{\number\day}
\def\ESKD@set@date#1/#2/#3 enddate{%
  \renewcommand{\ESKDtheYear}{#1}%
  \renewcommand{\ESKDtheMonth}{#2}%
  \renewcommand{\ESKDtheDay}{#3}}
\newcommand{\ESKDdate}[1]{%
  \ESKD@set@date #1 enddate%
  \renewcommand{\@date}{#1}}
\renewcommand{\date}[1]{\ESKDdate{#1}}

\RequirePackage{eskdafterpkg}
m4_dnl ÎÁÓÔÒÏÊËÉ ÐÁËÅÔÁ hyperref
\ESKD@after@package{hyperref}{%
  \hypersetup{breaklinks,pdftitle=\ESKDtheUnitName,%
    pdfsubject=\ESKDtheDocName,pdfauthor=\ESKDtheAuthor}}

m4_dnl vim:ft=tex:sw=2:ai