% Copyright 2006 Konstantin Korikov % % 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:: 2010-01-14#$]]) 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