summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/disser.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-29 23:31:05 +0000
committerKarl Berry <karl@freefriends.org>2010-03-29 23:31:05 +0000
commit4015a058f2c68e873ea7f12eb582b49b9a903cd7 (patch)
treeec3d259a3423d58b7e9114c1ee681a53fb07532c /Master/texmf-dist/source/latex/disser/disser.dtx
parent12aa9b3a965ed1a926cff749fc9651dd28ac5a58 (diff)
disser 1.1.5 (28mar10)
git-svn-id: svn://tug.org/texlive/trunk@17612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/disser.dtx')
-rw-r--r--Master/texmf-dist/source/latex/disser/disser.dtx142
1 files changed, 80 insertions, 62 deletions
diff --git a/Master/texmf-dist/source/latex/disser/disser.dtx b/Master/texmf-dist/source/latex/disser/disser.dtx
index 38ff7592474..30d6d2581ff 100644
--- a/Master/texmf-dist/source/latex/disser/disser.dtx
+++ b/Master/texmf-dist/source/latex/disser/disser.dtx
@@ -19,13 +19,12 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<*driver>
-\ProvidesFile{disser.drv}[2009/11/20 1.1.4 Document class for dissertations]
+\ProvidesFile{disser.drv}[2009/03/23 1.1.5 Document class for dissertations]
\documentclass{ltxdoc}
-\usepackage[a4paper, includeheadfoot, nohead, mag=1000,
- left=5cm, right=1cm, top=1.5cm, bottom=1.5cm]{geometry}
-\usepackage{ifpdf,indentfirst,tabularx,doc}
-\usepackage{makeidx,longtable,color}
+\usepackage[a4paper,includeheadfoot,nohead,mag=1000,
+ left=5cm,right=1cm,top=1.5cm,bottom=1.5cm]{geometry}
+\usepackage{ifpdf,indentfirst,tabularx,doc,makeidx,longtable,color}
\definecolor{darkblue}{rgb}{0,0,.6}
@@ -37,6 +36,7 @@
\fi
\hypersetup{
+ pdfusetitle,
pdftitle = {Documented source code of the disser package},
pdfauthor = {Stanislav Kruchinin},
pdfsubject = {disser},
@@ -109,9 +109,9 @@
\makeindex
+\GetFileInfo{disser.drv}
\begin{document}
-\sloppy
- \PrintChanges
+ \sloppy
\DocInput{disser.dtx}
\DocInput{counters.dtx}
\DocInput{part.dtx}
@@ -135,7 +135,6 @@
\end{document}
%</driver>
% \fi
-% \GetFileInfo{disser.drv}
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -181,12 +180,14 @@
%<*disser>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2009/11/20 1.1.4 Document class for dissertations]
+\ProvidesClass{disser}[2009/03/23 1.1.5 Document class for dissertations]
% \end{macrocode}
-% Расширение файлов, включаемых в |disser.cls|.
+% Подключение пакета \pkg{kvoptions} для обработки опций в формате
+% <<ключ = значение>>.
+% \DescribePackage{kvoptions}\index{Пакеты!\verb*+kvoptions+}
% \begin{macrocode}
-\def\substyle@ext{.rtx}
+\RequirePackage{kvoptions}
% \end{macrocode}
% Определение операторов условного выполнения.
@@ -221,6 +222,10 @@
% \begin{macrocode}
\newif\ifDis@libcat\Dis@libcatfalse
% \end{macrocode}
+% \item Отображение грифа секретности на титульном листе (отключено).
+% \begin{macrocode}
+\newif\ifDis@classified\Dis@classifiedfalse
+% \end{macrocode}
% \item Отображение подписей диссертанта и ученого секретаря (отключено).
% \begin{macrocode}
\newif\ifDis@facsimile\Dis@facsimilefalse
@@ -251,13 +256,6 @@
%
% \subsection{Опции класса}
%
-% Подключение пакета \pkg{kvoptions} для обработки опций в формате
-% <<ключ = значение>>.
-% \DescribePackage{kvoptions}\index{Пакеты!\verb*+kvoptions+}
-% \begin{macrocode}
-\RequirePackage{kvoptions}[2006/08/17]
-
-% \end{macrocode}
% Подключение пакета \pkg{hyperref} и необходимых настроек.
% \begin{macrocode}
\DeclareOption{href}{\Dis@hreftrue}
@@ -270,6 +268,10 @@
% \begin{macrocode}
\DeclareOption{libcat}{\Dis@libcattrue}
% \end{macrocode}
+% Отображение грифа секретности.
+% \begin{macrocode}
+\DeclareOption{classified}{\Dis@classifiedtrue}
+% \end{macrocode}
% Отображение подписей диссертанта и ученого секретаря.
% \begin{macrocode}
\DeclareOption{facsimile}{\Dis@facsimiletrue}
@@ -277,23 +279,7 @@
% Не подключать пакеты \pkg{amsmath}, \pkg{amsfonts}, \pkg{amssymb}.
% \begin{macrocode}
\DeclareOption{noams}{\Dis@amsfalse}
-
-% \end{macrocode}
-% Настройка опций.
-% \begin{macrocode}
-\SetupKeyvalOptions{
- family=Dis,
- prefix=Dis@
-}
-
-% \end{macrocode}
-% Исправление знаков интегралов и пределов интегрирования на более
-% привычные.
-% \begin{macrocode}
-\DeclareBoolOption[true]{fixint}
-
% \end{macrocode}
-%
% Размеры листов.
% \begin{macrocode}
\DeclareOption{a4paper}{%
@@ -435,6 +421,22 @@
\Dis@autoreftrue
}
+\SetupKeyvalOptions{
+ family=Dis,
+ prefix=Dis@
+}
+
+% \end{macrocode}
+% Исправление знаков интегралов и пределов интегрирования на более
+% привычные.
+% \begin{macrocode}
+\DeclareBoolOption[true]{fixint}
+% \end{macrocode}
+% Создание цветных ссылок.
+% \begin{macrocode}
+\DeclareBoolOption[false]{colorlinks}
+\DeclareStringOption{titlepagefile}
+
% \end{macrocode}
% Выполнение опций по умолчанию.
% \begin{macrocode}
@@ -446,7 +448,18 @@
\ProcessOptions
% \end{macrocode}
-% Команды изменения регистра. Им самое место в ядре.
+% Файл с описанием разметки титульного листа по умолчанию.
+% \begin{macrocode}
+\ifx\Dis@titlepagefile\@empty
+ \ifDis@bachelor \renewcommand*{\Dis@titlepagefile}{bachelor.rtx}\fi
+ \ifDis@master \renewcommand*{\Dis@titlepagefile}{master.rtx}\fi
+ \ifDis@candidate\renewcommand*{\Dis@titlepagefile}{candidate.rtx}\fi
+ \ifDis@doctor \renewcommand*{\Dis@titlepagefile}{doctor.rtx}\fi
+ \ifDis@autoref \renewcommand*{\Dis@titlepagefile}{autoref.rtx}\fi
+\fi
+
+% \end{macrocode}
+% Команды изменения регистра.
% \DescribeMacro{\MakeTextUppercase}\index{Макросы!\verb*+\MakeTextUppercase+}
% \begin{macrocode}
\DeclareRobustCommand\MakeTextUppercase{%
@@ -471,6 +484,7 @@
\DeclareFontShape{#1}{#2}{#3}{#4}%
{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74>%
<24.88><29.86><35.83><42.99><51.59>genb*#5}{}}
+
\EC@family{T1}{cmr}{m}{n}{ecrm}
\EC@family{T1}{cmr}{m}{sl}{ecsl}
\EC@family{T1}{cmr}{m}{it}{ecti}
@@ -481,45 +495,49 @@
\EC@family{T1}{cmr}{bx}{sl}{ecbl}
\EC@family{T1}{cmr}{bx}{sc}{ecxc}
\EC@family{T1}{cmr}{m}{ui}{ecui}
-\DeclareFontShape{OT1}{cmr}{m}{n}%
- {<5><6><7><8><9><10><12>gen*cmr%
- <10.95>cmr10%
- <14.4>cmr12%
- <17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmr17}{}
-\DeclareFontShape{OT1}{cmr}{m}{sl}%
- {<5><6><7>cmsl8%
- <8><9>gen*cmsl%
- <10><10.95>cmsl10%
- <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmsl12%
- }{}
-\DeclareFontShape{OT1}{cmr}{m}{it}%
- {<5><6><7>cmti7%
- <8>cmti8%
- <9>cmti9%
- <10><10.95>cmti10%
- <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmti12%
- }{}
-\DeclareFontShape{OT1}{cmr}{m}{sc}%
- {<5><6><7><8><9><10><10.95><12>%
- <14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmcsc10%
- }{}
-\DeclareFontShape{OT1}{cmr}{m}{ui}{
+
+\DeclareFontShape{OT1}{cmr}{m}{n}{%
+ <5><6><7><8><9><10><12>gen*cmr%
+ <10.95>cmr10%
+ <14.4>cmr12%
+ <17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmr17%
+}{}
+\DeclareFontShape{OT1}{cmr}{m}{sl}{%
+ <5><6><7>cmsl8%
+ <8><9>gen*cmsl%
+ <10><10.95>cmsl10%
+ <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmsl12%
+}{}
+\DeclareFontShape{OT1}{cmr}{m}{it}{%
+ <5><6><7>cmti7%
+ <8>cmti8%
+ <9>cmti9%
+ <10><10.95>cmti10%
+ <12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmti12%
+}{}
+\DeclareFontShape{OT1}{cmr}{m}{sc}{%
+ <5><6><7><8><9><10><10.95><12>%
+ <14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmcsc10%
+}{}
+\DeclareFontShape{OT1}{cmr}{m}{ui}{%
<5><6><7><8><9><10><10.95><12>%
<14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmu10%
}{}
-\DeclareFontShape{OT1}{cmr}{b}{n}{
+\DeclareFontShape{OT1}{cmr}{b}{n}{%
<5><6><7><8><9><10><10.95><12>%
<14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmb10%
}{}
-\DeclareFontShape{OT1}{cmr}{bx}{n}{
+\DeclareFontShape{OT1}{cmr}{bx}{n}{%
<5><6><7><8><9>gen*cmbx%
<10><10.95>cmbx10%
<12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbx12%
}{}
-\DeclareFontShape{OT1}{cmr}{bx}{sl}{<5><6><7><8><9>%
+\DeclareFontShape{OT1}{cmr}{bx}{sl}{%
+ <5><6><7><8><9>%
<10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxsl10%
}{}
-\DeclareFontShape{OT1}{cmr}{bx}{it}{<5><6><7><8><9>%
+\DeclareFontShape{OT1}{cmr}{bx}{it}{%
+ <5><6><7><8><9>%
<10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxti10%
}{}
\input{size\@ptsize.clo}