blob: a91d0449ff9e20254ac5464d54446a6ddf1435ee (
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-11-28 05:25:58 +0200 (Вто, 28 Ноя 2006) $]]) 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
|