summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/disser/README13
-rw-r--r--Master/texmf-dist/doc/latex/disser/README.ru17
-rw-r--r--Master/texmf-dist/doc/latex/disser/changelog.txt29
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.fig.mk41
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd70
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.mk101
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd149
-rw-r--r--Master/texmf-dist/doc/latex/disser/nomake.cmd113
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex16
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/fig.eps2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd167
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.bib44
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex8
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/1.tex1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex92
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/common.tex37
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/fig/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/fig/fig.eps2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/intro.tex43
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/list.tex1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd167
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.bib44
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex17
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex89
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/fig/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/fig/fig.eps2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd167
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.bib44
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex16
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk27
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/latex.mk101
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/app-a.tex2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/fig/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/fig/fig.eps2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd1
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd167
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/thesis.bib44
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex14
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/nomake.cmd18
-rw-r--r--Master/texmf-dist/source/latex/disser/Makefile57
-rw-r--r--Master/texmf-dist/source/latex/disser/autoref.dtx2
-rw-r--r--Master/texmf-dist/source/latex/disser/bachelor.dtx2
-rw-r--r--Master/texmf-dist/source/latex/disser/candidate.dtx2
-rw-r--r--Master/texmf-dist/source/latex/disser/chapter.dtx147
-rw-r--r--Master/texmf-dist/source/latex/disser/counters.dtx15
-rw-r--r--Master/texmf-dist/source/latex/disser/custom.dtx123
-rw-r--r--Master/texmf-dist/source/latex/disser/disser.dtx531
-rw-r--r--Master/texmf-dist/source/latex/disser/doctor.dtx6
-rw-r--r--Master/texmf-dist/source/latex/disser/env.dtx51
-rw-r--r--Master/texmf-dist/source/latex/disser/floats.dtx128
-rw-r--r--Master/texmf-dist/source/latex/disser/footnote.dtx5
-rw-r--r--Master/texmf-dist/source/latex/disser/gost732.dtx130
-rw-r--r--Master/texmf-dist/source/latex/disser/lists.dtx7
-rw-r--r--Master/texmf-dist/source/latex/disser/master.dtx2
-rw-r--r--Master/texmf-dist/source/latex/disser/page.dtx89
-rw-r--r--Master/texmf-dist/source/latex/disser/part.dtx67
-rw-r--r--Master/texmf-dist/source/latex/disser/sections.dtx125
-rw-r--r--Master/texmf-dist/source/latex/disser/titledefs.dtx134
-rw-r--r--Master/texmf-dist/source/latex/disser/titlepage.dtx43
-rw-r--r--Master/texmf-dist/source/latex/disser/toc.dtx12
-rw-r--r--Master/texmf-dist/tex/latex/disser/autoref.rtx2
-rw-r--r--Master/texmf-dist/tex/latex/disser/bachelor.rtx2
-rw-r--r--Master/texmf-dist/tex/latex/disser/candidate.rtx2
-rw-r--r--Master/texmf-dist/tex/latex/disser/disser.cls441
-rw-r--r--Master/texmf-dist/tex/latex/disser/doctor.rtx2
-rw-r--r--Master/texmf-dist/tex/latex/disser/gost732.cls44
-rw-r--r--Master/texmf-dist/tex/latex/disser/master.rtx2
-rw-r--r--Master/texmf-dist/tex/latex/disser/titledefs.rtx53
77 files changed, 2384 insertions, 1731 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/README b/Master/texmf-dist/doc/latex/disser/README
index 9d75d81ccc4..2d4afc5baf4 100644
--- a/Master/texmf-dist/doc/latex/disser/README
+++ b/Master/texmf-dist/doc/latex/disser/README
@@ -1,15 +1,17 @@
Overview
--------
-disser is a LaTeX document class and set of templates for creating dissertations.
-It is oriented on Russian-speaking users.
+disser is a LaTeX document class and set of templates for creating
+dissertations. It is oriented on Russian-speaking users.
+
Dependencies
------------
This class uses the third party packages. It is recommended to install all of
the following: amssymb, amsmath, graphicx, natbib, floatflt, pscyr, hyperref,
-hypernat, subfig, caption, cmap
+hypernat, subfig, caption, cmap.
+
Getting latest version
----------------------
@@ -18,16 +20,17 @@ You can obtain the latest version of the package from SVN-repository.
Just install Subversion (if you don't have one) and run the following command:
> svn export https://svn.sourceforge.net/svnroot/disser/ ./disser-latest
+
Installation
------------
Automatically
Unix-like environment:
-> make && make TEXMF=/path/to/texmf install
+> make TEXMF=/path/to/texmf install
> mktexlsr
-Windows NT:
+Windows:
> set texmf=<path to texmf or localtexmf>
> nomake & nomake install
> mktexlsr
diff --git a/Master/texmf-dist/doc/latex/disser/README.ru b/Master/texmf-dist/doc/latex/disser/README.ru
index 659d4e7ff4e..eaf2e6186cf 100644
--- a/Master/texmf-dist/doc/latex/disser/README.ru
+++ b/Master/texmf-dist/doc/latex/disser/README.ru
@@ -4,19 +4,22 @@
Пакет disser предназначен для верстки дипломов и диссертаций. Ориентирован
на рускоязычных пользователей.
+
Зависимости
-----------
Класс disser.cls использует стронние пакеты. Для корректной сборки шаблонов
следует установить всё нижеперечисленное: amssymb, amsmath, graphicx, natbib,
-floatflt, pscyr, hyperref, hypernat, subfig, caption, cmap
+floatflt, pscyr, hyperref, hypernat, subfig, caption, cmap.
+
Получение последней версии
--------------------------
Наиболее свежую версию пакета можно получить из SVN-репозитория.
Для этого достаточно установить Subversion и выполнить команду
-> svn export https://svn.sourceforge.net/svnroot/disser/
+> svn export https://disser.svn.sourceforge.net/svnroot/disser/
+
Установка
---------
@@ -24,12 +27,12 @@ floatflt, pscyr, hyperref, hypernat, subfig, caption, cmap
Автоматически
В Unix-like ОС:
-> make && make TEXMF=/путь/к/texmf install
+> make TEXMF=/путь/к/texmf install
> mktexlsr
-В Windows NT:
+В Windows:
> set texmf=<путь к texmf или localtexmf>
-> nomake & nomake install
+> nomake install
> mktexlsr
Вручную
@@ -37,7 +40,8 @@ floatflt, pscyr, hyperref, hypernat, subfig, caption, cmap
1. Создаем каталог
> mkdir /путь/к/texmf/tex/latex/disser
-2. Генерируем файлы класса
+2. Генерируем файлы классов
+> cd src
> latex disser.ins
3. Копируем *.cls и *.rtx в созданный каталог.
@@ -49,6 +53,7 @@ floatflt, pscyr, hyperref, hypernat, subfig, caption, cmap
5. Обновляем базу имен файлов
> mktexlsr
+
Лицензия
--------
diff --git a/Master/texmf-dist/doc/latex/disser/changelog.txt b/Master/texmf-dist/doc/latex/disser/changelog.txt
index 0c63924e262..978b0585898 100644
--- a/Master/texmf-dist/doc/latex/disser/changelog.txt
+++ b/Master/texmf-dist/doc/latex/disser/changelog.txt
@@ -2,6 +2,35 @@ disser changelog
Copyright (C) 2004-2007 Stanislav Kruchinin
-------------------------------------------
+Changes in version 1.0.4 (2007-11-04):
+
+Class:
++ Wrote some documentation on class options and Makefile targets.
+* Refactoring of sources and Makefiles.
+* gost732 class code is no longer included in disser.dtx.
++ New option fixint={true|false}.
++ Parametrization of format for theorem-like environments.
+
+Templates:
+* Appendix is now behind the Bibliography.
+* nomake.cmd scripts became a stub for one common file.
+ Don't forget to include it to your source distribution.
++ Macros for sharing text between dissertation and abstract.
++ Changed style of second page in abstract.
++ Added \usepackage{srcltx} to make source links by default.
+* Included makefiles moved to include dir.
+
+
+Changes in version 1.0.3a (2007-07-28):
+
+Class:
++ \phantomchapter command was superseded by \metaphantom{}.
+
+Templates:
+* Changed default settings for margins.
+* Small fixes to comply standards.
+
+
Changes in version 1.0.3 (2007-07-11):
Class:
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk b/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk
new file mode 100644
index 00000000000..75089a8711c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk
@@ -0,0 +1,41 @@
+#
+# Makefile for EPS figures
+# Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+#
+
+EPSTOOL=epstool
+EPSTOPDF=epstopdf
+
+ETFLAGS=--quiet --copy --bbox
+
+FIGCLFILES=*.pdf
+SUFFIX=~
+
+# end of configuration
+
+help:
+ @echo Targets:
+ @echo " clean - clean PDF files"
+ @echo " epstopdf - convert all figures to PDF"
+ @echo " fixbb - fix BoundingBox"
+ @echo " help - (default) show help"
+
+clean:
+ rm -f $(FIGCLFILES)
+
+epstopdf: $(patsubst %.eps, %.pdf, $(wildcard *.eps))
+
+fixbb: *.eps
+ @for f in *.eps ; \
+ do \
+ echo -n "fixbb: $$f..." ;\
+ $(EPSTOOL) $(ETFLAGS) $$f $$f~ ;\
+ mv $$f~ $$f ;\
+ echo "done" ;\
+ done
+
+%.pdf: %.eps
+ @echo -n "epstopdf: $<..."
+ @$(EPSTOPDF) "$<"
+ @echo "done"
+
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd b/Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd
new file mode 100644
index 00000000000..f6f164b74a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd
@@ -0,0 +1,70 @@
+@echo off
+
+rem nomake script for EPS figures
+rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+
+if "%CMDEXTVERSION%"=="" (
+ echo Error: This script requires command interpreter from Windows 2000 or above.
+ goto :eof
+)
+
+set epstool=epstool
+set epstopdf=epstopdf
+
+set etflags=--quiet --copy --bbox
+
+set figclfiles=*.pdf
+set suffix=~
+
+rem end of configuration
+
+if "%1"=="" (
+:default
+ call :help
+goto :eof
+)
+
+:start
+if "%1"=="" goto :eof
+
+if "%1"=="help" (
+:help
+ echo Targets:
+ echo clean - clean generated PDF files
+ echo epstopdf - convert all figures to PDF
+ echo fixbb - fix BoundingBox
+ echo help - ^(default^) show this message
+goto :eof
+)
+
+if "%1"=="clean" (
+:clean
+ del /s %figclfiles% 2> nul
+goto :eof
+)
+
+if "%1"=="epstopdf" (
+:epstopdf
+ for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
+goto :end
+:conv
+ %epstopdf% "%1"
+ echo epstopdf: %~nx1...done
+goto :eof
+)
+
+if "%1"=="fixbb" (
+:fixbb
+ for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
+goto :end
+:fix
+ %epstool% %etflags% %1 %1.%suffix%
+ move %1.%suffix% %1 > nul
+ echo fixbb: %~nx1...done
+goto :eof
+)
+
+if "%1" neq "" echo Don't know how to make %1
+:end
+shift & goto :start
+
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.mk b/Master/texmf-dist/doc/latex/disser/include/latex.mk
new file mode 100644
index 00000000000..1546c18f332
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.mk
@@ -0,0 +1,101 @@
+#
+# Makefile for LaTeX projects
+# Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+#
+
+TARGET=thesis
+
+ARCH=7z
+BIBTEX=bibtex8
+DVIPS=dvips
+FIND=/bin/find
+L2H=latex2html
+PDFTEX=pdflatex
+PS2PDF=gs
+PSNUP=psnup
+TEX=latex
+
+ARCHEXT=zip
+ARCHFLAGS=a -t$(ARCHEXT)
+ARCHIVE=$(TARGET).$(ARCHEXT)
+BIBTEXFLAGS=-H -c cp1251
+
+L2HFLAGS=-dir html -iso_language RU.RU -split 3 -short_index \
+ -numbered_footnotes -no_footnode -white -antialias -html_version 4.0
+PS2PDFFLAGS=-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -g4960x7016 -r600 \
+ -dCompatibilityLevel=1.2 -sOutputFile=$(TARGET)_2on1.pdf -c save pop \
+ -f $(TARGET)_2on1.ps
+PSNUPFLAGS=-2 -pA4
+TEXFLAGS=-src-specials
+
+CLEXT=*.aux *.toc *.idx *.ind *.ilg *.log *.out *.lof *.lot *.lol \
+ *.bbl *.blg *.bak *.dvi *.ps *.pdf
+CLFILES=$(CLEXT) $(ARCHIVE)
+SRCFILES=*
+
+# end of configuration
+
+dvi: $(TARGET).dvi
+
+pdf: $(TARGET).pdf
+
+pdf_2on1: $(TARGET)_2on1.pdf
+
+ps: $(TARGET).ps
+
+ps_2on1: $(TARGET)_2on1.ps
+
+html: $(TARGET).dvi
+ @$(L2H) $(L2HFLAGS) $(TARGET).tex
+
+$(TARGET).dvi: $(TARGET).tex
+ @$(TEX) $(TEXFLAGS) $^
+ @$(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
+ @$(TEX) $(TEXFLAGS) $^
+ @$(TEX) $(TEXFLAGS) $^
+
+$(TARGET).ps: $(TARGET).dvi
+ @$(DVIPS) -o $@ $^
+
+$(TARGET)_2on1.ps: $(TARGET).ps
+ @$(PSNUP) $(PSNUPFLAGS) $^ > $@
+
+$(TARGET).pdf: $(TARGET).tex
+ @$(MAKE) -C fig epstopdf
+ @$(PDFTEX) $^
+ @$(BIBTEX) $(BIBTEXFLAGS) $(TARGET)
+ @$(PDFTEX) $^
+ @$(PDFTEX) $^
+
+$(TARGET)_2on1.pdf: $(TARGET)_2on1.ps
+ @$(PS2PDF) $^ $@
+
+epstopdf:
+ @$(MAKE) -C fig $@
+
+fixbb:
+ @$(MAKE) -C fig $@
+
+srcdist:
+ @$(MAKE) clean
+ @$(ARCH) $(ARCHFLAGS) $(ARCHIVE) $(SRCFILES)
+
+clean:
+ rm -f $(CLFILES)
+ rm -f html/*.*
+ @$(MAKE) -C fig $@
+
+help:
+ @echo "Targets:"
+ @echo " dvi - (default) build DVI"
+ @echo " clean - remove ouptut files"
+ @echo " epstopdf - convert all figures to PDF"
+ @echo " fixbb - fix BoundingBox"
+ @echo " help - show help"
+ @echo " html - build HTML"
+ @echo " pdf - build PDF"
+ @echo " pdf_2on1 - build PDF with 2 pages on one landscape-oriented A4"
+ @echo " ps - build PS"
+ @echo " ps_2on1 - build PS with 2 pages on one landscape-oriented A4"
+ @echo " srcdist - build source distribution $(ARCHIVE)"
+
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd
new file mode 100644
index 00000000000..2cdc9f56b82
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd
@@ -0,0 +1,149 @@
+@echo off
+
+rem nomake script for LaTeX projects
+rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+
+if "%CMDEXTVERSION%"=="" (
+ echo Error: This script requires command interpreter from Windows 2000 or above.
+ goto :eof
+)
+
+if "%texmf%"=="" set texmf=%programfiles%\miktex-2.6
+
+set target=thesis
+
+set arch=7z
+set bibtex=bibtex8
+set epstool=epstool
+set epstopdf=epstopdf
+set ps2pdf=gswin32c
+set dvips=dvips
+set l2h=latex2html
+set mktexlsr=mktexlsr
+set pdftex=pdflatex
+set psnup=psnup
+set tex=latex
+
+set archext=zip
+set archflags=a -t%archext%
+set archive=%target%.%archext%
+set bibtexflags=-H -c cp1251
+set l2hflags=-dir html -iso_language RU.RU -split 3 -short_index ^
+ -numbered_footnotes -no_footnode -white -antialias ^
+ -html_version 4.0
+set ps2pdfflags=-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -g4960x7016 -r600 ^
+ -dCompatibilityLevel#1.2 -sOutputFile=%target%_2on1.pdf -c save pop ^
+ -f %target%_2on1.ps
+set psnupflags=-2 -pA4
+set texflags=-src-specials -terminal=oem
+
+set clext=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf *.ps
+set clfiles= %clext% %target%.%arc%
+set srcfiles=*
+set suffix=~
+
+rem end of configuration
+
+if "%1"=="" (
+:default
+ call :dvi
+goto :eof
+)
+
+:start
+if "%1"=="" goto :eof
+
+if "%1"=="dvi" (
+:dvi
+ %tex% %texflags% %target%.tex
+ %bibtex% %bibtexflags% %target%
+ %tex% %texflags% %target%.tex
+ %tex% %texflags% %target%.tex
+goto :eof
+)
+
+if "%1"=="pdf" (
+:pdf
+ call :epstopdf
+ %pdftex% %texflags% %target%.tex
+ %bibtex% %bibtexflags% %target%
+ %pdftex% %texflags% %target%.tex
+ %pdftex% %texflags% %target%.tex
+goto :eof
+)
+
+if "%1"=="pdf_2on1" (
+:pdf2on1
+ if not exist %target%.ps call :ps2on1
+ %ps2pdf% %ps2pdfflags% 2 > nul 2>&1
+goto :eof
+)
+
+if "%1"=="ps" (
+:ps
+ if not exist %target%.dvi call :dvi
+ %dvips% -o %target%.ps %target%.dvi
+goto :eof
+)
+
+if "%1"=="ps_2on1" (
+:ps2on1
+ if not exist %target%.ps call :ps
+ %psnup% %psnupflags% %target%.ps > %target%_2on1.ps
+goto :eof
+)
+
+if "%1"=="html" (
+:html
+ if not exist %target%.dvi call :dvi
+ %l2h% %l2hflags% %target%.tex
+goto :eof
+)
+
+if "%1"=="clean" (
+:clean
+ del /s %clfiles% 2> nul
+ if exist %target%.%arctype% del %target%.%arctype%
+goto :eof
+)
+
+if "%1"=="srcdist" (
+:srcdist
+ call :clean
+ %arch% %archflags% %archive% %srcfiles%
+goto :eof
+)
+
+if "%1"=="epstopdf" (
+:epstopdf
+ cd fig & call nomake.cmd epstopdf & cd ..
+goto :eof
+)
+
+if "%1"=="fixbb" (
+:fixbb
+ cd fig & call nomake.cmd fixbb & cd ..
+goto :eof
+)
+
+if "%1"=="help" (
+:help
+ echo Targets:
+ echo dvi - ^(default^) build DVI
+ echo clean - remove ouptut files
+ echo epstopdf - convert all figures to PDF
+ echo fixbb - fix BoundingBox
+ echo help - show help
+ echo html - build HTML
+ echo pdf - build PDF
+ echo pdf_2on1 - build PDF with 2 pages on one landscape-oriented A4
+ echo ps - build PS
+ echo ps_2on1 - build PS with 2 pages on one landscape-oriented A4
+ echo srcdist - build source distribution %archive%
+goto :eof
+)
+
+if "%1" neq "" echo Don't know how to make %1
+:end
+shift & goto :start
+
diff --git a/Master/texmf-dist/doc/latex/disser/nomake.cmd b/Master/texmf-dist/doc/latex/disser/nomake.cmd
index aa1d1770b9d..061b185d3d0 100644
--- a/Master/texmf-dist/doc/latex/disser/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/nomake.cmd
@@ -1,62 +1,107 @@
@echo off
-set target=disser
+rem nomake script for LaTeX packages
+rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+
+if "%CMDEXTVERSION%"=="" (
+ echo Error: This script requires command interpreter from Windows 2000 or above.
+ goto :eof
+)
-if %texmf%.==. set texmf=d:\programs\miktex\local
+if "%texmf%"=="" set texmf=%programfiles%\miktex-2.6
+
+set target=disser
+set subclass=gost732
set destdir=%texmf%\tex\latex\%target%
set docdir=%texmf%\doc\latex\%target%
-set clean=*.rtx *.cls *.log *.out *.aux *.dvi *.idx *.glo *.toc *.ind *.ilg *.bak *.bbl *.blg
+set clfiles=*.rtx *.cls *.log *.out *.aux *.dvi *.idx *.glo *.toc *.ind ^
+ *.ilg *.bak *.bbl *.blg *.pdf
+
+set tex=latex
+set pdftex=pdflatex
-if %1.==. (
+set texflags=-src-specials -terminal=oem
+
+rem Default target
+if "%1"=="" (
:default
- goto :all
+ call :all
+goto :eof
)
:start
-if %1.==. goto :eof
+if "%1"=="" goto :eof
-if %1.==all. (
+if "%1"=="all" (
:all
- latex %target%.ins
+ call :class
call :doc
goto :eof
)
-if %1.==class. (
+if "%1"=="class" (
:class
- latex %target%.ins
+ %tex% %target%.ins
goto :eof
)
-if %1.==clean. (
+if "%1"=="clean" (
:clean
- del %clean%
- goto :eof
-goto :end
+ del %clfiles%
+goto :eof
)
-if %1.==install. (
-:install
- if not exist %target%.cls (
- echo You must run 'nomake' first
- goto :eof
- )
- if not exist %destdir% mkdir %destdir%
- if not exist %docdir% mkdir %docdir%
- xcopy /y /f *.rtx %destdir%
- xcopy /y /f *.cls %destdir%
- xcopy /y /f *.dvi %docdir%
-goto :end
-)
-
-if %1.==doc. (
+if "%1"=="doc" (
:doc
- chcp 1251
- latex %target%.dtx
- latex -src-specials %target%.dtx
-goto :end
+ call :dvi
+ call :pdf
+goto :eof
+)
+
+if "%1"=="dvi" (
+:dvi
+ %tex% %texflags% %target%.dtx
+ %tex% %texflags% %target%.dtx
+ %tex% %texflags% %subclass%.dtx
+ %tex% %texflags% %subclass%.dtx
+goto :eof
+)
+
+if "%1"=="pdf" (
+:pdf
+ %pdftex% %texflags% %target%.dtx
+ %pdftex% %texflags% %target%.dtx
+ %pdftex% %texflags% %subclass%.dtx
+ %pdftex% %texflags% %subclass%.dtx
+goto :eof
+)
+
+if "%1"=="install" (
+:install
+ if not exist %target%.cls ( call :all )
+ if not exist "%destdir%" md "%destdir%"
+ if not exist "%docdir%" md "%docdir%"
+ xcopy /y /f *.rtx "%destdir%"
+ xcopy /y /f *.cls "%destdir%"
+ xcopy /y /f *.dvi "%docdir%"
+ xcopy /y /f *.pdf "%docdir%"
+goto :eof
+)
+
+if "%1"=="help" (
+:help
+ echo Targets:
+ echo all - ^(default^) build classes and documentation
+ echo class - build classes
+ echo clean - remove ouptut files
+ echo doc - build documentation
+ echo dvi - build DVI version of documentation
+ echo help - show help
+ echo install - install package and documentation
+ echo pdf - build PDF version of documentation
+goto :eof
)
-if %1. neq . (echo Don't know how to make %1 )
+if "%1" neq "" (echo Don't know how to make %1 )
:end
shift & goto :start
diff --git a/Master/texmf-dist/doc/latex/disser/templates/Makefile b/Master/texmf-dist/doc/latex/disser/templates/Makefile
index 1b821d6dad2..3b8771800b1 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/Makefile
@@ -1,4 +1,4 @@
-dvi ps ps_2on1 pdf_2on1 pdf html clean cleansvn srcdist:
+dvi ps ps_2on1 pdf pdf_2on1 html clean epstopdf fixbb srcdist:
@$(MAKE) -i -C bachelor $@
@$(MAKE) -i -C master $@
@$(MAKE) -i -C candidate $@
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex b/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex
index 8fa1954e017..a66b9129f45 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex
@@ -3,7 +3,8 @@
Внутритекстовая формула $\frac{1}{\epsilon^*}=\frac{1}{\epsilon_\infty}-\frac{1}{\epsilon_0}$.
Внутритекстовая формула в стиле выделенной $\dfrac{1}{\epsilon_\infty}$.
-Ссылки на литературу~\cite{Efros-1982-FTP16-82-1209,Yoffe-1993-AP-42-173,Kayanuma-1988-PRB-38-9797}.
+Ссылки на литературу~\cite{Efros-1982-FTP16-82-1209,%
+Yoffe-1993-AP-42-173,Kayanuma-1988-PRB-38-9797,Segall-1968}.
Ссылка на формулу~\eqref{eq:e}
\begin{equation}\label{eq:e}
\vec P=\sqrt{\frac{N_0 m_r \Omega_{LO}}{4\pi\epsilon^*}}(\vec u_+ - \vec u_-).
@@ -18,7 +19,7 @@
}
\end{figure}
-\begin{floatingfigure}{0.3\textwidth}
+\begin{floatingfigure}{0.35\textwidth}
\centering
\includegraphics[width=4cm]{fig}
\caption{\label{fig:ff}Рисунок <<в оборку>>.}
@@ -83,13 +84,18 @@
\subfloat[][]{\label{fig:sub1}\includegraphics[width=4cm]{fig}}\quad
\subfloat[][]{\label{fig:sub2}\includegraphics[width=4cm]{fig}}\quad
\subfloat[][]{\label{fig:sub3}\includegraphics[width=4cm]{fig}}
-\caption{Рисунки с единым названием и подчинённой нумерацией}
+\caption[]{%
+Рисунки с единым названием и подчинённой нумерацией:
+ \subref{fig:sub1} ссылка 1,
+ \subref{fig:sub2} ссылка 2,
+ \subref{fig:sub3} ссылка 3.
+}
\end{figure}
\subsection{Название подсекции}
Текст подсекции
-\subsubsection{Название подподсекции}
-Текст подподсекции
+\subsubsection{Название под-подсекции}
+Текст под-подсекции
\paragraph{Название параграфа.}
Текст параграфа
\subparagraph{Название подпараграфа.}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/Makefile b/Master/texmf-dist/doc/latex/disser/templates/bachelor/Makefile
index c2c5d718b33..4bad2e9be25 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/Makefile
@@ -1,3 +1,3 @@
TARGET=thesis
-include ../latex.mk \ No newline at end of file
+include ../../include/latex.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/Makefile b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/Makefile
index 5ee58751ab0..775b7fc3d88 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/Makefile
@@ -1 +1 @@
-include ../../latex.fig.mk \ No newline at end of file
+include ../../../include/latex.fig.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/fig.eps b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/fig.eps
index d3094eb51d3..9aeb4fae0ae 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/fig.eps
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/fig.eps
@@ -3,7 +3,7 @@
%%HiResBoundingBox: 236 371.521 360.902 469.38
%%Creator: Adobe Illustrator(TM) 3.2
%%AI8_CreatorVersion: 10.0
-%%For: (STiX0r) (-)
+%%For: (User) (-)
%%Title: (2LevelSys.eps)
%%CreationDate: 12/13/2003 4:07 AM
%%DocumentProcessColors: Black
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd
new file mode 100644
index 00000000000..031ac1797cf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd
@@ -0,0 +1 @@
+@call ..\..\..\include\latex.fig.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd
index 47506aac7c5..477673612f6 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd
@@ -1,166 +1 @@
-@echo off
-
-set target=thesis
-
-rem Checking for version of cmd.exe
-if %CMDEXTVERSION%/==/ (
- echo Error: This script requieres command interpreter from Windows 2000 or above.
- goto :eof
-)
-
-rem Trying to autodetect MiKTeX installation directory
-if %texmf%/==/ call :getdir HKCU\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-if %texmf%/==/ call :getdir HKLM\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-
-if %texmf%/==/ (
- echo Error: Unable to find MiKTeX installation directory
- echo You must set texmf value manually
- goto :eof
-)
-
-rem Name of thesis class
-set clsname=disser
-set clssrc=%texmf%\tex\latex\%clsname%
-set clsdir=.\%clsname%
-
-rem Name of BibTeX style
-set bstsrc=%texmf%\bibtex\bst\%clsname%
-set bstfile=%clsname%.bst
-
-rem Cmdline tools
-set arc=rar
-set arcflags=a -r -x%target%.pdf -x%target%.prj
-
-set tex=%texmf%\miktex\bin\latex
-set pdftex=%texmf%\miktex\bin\pdflatex
-set texflags=-src-specials
-
-set bibtex=%texmf%\miktex\bin\bibtex8
-set bibtexflags=-B -c cp1251
-
-set epstool=%programfiles%\bin\eps\epstool
-set epstopdf=%texmf%\miktex\bin\epstopdf
-
-set pdftodjvu=pdftodjvu
-set pdftodjvuflags=--dpi=600 --threshold-level=80 --fg-quality=conservative --bg-subsample=3 --quality=65 --convert-links --fg-colors=256 --fg-image-colors=256
-
-set djvuocr=djvubundle
-set djvuocrflags=--ocr=lang=(Russian,English)
-
-set mktexlsr=%texmf%\miktex\bin\mktexlsr.exe
-
-set srcfiles=*.*
-set clfiles=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf %target%.%arc%
-set suffix=$$
-
-if %1/==/ (
-:make
- chcp 1251
- %tex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %tex% %target%.tex
- %tex% %texflags% %target%.tex
-goto :eof
-)
-:start
-if %1/==/ goto :eof
-
-if %1/==pdf/ (
-:pdf
- chcp 1251
- %pdftex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %pdftex% %target%.tex
- %pdftex% %texflags% %target%.tex
-goto :eof
-)
-
-rem Make source distribution
-if %1/==srcdist/ (
-:srcdist
- if not exist %clsdir% mkdir %clsdir%
- xcopy %clssrc% %clsdir% /S
- xcopy %bstsrc%\%bstfile% . /S
- call :clean
- %arc% %arcflags% %target%.%arc% %srcfiles%
- del /s /q %clsdir%
- rmdir /s /q %clsdir%
- del /q %bstfile%
-goto :end
-)
-
-if %1/==clean/ (
-:clean
- del /s %clfiles% 2> nul
- if exist %target%.rar del %target%.rar
-goto :end
-)
-
-if %1/==cleansvn/ (
-:cleansvn
- del /s .svn 2>nul
-goto :end
-)
-
-rem Fix bounding boxes of EPS files
-if %1/==fixbb/ (
-:fixbb
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
-goto :end
-:fix
- echo %1
- %epstool% --copy --quiet --bbox %1 %1.%suffix%
- move %1.%suffix% %1
-goto :eof
-)
-
-rem Convert EPS to PDF
-if %1/==epstopdf/ (
-:epstopdf
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
- goto :end
-:conv
- echo %1
- %epstopdf% "%1"
-goto :eof
-)
-rem Installs requiered packages
-if %1/==install/ (
-:install
- if not exist %clssrc% md %clssrc%
- xcopy %clsdir%\ %clssrc%\ /Y
- rmdir %clsdir%
- if not exist %bstsrc% md %bstsrc%
- move %bstfile% %bstsrc%
- %mktexlsr%
-goto :end
-)
-rem Start default DVI-viewer
-if %1/==preview/ (
-:preview
- if not exist %target%.dvi call :make
- start %target%.dvi
-goto :end
-)
-rem Convert PDF to DjVu using LizardTech DocumentExpress Enterprise
-if %1/==djvu/ (
-:djvu
- if not exist %target%.pdf call :pdf
- %pdftodjvu% %pdftodjvuflags% %target%.pdf
-goto :end
-)
-rem Create backup
-if %1/==backup/ (
-:backup
- call :srcdist
- for /f "usebackq" %%n in (`date`) do move %target%.rar %%n.rar
-goto :end
-)
-
-if %1/ neq / (echo Don't know how to make %1 )
-:end
-shift & goto :start
-
-:getdir
- for /f "usebackq tokens=4 skip=2" %%i in (`reg query %1 /v %2`) do set %3=%%i
-goto :eof
+@call ..\..\include\latex.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.bib b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.bib
index 0b1c94af0dc..933a33c56d2 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.bib
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.bib
@@ -1,24 +1,34 @@
@ARTICLE{Yoffe-1993-AP-42-173,
- Author = {A. D. Yoffe},
- Journal = {Adv. Phys.},
- Pages = {173},
- Volume = {42},
- Year = {1993}
+ Author = {A. D. Yoffe},
+ Journal = {Adv. Phys.},
+ Pages = {173},
+ Volume = {42},
+ Year = {1993}
+}
+
+@ARTICLE{Efros-1982-FTP16-82-1209,
+ Author = {Ал. Л. Эфрос and А. Л. Эфрос},
+ Journal = {Физика и техника полупроводников},
+ Pages = {1209},
+ Volume = {16},
+ Year = {1982},
+ Language = {russian}
}
@ARTICLE{Kayanuma-1988-PRB-38-9797,
- Author = {Y. Kayanuma},
- Journal = {Phys. Rev. B},
- Pages = {9797},
- Volume = {38},
- Year = {1988}
+ Author = {Y. Kayanuma},
+ Journal = {Phys. Rev. B},
+ Pages = {9797},
+ Volume = {38},
+ Year = {1988}
}
-@ARTICLE{Efros-1982-FTP16-82-1209,
- Author = {Ал. Л. Эфрос and А. Л. Эфрос},
- Journal = {Физика и техника полупроводников},
- Pages = {1209},
- Volume = {16},
- Year = {1982},
- Language = {russian}
+@INPROCEEDINGS{Segall-1968,
+ Author = {B. Segall},
+ Year = {1968},
+ Editor = {S. M. Ryvkin},
+ Booktitle = {Proceedings of IXth Conference on the Physics of Semiconductors, Moscow, 1968},
+ Pages = {425},
+ Address = {Leningrad},
+ Publisher = {Nauka},
}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
index 3cb15edc17f..34128514a43 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
@@ -1,12 +1,12 @@
\documentclass[14pt,bachelor,href,subf]{disser}
\usepackage[
- a4paper, includehead, includefoot, mag=1000,
- headsep=0mm, headheight=0mm,
- left=20mm, right=10mm, top=20mm, bottom=20mm
- ]{geometry}
+ a4paper, mag=1000, nohead, includefoot,
+ left=3cm, right=1cm, top=2cm, bottom=2cm, footskip=1cm
+]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{srcltx}
\graphicspath{{fig/}}
% ----------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/1.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/1.tex
index c75825d5723..545adfaafc0 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/1.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/1.tex
@@ -1,2 +1,3 @@
\chapter{Название главы}
\section{Название секции}
+\section{Выводы к первой главе} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/Makefile b/Master/texmf-dist/doc/latex/disser/templates/candidate/Makefile
index c2c5d718b33..4bad2e9be25 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/Makefile
@@ -1,3 +1,3 @@
TARGET=thesis
-include ../latex.mk \ No newline at end of file
+include ../../include/latex.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex
index a77cf1a7717..faf90932a20 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex
@@ -1,9 +1,12 @@
\documentclass[14pt,autoref,href]{disser}
-\usepackage[a4paper, includehead, includefoot, mag=1000,
- left=2.5cm, right=2.5cm, top=0.5cm, bottom=2cm]{geometry}
+\usepackage[a4paper, nohead, includefoot, mag=1000,
+ margin=2cm, footskip=1cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{tabularx}
+% Включение общего текста, использумого в автореферате и диссертации
+\input{common}
% --------------------------------------------------------------------------
\begin{document}
\institution{
@@ -35,59 +38,82 @@
\maketitle
\noindent
+\begin{center}
Работа выполнена в \emph{название организации}.
+\end{center}
\vskip1cm
\noindent
-Научный руководитель (консультант):
-\emph{ученая степень, ученое звание, фамилия, имя, отчество.}
-
-\noindent
-Официальные оппоненты:\\
-\emph{ученая степень, ученое звание, фамилия, имя, отчество.}\\
-\emph{ученая степень, ученое звание, фамилия, имя, отчество.}
-
+\begin{tabularx}{\linewidth}{lp{1cm}X}
+Научный руководитель: & & \emph{ученая степень}, \\
+ & & \emph{ученое звание}, \\
+ & & \emph{фамилия, имя, отчество}
+\\
+Официальные оппоненты: & & \emph{ученая степень}, \\
+ & & \emph{ученое звание}, \\
+ & & \emph{фамилия, имя, отчество}\\
+ & & \emph{ученая степень}, \\
+ & & \emph{ученое звание}, \\
+ & & \emph{фамилия, имя, отчество}
+\\
+Ведущая организация: & & \emph{название организации}\\
+\end{tabularx}
+\vskip3em
\noindent
-Ведущая организация:
-\emph{название организации}\\
-\vskip1cm
Защита состоится \datefield{} в \rule[0pt]{1cm}{0.5pt}\, часов на заседании диссертационного совета \emph{шифр совета} при \emph{название организации, при которой создан совет}, расположенном по адресу: \emph{адрес}
-\vskip1cm
+\vskip1em
С диссертацией можно ознакомиться в библиотеке \emph{название организации}.
-\vskip1cm
-Автореферат разослан \datefield{}\\
+\vskip1em
+Автореферат разослан \datefield{}
+\vskip1em
+
Отзывы и замечания по автореферату в двух экземплярах, заверенные печатью, просьба высылать по вышеуказанному адресу на имя ученого секретаря диссертационного совета.
-\vskip1cm\noindent
+\vfill\noindent
Ученый секретарь\\
диссертационного совета,\\
-\emph{ученая степень},\\
-\emph{ученое звание},\hfill \emph{фамилия, имя, отчество}
+\emph{ученая степень}, \emph{ученое звание}\hfill \emph{фамилия, имя, отчество}
\clearpage
\section*{Общая характеристика работы}
-\textbf{Актуальность работы}
+% Формат заголовков
+\let\introsect=\textbf
+
+% Актуальность работы
+\actualitysection
+\actualitytext
-\textbf{Цель диссертационной работы}
+% Цель диссертационной работы
+\objectivesection
+\objectivetext
-\textbf{Научная новизна работы}
+% Научная новизна
+\noveltysection
+\noveltytext
-\textbf{Практическая ценность работы}
+% Практическая ценность
+\valuesection
+\valuetext
-\textbf{На защиту выносятся следующие основные результаты и положения:}
-\begin{enumerate}
-\item
-\item
-\item
-\end{enumerate}
+% Результаты и положения, выносимые на защиту
+\resultssection
+\resultstext
-\textbf{Апробация работы.}
+% Апробация работы
+\approbationsection
+\approbationtext
-\textbf{Публикации.}
+% Публикации
+\pubsection
+\pubtext
-\textbf{Личный вклад автора.}
+% Личный вклад автора
+\contribsection
+\contribtext
-\textbf{Структура и объем диссертации.}
+% Структура и объем диссертации
+\structsection
+\structtext
\section*{Содержание работы}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/common.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/common.tex
new file mode 100644
index 00000000000..9aebeea6385
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/common.tex
@@ -0,0 +1,37 @@
+
+\mkintrosect{actuality}{Актуальность работы}{%
+Текст раздела
+}
+
+\mkintrosect{objective}{Цель диссертационной работы}{%
+Текст раздела
+}
+
+\mkintrosect{novelty}{Научная новизна}{%
+Текст раздела
+}
+
+\mkintrosect{value}{Практическая ценность}{%
+Текст раздела
+}
+
+\mkintrosect{results}{%
+На защиту выносятся следующие основные результаты и положения:}{%
+Текст раздела
+}
+
+\mkintrosect{approbation}{Апробация работы}{%
+Текст раздела
+}
+
+\mkintrosect{pub}{Публикации}{%
+Текст раздела
+}
+
+\mkintrosect{contrib}{Личный вклад автора}{%
+Текст раздела
+}
+
+\mkintrosect{struct}{Структура и объем диссертации}{%
+Текст раздела
+} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/Makefile b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/Makefile
index 5ee58751ab0..775b7fc3d88 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/Makefile
@@ -1 +1 @@
-include ../../latex.fig.mk \ No newline at end of file
+include ../../../include/latex.fig.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/fig.eps b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/fig.eps
index d3094eb51d3..9aeb4fae0ae 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/fig.eps
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/fig.eps
@@ -3,7 +3,7 @@
%%HiResBoundingBox: 236 371.521 360.902 469.38
%%Creator: Adobe Illustrator(TM) 3.2
%%AI8_CreatorVersion: 10.0
-%%For: (STiX0r) (-)
+%%For: (User) (-)
%%Title: (2LevelSys.eps)
%%CreationDate: 12/13/2003 4:07 AM
%%DocumentProcessColors: Black
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd
new file mode 100644
index 00000000000..031ac1797cf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd
@@ -0,0 +1 @@
+@call ..\..\..\include\latex.fig.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/intro.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/intro.tex
index a13f0a3e001..a8dc6c10340 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/intro.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/intro.tex
@@ -1,24 +1,39 @@
\intro
-\paragraph{Актуальность работы.}
+\input{common}
-\paragraph{Цель диссертационной работы.}
+% Актуальность работы
+\actualitysection
+\actualitytext
-\paragraph{Научная новизна.}
+% Цель диссертационной работы
+\objectivesection
+\objectivetext
-\paragraph{Практическая ценность.}
+% Научная новизна
+\noveltysection
+\noveltytext
-\paragraph{На защиту выносятся следующие основные результаты и положения:}
-\begin{enumerate}
-\item
-\item
-\item
-\end{enumerate}
+% Практическая ценность
+\valuesection
+\valuetext
-\paragraph{Апробация работы.}
+% Результаты и положения, выносимые на защиту
+\resultssection
+\resultstext
-\paragraph{Публикации.}
+% Апробация работы
+\approbationsection
+\approbationtext
-\paragraph{Личный вклад автора.}
+% Публикации
+\pubsection
+\pubtext
-\paragraph{Структура и объем диссертации.} \ No newline at end of file
+% Личный вклад автора
+\contribsection
+\contribtext
+
+% Структура и объем диссертации
+\structsection
+\structtext \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/list.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/list.tex
new file mode 100644
index 00000000000..35a90000eae
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/list.tex
@@ -0,0 +1 @@
+\chapter*{Список условных обозначений}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd
index 902f2a22ab2..477673612f6 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd
@@ -1,166 +1 @@
-@echo off
-
-set target=thesis
-
-rem Checking for version of cmd.exe
-if %CMDEXTVERSION%/==/ (
- echo Error: This script requieres command interpreter from Windows 2000 or above.
- goto :eof
-)
-
-rem Trying to autodetect MiKTeX installation directory
-if %texmf%/==/ call :getdir HKCU\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-if %texmf%/==/ call :getdir HKLM\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-
-if %texmf%/==/ (
- echo Error: Unable to find MiKTeX installation directory
- echo You must set texmf value manually
- goto :eof
-)
-
-rem Name of thesis class
-set clsname=disser
-set clssrc=%texmf%\tex\latex\%clsname%
-set clsdir=.\%clsname%
-
-rem Name of BibTeX style
-set bstsrc=%texmf%\bibtex\bst\%clsname%
-set bstfile=%clsname%.bst
-
-rem Cmdline tools
-set arc=rar
-set arcflags=a -r -x%target%.pdf -x%target%.prj
-
-set tex=%texmf%\miktex\bin\latex
-set pdftex=%texmf%\miktex\bin\pdflatex
-set texflags=-src-specials
-
-set bibtex=%texmf%\miktex\bin\bibtex8
-set bibtexflags=-B -c cp1251
-
-set epstool=%programfiles%\bin\eps\epstool
-set epstopdf=%texmf%\miktex\bin\epstopdf
-
-set pdftodjvu=pdftodjvu
-set pdftodjvuflags=--dpi=600 --threshold-level=80 --fg-quality=conservative --bg-subsample=3 --quality=65 --convert-links --fg-colors=256 --fg-image-colors=256
-
-set djvuocr=djvubundle
-set djvuocrflags=--ocr=lang=(Russian,English)
-
-set mktexlsr=%texmf%\miktex\bin\mktexlsr.exe
-
-set srcfiles=*.*
-set clfiles=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf %target%.%arc%
-set suffix=$$
-
-if %1/==/ (
-:make
- chcp 1251
- %tex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %tex% %target%.tex
- %tex% %texflags% %target%.tex
-goto :eof
-)
-:start
-if %1/==/ goto :eof
-
-if %1/==pdf/ (
-:pdf
- chcp 1251
- %pdftex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %pdftex% %target%.tex
- %pdftex% %texflags% %target%.tex
-goto :eof
-)
-
-rem Make source distribution
-if %1/==srcdist/ (
-:srcdist
- if not exist %clsdir% mkdir %clsdir%
- xcopy %clssrc% %clsdir% /S
- xcopy %bstsrc%\%bstfile% . /S
- call :clean
- %arc% %arcflags% %target%.%arc% %srcfiles%
- del /s /q %clsdir%
- rmdir /s /q %clsdir%
- del /q %bstfile%
-goto :end
-)
-
-if %1/==clean/ (
-:clean
- del /s %clfiles% 2> nul
- if exist %target%.rar del %target%.rar
-goto :end
-)
-
-if %1/==cleansvn/ (
-:cleansvn
- del /s .svn 2>nul
-goto :end
-)
-
-rem Fix bounding boxes of EPS files
-if %1/==fixbb/ (
-:fixbb
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
-goto :end
-:fix
- echo %1
- %epstool% --copy --quiet --bbox %1 %1.%suffix%
- move %1.%suffix% %1
-goto :eof
-)
-
-rem Convert EPS to PDF
-if %1/==epstopdf/ (
-:epstopdf
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
- goto :end
-:conv
- echo %1
- %epstopdf% "%1"
-goto :eof
-)
-rem Installs requiered packages
-if %1/==install/ (
-:install
- if not exist %clssrc% md %clssrc%
- xcopy %clsdir%\ %clssrc%\ /Y
- rmdir %clsdir%
- if not exist %bstsrc% md %bstsrc%
- move %bstfile% %bstsrc%
- %mktexlsr%
-goto :end
-)
-rem Start default DVI-viewer
-if %1/==preview/ (
-:preview
- if not exist %target%.dvi call :make
- start %target%.dvi
-goto :end
-)
-rem Convert PDF to DjVu using LizardTech DocumentExpress Enterprise
-if %1/==djvu/ (
-:djvu
- if not exist %target%.pdf call :pdf
- %pdftodjvu% %pdftodjvuflags% %target%.pdf
-goto :end
-)
-rem Create backup
-if %1/==backup/ (
-:backup
- call :srcdist
- for /f "usebackq" %%n in (`date`) do move %target%.rar %%n.rar
-goto :end
-)
-
-echo Don't know how to make %1
-:end
-shift & goto :start
-
-:getdir
- for /f "usebackq tokens=4 skip=2" %%i in (`reg query %1 /v %2`) do set %3=%%i
-goto :eof
+@call ..\..\include\latex.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.bib b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.bib
index 0b1c94af0dc..933a33c56d2 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.bib
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.bib
@@ -1,24 +1,34 @@
@ARTICLE{Yoffe-1993-AP-42-173,
- Author = {A. D. Yoffe},
- Journal = {Adv. Phys.},
- Pages = {173},
- Volume = {42},
- Year = {1993}
+ Author = {A. D. Yoffe},
+ Journal = {Adv. Phys.},
+ Pages = {173},
+ Volume = {42},
+ Year = {1993}
+}
+
+@ARTICLE{Efros-1982-FTP16-82-1209,
+ Author = {Ал. Л. Эфрос and А. Л. Эфрос},
+ Journal = {Физика и техника полупроводников},
+ Pages = {1209},
+ Volume = {16},
+ Year = {1982},
+ Language = {russian}
}
@ARTICLE{Kayanuma-1988-PRB-38-9797,
- Author = {Y. Kayanuma},
- Journal = {Phys. Rev. B},
- Pages = {9797},
- Volume = {38},
- Year = {1988}
+ Author = {Y. Kayanuma},
+ Journal = {Phys. Rev. B},
+ Pages = {9797},
+ Volume = {38},
+ Year = {1988}
}
-@ARTICLE{Efros-1982-FTP16-82-1209,
- Author = {Ал. Л. Эфрос and А. Л. Эфрос},
- Journal = {Физика и техника полупроводников},
- Pages = {1209},
- Volume = {16},
- Year = {1982},
- Language = {russian}
+@INPROCEEDINGS{Segall-1968,
+ Author = {B. Segall},
+ Year = {1968},
+ Editor = {S. M. Ryvkin},
+ Booktitle = {Proceedings of IXth Conference on the Physics of Semiconductors, Moscow, 1968},
+ Pages = {425},
+ Address = {Leningrad},
+ Publisher = {Nauka},
}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
index 88d9434ed32..a6e511b7ad3 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
@@ -1,12 +1,12 @@
-\documentclass[14pt,candidate,href]{disser}
+\documentclass[a4paper,14pt,candidate,subf,href]{disser}
\usepackage[
- a4paper, includehead, includefoot, mag=1000,
- headsep=0mm, headheight=0mm,
- left=20mm, right=10mm, top=20mm, bottom=20mm
- ]{geometry}
+ a4paper, mag=1000, nohead, includefoot,
+ left=3cm, right=1cm, top=2cm, bottom=2cm, footskip=1cm
+]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{srcltx}
\graphicspath{{fig/}}
% ----------------------------------------------------------------
@@ -42,15 +42,16 @@
% ----------------------------------------------------------------
\tableofcontents
% ----------------------------------------------------------------
+\input{list}
\input{intro}
\input{review}
\input{1}
\input{concl}
-\appendix
-\input{app-a}
-\noappendix
% ----------------------------------------------------------------
\bibliography{thesis}
\bibliographystyle{gost71u}
+% ----------------------------------------------------------------
+\appendix
+\input{app-a}
\end{document}
% ----------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/Makefile b/Master/texmf-dist/doc/latex/disser/templates/doctor/Makefile
index c2c5d718b33..4bad2e9be25 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/Makefile
@@ -1,3 +1,3 @@
TARGET=thesis
-include ../latex.mk \ No newline at end of file
+include ../../include/latex.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex b/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex
index 79d1f279ac8..f9229c51b62 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex
@@ -1,9 +1,12 @@
\documentclass[14pt,autoref,href]{disser}
-\usepackage[a4paper, includehead, includefoot, mag=1000,
- left=2.5cm, right=2.5cm, top=0.5cm, bottom=2cm]{geometry}
+\usepackage[a4paper, nohead, includefoot, mag=1000,
+ margin=2cm, footskip=1cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{tabularx}
+% Включение общего текста, использумого в автореферате и диссертации
+\input{common}
% --------------------------------------------------------------------------
\begin{document}
\institution{
@@ -22,11 +25,6 @@
% Специальность
\specnum{11.11.11}
\spec{Специальность}
-%
-% Научный руководитель
-\sa{ФИО руководителя}
-% Учёная степень и должность
-\sastatus{д.~ф.-м.~н., проф.}
% Город и год
\city{Санкт-Петербург}
@@ -35,55 +33,78 @@
\maketitle
\noindent
+\begin{center}
Работа выполнена в \emph{название организации}.
+\end{center}
\vskip1cm
\noindent
-Официальные оппоненты:\\
-\emph{ученая степень, ученое звание, фамилия, имя, отчество.}\\
-\emph{ученая степень, ученое звание, фамилия, имя, отчество.}
-
+\begin{tabularx}{\linewidth}{lp{1cm}X}
+Официальные оппоненты: & & \emph{ученая степень}, \\
+ & & \emph{ученое звание}, \\
+ & & \emph{фамилия, имя, отчество}\\
+ & & \emph{ученая степень}, \\
+ & & \emph{ученое звание}, \\
+ & & \emph{фамилия, имя, отчество}
+\\
+Ведущая организация: & & \emph{название организации}\\
+\end{tabularx}
+\vskip3em
\noindent
-Ведущая организация:
-\emph{название организации}\\
-\vskip1cm
Защита состоится \datefield{} в \rule[0pt]{1cm}{0.5pt}\, часов на заседании диссертационного совета \emph{шифр совета} при \emph{название организации, при которой создан совет}, расположенном по адресу: \emph{адрес}
-\vskip1cm
+\vskip1em
С диссертацией можно ознакомиться в библиотеке \emph{название организации}.
-\vskip1cm
-Автореферат разослан \datefield{}\\
+\vskip1em
+Автореферат разослан \datefield{}
+\vskip1em
+
Отзывы и замечания по автореферату в двух экземплярах, заверенные печатью, просьба высылать по вышеуказанному адресу на имя ученого секретаря диссертационного совета.
-\vskip1cm\noindent
+\vfill\noindent
Ученый секретарь\\
диссертационного совета,\\
-\emph{ученая степень},\\
-\emph{ученое звание},\hfill \emph{фамилия, имя, отчество}
+\emph{ученая степень}, \emph{ученое звание}\hfill \emph{фамилия, имя, отчество}
\clearpage
\section*{Общая характеристика работы}
-\textbf{Актуальность работы}
+% Формат заголовков
+\let\introsect=\textbf
+
+% Актуальность работы
+\actualitysection
+\actualitytext
-\textbf{Цель диссертационной работы}
+% Цель диссертационной работы
+\objectivesection
+\objectivetext
-\textbf{Научная новизна работы}
+% Научная новизна
+\noveltysection
+\noveltytext
-\textbf{Практическая ценность работы}
+% Практическая ценность
+\valuesection
+\valuetext
-\textbf{На защиту выносятся следующие основные результаты и положения:}
-\begin{enumerate}
-\item
-\item
-\item
-\end{enumerate}
+% Результаты и положения, выносимые на защиту
+\resultssection
+\resultstext
-\textbf{Апробация работы.}
+% Апробация работы
+\approbationsection
+\approbationtext
-\textbf{Публикации.}
+% Публикации
+\pubsection
+\pubtext
-\textbf{Личный вклад автора.}
+% Личный вклад автора
+\contribsection
+\contribtext
-\textbf{Структура и объем диссертации.}
+% Структура и объем диссертации
+\structsection
+\structtext
\section*{Содержание работы}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/Makefile b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/Makefile
index 5ee58751ab0..775b7fc3d88 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/Makefile
@@ -1 +1 @@
-include ../../latex.fig.mk \ No newline at end of file
+include ../../../include/latex.fig.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/fig.eps b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/fig.eps
index d3094eb51d3..9aeb4fae0ae 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/fig.eps
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/fig.eps
@@ -3,7 +3,7 @@
%%HiResBoundingBox: 236 371.521 360.902 469.38
%%Creator: Adobe Illustrator(TM) 3.2
%%AI8_CreatorVersion: 10.0
-%%For: (STiX0r) (-)
+%%For: (User) (-)
%%Title: (2LevelSys.eps)
%%CreationDate: 12/13/2003 4:07 AM
%%DocumentProcessColors: Black
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd
new file mode 100644
index 00000000000..031ac1797cf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd
@@ -0,0 +1 @@
+@call ..\..\..\include\latex.fig.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
index 902f2a22ab2..477673612f6 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
@@ -1,166 +1 @@
-@echo off
-
-set target=thesis
-
-rem Checking for version of cmd.exe
-if %CMDEXTVERSION%/==/ (
- echo Error: This script requieres command interpreter from Windows 2000 or above.
- goto :eof
-)
-
-rem Trying to autodetect MiKTeX installation directory
-if %texmf%/==/ call :getdir HKCU\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-if %texmf%/==/ call :getdir HKLM\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-
-if %texmf%/==/ (
- echo Error: Unable to find MiKTeX installation directory
- echo You must set texmf value manually
- goto :eof
-)
-
-rem Name of thesis class
-set clsname=disser
-set clssrc=%texmf%\tex\latex\%clsname%
-set clsdir=.\%clsname%
-
-rem Name of BibTeX style
-set bstsrc=%texmf%\bibtex\bst\%clsname%
-set bstfile=%clsname%.bst
-
-rem Cmdline tools
-set arc=rar
-set arcflags=a -r -x%target%.pdf -x%target%.prj
-
-set tex=%texmf%\miktex\bin\latex
-set pdftex=%texmf%\miktex\bin\pdflatex
-set texflags=-src-specials
-
-set bibtex=%texmf%\miktex\bin\bibtex8
-set bibtexflags=-B -c cp1251
-
-set epstool=%programfiles%\bin\eps\epstool
-set epstopdf=%texmf%\miktex\bin\epstopdf
-
-set pdftodjvu=pdftodjvu
-set pdftodjvuflags=--dpi=600 --threshold-level=80 --fg-quality=conservative --bg-subsample=3 --quality=65 --convert-links --fg-colors=256 --fg-image-colors=256
-
-set djvuocr=djvubundle
-set djvuocrflags=--ocr=lang=(Russian,English)
-
-set mktexlsr=%texmf%\miktex\bin\mktexlsr.exe
-
-set srcfiles=*.*
-set clfiles=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf %target%.%arc%
-set suffix=$$
-
-if %1/==/ (
-:make
- chcp 1251
- %tex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %tex% %target%.tex
- %tex% %texflags% %target%.tex
-goto :eof
-)
-:start
-if %1/==/ goto :eof
-
-if %1/==pdf/ (
-:pdf
- chcp 1251
- %pdftex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %pdftex% %target%.tex
- %pdftex% %texflags% %target%.tex
-goto :eof
-)
-
-rem Make source distribution
-if %1/==srcdist/ (
-:srcdist
- if not exist %clsdir% mkdir %clsdir%
- xcopy %clssrc% %clsdir% /S
- xcopy %bstsrc%\%bstfile% . /S
- call :clean
- %arc% %arcflags% %target%.%arc% %srcfiles%
- del /s /q %clsdir%
- rmdir /s /q %clsdir%
- del /q %bstfile%
-goto :end
-)
-
-if %1/==clean/ (
-:clean
- del /s %clfiles% 2> nul
- if exist %target%.rar del %target%.rar
-goto :end
-)
-
-if %1/==cleansvn/ (
-:cleansvn
- del /s .svn 2>nul
-goto :end
-)
-
-rem Fix bounding boxes of EPS files
-if %1/==fixbb/ (
-:fixbb
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
-goto :end
-:fix
- echo %1
- %epstool% --copy --quiet --bbox %1 %1.%suffix%
- move %1.%suffix% %1
-goto :eof
-)
-
-rem Convert EPS to PDF
-if %1/==epstopdf/ (
-:epstopdf
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
- goto :end
-:conv
- echo %1
- %epstopdf% "%1"
-goto :eof
-)
-rem Installs requiered packages
-if %1/==install/ (
-:install
- if not exist %clssrc% md %clssrc%
- xcopy %clsdir%\ %clssrc%\ /Y
- rmdir %clsdir%
- if not exist %bstsrc% md %bstsrc%
- move %bstfile% %bstsrc%
- %mktexlsr%
-goto :end
-)
-rem Start default DVI-viewer
-if %1/==preview/ (
-:preview
- if not exist %target%.dvi call :make
- start %target%.dvi
-goto :end
-)
-rem Convert PDF to DjVu using LizardTech DocumentExpress Enterprise
-if %1/==djvu/ (
-:djvu
- if not exist %target%.pdf call :pdf
- %pdftodjvu% %pdftodjvuflags% %target%.pdf
-goto :end
-)
-rem Create backup
-if %1/==backup/ (
-:backup
- call :srcdist
- for /f "usebackq" %%n in (`date`) do move %target%.rar %%n.rar
-goto :end
-)
-
-echo Don't know how to make %1
-:end
-shift & goto :start
-
-:getdir
- for /f "usebackq tokens=4 skip=2" %%i in (`reg query %1 /v %2`) do set %3=%%i
-goto :eof
+@call ..\..\include\latex.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.bib b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.bib
index 0b1c94af0dc..933a33c56d2 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.bib
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.bib
@@ -1,24 +1,34 @@
@ARTICLE{Yoffe-1993-AP-42-173,
- Author = {A. D. Yoffe},
- Journal = {Adv. Phys.},
- Pages = {173},
- Volume = {42},
- Year = {1993}
+ Author = {A. D. Yoffe},
+ Journal = {Adv. Phys.},
+ Pages = {173},
+ Volume = {42},
+ Year = {1993}
+}
+
+@ARTICLE{Efros-1982-FTP16-82-1209,
+ Author = {Ал. Л. Эфрос and А. Л. Эфрос},
+ Journal = {Физика и техника полупроводников},
+ Pages = {1209},
+ Volume = {16},
+ Year = {1982},
+ Language = {russian}
}
@ARTICLE{Kayanuma-1988-PRB-38-9797,
- Author = {Y. Kayanuma},
- Journal = {Phys. Rev. B},
- Pages = {9797},
- Volume = {38},
- Year = {1988}
+ Author = {Y. Kayanuma},
+ Journal = {Phys. Rev. B},
+ Pages = {9797},
+ Volume = {38},
+ Year = {1988}
}
-@ARTICLE{Efros-1982-FTP16-82-1209,
- Author = {Ал. Л. Эфрос and А. Л. Эфрос},
- Journal = {Физика и техника полупроводников},
- Pages = {1209},
- Volume = {16},
- Year = {1982},
- Language = {russian}
+@INPROCEEDINGS{Segall-1968,
+ Author = {B. Segall},
+ Year = {1968},
+ Editor = {S. M. Ryvkin},
+ Booktitle = {Proceedings of IXth Conference on the Physics of Semiconductors, Moscow, 1968},
+ Pages = {425},
+ Address = {Leningrad},
+ Publisher = {Nauka},
}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
index fa5e0519b84..a2d2867cd4d 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
@@ -1,12 +1,12 @@
-\documentclass[14pt,doctor,href]{disser}
+\documentclass[a4paper,14pt,doctor,subf,href]{disser}
\usepackage[
- a4paper, includehead, includefoot, mag=1000,
- headsep=0mm, headheight=0mm,
- left=20mm, right=10mm, top=20mm, bottom=20mm
- ]{geometry}
+ a4paper, mag=1000, nohead, includefoot,
+ left=3cm, right=1cm, top=2cm, bottom=2cm, footskip=1cm
+]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{srcltx}
\graphicspath{{fig/}}
% ----------------------------------------------------------------
@@ -41,11 +41,11 @@
\input{review}
\input{1}
\input{concl}
-\appendix
-\input{app-a}
-\noappendix
% ----------------------------------------------------------------
\bibliography{thesis}
\bibliographystyle{gost71u}
+% ----------------------------------------------------------------
+\appendix
+\input{app-a}
\end{document}
% ----------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk b/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
deleted file mode 100644
index 123cad7674e..00000000000
--- a/Master/texmf-dist/doc/latex/disser/templates/latex.fig.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Makefile for figures
-# Author: Stanislav Kruchinin <stas@crypt.org.ru>
-#
-
-all:
- @echo "run: make fixbb to fix BoundingBox"
- @echo "run: make pdf to convert all figures to PDF"
- @echo "run: make clean to clean PDF files"
-
-fixbb: *.eps
- @echo -e "\nFixing BoundingBoxes...\n"
- @for f in *.eps ; \
- do \
- echo -n "$$f..." ;\
- epstool --quiet --copy --bbox $$f $$f~ ;\
- mv $$f~ $$f ;\
- echo "OK" ;\
- done
-
-pdf: $(patsubst %.eps, %.pdf, $(wildcard *.eps))
-
-%.pdf: %.eps
- epstopdf "$<"
-
-clean:
- rm -f *.pdf
diff --git a/Master/texmf-dist/doc/latex/disser/templates/latex.mk b/Master/texmf-dist/doc/latex/disser/templates/latex.mk
deleted file mode 100644
index 8c1927f8f11..00000000000
--- a/Master/texmf-dist/doc/latex/disser/templates/latex.mk
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Makefile for LaTeX projects
-# Author: Stanislav Kruchinin <stas@crypt.org.ru>
-#
-
-TARGET=thesis
-
-TEX=latex
-BIBTEX=bibtex8
-PDFLATEX=pdflatex
-L2H=latex2html
-FIND=/bin/find
-
-TEXFLAGS=-src-specials
-BIBTEXFLAGS=-B -c cp1251
-L2HFLAGS=-dir html -iso_language RU.RU -split 3 -short_index \
- -numbered_footnotes -no_footnode -white -antialias \
- -html_version 4.0
-
-SRC=$(TARGET).tex
-
-# Files to remove.
-CLEANEXT=*.aux *.toc *.idx *.ind *.ilg *.log *.out *.lof *.lot *.lol \
- *.bbl *.blg *.bak *.dvi
-CLEANFILES=$(TARGET).pdf $(TARGET).ps $(TARGET)_2on1.ps $(TARGET)_2on1.pdf \
- $(TARGET).tar.bz2
-
-# Targets
-dvi: $(TARGET).dvi
-
-ps: $(TARGET).ps
-
-pdf: $(TARGET).pdf
-
-html: $(SRC)
- $(TEX) $(TARGET).tex
- $(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
- $(TEX) $(TARGET).tex
- $(L2H) $(L2HFLAGS) $(TARGET).tex
-
-ps_2on1: $(TARGET)_2on1.ps
-
-pdf_2on1: $(TARGET)_2on1.pdf
-
-help:
- @echo "run: make or make dvi or make $(TARGET).dvi"
- @echo "run: make ps or make $(TARGET).ps"
- @echo "run: make pdf or make $(TARGET).pdf"
- @echo "run: make html"
- @echo "run: make ps_2on1 or make $(TARGET)_2on1.ps"
- @echo "run: make pdf_2on1 or make $(TARGET)_2on1.pdf"
- @echo "run: make srcdist to create archive $(TARGET).tar.bz2"
- @echo "run: make clean to remove (pdf)TeX ouptut files"
- @echo "run: make cleansvn to \"make clean\" and remove .svn directories"
-
-$(TARGET).dvi: $(SRC)
- $(TEX) $(TEXFLAGS) $(TARGET).tex
- $(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
- counter=3 ; \
- while egrep -s 'Rerun (LaTeX|to get)' $(TARGET).log && [ $$counter -gt 0 ] ;\
- do \
- $(TEX) $(TEXFLAGS) $(TARGET).tex ;\
- counter=`expr $$counter - 1` ;\
- done
-
-$(TARGET).ps: $(TARGET).dvi
- dvips -o $(TARGET).ps $(TARGET).dvi
-
-$(TARGET).pdf: $(SRC)
- @$(MAKE) -C fig fixbb pdf
- $(PDFLATEX) $(TARGET).tex
- $(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
- counter=3 ; \
- echo "counter=$counter" ; \
- while egrep -s 'Rerun (LaTeX|to get)' $(TARGET).log && [ $$counter -gt 0 ] ;\
- do \
- $(PDFLATEX) $(TARGET).tex ;\
- counter=`expr $$counter - 1` ;\
- done
-
-$(TARGET)_2on1.ps: $(TARGET).ps
- psnup -2 $^ > $@
-
-$(TARGET)_2on1.pdf: $(TARGET)_2on1.ps
- ps2pdf $^ $@
-
-fixbb: fig/*.eps
- @$(MAKE) -C fig fixbb
-
-srcdist:
- @$(MAKE) clean
- tar cjvf $(TARGET).tar.bz2 .
-
-clean:
- rm -f $(CLEANEXT) $(CLEANFILES)
- rm -f html/*\.*
- @$(MAKE) -C fig clean
-
-cleansvn:
- @$(MAKE) clean
- $(FIND) . -name ".svn" -exec rm -Rf \{\} \;
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/Makefile b/Master/texmf-dist/doc/latex/disser/templates/master/Makefile
index c2c5d718b33..4bad2e9be25 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/Makefile
@@ -1,3 +1,3 @@
TARGET=thesis
-include ../latex.mk \ No newline at end of file
+include ../../include/latex.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/app-a.tex b/Master/texmf-dist/doc/latex/disser/templates/master/app-a.tex
index 32fdb5374ba..a7aba9c235e 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/app-a.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/app-a.tex
@@ -1,3 +1 @@
\chapter{Заголовок приложения}
-
-Текст приложения. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/fig/Makefile b/Master/texmf-dist/doc/latex/disser/templates/master/fig/Makefile
index 5ee58751ab0..775b7fc3d88 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/fig/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/fig/Makefile
@@ -1 +1 @@
-include ../../latex.fig.mk \ No newline at end of file
+include ../../../include/latex.fig.mk \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/fig/fig.eps b/Master/texmf-dist/doc/latex/disser/templates/master/fig/fig.eps
index d3094eb51d3..9aeb4fae0ae 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/fig/fig.eps
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/fig/fig.eps
@@ -3,7 +3,7 @@
%%HiResBoundingBox: 236 371.521 360.902 469.38
%%Creator: Adobe Illustrator(TM) 3.2
%%AI8_CreatorVersion: 10.0
-%%For: (STiX0r) (-)
+%%For: (User) (-)
%%Title: (2LevelSys.eps)
%%CreationDate: 12/13/2003 4:07 AM
%%DocumentProcessColors: Black
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd
new file mode 100644
index 00000000000..031ac1797cf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd
@@ -0,0 +1 @@
+@call ..\..\..\include\latex.fig.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd
index 902f2a22ab2..477673612f6 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd
@@ -1,166 +1 @@
-@echo off
-
-set target=thesis
-
-rem Checking for version of cmd.exe
-if %CMDEXTVERSION%/==/ (
- echo Error: This script requieres command interpreter from Windows 2000 or above.
- goto :eof
-)
-
-rem Trying to autodetect MiKTeX installation directory
-if %texmf%/==/ call :getdir HKCU\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-if %texmf%/==/ call :getdir HKLM\Software\MiK\MiKTeX\CurrentVersion\MiKTeX "Install Root" texmf
-
-if %texmf%/==/ (
- echo Error: Unable to find MiKTeX installation directory
- echo You must set texmf value manually
- goto :eof
-)
-
-rem Name of thesis class
-set clsname=disser
-set clssrc=%texmf%\tex\latex\%clsname%
-set clsdir=.\%clsname%
-
-rem Name of BibTeX style
-set bstsrc=%texmf%\bibtex\bst\%clsname%
-set bstfile=%clsname%.bst
-
-rem Cmdline tools
-set arc=rar
-set arcflags=a -r -x%target%.pdf -x%target%.prj
-
-set tex=%texmf%\miktex\bin\latex
-set pdftex=%texmf%\miktex\bin\pdflatex
-set texflags=-src-specials
-
-set bibtex=%texmf%\miktex\bin\bibtex8
-set bibtexflags=-B -c cp1251
-
-set epstool=%programfiles%\bin\eps\epstool
-set epstopdf=%texmf%\miktex\bin\epstopdf
-
-set pdftodjvu=pdftodjvu
-set pdftodjvuflags=--dpi=600 --threshold-level=80 --fg-quality=conservative --bg-subsample=3 --quality=65 --convert-links --fg-colors=256 --fg-image-colors=256
-
-set djvuocr=djvubundle
-set djvuocrflags=--ocr=lang=(Russian,English)
-
-set mktexlsr=%texmf%\miktex\bin\mktexlsr.exe
-
-set srcfiles=*.*
-set clfiles=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf %target%.%arc%
-set suffix=$$
-
-if %1/==/ (
-:make
- chcp 1251
- %tex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %tex% %target%.tex
- %tex% %texflags% %target%.tex
-goto :eof
-)
-:start
-if %1/==/ goto :eof
-
-if %1/==pdf/ (
-:pdf
- chcp 1251
- %pdftex% %target%.tex
- %bibtex% %bibtexflags% %target%
- %pdftex% %target%.tex
- %pdftex% %texflags% %target%.tex
-goto :eof
-)
-
-rem Make source distribution
-if %1/==srcdist/ (
-:srcdist
- if not exist %clsdir% mkdir %clsdir%
- xcopy %clssrc% %clsdir% /S
- xcopy %bstsrc%\%bstfile% . /S
- call :clean
- %arc% %arcflags% %target%.%arc% %srcfiles%
- del /s /q %clsdir%
- rmdir /s /q %clsdir%
- del /q %bstfile%
-goto :end
-)
-
-if %1/==clean/ (
-:clean
- del /s %clfiles% 2> nul
- if exist %target%.rar del %target%.rar
-goto :end
-)
-
-if %1/==cleansvn/ (
-:cleansvn
- del /s .svn 2>nul
-goto :end
-)
-
-rem Fix bounding boxes of EPS files
-if %1/==fixbb/ (
-:fixbb
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :fix %%n
-goto :end
-:fix
- echo %1
- %epstool% --copy --quiet --bbox %1 %1.%suffix%
- move %1.%suffix% %1
-goto :eof
-)
-
-rem Convert EPS to PDF
-if %1/==epstopdf/ (
-:epstopdf
- for /f "usebackq" %%n in (`dir *.eps /s /b`) do call :conv %%n
- goto :end
-:conv
- echo %1
- %epstopdf% "%1"
-goto :eof
-)
-rem Installs requiered packages
-if %1/==install/ (
-:install
- if not exist %clssrc% md %clssrc%
- xcopy %clsdir%\ %clssrc%\ /Y
- rmdir %clsdir%
- if not exist %bstsrc% md %bstsrc%
- move %bstfile% %bstsrc%
- %mktexlsr%
-goto :end
-)
-rem Start default DVI-viewer
-if %1/==preview/ (
-:preview
- if not exist %target%.dvi call :make
- start %target%.dvi
-goto :end
-)
-rem Convert PDF to DjVu using LizardTech DocumentExpress Enterprise
-if %1/==djvu/ (
-:djvu
- if not exist %target%.pdf call :pdf
- %pdftodjvu% %pdftodjvuflags% %target%.pdf
-goto :end
-)
-rem Create backup
-if %1/==backup/ (
-:backup
- call :srcdist
- for /f "usebackq" %%n in (`date`) do move %target%.rar %%n.rar
-goto :end
-)
-
-echo Don't know how to make %1
-:end
-shift & goto :start
-
-:getdir
- for /f "usebackq tokens=4 skip=2" %%i in (`reg query %1 /v %2`) do set %3=%%i
-goto :eof
+@call ..\..\include\latex.nmk.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/thesis.bib b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.bib
index 0b1c94af0dc..933a33c56d2 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/thesis.bib
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.bib
@@ -1,24 +1,34 @@
@ARTICLE{Yoffe-1993-AP-42-173,
- Author = {A. D. Yoffe},
- Journal = {Adv. Phys.},
- Pages = {173},
- Volume = {42},
- Year = {1993}
+ Author = {A. D. Yoffe},
+ Journal = {Adv. Phys.},
+ Pages = {173},
+ Volume = {42},
+ Year = {1993}
+}
+
+@ARTICLE{Efros-1982-FTP16-82-1209,
+ Author = {Ал. Л. Эфрос and А. Л. Эфрос},
+ Journal = {Физика и техника полупроводников},
+ Pages = {1209},
+ Volume = {16},
+ Year = {1982},
+ Language = {russian}
}
@ARTICLE{Kayanuma-1988-PRB-38-9797,
- Author = {Y. Kayanuma},
- Journal = {Phys. Rev. B},
- Pages = {9797},
- Volume = {38},
- Year = {1988}
+ Author = {Y. Kayanuma},
+ Journal = {Phys. Rev. B},
+ Pages = {9797},
+ Volume = {38},
+ Year = {1988}
}
-@ARTICLE{Efros-1982-FTP16-82-1209,
- Author = {Ал. Л. Эфрос and А. Л. Эфрос},
- Journal = {Физика и техника полупроводников},
- Pages = {1209},
- Volume = {16},
- Year = {1982},
- Language = {russian}
+@INPROCEEDINGS{Segall-1968,
+ Author = {B. Segall},
+ Year = {1968},
+ Editor = {S. M. Ryvkin},
+ Booktitle = {Proceedings of IXth Conference on the Physics of Semiconductors, Moscow, 1968},
+ Pages = {425},
+ Address = {Leningrad},
+ Publisher = {Nauka},
}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
index 9680b946d8f..236b0c5b39f 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
@@ -1,12 +1,12 @@
-\documentclass[14pt,master,href,subf]{disser}
+\documentclass[a4paper,14pt,master,href,subf]{disser}
\usepackage[
- a4paper, includehead, includefoot, mag=1000,
- headsep=0mm, headheight=0mm,
- left=20mm, right=10mm, top=20mm, bottom=20mm
- ]{geometry}
+ a4paper, mag=1000, nohead, includefoot,
+ left=3cm, right=1cm, top=2cm, bottom=2cm, footskip=1cm
+]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{srcltx}
\graphicspath{{fig/}}
% --------------------------------------------------------------------------
@@ -46,10 +46,6 @@
\date{\number\year}
\maketitle
-%----------------------------------------------------------------------------
-\begin{abstract}
-
-\end{abstract}
%---------------------------------------------------------------------------
\tableofcontents
%---------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
index ac159d29bc2..b183654f156 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
@@ -1,4 +1,18 @@
@echo off
-set subdirs=bachelor ..\master ..\candidate ..\doctor
-for %%i in (%subdirs%) do cd %%i & nomake %1 %2 %3 %4 %5 %6 %7 %8 %9 \ No newline at end of file
+rem nomake script for LaTeX projects
+rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+
+if "%CMDEXTVERSION%"=="" (
+ echo Error: This script requires command interpreter from Windows 2000 or above.
+ goto :eof
+)
+
+if "%1"=="help" (
+ set subdirs=bachelor
+) else (
+ set subdirs=bachelor ..\master ..\candidate ..\doctor
+)
+
+for %%i in (%subdirs%) do @cd %%i & nomake %1 %2 %3 %4 %5 %6 %7 %8 %9
+
diff --git a/Master/texmf-dist/source/latex/disser/Makefile b/Master/texmf-dist/source/latex/disser/Makefile
index 222a4f34bbe..d51c64b1b35 100644
--- a/Master/texmf-dist/source/latex/disser/Makefile
+++ b/Master/texmf-dist/source/latex/disser/Makefile
@@ -1,15 +1,32 @@
+#
+# Makefile for LaTeX packages
+# Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
+#
+
TARGET=disser
+SUBCLASS=gost732
TEXMF=/usr/share/texmf
DESTDIR=$(TEXMF)/tex/latex/$(TARGET)
DOCDIR=$(TEXMF)/doc/latex/$(TARGET)
-LATEX=latex
+TEX=latex
+PDFTEX=pdflatex
+TEXFLAGS=
INSTFILES=*.cls *.rtx
-DOCFILES=$(TARGET).dvi
-CLEANFILES=$(INSTFILES) *.log *.out *.aux *.dvi *.idx *.glo *.toc *.bak *.bbl *.blg
+DOCFILES=*.dvi *.pdf
+CLEXT= *.log *.out *.aux *.dvi *.idx *.glo *.toc *.bak *.bbl *.blg
+CLFILES=$(INSTFILES) $(DOCFILES) $(CLEXT)
+
+all: class doc
+
+class: *.cls
+
+doc: dvi pdf
+
+dvi: $(TARGET).dvi $(SUBCLASS).dvi
-all: *.cls doc
+pdf: $(TARGET).pdf $(SUBCLASS).pdf
install: all
mkdir -p $(DESTDIR)
@@ -17,14 +34,28 @@ install: all
cp $(INSTFILES) $(DESTDIR)
cp $(DOCFILES) $(DOCDIR)
-%.cls: %.ins
- $(LATEX) $<
-
-doc: $(TARGET).dvi
+clean:
+ rm -f $(CLFILES)
-$(TARGET).dvi: $(TARGET).dtx
- $(LATEX) $<
- $(LATEX) -src-specials $<
+%.cls: %.ins
+ $(TEX) $<
+
+%.dvi: %.dtx
+ $(TEX) $(TEXFLAGS) $<
+ $(TEX) $(TEXFLAGS) $<
+
+%.pdf: %.dtx
+ $(PDFTEX) $(TEXFLAGS) $<
+ $(PDFTEX) $(TEXFLAGS) $<
+
+help:
+ @echo "Targets:"
+ @echo " all - (default) build classes and documentation"
+ @echo " class - build classes"
+ @echo " clean - remove ouptut files"
+ @echo " doc - build DVI and PDF versions of documentation"
+ @echo " dvi - build DVI version of documentation"
+ @echo " pdf - build PDF version of documentation"
+ @echo " install - install package and documentation"
+ @echo " help - show help"
-clean:
- rm -f $(CLEANFILES)
diff --git a/Master/texmf-dist/source/latex/disser/autoref.dtx b/Master/texmf-dist/source/latex/disser/autoref.dtx
index c76800ddb32..1a7c1d885fd 100644
--- a/Master/texmf-dist/source/latex/disser/autoref.dtx
+++ b/Master/texmf-dist/source/latex/disser/autoref.dtx
@@ -1,5 +1,7 @@
% \begin{macrocode}
+%<autoref>\ProvidesFile{autoref.rtx}
+
%<*autoref>
% \end{macrocode}
% \subsubsection{Титульный лист автореферата}
diff --git a/Master/texmf-dist/source/latex/disser/bachelor.dtx b/Master/texmf-dist/source/latex/disser/bachelor.dtx
index df146fda6c2..a7dfa77f7d1 100644
--- a/Master/texmf-dist/source/latex/disser/bachelor.dtx
+++ b/Master/texmf-dist/source/latex/disser/bachelor.dtx
@@ -1,5 +1,7 @@
% \begin{macrocode}
+%<bachelor>\ProvidesFile{bachelor.rtx}
+
%<*bachelor>
% \end{macrocode}
% \subsubsection{Титульный лист бакалаврской работы}
diff --git a/Master/texmf-dist/source/latex/disser/candidate.dtx b/Master/texmf-dist/source/latex/disser/candidate.dtx
index 3c9febe209f..f7f22de21f0 100644
--- a/Master/texmf-dist/source/latex/disser/candidate.dtx
+++ b/Master/texmf-dist/source/latex/disser/candidate.dtx
@@ -1,5 +1,7 @@
% \begin{macrocode}
+%<candidate>\ProvidesFile{candidate.rtx}
+
%<*candidate>
% \end{macrocode}
% \subsubsection{Титульный лист кандидатской диссертации}
diff --git a/Master/texmf-dist/source/latex/disser/chapter.dtx b/Master/texmf-dist/source/latex/disser/chapter.dtx
index 6739437674e..5688c54c112 100644
--- a/Master/texmf-dist/source/latex/disser/chapter.dtx
+++ b/Master/texmf-dist/source/latex/disser/chapter.dtx
@@ -1,3 +1,8 @@
+
+% \iffalse
+%%% From File: chapter.dtx
+% \fi
+%
% \begin{macrocode}
%<*chapter>
@@ -5,12 +10,8 @@
%
% \subsection{Глава}
%
-% Пустое определение маркера главы.
-% \begin{macrocode}
-\newcommand*\chaptermark[1]{}
-% \end{macrocode}
-% Далее идут параметры аналогичные тем, что использовались в
-% предыдущем разделе.
+% \subsubsection{Параметры формата записи в Содержании}
+%
% \begin{macrocode}
\providecommand\tocprethechapter{\protect\chaptername~}
\providecommand\tocpostthechapter{.\@postskip}
@@ -20,6 +21,9 @@
\providecommand\tocchapterfillfont{\normalfont}
\providecommand\tocchapternumfont{\normalfont}
+% \end{macrocode}
+% \subsubsection{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\thechapteralign{\centering}
\providecommand\thechapterfont{\Large}
\providecommand\prethechapter{\protect\chaptername~}
@@ -33,26 +37,12 @@
\def\chapterpagestyle#1{\gdef\@chapterpagestyle{#1}}\chapterpagestyle{plain}
% \end{macrocode}
-% Параметры формата заголовка Приложения.
+%
+% \subsubsection{Низкоуровневые команды}
+%
+% Пустое определение колонтитула главы.
% \begin{macrocode}
-\providecommand\tocpretheappendix{\protect\appendixname~}
-\providecommand\tocposttheappendix{.\@postskip}
-\providecommand\tocappendixfill{\tocfill{.}}
-
-\providecommand\tocappendixfont{\bfseries}
-\providecommand\tocappendixfillfont{\normalfont}
-\providecommand\tocappendixnumfont{\normalfont}
-
-\providecommand\theappendixalign{\centering}
-\providecommand\theappendixfont{\Large}
-\providecommand\pretheappendix{\protect\appendixname~}
-\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
-
-\providecommand\appendixalign{\centering}
-\providecommand\appendixfont{\Large\bfseries}
-\providecommand\preappendix{}
-\providecommand\postappendix{\par\nobreak\vskip 20\p@}
-
+\newcommand*\chaptermark[1]{}
% \end{macrocode}
% Интерфейс.
% \begin{macrocode}
@@ -68,6 +58,11 @@
\secdef\@chapter\@schapter
}
+% \end{macrocode}
+%
+% \DescribeMacro{\@chapter}
+% Команда, формирующая нумеруемый заголовок |\chapter|.
+% \begin{macrocode}
\def\@chapter[#1]#2{
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}%
@@ -89,7 +84,9 @@
\fi
}
% \end{macrocode}
-% Формат на странице.
+%
+% \DescribeMacro{\@makechapterhead}
+% Формат нумеруемого заголовка.
% \begin{macrocode}
\def\@makechapterhead#1{%
{%
@@ -108,6 +105,11 @@
}
}
+% \end{macrocode}
+%
+% \DescribeMacro{\@schapter}
+% Команда, формирующая ненумеруемый заголовок |\chapter*|.
+% \begin{macrocode}
\def\@schapter#1{
\if@twocolumn
\@topnewpage[\@makeschapterhead{#1}]%
@@ -117,6 +119,11 @@
\fi
}
+% \end{macrocode}
+%
+% \DescribeMacro{\@makeschapterhead}
+% Формат ненумеруемого заголовка.
+% \begin{macrocode}
\def\@makeschapterhead#1{%
{%
\parindent \z@ \raggedright
@@ -125,6 +132,8 @@
}
}
% \end{macrocode}
+%
+% \DescribeMacro{\l@chapter}
% Команда, создающая запись в Содержании.
% \begin{macrocode}
\newcommand*\l@chapter[2]{%
@@ -148,7 +157,37 @@
}
% \end{macrocode}
-% Команда для создания глав Приложения.
+%
+% \subsection{Приложение}
+%
+% \subsubsection{Параметры формата записи в Содержании}
+% \begin{macrocode}
+\providecommand\tocpretheappendix{\protect\appendixname~}
+\providecommand\tocposttheappendix{.\@postskip}
+\providecommand\tocappendixfill{\tocfill{.}}
+
+\providecommand\tocappendixfont{\bfseries}
+\providecommand\tocappendixfillfont{\normalfont}
+\providecommand\tocappendixnumfont{\normalfont}
+
+% \end{macrocode}
+% \subsubsection{Параметры формата в тексте}
+% \begin{macrocode}
+\providecommand\theappendixalign{\centering}
+\providecommand\theappendixfont{\Large}
+\providecommand\pretheappendix{\protect\appendixname~}
+\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
+
+\providecommand\appendixalign{\centering}
+\providecommand\appendixfont{\Large\bfseries}
+\providecommand\preappendix{}
+\providecommand\postappendix{\par\nobreak\vskip 20\p@}
+% \end{macrocode}
+%
+% \DescribeMacro{\appendix}
+% Команда для создания глав Приложения. Сохранение и восстановление
+% значений параметров делаются для случая, когда приложения идут до
+% списка литературы.
% \begin{macrocode}
\newcommand\appendix{
\setcounter{chapter}{0}
@@ -200,6 +239,10 @@
\gdef\thechapter{\theappendix}
}
+% \end{macrocode}
+% \DescribeMacro{\noappendix}
+% Восстановление исходных параметров формата заголовков глав.
+% \begin{macrocode}
\newcommand\noappendix{
\let\tocprethechapter=\oldtocprethechapter
\let\tocpostthechapter=\oldtocpostthechapter
@@ -222,55 +265,5 @@
\gdef\thechapter{\oldthechapter}
}
-% \end{macrocode}
-% Команда для создания ненумеруемых глав, которые будут включены в
-% Содержание и PDF-закладки. Для того, чтобы закладка указывала именно на
-% заголовок, а не на первый абзац под ним, нужно поместить |\phantomchapter|
-% и |\addcontentsline| внутри аргумента |\chapter*|. Честно говоря, мне это
-% не нравится. Надо придумать что-то более простое и изящное.
-% \begin{macrocode}
-\newcommand\nchapter[1]{%
- \chapter*{%
- \phantomchapter\addcontentsline{toc}{chapter}{#1}%
- #1%
- \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
- }
-}
-
-% \end{macrocode}
-% \subsubsection{Определения ненумеруемых глав, входящих в Содержание}
-% \begin{itemize}
-%
-% \item Содержание
-% \begin{macrocode}
-\def\newcontentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
-
-% \end{macrocode}
-% \item Введение
-% \begin{macrocode}
-\def\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
-\newcommand\intro{\nchapter{\introname}}
-% \end{macrocode}
-% \item Заключение
-% \begin{macrocode}
-\def\conclusionname{%
-{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
-}
-\newcommand\conclusion{\nchapter{\conclusionname}}
-% \end{macrocode}
-% \item Используемые обозначения
-% \end{itemize}
-% \begin{macrocode}
-\def\defsname{%
-{\cyr\CYRI\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyru\cyre\cyrm\cyrery\cyre\ %
-\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrya}
-}
-\newcommand\defs{\nchapter{\defsname}}
-%
-% Обзор литературы
-% \begin{macrocode}
-\def\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
-\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
-\newcommand\review{\nchapter{\reviewname}}
%</chapter>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/counters.dtx b/Master/texmf-dist/source/latex/disser/counters.dtx
index d5a6a87bc93..259e0a2547e 100644
--- a/Master/texmf-dist/source/latex/disser/counters.dtx
+++ b/Master/texmf-dist/source/latex/disser/counters.dtx
@@ -1,3 +1,8 @@
+
+% \iffalse
+%%% From File: counters.dtx
+% \fi
+%
% \begin{macrocode}
%<*counters>
@@ -76,10 +81,10 @@
\newcommand\doctor@the \candidate@the
\newcommand\autoref@the \candidate@the
-\if@bachelor \bachelor@the \fi
-\if@master \master@the \fi
-\if@candidate \candidate@the \fi
-\if@doctor \doctor@the \fi
-\if@autoref \autoref@the \fi
+\ifDis@bachelor \bachelor@the \fi
+\ifDis@master \master@the \fi
+\ifDis@candidate\candidate@the \fi
+\ifDis@doctor \doctor@the \fi
+\ifDis@autoref \autoref@the \fi
%</counters>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/custom.dtx b/Master/texmf-dist/source/latex/disser/custom.dtx
index 072fe00fa2d..f4c63afd9b8 100644
--- a/Master/texmf-dist/source/latex/disser/custom.dtx
+++ b/Master/texmf-dist/source/latex/disser/custom.dtx
@@ -1,8 +1,13 @@
+
+% \iffalse
+%%% From File: custom.dtx
+% \fi
+%
% \begin{macrocode}
%<*custom>
% \end{macrocode}
-% \subsection{Подключение и настройка параметров сторонних пакетов}
+% \subsection{Подключение и настройка сторонних пакетов}
% Включает отступ в первой строке первого абзаца.
% \begin{macrocode}
\let\@afterindentfalse\@afterindenttrue
@@ -14,33 +19,101 @@
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
% \end{macrocode}
-% Более естественные символы интегралов (из шрифтов семейства Euler).
+% Включение шрифта Times вместо Computer Modern Roman.
+% \begin{macrocode}
+\ifDis@times
+ \AtEndOfPackage{%
+ \usepackage{pscyr}
+% \end{macrocode}
+% Пакет |txfonts| необходимо подключать \textbf{после} |pscyr| для
+% корректного определения символов, составленных из двух других (таких как
+% $\hbar$ и $\neq$).
% \begin{macrocode}
-\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
-\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
-\DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+ \usepackage{txfonts}
+% \end{macrocode}
+% Установка Times как шрифта по умолчанию.
+% \begin{macrocode}
+ \renewcommand{\rmdefault}{ftm}
+ }
+\fi
+% \end{macrocode}
+% Более естественные символы интегралов из шрифтов семейства Euler.
+% \begin{macrocode}
+\ifDis@fixint
+ \DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
+ \DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
+ \DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+ \AtBeginDocument{%
+ \def\intkern@{\mkern -6mu }%
+ \def\ints@#1{\mkern -3mu
+ \mathop{\mkern 3mu
+ \intop
+ \ifnum #1=\z@ \intdots@ \else
+ \intkern@
+ \ifnum #1>\tw@ \intop\intkern@
+ \ifnum #1>\thr@@ \intop\intkern@ \fi
+ \fi
+ \fi
+ \intop
+ }\ilimits@
+ }%
+ \renewcommand{\iint}{\DOTSI\protect\MultiIntegral{2}}
+ \renewcommand{\iiint}{\DOTSI\protect\MultiIntegral{3}}
+ \renewcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}}
+ \renewcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
+ }{}
+\fi
% \end{macrocode}
% Пакет для оформления библиографических ссылок.
% \begin{macrocode}
\usepackage[square, comma, sort&compress]{natbib}
% \end{macrocode}
-% \DescribeMacro{\phantomchapter}
-% Команда для исправления PDF-закладок, указывающих на |\chapter*|.
+% \DescribeMacro{\metaphantom}
+% Команда для исправления PDF-закладок, указывающих на ненумеруемые разделы
+% (|\chapter*|, |\section*| и т. п.).
% \begin{macrocode}
-\def\phantomchapter{%
- \ifhref
+\def\metaphantom#1{%
+ \ifDis@href
\Hy@GlobalStepCount\Hy@linkcounter
- \xdef\@currentHref{chapter*.\the\Hy@linkcounter}%
+ \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
\fi
}
% \end{macrocode}
+% Команда для создания ненумеруемых глав, которые будут включены в
+% Содержание и PDF-закладки. Для того, чтобы закладка указывала именно на
+% заголовок, а не на первый абзац под ним, нужно поместить |\metaphantom{chapter}|
+% и |\addcontentsline| внутри аргумента |\chapter*|. Честно говоря, мне это
+% не нравится. Надо придумать что-то более простое и изящное.
+% \begin{macrocode}
+\newcommand\nchapter[1]{%
+ \chapter*{%
+ \metaphantom{chapter}\addcontentsline{toc}{chapter}{#1}%
+ #1%
+ \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
+ }
+}
+\newcommand\nsection[1]{%
+ \section*{\metaphantom{section}%
+ \addcontentsline{toc}{section}{#1}#1}
+}
+\newcommand\nsubsection[1]{%
+ \subsection*{\metaphantom{subsection}%
+ \addcontentsline{toc}{subsection}{#1}#1}
+}
+\newcommand\nsubsubsection[1]{%
+ \subsection*{\metaphantom{subsubsection}%
+ \addcontentsline{toc}{subsubsection}{#1}#1}
+}
+% \end{macrocode}
% Переопределение для включения ссылки на список литературы в Содержание.
% \DescribeMacro{\bibsection}
% \begin{macrocode}
\renewcommand\bibsection{\nchapter{\bibname}}
+
% \end{macrocode}
-% Переопределение для создания корректной PDF-закладки (основано на варианте % из |natbib|).
+% Переопределение для создания корректной PDF-закладки (основано на варианте
+% из |natbib|).
% \DescribeEnv{thebibliography}
% \begin{macrocode}
\renewenvironment{thebibliography}[1]{%
@@ -59,19 +132,24 @@
\let\citeN\cite
\let\shortcite\cite
\let\citeasnoun\cite
+% \end{macrocode}
+% Убираем интервал между библиографическими ссылками для автореферата.
+% \begin{macrocode}
+ \ifDis@autoref\setlength\bibsep{0pt}\fi
}{%
\def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
\endlist\vskip-\lastskip%
}
% \end{macrocode}
-% Настройка параметров |hyperref|:
+%
+% Подключение и настройка параметров пакета |hyperref|:
% \begin{macrocode}
\ifpdf
% \end{macrocode}
% \begin{itemize}
% \item для pdf\LaTeX{}
% \begin{macrocode}
- \ifhref
+ \ifDis@href
\usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
\hypersetup{
colorlinks = false,
@@ -84,21 +162,19 @@
\pdfcompresslevel = 9
\fi
\usepackage[pdftex]{graphicx}
- \IfFileExists{cmap.sty}{%
- \usepackage{cmap}
- }{}
+ \usepackage{cmap}
\else
% \end{macrocode}
% \item для \LaTeX{}
% \end{itemize}
% \begin{macrocode}
- \ifhref\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
+ \ifDis@href\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
\usepackage{graphicx}
\fi
% \end{macrocode}
% Пакет исправлений для совместного использования |hyperref| и |natbib|.
% \begin{macrocode}
-\ifhref\usepackage{hypernat}\fi
+\ifDis@href\usepackage{hypernat}\fi
% \end{macrocode}
% Плавающие рисунки ``в оборку''.
% \begin{macrocode}
@@ -106,7 +182,7 @@
% \end{macrocode}
% \paragraph{Пакет для вложенной нумерации плавающих объектов}
% \begin{macrocode}
-\ifsubf
+\ifDis@subf
\usepackage[config,font=small,labelsep=period]{caption,subfig}
% \end{macrocode}
% Формат счетчика.
@@ -115,13 +191,8 @@
% \end{macrocode}
% Формат ссылки через |\ref|.
% \begin{macrocode}
- \def\p@subfigure{\thefigure, }
+ \providecommand\thefigsubsep{,\ }
+ \def\p@subfigure{\@nameuse{thefigure}\thefigsubsep}
\fi
-
-% \end{macrocode}
-% Включение переносов в словах с дефисом.
-% \begin{macrocode}
-\lccode `\-=`\-
-\defaulthyphenchar=127
%</custom>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/disser.dtx b/Master/texmf-dist/source/latex/disser/disser.dtx
index 085d8a80736..c5611f33188 100644
--- a/Master/texmf-dist/source/latex/disser/disser.dtx
+++ b/Master/texmf-dist/source/latex/disser/disser.dtx
@@ -1,4 +1,4 @@
-%\iffalse
+% \iffalse meta-comment
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% disser -- LaTeX document class for dissertations.
@@ -18,16 +18,19 @@
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%<driver>\ProvidesFile{disser.dtx}
%<*driver>
+\ProvidesFile{disser.drv}[2007/11/29 1.0.4 Document class for dissertations.]
+
\documentclass{ltxdoc}
\usepackage[a4paper, includehead, includefoot, mag=1000,
left=4cm, right=1.5cm, top=1cm, bottom=2cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
+\usepackage{ifpdf,indentfirst,tabularx,doc}
-\usepackage[unicode,
+\ifpdf
+ \usepackage[unicode,
pdftitle = {Documented source code of the disser package},
pdfauthor = {Stanislav Kruchinin},
pdfsubject = {disser},
@@ -37,7 +40,10 @@
bookmarksnumbered = true,
bookmarksopenlevel = 2
]{hyperref}
-\usepackage{cmap}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
\let\package\textsf
\IfFileExists{pscyr.sty}{%
@@ -45,12 +51,10 @@
\renewcommand\ttdefault{cmtt}
\renewcommand\rmdefault{ftm}
}{}
-\usepackage{doc}
\IfFileExists{url.sty}{\RequirePackage{url}}{\newcommand\url{\texttt}}
\hypersetup{
colorlinks = true,
- colorlinks = true,
linkcolor = black, citecolor=blue,
filecolor = blue, menucolor=blue,
pagecolor = blue, urlcolor=blue
@@ -59,12 +63,21 @@
%\OnlyDescription % uncomment to suppress code line listing
\RecordChanges % uncomment for a change history
%\CodelineIndex\EnableCrossrefs % uncomment for command index
+\GetFileInfo{disser.drv}
\MakeShortVerb{\|}
-\parindent=0pt
+
+\def\deflabel#1{\ttfamily #1\hfill}
+\def\deflist#1{\begin{list}{}{\settowidth\labelwidth{\ttfamily #1}%
+ \setlength\leftmargin\labelwidth
+ \addtolength\leftmargin\labelsep
+ \let\makelabel\deflabel}}
+\def\enddeflist{\end{list}}
+\def\envfont{\normalfont\ttfamily}
\begin{document}
\sloppy
+ \PrintChanges
\DocInput{disser.dtx}
\DocInput{counters.dtx}
\DocInput{part.dtx}
@@ -80,23 +93,21 @@
\DocInput{candidate.dtx}
\DocInput{doctor.dtx}
\DocInput{autoref.dtx}
+ \DocInput{titledefs.dtx}
\DocInput{toc.dtx}
\DocInput{custom.dtx}
- \DocInput{gost732.dtx}
- \PrintChanges
\end{document}
%</driver>
% \fi
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \def\fileversion{1.0.3}
-%
% \title{|disser| "--- класс \LaTeX{} для оформления диссертаций}
+% \date{Версия \fileversion\\[6pt]\filedate}
% \author{Станислав Кручинин\\[6pt]
% \normalsize E-mail:
-% \href{mailto:stas@crypt.org.ru}{\texttt{stas@crypt.org.ru}}}
-% \date{Версия \fileversion}
+% \href{mailto:stanislav.kruchinin@gmail.com}
+% {\texttt{stanislav.kruchinin@gmail.com}}}
%
% \maketitle
%
@@ -120,28 +131,229 @@
% требованиями, поэтому он разбит на несколько файлов и снабжен подробными
% комментариями.
%
-% \section{Исходный текст}
+% \section{Краткое руководство по использованию}
+%
+% \subsection{Шаблоны}
+%
+% Поскольку дипломы и диссертации имеют фиксированную структуру,
+% к классу прилагаются соответствующие шаблоны (каталог |disser/templates|),
+% которые рекомендуется использовать для создания своих документов.
+%
+% \subsection{Зависимости}
+%
+% Список пакетов необходимых для cборки документации и шаблонов с минимумом
+% опций (помимо пакетов для руссификации):
+% \texttt{amssymb},
+% \texttt{amsmath},
+% \texttt{cmap},
+% \texttt{floatflt},
+% \texttt{graphicx},
+% \texttt{ifpdf},
+% \texttt{natbib},
+% \texttt{oberdiek},
+% \texttt{tabularx}.
+%
+% Дополнительные пакеты:
+% \texttt{caption},
+% \texttt{hypernat},
+% \texttt{hyperref},
+% \texttt{pscyr},
+% \texttt{subfig}.
+%
+% Для полноценной работы рекомендуется установить всё вышеперечисленное.
+%
+% \subsection{Опции}
+%
+% \extrarowheight=3pt
+% \tabcolsep=6pt
+% \arraycolsep=0pt
+%
+% \begin{table}[!ht]
+% \begin{tabular}{p{0.3\linewidth}|p{0.55\linewidth}}
+% \hline\hline
+% \textbf{a4paper}, a5paper, b5paper &
+% Размеры листов.
+% \\\hline
+% 8pt, 9pt, 10pt, 11pt, 12pt, \textbf{14pt} &
+% Размер шрифта основного текста.
+% \\\hline
+% landscape &
+% Альбомная ориентация.
+% \\\hline
+% \textbf{oneside}, twoside &
+% Односторонняя или двухсторонняя печать.
+% \\\hline
+% draft, \textbf{final} &
+% Выводить (draft) или нет (final) пометки, фиксирующие переполнение |\hbox|
+% для данной строки.
+% \\\hline
+% \textbf{titlepage}, notitlepage &
+% Печатать титульный лист или нет.
+% \\\hline
+% openright, \textbf{openany} &
+% Главы будут всегда начинаться только с нечетных страниц (т.е. справа, если
+% смотреть на разворот) или c любых.
+% \\\hline
+% \textbf{onecolumn}, twocolumn &
+% Верстка в один или в два столбца.
+% \\\hline
+% fleqn &
+% Выключные формулы будут выравнены по левому краю, а не по центру.
+% \\\hline
+% leqno &
+% Номера будут размещены слева, а не справа от формул.
+% \\\hline
+% openbib &
+% Блоки текста в списке литературы будут печататься на новых строках и с
+% отступом.
+% \\\hline
+% subf &
+% Использовать пакет |subfig| для ведения вложенной нумерации рисунков.
+% \\\hline
+% href &
+% Использовать пакет |hyperref|.
+% \\\hline
+% times &
+% Включает использование гарнитуры Times в тексте и формулах.
+% Для использования опции необходимо установить пакеты |pscyr| и
+% |txfonts|.
+% \\\hline
+% bachelor, master, \textbf{candidate}, doctor &
+% Тип диссертации.
+% \\\hline
+% fixint = \{\textbf{true}$\,\vert\,$false\} &
+% Исправление знаков интегралов и положения пределов интегрирования
+% на более привычные.
+% \\\hline\hline
+% \end{tabular}
+% \end{table}
+%
+% \textbf{Примечание:} жирным шрифтом выделены опции, используемые
+% по умолчанию.
+%
+% \subsection{\texttt{Makefile} и \texttt{nomake.cmd}}
+%
+% Для автоматизации операций сборки, установки и обновления пакета созданы
+% две системы скриптов, имеющих одинаковый набор целей сборки:
+% |Makefile| в формате GNU Make и файлы |nomake.cmd|, написанные на языке
+% командного интерпретатора |cmd.exe| ОС Windows 2000 и выше.
+%
+% Использование в Unix-подобных окружениях: |make <цель>|.
+%
+% В Windows: |nomake <цель>|.
+%
+% Далее следуют описания целей в различных каталогах.
+%
+% \subsubsection{Каталог \texttt{disser/}}
+%
+% \begin{deflist}{marginbreak}
+% \item[all]
+% Сборка классов и шаблонов.
+% \item[class]
+% Сборка классов |disser| и |gost732|. Соответствует цели |class|
+% в каталоге |disser/src|. Цель по умолчанию.
+% \item[clean]
+% Цель |clean| в каталогах |src| и |templates|.
+% \item[doc]
+% Сборка DVI- и PDF-версий документации.
+% \item[export]
+% Экспорт файлов из Subversion-репозитория в каталог |./disser|.
+% \item[help]
+% Справка по целям сборки.
+% \item[install]
+% Копирование класса и документации в дерево каталогов \LaTeX{}.
+% Соответствует цели |install| в каталоге |disser/src|.
+% \item[sfupload]
+% Загрузка |disser-<version>.zip| на upload-сервер SourceForge.
+% \item[srcdist]
+% Упаковка каталога |./disser| в архив |disser-<version>.zip|.
+% \item[template]
+% Сборка всех шаблонов. Соответствует цели по умолчанию в
+% каталоге |disser/templates|.
+% \end{deflist}
+%
+% \subsubsection{Каталог \texttt{disser/src/}}
+%
+% \begin{deflist}{marginbreak}
+% \item[all]
+% Сборка классов и документации. Цель по умолчанию.
+% \item[class]
+% Сборка классов |disser| и |gost732|.
+% \item[clean]
+% Удаление файлов, указанных в переменной |$CLFILES|.
+% \item[doc]
+% Сборка DVI- и PDF-версий документации.
+% \item[dvi]
+% Сборка DVI-версии документации.
+% \item[help]
+% Справка по целям сборки.
+% \item[install]
+% Копирование файлов класса и документации в дерево каталогов
+% дистрибутива \LaTeX{}.
+% \item[pdf]
+% Сборка PDF-версии документации.
+% \end{deflist}
+%
+% \subsubsection{Каталоги \texttt{disser/templates} и
+% \texttt{disser/templates/<тип-диссертации>/}}
+%
+% \begin{deflist}{marginbreak}
+% \item[dvi]
+% Сборка |thesis.dvi|. Цель по умолчанию.
+% \item[clean]
+% Удаление файлов, указанных в переменной |$CLFILES|.
+% \item[epstopdf]
+% Конвертирование EPS в PDF.
+% \item[fixbb]
+% Исправление BoundingBox во всех EPS-файлах.
+% \item[help]
+% Справка по целям сборки.
+% \item[html]
+% Сборка HTML-файла.
+% \item[pdf]
+% Сборка |thesis.pdf|.
+% \item[pdf\_2on1]
+% Сборка PDF-файла <<тетрадкой>> (по 2 страницы на разворот).
+% \item[ps]
+% Сборка |thesis.ps|.
+% \item[ps\_2on1]
+% Сборка PostScript-файла <<тетрадкой>> (по 2 страницы на разворот).
+% \item[srcdist]
+% Сборка архива из содержимого текущего каталога.
+% \end{deflist}
+%
+% \textbf{Примечание:}
+% 1) |nomake.cmd| в подкаталогах шаблонов зависят от |latex.nmk.cmd| и
+% |latex.fig.nmk.cmd|. |Makefile| зависят от |latex.mk| и |latex.fig.mk|.
+% 2) |nomake.cmd| включает в себя цели каталога |fig|.
+%
+% \subsubsection{Каталог \texttt{disser/templates/<тип-диссертации>/fig/}}
+%
+% \begin{deflist}{marginbreak}
+% \item[clean]
+% Удаление PDF файлов.
+% \item[epstopdf]
+% Конвертирование EPS в PDF.
+% \item[fixbb]
+% Исправление BoundingBox во всех EPS-файлах.
+% \item[help]
+% Справка по целям сборки. Цель по умолчанию.
+% \end{deflist}
+%
+% \section{Исходный текст}\parindent=0pt
%
% \begin{macrocode}
-%<disser>\NeedsTeXFormat{LaTeX2e}
-%<disser>\ProvidesClass{disser}[2007/06/15 Document class for dissertations.]
-%<disser>\ProvidesPackage{disser}
-
-%<bachelor>\ProvidesFile{bachelor.rtx}
-%<master>\ProvidesFile{master.rtx}
-%<candidate>\ProvidesFile{candidate.rtx}
-%<doctor>\ProvidesFile{doctor.rtx}
-%<autoref>\ProvidesFile{autoref.rtx}
-%<titledefs>\ProvidesFile{titledefs.rtx}
-
%<*disser>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{disser}[2007/11/29 Document class for dissertations.]
+
% \end{macrocode}
-% Расширение включаемых файлов.
+% Расширение включаемых в |disser.cls| файлов.
% \begin{macrocode}
\def\substyle@ext{.rtx}
% \end{macrocode}
-% Определение условий.
+% Определение операторов условного выполнения.
% \begin{itemize}
% \item |true|, если включена опция, оставляющая одну колонку при
% двухколонном наборе.
@@ -150,45 +362,88 @@
% \end{macrocode}
% \item |true|, если разрешена титульная страница.
% \begin{macrocode}
-\newif\if@titlepage\@titlepagetrue
-% \end{macrocode}
-% \item Соответствующие типы диссертаций.
-% \begin{macrocode}
-\newif\if@bachelor\@bachelorfalse
-\newif\if@master\@masterfalse
-\newif\if@candidate\@candidatefalse
-\newif\if@doctor\@doctorfalse
-\newif\if@autoref\@autoreffalse
+\newif\if@titlepage
% \end{macrocode}
% \item |true|, если главы начинаются только с нечетных страниц.
% \begin{macrocode}
\newif\if@openright
% \end{macrocode}
-% \item |true|, если подключается |hyperref|.
+% \item подключение пакета, определяющего |\ifpdf|.
% \begin{macrocode}
-\newif\ifhref\hreffalse
+\RequirePackage{ifpdf}
+
% \end{macrocode}
-% \item |true|, если файл обрабатывается pdf\LaTeX{}.
+% \item Соответствующие типы диссертаций.
% \begin{macrocode}
-\newif\ifpdf
- \ifx\pdfoutput\undefined
- \else
- \ifx\pdfoutput\relax
- \else
- \ifcase\pdfoutput
- \else
- \pdftrue
- \fi
- \fi
- \fi
+\newif\ifDis@bachelor
+\newif\ifDis@master
+\newif\ifDis@candidate
+\newif\ifDis@doctor
+\newif\ifDis@autoref
-\newif\ifsubf\subffalse
+% \end{macrocode}
+% \item |true|, если подключается |hyperref|.
+% \begin{macrocode}
+\newif\ifDis@href
+% \end{macrocode}
+% \item Подключение и настройка пакета |subfig|.
+% \begin{macrocode}
+\newif\ifDis@subf
+% \end{macrocode}
+% \item Шрифт Times как основной.
+% \begin{macrocode}
+\newif\ifDis@times
% \end{macrocode}
% \end{itemize}
+%
+% Установка значений по уиолчанию.
+% \begin{macrocode}
+\@titlepagetrue
+\Dis@bachelorfalse
+\Dis@masterfalse
+\Dis@candidatetrue
+\Dis@doctorfalse
+\Dis@autoreffalse
+\Dis@timesfalse
+\Dis@subffalse
+\Dis@hreffalse
+
+% \end{macrocode}
+%
% \subsection{Опции класса}
%
-% Размер листов.
+% Подключение пакета |kvoptions| для обработки опций в формате
+% |ключ = значение|.
+% \begin{macrocode}
+\RequirePackage{kvoptions}[2006/08/17]
+
+% \end{macrocode}
+% Подключение пакета |hyperref| и необходимых настроек.
+% \begin{macrocode}
+\DeclareOption{href}{\Dis@hreftrue}
+
+% \end{macrocode}
+% Подключение пакета |subfig| и необходимых настроек.
+% \begin{macrocode}
+\DeclareOption{subf}{\Dis@subftrue}
+
+% \end{macrocode}
+% Настройка опций.
+% \begin{macrocode}
+\SetupKeyvalOptions{
+ family=Dis,
+ prefix=Dis@
+}
+% \end{macrocode}
+% Исправление знаков интегралов и пределов интегрирования на более
+% привычные.
+% \begin{macrocode}
+\DeclareBoolOption[true]{fixint}
+
+% \end{macrocode}
+%
+% Размеры листов.
% \begin{macrocode}
\DeclareOption{a4paper}{%
@@ -266,25 +521,13 @@
% \begin{macrocode}
\DeclareOption{fleqn}{\input{fleqn.clo}}
% \end{macrocode}
-% Использовать в тексте и формулах шрифт Times вместо Computer Modern Roman.
-% \begin{macrocode}
-\DeclareOption{times}{
- \AtEndOfPackage{%
- \usepackage{pscyr}
-% \end{macrocode}
-% Пакет |txfonts| необходимо подключать \textbf{после} |pscyr| для
-% корректного определения символов, составленных из двух других (таких как
-% $\hbar$ и $\neq$).
+% Использовать в тексте и формулах шрифт Times вместо Computer Modern
+% Roman.
% \begin{macrocode}
- \usepackage{txfonts}
-% \end{macrocode}
-% Установка Times как шрифта по умолчанию.
-% \begin{macrocode}
- \renewcommand{\rmdefault}{ftm}
- }
-}
+\DeclareOption{times}{\Dis@timestrue}
% \end{macrocode}
-% Если указана эта опция, то блоки текста в списке литературы будут печататься на новых строках и с отступом.
+% Если указана эта опция, то блоки текста в списке литературы будут
+% печататься на новых строках и с отступом.
% \begin{macrocode}
\DeclareOption{openbib}{%
\AtEndOfPackage{%
@@ -297,34 +540,46 @@
\renewcommand\newblock{\par}
}%
}
-% \end{macrocode}
-% Включение пакета |hyperref| и необходимых настроек.
-% \begin{macrocode}
-\DeclareOption{href}{\hreftrue}
-
-% \end{macrocode}
-% Включение пакета |subfigure| и необходимых настроек.
-% \begin{macrocode}
-\DeclareOption{subf}{\subftrue}
% \end{macrocode}
% Тип диссертации.
% \begin{macrocode}
\DeclareOption{bachelor}{%
- \@bachelortrue\@masterfalse\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelortrue
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{master}{%
- \@bachelorfalse\@mastertrue\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@mastertrue
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{candidate}{%
- \@bachelorfalse\@masterfalse\@candidatetrue\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatetrue
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{doctor}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctortrue\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctortrue
+ \Dis@autoreffalse
}
\DeclareOption{autoref}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctorfalse\@autoreftrue
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreftrue
}
+
% \end{macrocode}
% Команды изменения регистра.
% \DescribeMacro{\MakeTextUppercase}
@@ -350,6 +605,8 @@
% Выполнение пользовательских опций.
% \begin{macrocode}
\ProcessOptions
+\ProcessKeyvalOptions{Dis}
+
% \end{macrocode}
% \subsection{Настройка шрифтов}
% \subsubsection{Определение размеров}
@@ -416,6 +673,8 @@
%
% \subsubsection{Старые команды изменения начертания шрифтов (без NFSS)}
%
+% Тоже не ясно, почему это вынесено в классы, а не входит в ядро.
+%
% В текстовом режиме.
% \begin{macrocode}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -433,12 +692,12 @@
% \end{macrocode}
%
-% \subsection{Параметры текста}
+% \subsection{Параметры основного текста}
%
-% Вертикальный интервал между строками. Упоминаемый здесь и далее макрос |\p@|
-% определяет единицу длины. По умолчанию она равна английскому пункту (pt).
% \DescribeMacro{\lineskip}
% \DescribeMacro{\normallineskip}
+% Вертикальный интервал между строками. Упоминаемый здесь и далее макрос |\p@|
+% определяет единицу длины. По умолчанию она равна английскому пункту (pt).
% \begin{macrocode}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
@@ -447,92 +706,24 @@
% \DescribeMacro{\singlespacing}
% \DescribeMacro{\onehalfspacing}
% \DescribeMacro{\doublespacing}
-% Команды задания величины межстрочного интервала.
+% Характерные величины межстрочнах интервалов.
% \begin{macrocode}
-\newcommand\singlespacing {\renewcommand\baselinestretch{1}}
-\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}}
-\newcommand\doublespacing {\renewcommand\baselinestretch{2}}
+\newcommand\singlespacing {\renewcommand\baselinestretch{1}\normalsize}
+\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}\normalsize}
+\newcommand\doublespacing {\renewcommand\baselinestretch{2}\normalsize}
% \end{macrocode}
-% Установка межстрочного интервала по умолчанию.
+% Межстрочный интервал по умолчанию.
% \begin{macrocode}
-\onehalfspacing\normalsize
+\onehalfspacing
% \end{macrocode}
% Интервал между абзацами (добавляется к межстрочному).
% \DescribeMacro{\parskip}
% \begin{macrocode}
\setlength\parskip{0\p@ \@plus \p@}
+
% \end{macrocode}
-%
-% \subsection{Параметры размещения плавающих объектов на странице}
-% \subsubsection{Количество объектов}
-% \begin{itemize}
-% \item Максимальное количество плавающих объектов, размещаемое вверху
-% страницы (при двухколонном наборе --- вверху колонки).
-% \begin{macrocode}
-\setcounter{topnumber}{2}
-% \end{macrocode}
-% \item Максимальное количество плавающих объектов, размещаемое внизу
-% страницы (при двухколонном наборе --- внизу колонки).
-% \begin{macrocode}
-\setcounter{bottomnumber}{1}
-% \end{macrocode}
-% \item Максимальное количество плавающих объектов, размещаемое
-% на странице (при двухколонном наборе --- в колонке).
-% \begin{macrocode}
-\setcounter{totalnumber}{3}
-% \end{macrocode}
-% \item При наборе в две колонки: максимальное количество плавающих
-% объектов шириной во всю страницу, которое разрешается разместить вверху
-% страницы
-% \begin{macrocode}
-\setcounter{dbltopnumber}{2}
-% \end{macrocode}
-% \end{itemize}
-%
-% \subsubsection{Величина места, занимаемого плавающими объектами}
-% \begin{itemize}
-% \item Максимальная доля страницы по высоте, которую могут занимать
-% плавающие объекты, размещаемые вверху страницы.
-% \DescribeMacro{\topfraction}
-% \begin{macrocode}
-\renewcommand\topfraction{.7}
-% \end{macrocode}
-% \item Максимальная доля страницы по высоте, которую могут занимать
-% плавающие объекты, размещаемые внизу страницы.
-% \DescribeMacro{\bottomfraction}
-% \begin{macrocode}
-\renewcommand\bottomfraction{.3}
-% \end{macrocode}
-% \item Минимальная доля страницы, которую должен занимать текст, а не
-% плавающие объекты на обычной странице (к страницам, создаваемым
-% \LaTeX{}'ом
-% специально для размещения плавающих объектов при обработке
-% необязательного аргумента |p|, это не относится).
-% \DescribeMacro{\bottomfraction}
-% \begin{macrocode}
-\renewcommand\textfraction{.2}
-% \end{macrocode}
-% \item Параметр, аналогичный предыдущему, относящийся к страницам для
-% плавающих объектов.
-% \DescribeMacro{\floatpagefraction}
-% \begin{macrocode}
-\renewcommand\floatpagefraction{.5}
-% \end{macrocode}
-% \item Тоже, что |\topfraction|, применительно к иллюстрациям (таблицам)
-% шириной в целую страницу при двухколонном наборе.
-% \DescribeMacro{\dbltopfraction}
-% \begin{macrocode}
-\renewcommand\dbltopfraction{.7}
-% \end{macrocode}
-% \item Тоже, что |\floatpagefraction|, применительно к иллюстрациям
-% (таблицам) шириной в целую страницу при двухколонном наборе.
-% \DescribeMacro{\dblfloatpagefraction}
-% \begin{macrocode}
-\renewcommand\dblfloatpagefraction{.5}
-% \end{macrocode}
-% \end{itemize}
-% Максимальный уровень вложенности заголовков, помещаемых в Содержание
-% (по умолчанию вносятся только |\part|, |\chapter| и |\section|).
+% Максимальный уровень вложенности секций, помещаемых в Содержание
+% (по умолчанию вносятся |\part|, |\chapter| и |\section|).
% \DescribeMacro{tocdepth}
% \begin{macrocode}
\setcounter{tocdepth}{1}
@@ -542,8 +733,20 @@
% \DescribeMacro{secnumdepth}
% \begin{macrocode}
\setcounter{secnumdepth}{2}
+
+% \end{macrocode}
+%
+% Интервал между колонками текста.
+% \begin{macrocode}
+\setlength\columnsep{10\p@}
+% \end{macrocode}
+%
+% Ширина разделителя (линии) между колонками текста (по умолчанию его нет).
+% \begin{macrocode}
+\setlength\columnseprule{0\p@}
+
% \end{macrocode}
-% Описание структуры постоянных частей заголовков
+% Описание структуры постоянных частей заголовков.
% \begin{itemize}
% \item в тексте,
% \DescribeMacro{\@seccntformat}
diff --git a/Master/texmf-dist/source/latex/disser/doctor.dtx b/Master/texmf-dist/source/latex/disser/doctor.dtx
index 734f9c2c174..6e57572b313 100644
--- a/Master/texmf-dist/source/latex/disser/doctor.dtx
+++ b/Master/texmf-dist/source/latex/disser/doctor.dtx
@@ -1,9 +1,11 @@
% \begin{macrocode}
+%<doctor>\ProvidesFile{doctor.rtx}
+
%<*doctor>
% \end{macrocode}
-% \subsubsection{Титульный лист кандидатской диссертации}
-%
+% \subsubsection{Титульный лист докторской диссертации}
+%
% Вертикальные интервалы между элементами титульного листа.
% \begin{macrocode}
\def\firstskip{\vskip1.5cm}
diff --git a/Master/texmf-dist/source/latex/disser/env.dtx b/Master/texmf-dist/source/latex/disser/env.dtx
index f76639cba3f..b45652c6c70 100644
--- a/Master/texmf-dist/source/latex/disser/env.dtx
+++ b/Master/texmf-dist/source/latex/disser/env.dtx
@@ -1,10 +1,16 @@
+
+% \iffalse
+%%% From File: env.dtx
+% \fi
+%
% \begin{macrocode}
%<*env>
% \end{macrocode}
-% \subsection{Команды пользовательского интерфейса}
+% \subsection{Окружения}
%
-% \subsubsection{Примечание}
+% \DescribeEnv{description}
+% Примечание
% \begin{macrocode}
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
@@ -12,8 +18,8 @@
{\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries #1}
% \end{macrocode}
-%
-% \subsubsection{Аннотация}
+% \DescribeEnv{abstract}
+% Аннотация
% \begin{macrocode}
\if@titlepage
\newenvironment{abstract}{
@@ -38,6 +44,7 @@
}{\if@twocolumn\else\endquotation\fi}
\fi
% \end{macrocode}
+% \DescribeEnv{quotation}
% Цитирование
% \begin{macrocode}
\newenvironment{quotation}{
@@ -50,6 +57,7 @@
\item\relax
}{\endlist}
% \end{macrocode}
+% \DescribeEnv{quote}
% Выдержка
% \begin{macrocode}
\newenvironment{quote}{
@@ -57,6 +65,7 @@
\item\relax
}{\endlist}
% \end{macrocode}
+% \DescribeEnv{titlepage}
% Титульный лист
% \begin{macrocode}
\newenvironment{titlepage}{
@@ -73,9 +82,43 @@
\if@twoside\else\setcounter{page}\@ne\fi
}
% \end{macrocode}
+%
+% \DescribeEnv{figure}
+% \DescribeEnv{figure*}
% Рисунок
% \begin{macrocode}
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
+% \end{macrocode}
+%
+% \DescribeEnv{table}
+% \DescribeEnv{table*}
+% Таблица
+% \begin{macrocode}
+\newenvironment{table}{\@float{table}}{\end@float}
+\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
+% \end{macrocode}
+%
+% \subsection{Команды для создания окружений типа <<теорема>>}
+% Параметры формата.
+% \begin{macrocode}
+\providecommand\theoremstyle{\itshape}
+\providecommand\thetheoremstyle{\bfseries}
+\providecommand\opargtheoremstyle{\rm}
+\providecommand\preopargtheorem{(}
+\providecommand\postopargtheorem{)}
+\providecommand\postthetheorem{.}
+
+% \end{macrocode}
+% Низкоуровневые команды для создания заголовка теоремы.
+% \begin{macrocode}
+\def\@begintheorem#1#2{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ %
+ #2\unskip\postthetheorem}]\theoremstyle}
+\def\@opargbegintheorem#1#2#3{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ #2\ %
+ {\opargtheoremstyle\preopargtheorem #3\postopargtheorem}}]\theoremstyle}
+\def\@endtheorem{\endtrivlist}
+
%</env>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/floats.dtx b/Master/texmf-dist/source/latex/disser/floats.dtx
index 7268a644f21..97f2e82b3fa 100644
--- a/Master/texmf-dist/source/latex/disser/floats.dtx
+++ b/Master/texmf-dist/source/latex/disser/floats.dtx
@@ -1,17 +1,95 @@
+
+% \iffalse
+%%% From File: floats.dtx
+% \fi
+%
% \begin{macrocode}
%<*floats>
% \end{macrocode}
%
% \subsection{Плавающие объекты}
+% \subsubsection{Параметры размещения плавающих объектов на странице}
+% \paragraph{Количество объектов}
+% \begin{itemize}
+% \item Максимальное количество плавающих объектов, размещаемое вверху
+% страницы (при двухколонном наборе --- вверху колонки).
+% \DescribeMacro{topnumber}
+% \begin{macrocode}
+\setcounter{topnumber}{2}
+% \end{macrocode}
+% \item Максимальное количество плавающих объектов, размещаемое внизу
+% страницы (при двухколонном наборе --- внизу колонки).
+% \DescribeMacro{bottomnumber}
+% \begin{macrocode}
+\setcounter{bottomnumber}{1}
+% \end{macrocode}
+% \item Максимальное количество плавающих объектов, размещаемое
+% на странице (при двухколонном наборе --- в колонке).
+% \DescribeMacro{totalnumber}
+% \begin{macrocode}
+\setcounter{totalnumber}{3}
+% \end{macrocode}
+% \item При наборе в две колонки: максимальное количество плавающих
+% объектов шириной во всю страницу, которое разрешается разместить вверху
+% страницы
+% \begin{macrocode}
+\setcounter{dbltopnumber}{2}
+% \end{macrocode}
+% \end{itemize}
%
-% \subsubsection{Параметры}
+% \paragraph{Величина места, занимаемого плавающими объектами}
+% \begin{itemize}
+% \item Максимальная доля страницы по высоте, которую могут занимать
+% плавающие объекты, размещаемые вверху страницы.
+% \DescribeMacro{\topfraction}
+% \begin{macrocode}
+\renewcommand\topfraction{.7}
+% \end{macrocode}
+% \item Максимальная доля страницы по высоте, которую могут занимать
+% плавающие объекты, размещаемые внизу страницы.
+% \DescribeMacro{\bottomfraction}
+% \begin{macrocode}
+\renewcommand\bottomfraction{.3}
+% \end{macrocode}
+% \item Минимальная доля страницы, которую должен занимать текст, а не
+% плавающие объекты на обычной странице (к страницам, создаваемым
+% \LaTeX{}'ом
+% специально для размещения плавающих объектов при обработке
+% необязательного аргумента |p|, это не относится).
+% \DescribeMacro{\textfraction}
+% \begin{macrocode}
+\renewcommand\textfraction{.2}
+% \end{macrocode}
+% \item Параметр, аналогичный предыдущему, относящийся к страницам для
+% плавающих объектов.
+% \DescribeMacro{\floatpagefraction}
+% \begin{macrocode}
+\renewcommand\floatpagefraction{.5}
+% \end{macrocode}
+% \item Тоже, что |\topfraction|, применительно к иллюстрациям (таблицам)
+% шириной в целую страницу при двухколонном наборе.
+% \DescribeMacro{\dbltopfraction}
+% \begin{macrocode}
+\renewcommand\dbltopfraction{.7}
+% \end{macrocode}
+% \item Тоже, что |\floatpagefraction|, применительно к иллюстрациям
+% (таблицам) шириной в целую страницу при двухколонном наборе.
+% \DescribeMacro{\dblfloatpagefraction}
+% \begin{macrocode}
+\renewcommand\dblfloatpagefraction{.5}
+% \end{macrocode}
+% \end{itemize}
+%
+% \subsubsection{Параметры формата подписей}
%
+% \DescribeMacro{\abovecaptionskip}
% Вертикальный интервал перед подписью.
% \begin{macrocode}
\newlength\abovecaptionskip
\setlength\abovecaptionskip{10\p@}
% \end{macrocode}
+% \DescribeMacro{\belowcaptionskip}
% Вертикальный интервал за подписью.
% \begin{macrocode}
\newlength\belowcaptionskip
@@ -33,7 +111,7 @@
\newcommand\captionlabelfont{\small\selectfont}
% \end{macrocode}
% \DescribeMacro{\@makecaption}
-% Формат подписи.
+% Низкоуровневая команда, создающая подпись.
% \begin{macrocode}
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
@@ -48,14 +126,23 @@
}
% \end{macrocode}
-%
-% \subsection{Рисунок}
%
+% \subsubsection{figure}
+%
+% \DescribeMacro{\thefigure}
% Формат номера.
% \begin{macrocode}
\renewcommand\thefigure{\ifnum \c@chapter>\z@\thechapter.\fi\@arabic\c@figure}
+% \end{macrocode}
+% \DescribeMacro{\fps@figure}
+% Описатель положения плавающих объектов типа |figure|.
+% \begin{macrocode}
\def\fps@figure{tbp}
+% \end{macrocode}
+% \DescribeMacro{\ftype@figure}
+% Номер типа, ассоциированный с |figure|.
+% \begin{macrocode}
\def\ftype@figure{1}
% \end{macrocode}
% \DescribeMacro{\ext@figure}
@@ -70,62 +157,75 @@
% \end{macrocode}
%
-% \subsection{Таблица}
+% \subsubsection{table}
%
+% \DescribeMacro{\thetable}
% Формат номера.
% \begin{macrocode}
\renewcommand\thetable{\ifnum \c@chapter>\z@\thechapter.\fi\@arabic\c@table}
% \end{macrocode}
%
-% Промежуток между колонками в массиве (окружение |array|).
+% \DescribeMacro{\arraycolsep}
+% Промежуток между колонками в |array|.
% \begin{macrocode}
\setlength\arraycolsep{5\p@}
% \end{macrocode}
+% \DescribeMacro{\tabcolsep}
% Промежуток между колонками в таблице.
% \begin{macrocode}
\setlength\tabcolsep{6\p@}
% \end{macrocode}
-% Толщина линейки в массиве.
+% \DescribeMacro{\arrayrulewidth}
+% Толщина линейки в |array|.
% \begin{macrocode}
\setlength\arrayrulewidth{.4\p@}
% \end{macrocode}
+% \DescribeMacro{\doublerulesep}
% Промежуток между линиями в двойной линейке |\hrule\hrule|.
% \begin{macrocode}
\setlength\doublerulesep{2\p@}
% \end{macrocode}
+% \DescribeMacro{\tabbingsep}
% Промежуток между столбцами в окружении |tabular|.
% \begin{macrocode}
\setlength\tabbingsep{\labelsep}
% \end{macrocode}
-% Промежуток, добавляемый при наличии сноски при использовании окружения |minipage|.
+% Промежуток, добавляемый при наличии сноски при использовании окружения
+% |minipage|.
% \begin{macrocode}
\skip\@mpfootins = \skip\footins
% \end{macrocode}
+% \DescribeMacro{\fboxsep}
% Промежуток между линией и текстом в |\fbox|.
% \begin{macrocode}
\setlength\fboxsep{3\p@}
% \end{macrocode}
+% \DescribeMacro{\fboxrule}
% Толщина линии для |\fbox|.
% \begin{macrocode}
\setlength\fboxrule{.4\p@}
+
% \end{macrocode}
-% Окружения.
-% \DescribeEnv{table}
-% \DescribeEnv{table*}
+% \DescribeMacro{\fps@table}
+% Описатель положения плавающих объектов типа |table|.
% \begin{macrocode}
-\newenvironment{table}{\@float{table}}{\end@float}
-\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
-
\def\fps@table{tbp}
+% \end{macrocode}
+% \DescribeMacro{\ftype@table}
+% Номер типа, ассоциированный с |figure|.
+% \begin{macrocode}
\def\ftype@table{2}
% \end{macrocode}
+% \DescribeMacro{\ext@table}
% Расширение файла, содержащего сгенерированный список таблиц.
% \begin{macrocode}
\def\ext@table{lot}
% \end{macrocode}
+% \DescribeMacro{\fnum@table}
% Формат заголовка подписи (Таблица~1).
% \begin{macrocode}
\def\fnum@table{\tablename~\thetable}
+
%</floats>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/footnote.dtx b/Master/texmf-dist/source/latex/disser/footnote.dtx
index a627adf576b..86e672ec4f9 100644
--- a/Master/texmf-dist/source/latex/disser/footnote.dtx
+++ b/Master/texmf-dist/source/latex/disser/footnote.dtx
@@ -1,3 +1,8 @@
+
+% \iffalse
+%%% From File: footnote.dtx
+% \fi
+%
% \begin{macrocode}
%<*footnote>
diff --git a/Master/texmf-dist/source/latex/disser/gost732.dtx b/Master/texmf-dist/source/latex/disser/gost732.dtx
index 984af148791..5e2f55a909f 100644
--- a/Master/texmf-dist/source/latex/disser/gost732.dtx
+++ b/Master/texmf-dist/source/latex/disser/gost732.dtx
@@ -1,58 +1,153 @@
-% \begin{macrocode}
+% \iffalse meta-comment
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% gost732 -- GOST 7.32-2001 implementation.
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin
+%%
+%% It 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 program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%<*gost732>
-% \end{macrocode}
+%<*driver>
+\ProvidesFile{gost732.drv}[2007/11/29 1.0.1 GOST 7.32-2001 implementation.]
+
+\documentclass{ltxdoc}
+\usepackage[a4paper, includehead, includefoot, mag=1000,
+ left=4cm, right=1.5cm, top=1cm, bottom=2cm]{geometry}
+\usepackage[T2A]{fontenc}
+\usepackage[cp1251]{inputenc}
+\usepackage[english,russian]{babel}
+\usepackage{ifpdf}
+
+\ifpdf
+ \usepackage[unicode,
+ pdftitle = {Documented source code of the disser package},
+ pdfauthor = {Stanislav Kruchinin},
+ pdfsubject = {disser},
+ pdfstartview = {FitH},
+ pdfborder = {0 0 0},
+ bookmarksopen = true,
+ bookmarksnumbered = true,
+ bookmarksopenlevel = 2]{hyperref}
+ \usepackage{cmap}
+\else
+ \usepackage[hypertex]{hyperref}
+\fi
+
+\let\package\textsf
+\IfFileExists{pscyr.sty}{%
+ \usepackage{pscyr}
+ \renewcommand\ttdefault{cmtt}
+ \renewcommand\rmdefault{ftm}
+}{}
+\IfFileExists{url.sty}{\RequirePackage{url}}{\newcommand\url{\texttt}}
+
+\hypersetup{
+ colorlinks = true,
+ linkcolor = black, citecolor=blue,
+ filecolor = blue, menucolor=blue,
+ pagecolor = blue, urlcolor=blue
+}
+
+%\OnlyDescription % uncomment to suppress code line listing
+\RecordChanges % uncomment for a change history
+%\EnableCrossrefs % uncomment for command index
+
+\MakeShortVerb{\|}
+\parindent=0pt
+
+\GetFileInfo{gost732.drv}
+\begin{document}
+ \sloppy
+ \PrintChanges
+ \DocInput{gost732.dtx}
+\end{document}
+%</driver>
+% \fi
%
-% \section{Класс-обёртка для оформления документов в соответствии с ГОСТ
-% 7.32-2001}
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% \title{Подкласс для оформления документов в соответствии с ГОСТ 7.32-2001}
+% \date{Версия \fileversion\\[6pt]\filedate}
+% \author{Станислав Кручинин\\[6pt]
+% \normalsize E-mail:
+% \href{mailto:stanislav.kruchinin@gmail.com}
+% {\texttt{stanislav.kruchinin@gmail.com}}}
+%
+% \maketitle
+%
+% \tableofcontents
+%
+% \section{Введение}
%
% Насколько известно автору, на данный момент отсутствуют какие-либо ГОСТы,
% регламентирующие структуру и правила оформления диссертаций. Наиболее
% подходящим среди существующих стандартов следует считать ГОСТ 7.32-2001
% <<Отчет о научно-исследовательской работе>>, реализованный в настоящем
-% классе.
+% классе. С другой стороны, количество кода, использованное для создания
+% этого подкласса является демонстрацией эффективности высокоуровневых
+% макросов класса |disser|.
+%
+% \section{Исходный текст}
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{gost732}[2007/02/16 GOST 7.32-2001 implementation]
+\ProvidesClass{gost732}[2007/11/29 1.0.1 GOST 7.32-2001 implementation]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}}
\ProcessOptions\relax
\LoadClass[a4paper,14pt]{disser}
+
% \end{macrocode}
%
% \subsection{Формат заголовков}
+%
% \begin{macrocode}
-
\renewcommand\tocprethechapter{}
\renewcommand\tocpostthechapter{\@postskip}
+\renewcommand\tocposttheappendix{\@postskip}
+
\renewcommand\chapteralign{\raggedright}
\renewcommand\thechapterfont{\Large\bfseries}
\renewcommand\prethechapter{\newpage}
-\renewcommand\postthechapter{~}
+\renewcommand\postthechapter{\@postskip}
\renewcommand\postchapter{\vskip 16\p@}
-\renewcommand\postthesection{~}
-\renewcommand\tocpostthesection{~}
+\renewcommand\postthesection{\@postskip}
+\renewcommand\tocpostthesection{\@postskip}
-\renewcommand\postthesubsection{~}
+\renewcommand\postthesubsection{\@postskip}
\renewcommand\tocpostthesubsection{\@postskip}
-\renewcommand\postthesubsubsection{~}
+\renewcommand\postthesubsubsection{\@postskip}
\renewcommand\tocpostthesubsubsection{\@postskip}
-\renewcommand\posttheparagraph{~}
+\renewcommand\posttheparagraph{\@postskip}
\renewcommand\tocposttheparagraph{\@postskip}
-\renewcommand\postthesubparagraph{~}
+\renewcommand\postthesubparagraph{\@postskip}
\renewcommand\tocpostthesubparagraph{\@postskip}
-\newcommand\newbibname{\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ %
+\AtBeginDocument{%
+\addto\captionsrussian{%
+\def\bibname{%
+\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ %
\cyri\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyro\cyrv\cyra\cyrn\cyrn\cyrery\cyrh\ %
\cyri\cyrs\cyrt\cyro\cyrch\cyrn\cyri\cyrk\cyro\cyrv}
+}}
\renewcommand\bibsection{%
- \renewcommand\bibname\newbibname
\nchapter{\bibname}
}
% \end{macrocode}
@@ -93,7 +188,6 @@
\renewcommand\labelitemiii{\textasteriskcentered}
\renewcommand\labelitemiv {\textperiodcentered}
-%</gost732>
% \end{macrocode}
% \Finale
\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/disser/lists.dtx b/Master/texmf-dist/source/latex/disser/lists.dtx
index 761b654ed64..cfd22947ce5 100644
--- a/Master/texmf-dist/source/latex/disser/lists.dtx
+++ b/Master/texmf-dist/source/latex/disser/lists.dtx
@@ -1,3 +1,8 @@
+
+% \iffalse
+%%% From File: lists.dtx
+% \fi
+%
% \begin{macrocode}
%<*lists>
@@ -6,7 +11,7 @@
% \subsection{Списки}
%
% Пробелы между левым полем полем окружения и полем перечня для элементов
-% указанного уровня вложенности.
+% указанного уровня вложенности.
% \paragraph{1}
% \begin{macrocode}
\if@twocolumn
diff --git a/Master/texmf-dist/source/latex/disser/master.dtx b/Master/texmf-dist/source/latex/disser/master.dtx
index 0d6107e39b2..36ae8bcdb4e 100644
--- a/Master/texmf-dist/source/latex/disser/master.dtx
+++ b/Master/texmf-dist/source/latex/disser/master.dtx
@@ -1,5 +1,7 @@
% \begin{macrocode}
+%<master>\ProvidesFile{master.rtx}
+
%<*master>
% \end{macrocode}
% \subsubsection{Титульный лист магистерской диссертации}
diff --git a/Master/texmf-dist/source/latex/disser/page.dtx b/Master/texmf-dist/source/latex/disser/page.dtx
index c17b6edf331..33ebe7da7ff 100644
--- a/Master/texmf-dist/source/latex/disser/page.dtx
+++ b/Master/texmf-dist/source/latex/disser/page.dtx
@@ -1,11 +1,46 @@
+
+% \iffalse
+%%% From File: page.dtx
+% \fi
+%
% \begin{macrocode}
%<*page>
% \end{macrocode}
%
-% \subsection{Определение стилей страниц}
+% \subsection{Формат страниц}
+%
+% \subsubsection{Шрифт колонтитулов}
+% \DescribeMacro{\evenheadfont}
+% \DescribeMacro{\evenfootfont}
+% \DescribeMacro{\oddheadfont}
+% \DescribeMacro{\oddfootfont}
+% Верхний, на четных страницах.
+% \begin{macrocode}
+\newcommand\evenheadfont{\slshape}
+% \end{macrocode}
+% Нижний, на четных страницах.
+% \begin{macrocode}
+\newcommand\evenfootfont{}
+% \end{macrocode}
+% Верхний, на нечетных страницах.
+% \begin{macrocode}
+\newcommand\oddheadfont{\slshape}
+% \end{macrocode}
+% Нижний, на нечетных страницах.
+% \begin{macrocode}
+\newcommand\oddfootfont{}
+% \end{macrocode}
%
-% \subsubsection{headings}
+% Шрифт колонтитулов.
+% \DescribeMacro{\chaptermarkfont}
+% \DescribeMacro{\sectionmarkfont}
+% \begin{macrocode}
+\providecommand\chaptermarkfont{\slshape}
+\providecommand\sectionmarkfont{\MakeUppercase}
+% \end{macrocode}
+% \subsubsection{Определения стилей колонтитулов}
+% \paragraph{headings}
% \begin{macrocode}
\if@twoside
% \end{macrocode}
@@ -35,6 +70,7 @@
\let\@mkboth\markboth
% \end{macrocode}
% \end{itemize}
+% \DescribeMacro{\chaptermark}
% \item Формат заголовков глав в колонтитулах.
% \begin{macrocode}
\def\chaptermark##1{%
@@ -45,6 +81,7 @@
##1}}{}%
}%
% \end{macrocode}
+% \DescribeMacro{\sectionmark}
% \item Формат заголовков секций в колонтитулах.
% \begin{macrocode}
\def\sectionmark##1{%
@@ -55,7 +92,7 @@
##1}%
}%
}%
- }%
+ } % \def\ps@headings
% \end{macrocode}
% \end{itemize}
% \begin{macrocode}
@@ -102,7 +139,8 @@
% \end{itemize}
% \end{itemize}
%
-% \subsubsection{myheadings}
+% \paragraph{myheadings}
+% \DescribeMacro{\ps@myheadings}
% \begin{macrocode}
\def\ps@myheadings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
@@ -113,17 +151,8 @@
\let\sectionmark\@gobble
}
% \end{macrocode}
-% \subsection{Параметры страниц}
-%
-% Интервал между колонками текста.
-% \begin{macrocode}
-\setlength\columnsep{10\p@}
-% \end{macrocode}
-%
-% Ширина разделителя (линии) между колонками текста (по умолчанию его нет).
-% \begin{macrocode}
-\setlength\columnseprule{0\p@}
-% \end{macrocode}
+% \subsubsection{Формат по умолчанию}
+%
% Стиль оформления колонтитулов страницы.
% \begin{macrocode}
\pagestyle{plain}
@@ -143,36 +172,6 @@
% \begin{macrocode}
\if@twocolumn\twocolumn\sloppy\flushbottom
\else\onecolumn\fi
-% \end{macrocode}
-% \DescribeMacro{\evenheadfont}
-% \DescribeMacro{\evenfootfont}
-% \DescribeMacro{\oddheadfont}
-% \DescribeMacro{\oddfootfont}
-% Шрифт колонтитулов.
-% \begin{itemize}
-% \item Верхний, на четных страницах.
-% \begin{macrocode}
-\newcommand\evenheadfont{\slshape}
-% \end{macrocode}
-% \item Нижний, на четных страницах.
-% \begin{macrocode}
-\newcommand\evenfootfont{}
-% \end{macrocode}
-% \item Верхний, на нечетных страницах.
-% \begin{macrocode}
-\newcommand\oddheadfont{\slshape}
-% \end{macrocode}
-% \item Нижний, на нечетных страницах.
-% \begin{macrocode}
-\newcommand\oddfootfont{}
-% \end{macrocode}
-% \end{itemize}
-%
-% \DescribeMacro{\chaptermarkfont}
-% \DescribeMacro{\sectionmarkfont}
-% \begin{macrocode}
-\newcommand\chaptermarkfont{\slshape}
-\newcommand\sectionmarkfont{\MakeUppercase}
%</page>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/part.dtx b/Master/texmf-dist/source/latex/disser/part.dtx
index da96ab70055..24d1623adec 100644
--- a/Master/texmf-dist/source/latex/disser/part.dtx
+++ b/Master/texmf-dist/source/latex/disser/part.dtx
@@ -1,37 +1,68 @@
+
+% \iffalse
+%%% From File: part.dtx
+% \fi
+%
% \begin{macrocode}
%<*part>
% \end{macrocode}
% \subsection{Часть}
%
-% \subsubsection{Формат записи в Содержании}
-% Постоянный текст до номера (по умолчанию --- слово ``Часть'').
+% Как уже говорилось во Введении, одной из основных проблем \LaTeX{} является
+% отсутствие простого способа настройки формата заголовков и соответствующих
+% им записей в Содержании. Любое изменение приходится вносить путем
+% переопределения громоздких низкоуровневых макросов. Класс |disser|
+% устраняет эту проблему путем ввода высокоуровневых макросов для всех
+% основных параметров формата заголовков и записей в автоматически формируемых
+% списках.
+%
+% \subsubsection{Параметры формата записи в Содержании}
+%
+% \DescribeMacro{\tocprethepart}
+% Постоянный текст до номера.
% \begin{macrocode}
\providecommand\tocprethepart{\partname~}
% \end{macrocode}
+% \DescribeMacro{\tocpostthepart}
% Постоянный текст после номера.
% \begin{macrocode}
\providecommand\tocpostthepart{.\@postskip}
% \end{macrocode}
-% Заполнитель между названием и номером страницы. Для части по умолчанию отсутствует.
-% Чтобы заполнить какими-либо символами |\tocpartfill| нужно присвоить значение
-% |\tocfill{символ}|. Для примера см. далее определение |\tocsectionfill|.
+% \DescribeMacro{\tocpartfill}
+% Заполнитель между названием и номером страницы. Для части по умолчанию
+% отсутствует. Чтобы заполнить какими-либо символами, |\tocpartfill| нужно
+% присвоить значение |\tocfill{символ}|. Для примера см. далее определение
+% |\tocsectionfill|.
% \begin{macrocode}
\providecommand\tocpartfill{}
% \end{macrocode}
+% \DescribeMacro{\tocpartfont}
% Шрифт заголовка в Содержании.
% \begin{macrocode}
\providecommand\tocpartfont{\bfseries}
% \end{macrocode}
+% \DescribeMacro{\tocpartfillfont}
% Шрифт заполнителя.
% \begin{macrocode}
\providecommand\tocpartfillfont{\normalfont}
% \end{macrocode}
+% \DescribeMacro{\tocpartnumfont}
% Шрифт номера.
% \begin{macrocode}
\providecommand\tocpartnumfont{\normalfont}
% \end{macrocode}
+%
+% \subsubsection{Параметры формата в тексте}
+% \DescribeMacro{\thepartalign}
+% \DescribeMacro{\thepartfont}
+% \DescribeMacro{\prethepart}
+% \DescribeMacro{\postthepart}
+% \DescribeMacro{\partalign}
+% \DescribeMacro{\partfont}
+% \DescribeMacro{\prepart}
+% \DescribeMacro{\postpart}
% Параметры номера и названия: выравнивание, шрифт, отступы, текст до и после.
% \begin{macrocode}
\providecommand\thepartalign{\centering}
@@ -45,11 +76,16 @@
\providecommand\postpart{\par}
% \end{macrocode}
+% \DescribeMacro{\partpagestyle}
% Стиль страницы, на которой расположен заголовок части.
% \begin{macrocode}
-\def\partpagestyle#1{\gdef\@partpagestyle{#1}}\partpagestyle{empty}
+\def\partpagestyle#1{\gdef\@partpagestyle{#1}}
+\partpagestyle{empty}
% \end{macrocode}
%
+% \subsubsection{Низкоуровневые команды}
+%
+% \DescribeMacro{\part}
% Интерфейс.
% \begin{macrocode}
\newcommand\part{
@@ -68,7 +104,9 @@
\null\vfil\secdef\@part\@spart
}
% \end{macrocode}
-% Установка счетчиков и добавление строки в Содержание.
+%
+% \DescribeMacro{\@part}
+% Команда, формирующая нумеруемый заголовок части |\part|.
% \begin{macrocode}
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >-2\relax
@@ -87,7 +125,6 @@
\normalfont
\ifnum \c@secnumdepth >-2\relax
% \end{macrocode}
-%
% Постоянная часть заголовка и номер.
% \begin{macrocode}
{\thepartfont\partalign\@seccntformat{part}}
@@ -100,12 +137,22 @@
\@endpart%
}
+% \end{macrocode}
+%
+% \DescribeMacro{\@spart}
+% Команда, формирующая ненумеруемый заголовок части |\part*|.
+% \begin{macrocode}
\def\@spart#1{%
\partalign{\interlinepenalty \@M%
\partfont\prepart #1\postpart}%
\@endpart
}
+% \end{macrocode}
+%
+% \DescribeMacro{\@endpart}
+% Завершение страницы с заголовком части.
+% \begin{macrocode}
\def\@endpart{
\vfil\newpage
\if@twoside
@@ -115,8 +162,10 @@
\fi
\if@tempswa\twocolumn\fi
}
+
% \end{macrocode}
-% Команда, создающая запись в Содержании.
+% \DescribeMacro{\l@part}
+% Низкоуровневая команда, создающая запись в Содержании.
% \begin{macrocode}
\newcommand*\l@part[2]
{%
diff --git a/Master/texmf-dist/source/latex/disser/sections.dtx b/Master/texmf-dist/source/latex/disser/sections.dtx
index 22dd0dfe787..07fb3c32420 100644
--- a/Master/texmf-dist/source/latex/disser/sections.dtx
+++ b/Master/texmf-dist/source/latex/disser/sections.dtx
@@ -1,9 +1,16 @@
+
+% \iffalse
+%%% From File: sections.dtx
+% \fi
+%
% \begin{macrocode}
%<*sections>
% \end{macrocode}
% \subsection{Секции и параграфы}
+%
% \subsubsection{Section}
+% \paragraph{Параметры формата записи в Содержании}
% \begin{macrocode}
\providecommand\tocprethesection{}
\providecommand\tocpostthesection{.\@postskip}
@@ -13,44 +20,48 @@
\providecommand\tocsectionfillfont{}
\providecommand\tocsectionnumfont{}
% \end{macrocode}
-% Величина отступа записи в Содержании.
% \DescribeMacro{\tocsectionindent}
+% Величина отступа записи в Содержании.
% \begin{macrocode}
\providecommand\tocsectionindent{1.5em}
% \end{macrocode}
-% Пробел после номера.
% \DescribeMacro{\tocsectionnameindent}
+% Пробел после номера.
% \begin{macrocode}
\providecommand\tocsectionnameindent{2.3em}
+% \end{macrocode}
+% \paragraph{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\sectionfont{\normalfont\large\bfseries}
\providecommand\prethesection{}
\providecommand\postthesection{.~}
% \end{macrocode}
-% Величина отступа заголовка секции на странице.
% \DescribeMacro{\sectionindent}
+% Величина отступа заголовка секции на странице.
% \begin{macrocode}
\providecommand\sectionindent{\z@}
% \end{macrocode}
-% Величина вертикального отступа перед заголовком секции.
% \DescribeMacro{\presection}
+% Величина вертикального отступа перед заголовком секции.
% \begin{macrocode}
-\providecommand\presection{-3.5ex \@plus -1ex \@minus -.2ex}
+\providecommand\beforesection{-3.5ex \@plus -1ex \@minus -.2ex}
% \end{macrocode}
-% Величина вертикального отступа после заголовка секции.
% \DescribeMacro{\postsection}
+% Величина вертикального отступа после заголовка секции.
% \begin{macrocode}
-\providecommand\postsection{2.3ex \@plus.2ex}
+\providecommand\aftersection{2.3ex \@plus.2ex}
% \end{macrocode}
-% Выравнивание заголовка.
% \DescribeMacro{\sectionalign}
+% Выравнивание заголовка.
% \begin{macrocode}
\providecommand\sectionalign{\raggedright}
% \end{macrocode}
% \subsubsection{Subsection}
+% \paragraph{Параметры формата записи в Содержании}
% \begin{macrocode}
\providecommand\tocprethesubsection{}
\providecommand\tocpostthesubsection{.\@postskip}
@@ -63,18 +74,22 @@
\providecommand\tocsubsectionindent{3.8em}
\providecommand\tocsubsectionnameindent{3.2em}
+% \end{macrocode}
+% \paragraph{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\subsectionfont{\normalfont\normalsize\bfseries}
\providecommand\prethesubsection{}
\providecommand\postthesubsection{.~}
\providecommand\subsectionindent{\z@}
-\providecommand\presubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsection{1.5ex \@plus .2ex}
\providecommand\subsectionalign{\raggedright}
% \end{macrocode}
% \subsubsection{Subsubsection}
+% \paragraph{Параметры формата записи в Содержании}
% \begin{macrocode}
\providecommand\tocprethesubsubsection{}
\providecommand\tocpostthesubsubsection{.\@postskip}
@@ -87,18 +102,22 @@
\providecommand\tocsubsubsectionindent{7.0em}
\providecommand\tocsubsubsectionnameindent{4.1em}
+% \end{macrocode}
+% \paragraph{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\subsubsectionfont{\normalfont\normalsize\bfseries}
\providecommand\prethesubsubsection{}
\providecommand\postthesubsubsection{.~}
\providecommand\subsubsectionindent{\z@}
-\providecommand\presubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsubsection{1.5ex \@plus .2ex}
\providecommand\subsubsectionalign{\raggedright}
% \end{macrocode}
% \subsubsection{Paragraph}
+% \paragraph{Параметры формата записи в Содержании}
% \begin{macrocode}
\providecommand\tocpretheparagraph{}
\providecommand\tocposttheparagraph{.\@postskip}
@@ -111,18 +130,22 @@
\providecommand\tocparagraphindent{10em}
\providecommand\tocparagraphnameindent{5em}
+% \end{macrocode}
+% \paragraph{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\paragraphfont{\normalfont\normalsize\bfseries}
\providecommand\pretheparagraph{}
\providecommand\posttheparagraph{.~}
\providecommand\paragraphindent{\z@}
-\providecommand\preparagraph{3.25ex \@plus1ex \@minus.2ex}
-\providecommand\postparagraph{-1em}
+\providecommand\beforeparagraph{3.25ex \@plus1ex \@minus.2ex}
+\providecommand\afterparagraph{-1em}
\providecommand\paragraphalign{\raggedright}
% \end{macrocode}
% \subsubsection{Subparagraph}
+% \paragraph{Параметры формата записи в Содержании}
% \begin{macrocode}
\providecommand\tocprethesubparagraph{}
\providecommand\tocpostthesubparagraph{.\@postskip}
@@ -135,20 +158,24 @@
\providecommand\tocsubparagraphindent{12em}
\providecommand\tocsubparagraphnameindent{6em}
+% \end{macrocode}
+% \paragraph{Параметры формата в тексте}
+% \begin{macrocode}
\providecommand\subparagraphfont{\normalfont\normalsize\bfseries}
\providecommand\prethesubparagraph{}
\providecommand\postthesubparagraph{.~}
\providecommand\subparagraphindent{\parindent}
-\providecommand\presubparagraph{3.25ex \@plus1ex \@minus .2ex}
-\providecommand\postsubparagraph{-1em}
+\providecommand\beforesubparagraph{3.25ex \@plus1ex \@minus .2ex}
+\providecommand\aftersubparagraph{-1em}
\providecommand\subparagraphalign{\raggedright}
% \end{macrocode}
-% \subsubsection{Заголовки секций}
+% \subsubsection{Низкоуровневые команды}
%
-% Обобщенная версия стандартного макроса, создающего заголовки секций.
+% \DescribeMacro{\@sect}
+% Обобщенная версия команды, создающей заголовки секций.
% \begin{macrocode}
\def\@sect#1#2#3#4#5#6[#7]#8{%
\ifnum #2>\c@secnumdepth
@@ -183,9 +210,10 @@
\fi
\@xsect{#5}
}
-
% \end{macrocode}
-% Обобщенная версия стандартного макроса, добавляющего запись в Содержание.
+%
+% \DescribeMacro{\@tocline}
+% Обобщенная версия команды, добавляющей запись в Содержание.
% \begin{macrocode}
\def\@tocline#1#2#3#4#5#6{%
\ifnum #2>\c@tocdepth \else
@@ -205,41 +233,28 @@
\fi
}
-\newcommand*\l@section {\@tocline{section} {1}
- {\tocsectionindent}{\tocsectionnameindent}}
-\newcommand*\l@subsection {\@tocline{subsection} {2}
- {\tocsubsectionindent}{\tocsubsectionnameindent}}
-\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}
- {\tocsubsubsectionindent}{\tocsubsubsectionnameindent}}
-\newcommand*\l@paragraph {\@tocline{paragraph} {4}
- {\tocparagraphindent}{\tocparagraphnameindent}}
-\newcommand*\l@subparagraph {\@tocline{subparagraph} {5}
- {\tocsubparagraphindent}{\tocsubparagraphnameindent}}
-
-% \end{macrocode}
-% Интерфейс.
-% \begin{macrocode}
-\newcommand\section{%
- \@startsection{section}{1}{\sectionindent}%
- {\presection}{\postsection}{\sectionfont\sectionalign}}
-\newcommand\subsection{%
- \@startsection{subsection}{2}{\subsectionindent}%
- {\presubsection}{\postsubsection}{\subsectionfont\subsectionalign}}
-\newcommand\subsubsection{%
- \@startsection{subsubsection}{3}{\subsubsectionindent}%
- {\presubsubsection}{\postsubsubsection}{\subsubsectionfont\subsubsectionalign}}
-\newcommand\paragraph{%
- \@startsection{paragraph}{4}{\paragraphindent}%
- {\preparagraph}{\postparagraph}{\paragraphfont\paragraphalign}}
-\newcommand\subparagraph{%
- \@startsection{subparagraph}{5}{\parindent}%
- {\presubparagraph}{\postsubparagraph}{\subparagraphfont\subparagraphalign}}
-
-% \end{macrocode}
-% Команда для создания ненумеруемых секций, которые будут включены в Содержание.
-% \begin{macrocode}
-\newcommand\nsection[1]{%
- \section*{\phantomsection\addcontentsline{toc}{section}{#1}#1}
+% \end{macrocode}
+%
+% \DescribeMacro{\defsection}
+% Генератор команд типа |\l@<section>| и |\<section>|.
+% \begin{macrocode}
+\newcommand\defsection[2]{%
+ \@namedef{l@#1}{%
+ \@tocline{#1}{#2}{\csname toc#1indent\endcsname}
+ {\csname toc#1nameindent\endcsname}
+ }
+ \@namedef{#1}{%
+ \@startsection{#1}{#2}{\csname #1indent\endcsname}
+ {\csname before#1\endcsname}{\csname after#1\endcsname}
+ {\csname #1font\endcsname\csname #1align\endcsname}
+ }
}
+
+\defsection{section}{1}
+\defsection{subsection}{2}
+\defsection{subsubsection}{3}
+\defsection{paragraph}{4}
+\defsection{subparagraph}{5}
+
%</sections>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/titledefs.dtx b/Master/texmf-dist/source/latex/disser/titledefs.dtx
index 77c47e52c06..903a233dffc 100644
--- a/Master/texmf-dist/source/latex/disser/titledefs.dtx
+++ b/Master/texmf-dist/source/latex/disser/titledefs.dtx
@@ -1,7 +1,11 @@
+% \begin{macrocode}
+
+%<titledefs>\ProvidesFile{titledefs.rtx}
+
%<*titledefs>
% \end{macrocode}
%
-% \subsection{Постоянные части заголовков и элементов титульного листа}
+% \subsection{Постоянные части заголовков, титульного листа и текста}
%
% Аннотация
% \begin{macrocode}
@@ -18,7 +22,6 @@
\cyrs\cyrl\cyro\cyrv\cyra}
\def\keywordssep{:}
\def\keywordslabel{\keywordsname\keywordssep}
-\def\yearname{\cyr\cyrg.}
% \end{macrocode}
% Диссертация
% \begin{macrocode}
@@ -51,7 +54,8 @@
% \end{macrocode}
% Специальность
% \begin{macrocode}
-\def\specname{\cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn}
+\def\specname{%
+\cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn}
\def\specsep{:}
\def\speclabel{\specname\specsep}
% \end{macrocode}
@@ -68,9 +72,10 @@
\cyrs\cyrt\cyru\cyrd\cyre\cyrn\cyrt}
\def\studentlabel{\studentname}
% \end{macrocode}
-% Руководитель (sa -- сокр. от scientific adviser)
+% Научный руководитель (sa -- сокр. от scientific adviser)
% \begin{macrocode}
-\def\saname{\cyr\CYRR\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn}
+\def\saname{\cyr\CYRN\cyra\cyru\cyrch\cyrn\cyrery\cyrishrt\ %
+\cyrr\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn}
\def\salabel{\saname}
% \end{macrocode}
% Рецензент
@@ -96,6 +101,7 @@
% \begin{macrocode}
\def\consultname{\cyr\CYRK\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt\cyrery:}
% \end{macrocode}
+%
% \subsection{Интерфейс для определения элементов титульного листа}
%
% Организация
@@ -163,27 +169,65 @@
\def\hod#1{\gdef\@hod{#1}}\hod{}
% \end{macrocode}
%
-% \paragraph{Научный руководитель}
-% \subparagraph{ФИО}
+% Номер УДК
+% \begin{macrocode}
+\def\libcatnum#1{\gdef\@libcatnum{#1}}\libcatnum{}
+% \end{macrocode}
+%
+% Академическая группа
+% \begin{macrocode}
+\def\group#1{\gdef\@group{#1}}\group{}
+% \end{macrocode}
+%
+% Номер магистерской программы
+% \begin{macrocode}
+\def\masterprognum#1{\gdef\@masterprognum{#1}}\masterprognum{}
+% \end{macrocode}
+%
+% Название магистерской программы
+% \begin{macrocode}
+\def\masterprog#1{\gdef\@masterprog{#1}}\masterprog{}
+
+% \end{macrocode}
+%
+% Значение |\data| по умолчанию
+% \begin{macrocode}
+\date{\number\year}
+
+% \end{macrocode}
+%
+% Сокращение года <<г.>>
+% \begin{macrocode}
+\def\yearname{\cyr\cyrg.}
+% \end{macrocode}
+%
+% \DescribeMacro{\introsect}
+% Стиль заголовков общего текста <<Введения>> и автореферата.
+% \begin{macrocode}
+\let\introsect=\paragraph
+% \end{macrocode}
+%
+% \subsubsection{Научный руководитель}
+% ФИО
% \begin{macrocode}
\def\sa#1{\gdef\@sa{#1}}\sa{}
% \end{macrocode}
-% \subparagraph{учёное звание}
+% Учёное звание
% \begin{macrocode}
\def\sastatus#1{\gdef\@sastatus{#1}}\sastatus{}
% \end{macrocode}
%
-% \paragraph{Рецензент}
-% \subparagraph{ФИО}
+% \subsubsection{Рецензент}
+% ФИО
% \begin{macrocode}
\def\rev#1{\gdef\@rev{#1}}\rev{}
% \end{macrocode}
-% \paragraph{учёное звание}
+% учёное звание
% \begin{macrocode}
\def\revstatus#1{\gdef\@revstatus{#1}}\revstatus{}
% \end{macrocode}
%
-% \paragraph{Консультант}
+% \subsubsection{Консультант}
%
% Специальность
% \begin{macrocode}
@@ -191,49 +235,71 @@
% \end{macrocode}
%
% ФИО
+% \begin{macrocode}
\def\con#1{\gdef\@con{#1}}
% \end{macrocode}
%
% Учёное звание и степень
% \begin{macrocode}
\def\constatus#1{\gdef\@constatus{#1}}
+
% \end{macrocode}
%
-% Номер УДК
+% \subsubsection{Названия ненумеруемых глав, входящих в Содержание}
+% \begin{itemize}
+%
+% \item Содержание
% \begin{macrocode}
-\def\libcatnum#1{\gdef\@libcatnum{#1}}\libcatnum{}
+\AtBeginDocument{
+ \addto\captionsrussian{%
+ \def\contentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
+ }
+}
+
% \end{macrocode}
-%
-% Академическая группа
+% \item Введение
% \begin{macrocode}
-\def\group#1{\gdef\@group{#1}}\group{}
+\newcommand\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
+\newcommand\intro{\nchapter{\introname}}
% \end{macrocode}
-%
-% Номер магистерской программы
+% \item Заключение
% \begin{macrocode}
-\def\masterprognum#1{\gdef\@masterprognum{#1}}\masterprognum{}
+\newcommand\conclusionname{%
+{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
+}
+\newcommand\conclusion{\nchapter{\conclusionname}}
% \end{macrocode}
-%
-% Название магистерской программы
+% \item Список используемых обозначений
+% \end{itemize}
% \begin{macrocode}
-\def\masterprog#1{\gdef\@masterprog{#1}}\masterprog{}
+\newcommand\defsname{%
+{\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ \cyru\cyrs\cyrl\cyro\cyrv\cyrn\cyrery\cyrh %
+\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrishrt}
+}
+\newcommand\defs{\nchapter{\defsname}}
% \end{macrocode}
%
-% Значение даты по умолчанию
+% Обзор литературы
% \begin{macrocode}
-\date{\number\year}
+\newcommand\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
+\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
+\newcommand\review{\nchapter{\reviewname}}
% \end{macrocode}
%
-% Формат записей для научного руководителя, рецензента и консультанта.
+% \subsubsection{Низкоуровневые макросы}
+%
+% \DescribeMacro{\field}
+% Формат записей для научного руководителя, рецензента и консультанта
% \begin{macrocode}
\def\field#1{%
- \csname #1label\endcsname,\ %
+ \csname #1label\endcsname,\\%
\csname @#1status\endcsname\>
\makebox[8.5cm][l]{\hrulefill\ \csname @#1\endcsname}
}
% \end{macrocode}
%
+% \DescribeMacro{\@permitted}
% Диссертация допущена к защите
% \begin{macrocode}
\def\@permitted{
@@ -250,15 +316,21 @@
}
% \end{macrocode}
-% Сокращение года <<г.>>
-% \begin{macrocode}
-\def\yearname{\cyr\cyrg.}
-% \end{macrocode}
% Поле для записи даты. Для отображения произвольного года нужно
% присвоить значение необязательному аргументу.
% \begin{macrocode}
\newcommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}\,>>%
\rule[0pt]{3cm}{0.5pt}\ #1~\yearname}
+% \end{macrocode}
+% \DescribeMacro{\mkintrosect}
+% Генератор команд для оформления общего текста из <<Введения>>
+% диссертации и автореферата.
+% \begin{macrocode}
+\newcommand\mkintrosect[3]{%
+ \@namedef{#1head}{#2}
+ \@namedef{#1section}{\introsect{\expandafter\csname #1head\endcsname}}
+ \@namedef{#1text}{#3}
+}
%</titledefs>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/titlepage.dtx b/Master/texmf-dist/source/latex/disser/titlepage.dtx
index 7e719fb0f84..5b161681028 100644
--- a/Master/texmf-dist/source/latex/disser/titlepage.dtx
+++ b/Master/texmf-dist/source/latex/disser/titlepage.dtx
@@ -17,63 +17,63 @@
% \DescribeMacro{\titlefont}
% \DescribeMacro{\topiclabelfont}
% \DescribeMacro{\topicfont}
+% \DescribeMacro{\instfont}
% \begin{macrocode}
\newcommand\titlefont{\Large\bfseries}
\newcommand\topiclabelfont{\large}
\newcommand\topicfont{\large\bfseries}
\newcommand\instfont{\normalfont}
+% \end{macrocode}
+%
+% Разделитель между названием города и годом.
+% \DescribeMacro{\cdsep}
+% \begin{macrocode}
+ \newcommand\cdsep{~-- }
\input{titledefs\substyle@ext}
% \end{macrocode}
% \DescribeMacro{\maketitle}
% \begin{macrocode}
\newcommand\maketitle{
- \begin{titlepage}
% \end{macrocode}
%
% \subsubsection{Общие элементы титульного листа}
% \begin{macrocode}
- \setcounter{page}{-1}
\thispagestyle{empty}
- \vspace*{-1cm}
+ \vspace*{-2cm}
% \end{macrocode}
% \paragraph{Название организации}
% \begin{macrocode}
- \centering\instfont\@institution\par
+ \begin{center}
+ \instfont\@institution\par
% \end{macrocode}
% Для решения проблемы с |@| в именах макросов.
% \begin{macrocode}
\makeatletter
% \end{macrocode}
-% \paragraph{Включение того или иного титульного листа в зависимости от типа
+% \paragraph{Включение того или иного титульного листа в зависимости от типа
% документа}
% \begin{macrocode}
- \if@bachelor \input{bachelor\substyle@ext}\fi
- \if@master \input{master\substyle@ext}\fi
- \if@candidate\input{candidate\substyle@ext}\fi
- \if@doctor \input{doctor\substyle@ext}\fi
- \if@autoref \input{autoref\substyle@ext}\fi
+ \ifDis@bachelor \input{bachelor\substyle@ext}\fi
+ \ifDis@master \input{master\substyle@ext}\fi
+ \ifDis@candidate\input{candidate\substyle@ext}\fi
+ \ifDis@doctor \input{doctor\substyle@ext}\fi
+ \ifDis@autoref \input{autoref\substyle@ext}\fi
\enlargethispage{2cm}
\vfill
% \end{macrocode}
% \paragraph{Город и год}
% \begin{macrocode}
- \begin{center}
- {\@city\\\@date}
+ {\@city\cdsep\@date}
\end{center}
- {\null\endtitlepage}
- \end{titlepage}
\normalsize
+ \clearpage
+ \thispagestyle{empty}
} % \newcommand\maketitle
\setcounter{footnote}{0}
- \clearpage
- \thispagestyle{empty}
- \footskip=1cm
\else %\if@titlepage
% \end{macrocode}
-% Заголовок без отдельного титульного листа. Дополнительных команд
-% форматирования на этот случай не предусмотрено, поскольку он практически не
-% используется.
+% Заголовок без отдельного титульного листа.
% \DescribeMacro{\maketitle}
% \begin{macrocode}
\newcommand\maketitle{%
@@ -116,12 +116,15 @@
}
% \end{macrocode}
% \DescribeMacro{\@maketitle}
+% Команда для форматирования заголовка документа, который не будет
+% расположен на отдельной странице.
% \begin{macrocode}
\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
+ \let\footnotesize\small
\let\footnote\thanks
{\titlefont\@title\par}%
\vskip 1.5em%
diff --git a/Master/texmf-dist/source/latex/disser/toc.dtx b/Master/texmf-dist/source/latex/disser/toc.dtx
index a4ce657af46..57ac3902d58 100644
--- a/Master/texmf-dist/source/latex/disser/toc.dtx
+++ b/Master/texmf-dist/source/latex/disser/toc.dtx
@@ -1,3 +1,8 @@
+
+% \iffalse
+%%% From File: toc.dtx
+% \fi
+%
% \begin{macrocode}
%<*toc>
@@ -21,7 +26,8 @@
% \begin{macrocode}
\newcommand\@tocrmarg{2.55em}
% \end{macrocode}
-% Расстояние между символами (точками) в заполнителе между названием и номером.
+% Расстояние между символами (точками) в заполнителе между названием и номером
+% (в единицах mu = 1/18 em, em --- длина буквы |M| текущего шрифта).
% \DescribeMacro{\@dotsep}
% \begin{macrocode}
\newcommand\@dotsep{4.5}
@@ -57,10 +63,7 @@
\newcommand\tableofcontents{%
% \end{macrocode}
%
-% |\contentsname| необходимо переопределять здесь, т.к. |babel| присваивает
-% свое значение после того, как загружен класс.
% \begin{macrocode}
- \renewcommand\contentsname\newcontentsname
\if@twocolumn
\@restonecoltrue\onecolumn
\else
@@ -69,7 +72,6 @@
\chapter*{\contentsname%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}
}%
- \thispagestyle{empty}
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
\clearpage
diff --git a/Master/texmf-dist/tex/latex/disser/autoref.rtx b/Master/texmf-dist/tex/latex/disser/autoref.rtx
index dc7e5c68e17..c117c5847ba 100644
--- a/Master/texmf-dist/tex/latex/disser/autoref.rtx
+++ b/Master/texmf-dist/tex/latex/disser/autoref.rtx
@@ -12,6 +12,8 @@
%% This file is part of the disser package.
%%
+\ProvidesFile{autoref.rtx}
+
\def\firstskip{\vskip1cm}
\def\secondskip{\vskip2cm}
\def\thirdskip{\vskip1cm}
diff --git a/Master/texmf-dist/tex/latex/disser/bachelor.rtx b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
index ff50b40e335..a4e4dd0298b 100644
--- a/Master/texmf-dist/tex/latex/disser/bachelor.rtx
+++ b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
@@ -12,6 +12,8 @@
%% This file is part of the disser package.
%%
+\ProvidesFile{bachelor.rtx}
+
\def\firstskip{\vskip1.5cm}
\def\secondskip{\vskip1.5cm}
diff --git a/Master/texmf-dist/tex/latex/disser/candidate.rtx b/Master/texmf-dist/tex/latex/disser/candidate.rtx
index ae0173d2523..e0ca65c11dc 100644
--- a/Master/texmf-dist/tex/latex/disser/candidate.rtx
+++ b/Master/texmf-dist/tex/latex/disser/candidate.rtx
@@ -12,6 +12,8 @@
%% This file is part of the disser package.
%%
+\ProvidesFile{candidate.rtx}
+
\def\firstskip{\vskip1cm}
\def\secondskip{\vskip2cm}
\def\thirdskip{\vskip1cm}
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index 13d25579cf1..91b87298aa1 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,33 +44,45 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2007/06/15 Document class for dissertations.]
-\ProvidesPackage{disser}
-
+\ProvidesClass{disser}[2007/11/29 Document class for dissertations.]
\def\substyle@ext{.rtx}
\newif\if@restonecol
-\newif\if@titlepage\@titlepagetrue
-\newif\if@bachelor\@bachelorfalse
-\newif\if@master\@masterfalse
-\newif\if@candidate\@candidatefalse
-\newif\if@doctor\@doctorfalse
-\newif\if@autoref\@autoreffalse
+\newif\if@titlepage
\newif\if@openright
-\newif\ifhref\hreffalse
-\newif\ifpdf
- \ifx\pdfoutput\undefined
- \else
- \ifx\pdfoutput\relax
- \else
- \ifcase\pdfoutput
- \else
- \pdftrue
- \fi
- \fi
- \fi
+\RequirePackage{ifpdf}
+
+\newif\ifDis@bachelor
+\newif\ifDis@master
+\newif\ifDis@candidate
+\newif\ifDis@doctor
+\newif\ifDis@autoref
+
+\newif\ifDis@href
+\newif\ifDis@subf
+\newif\ifDis@times
+
+\@titlepagetrue
+\Dis@bachelorfalse
+\Dis@masterfalse
+\Dis@candidatetrue
+\Dis@doctorfalse
+\Dis@autoreffalse
+\Dis@timesfalse
+\Dis@subffalse
+\Dis@hreffalse
+
+\RequirePackage{kvoptions}[2006/08/17]
-\newif\ifsubf\subffalse
+\DeclareOption{href}{\Dis@hreftrue}
+
+\DeclareOption{subf}{\Dis@subftrue}
+
+\SetupKeyvalOptions{
+ family=Dis,
+ prefix=Dis@
+}
+\DeclareBoolOption[true]{fixint}
\DeclareOption{a4paper}{%
@@ -119,13 +131,7 @@
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{times}{
- \AtEndOfPackage{%
- \usepackage{pscyr}
- \usepackage{txfonts}
- \renewcommand{\rmdefault}{ftm}
- }
-}
+\DeclareOption{times}{\Dis@timestrue}
\DeclareOption{openbib}{%
\AtEndOfPackage{%
\renewcommand\@openbib@code{%
@@ -137,25 +143,43 @@
\renewcommand\newblock{\par}
}%
}
-\DeclareOption{href}{\hreftrue}
-
-\DeclareOption{subf}{\subftrue}
\DeclareOption{bachelor}{%
- \@bachelortrue\@masterfalse\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelortrue
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{master}{%
- \@bachelorfalse\@mastertrue\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@mastertrue
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{candidate}{%
- \@bachelorfalse\@masterfalse\@candidatetrue\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatetrue
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{doctor}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctortrue\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctortrue
+ \Dis@autoreffalse
}
\DeclareOption{autoref}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctorfalse\@autoreftrue
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreftrue
}
+
\DeclareRobustCommand\MakeTextUppercase{%
\@uclcnotmath{\def\i{I}\def\j{J}}{##1##2}\uppercase}
@@ -168,6 +192,8 @@
\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany}
\ProcessOptions
+\ProcessKeyvalOptions{Dis}
+
\def\EC@family#1#2#3#4#5{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74>%
@@ -238,23 +264,18 @@
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
-\newcommand\singlespacing {\renewcommand\baselinestretch{1}}
-\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}}
-\newcommand\doublespacing {\renewcommand\baselinestretch{2}}
-\onehalfspacing\normalsize
+\newcommand\singlespacing {\renewcommand\baselinestretch{1}\normalsize}
+\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}\normalsize}
+\newcommand\doublespacing {\renewcommand\baselinestretch{2}\normalsize}
+\onehalfspacing
\setlength\parskip{0\p@ \@plus \p@}
-\setcounter{topnumber}{2}
-\setcounter{bottomnumber}{1}
-\setcounter{totalnumber}{3}
-\setcounter{dbltopnumber}{2}
-\renewcommand\topfraction{.7}
-\renewcommand\bottomfraction{.3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
-\renewcommand\dbltopfraction{.7}
-\renewcommand\dblfloatpagefraction{.5}
+
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{2}
+
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+
\def\@seccntformat#1{%
\csname prethe#1\endcsname%
\csname the#1\endcsname%
@@ -270,6 +291,8 @@
\@medpenalty 151
\@highpenalty 301
+%%% From File: counters.dtx
+
\newcounter{part}
\newcounter{chapter}
\newcounter{section}[chapter]
@@ -318,11 +341,13 @@
\newcommand\doctor@the \candidate@the
\newcommand\autoref@the \candidate@the
-\if@bachelor \bachelor@the \fi
-\if@master \master@the \fi
-\if@candidate \candidate@the \fi
-\if@doctor \doctor@the \fi
-\if@autoref \autoref@the \fi
+\ifDis@bachelor \bachelor@the \fi
+\ifDis@master \master@the \fi
+\ifDis@candidate\candidate@the \fi
+\ifDis@doctor \doctor@the \fi
+\ifDis@autoref \autoref@the \fi
+
+%%% From File: part.dtx
\providecommand\tocprethepart{\partname~}
\providecommand\tocpostthepart{.\@postskip}
@@ -341,7 +366,8 @@
\providecommand\prepart{}
\providecommand\postpart{\par}
-\def\partpagestyle#1{\gdef\@partpagestyle{#1}}\partpagestyle{empty}
+\def\partpagestyle#1{\gdef\@partpagestyle{#1}}
+\partpagestyle{empty}
\newcommand\part{
\if@openright
\cleardoublepage
@@ -391,6 +417,7 @@
\fi
\if@tempswa\twocolumn\fi
}
+
\newcommand*\l@part[2]
{%
\ifnum \c@tocdepth >-2\relax
@@ -411,7 +438,8 @@
}
-\newcommand*\chaptermark[1]{}
+%%% From File: chapter.dtx
+
\providecommand\tocprethechapter{\protect\chaptername~}
\providecommand\tocpostthechapter{.\@postskip}
\providecommand\tocchapterfill{\tocfill{.}}
@@ -432,24 +460,7 @@
\def\chapterpagestyle#1{\gdef\@chapterpagestyle{#1}}\chapterpagestyle{plain}
-\providecommand\tocpretheappendix{\protect\appendixname~}
-\providecommand\tocposttheappendix{.\@postskip}
-\providecommand\tocappendixfill{\tocfill{.}}
-
-\providecommand\tocappendixfont{\bfseries}
-\providecommand\tocappendixfillfont{\normalfont}
-\providecommand\tocappendixnumfont{\normalfont}
-
-\providecommand\theappendixalign{\centering}
-\providecommand\theappendixfont{\Large}
-\providecommand\pretheappendix{\protect\appendixname~}
-\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
-
-\providecommand\appendixalign{\centering}
-\providecommand\appendixfont{\Large\bfseries}
-\providecommand\preappendix{}
-\providecommand\postappendix{\par\nobreak\vskip 20\p@}
-
+\newcommand*\chaptermark[1]{}
\newcommand\chapter{%
\if@openright
\cleardoublepage
@@ -526,6 +537,23 @@
\fi
}
+\providecommand\tocpretheappendix{\protect\appendixname~}
+\providecommand\tocposttheappendix{.\@postskip}
+\providecommand\tocappendixfill{\tocfill{.}}
+
+\providecommand\tocappendixfont{\bfseries}
+\providecommand\tocappendixfillfont{\normalfont}
+\providecommand\tocappendixnumfont{\normalfont}
+
+\providecommand\theappendixalign{\centering}
+\providecommand\theappendixfont{\Large}
+\providecommand\pretheappendix{\protect\appendixname~}
+\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
+
+\providecommand\appendixalign{\centering}
+\providecommand\appendixfont{\Large\bfseries}
+\providecommand\preappendix{}
+\providecommand\postappendix{\par\nobreak\vskip 20\p@}
\newcommand\appendix{
\setcounter{chapter}{0}
\setcounter{section}{0}
@@ -592,30 +620,8 @@
\gdef\thechapter{\oldthechapter}
}
-\newcommand\nchapter[1]{%
- \chapter*{%
- \phantomchapter\addcontentsline{toc}{chapter}{#1}%
- #1%
- \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
- }
-}
-
-\def\newcontentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
-\def\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
-\newcommand\intro{\nchapter{\introname}}
-\def\conclusionname{%
-{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
-}
-\newcommand\conclusion{\nchapter{\conclusionname}}
-\def\defsname{%
-{\cyr\CYRI\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyru\cyre\cyrm\cyrery\cyre\ %
-\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrya}
-}
-\newcommand\defs{\nchapter{\defsname}}
-\def\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
-\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
-\newcommand\review{\nchapter{\reviewname}}
+%%% From File: sections.dtx
\providecommand\tocprethesection{}
\providecommand\tocpostthesection{.\@postskip}
@@ -633,8 +639,8 @@
\providecommand\postthesection{.~}
\providecommand\sectionindent{\z@}
-\providecommand\presection{-3.5ex \@plus -1ex \@minus -.2ex}
-\providecommand\postsection{2.3ex \@plus.2ex}
+\providecommand\beforesection{-3.5ex \@plus -1ex \@minus -.2ex}
+\providecommand\aftersection{2.3ex \@plus.2ex}
\providecommand\sectionalign{\raggedright}
\providecommand\tocprethesubsection{}
@@ -654,8 +660,8 @@
\providecommand\postthesubsection{.~}
\providecommand\subsectionindent{\z@}
-\providecommand\presubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsection{1.5ex \@plus .2ex}
\providecommand\subsectionalign{\raggedright}
\providecommand\tocprethesubsubsection{}
@@ -675,8 +681,8 @@
\providecommand\postthesubsubsection{.~}
\providecommand\subsubsectionindent{\z@}
-\providecommand\presubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsubsection{1.5ex \@plus .2ex}
\providecommand\subsubsectionalign{\raggedright}
\providecommand\tocpretheparagraph{}
@@ -696,8 +702,8 @@
\providecommand\posttheparagraph{.~}
\providecommand\paragraphindent{\z@}
-\providecommand\preparagraph{3.25ex \@plus1ex \@minus.2ex}
-\providecommand\postparagraph{-1em}
+\providecommand\beforeparagraph{3.25ex \@plus1ex \@minus.2ex}
+\providecommand\afterparagraph{-1em}
\providecommand\paragraphalign{\raggedright}
\providecommand\tocprethesubparagraph{}
@@ -717,8 +723,8 @@
\providecommand\postthesubparagraph{.~}
\providecommand\subparagraphindent{\parindent}
-\providecommand\presubparagraph{3.25ex \@plus1ex \@minus .2ex}
-\providecommand\postsubparagraph{-1em}
+\providecommand\beforesubparagraph{3.25ex \@plus1ex \@minus .2ex}
+\providecommand\aftersubparagraph{-1em}
\providecommand\subparagraphalign{\raggedright}
\def\@sect#1#2#3#4#5#6[#7]#8{%
@@ -754,7 +760,6 @@
\fi
\@xsect{#5}
}
-
\def\@tocline#1#2#3#4#5#6{%
\ifnum #2>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
@@ -773,37 +778,27 @@
\fi
}
-\newcommand*\l@section {\@tocline{section} {1}
- {\tocsectionindent}{\tocsectionnameindent}}
-\newcommand*\l@subsection {\@tocline{subsection} {2}
- {\tocsubsectionindent}{\tocsubsectionnameindent}}
-\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}
- {\tocsubsubsectionindent}{\tocsubsubsectionnameindent}}
-\newcommand*\l@paragraph {\@tocline{paragraph} {4}
- {\tocparagraphindent}{\tocparagraphnameindent}}
-\newcommand*\l@subparagraph {\@tocline{subparagraph} {5}
- {\tocsubparagraphindent}{\tocsubparagraphnameindent}}
-
-\newcommand\section{%
- \@startsection{section}{1}{\sectionindent}%
- {\presection}{\postsection}{\sectionfont\sectionalign}}
-\newcommand\subsection{%
- \@startsection{subsection}{2}{\subsectionindent}%
- {\presubsection}{\postsubsection}{\subsectionfont\subsectionalign}}
-\newcommand\subsubsection{%
- \@startsection{subsubsection}{3}{\subsubsectionindent}%
- {\presubsubsection}{\postsubsubsection}{\subsubsectionfont\subsubsectionalign}}
-\newcommand\paragraph{%
- \@startsection{paragraph}{4}{\paragraphindent}%
- {\preparagraph}{\postparagraph}{\paragraphfont\paragraphalign}}
-\newcommand\subparagraph{%
- \@startsection{subparagraph}{5}{\parindent}%
- {\presubparagraph}{\postsubparagraph}{\subparagraphfont\subparagraphalign}}
-
-\newcommand\nsection[1]{%
- \section*{\phantomsection\addcontentsline{toc}{section}{#1}#1}
+\newcommand\defsection[2]{%
+ \@namedef{l@#1}{%
+ \@tocline{#1}{#2}{\csname toc#1indent\endcsname}
+ {\csname toc#1nameindent\endcsname}
+ }
+ \@namedef{#1}{%
+ \@startsection{#1}{#2}{\csname #1indent\endcsname}
+ {\csname before#1\endcsname}{\csname after#1\endcsname}
+ {\csname #1font\endcsname\csname #1align\endcsname}
+ }
}
+\defsection{section}{1}
+\defsection{subsection}{2}
+\defsection{subsubsection}{3}
+\defsection{paragraph}{4}
+\defsection{subparagraph}{5}
+
+
+%%% From File: lists.dtx
+
\if@twocolumn
\setlength\leftmargini {2em}
\else
@@ -843,6 +838,18 @@
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv {\textperiodcentered}
+%%% From File: floats.dtx
+
+\setcounter{topnumber}{2}
+\setcounter{bottomnumber}{1}
+\setcounter{totalnumber}{3}
+\setcounter{dbltopnumber}{2}
+\renewcommand\topfraction{.7}
+\renewcommand\bottomfraction{.3}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
\newlength\abovecaptionskip
\setlength\abovecaptionskip{10\p@}
\newlength\belowcaptionskip
@@ -879,14 +886,15 @@
\skip\@mpfootins = \skip\footins
\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
-\newenvironment{table}{\@float{table}}{\end@float}
-\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
+
+%%% From File: footnote.dtx
+
\renewcommand\footnoterule{%
\kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
}
@@ -896,6 +904,8 @@
\hb@xt@1.8em{\hss\@makefnmark}#1
}
+%%% From File: env.dtx
+
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\let\makelabel\descriptionlabel}}
@@ -951,7 +961,32 @@
}
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
+\newenvironment{table}{\@float{table}}{\end@float}
+\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
+\providecommand\theoremstyle{\itshape}
+\providecommand\thetheoremstyle{\bfseries}
+\providecommand\opargtheoremstyle{\rm}
+\providecommand\preopargtheorem{(}
+\providecommand\postopargtheorem{)}
+\providecommand\postthetheorem{.}
+
+\def\@begintheorem#1#2{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ %
+ #2\unskip\postthetheorem}]\theoremstyle}
+\def\@opargbegintheorem#1#2#3{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ #2\ %
+ {\opargtheoremstyle\preopargtheorem #3\postopargtheorem}}]\theoremstyle}
+\def\@endtheorem{\endtrivlist}
+
+%%% From File: page.dtx
+
+\newcommand\evenheadfont{\slshape}
+\newcommand\evenfootfont{}
+\newcommand\oddheadfont{\slshape}
+\newcommand\oddfootfont{}
+\providecommand\chaptermarkfont{\slshape}
+\providecommand\sectionmarkfont{\MakeUppercase}
\if@twoside
\def\ps@headings{%
\let\@evenfoot\@empty
@@ -974,7 +1009,7 @@
##1}%
}%
}%
- }%
+ } % \def\ps@headings
\else % \if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty
@@ -1009,19 +1044,11 @@
\let\chaptermark\@gobble
\let\sectionmark\@gobble
}
-\setlength\columnsep{10\p@}
-\setlength\columnseprule{0\p@}
\pagestyle{plain}
\pagenumbering{arabic}
\if@twoside\else\raggedbottom\fi
\if@twocolumn\twocolumn\sloppy\flushbottom
\else\onecolumn\fi
-\newcommand\evenheadfont{\slshape}
-\newcommand\evenfootfont{}
-\newcommand\oddheadfont{\slshape}
-\newcommand\oddfootfont{}
-\newcommand\chaptermarkfont{\slshape}
-\newcommand\sectionmarkfont{\MakeUppercase}
\newcommand\today{}
@@ -1031,33 +1058,29 @@
\newcommand\topiclabelfont{\large}
\newcommand\topicfont{\large\bfseries}
\newcommand\instfont{\normalfont}
+ \newcommand\cdsep{~-- }
\input{titledefs\substyle@ext}
\newcommand\maketitle{
- \begin{titlepage}
- \setcounter{page}{-1}
\thispagestyle{empty}
- \vspace*{-1cm}
- \centering\instfont\@institution\par
+ \vspace*{-2cm}
+ \begin{center}
+ \instfont\@institution\par
\makeatletter
- \if@bachelor \input{bachelor\substyle@ext}\fi
- \if@master \input{master\substyle@ext}\fi
- \if@candidate\input{candidate\substyle@ext}\fi
- \if@doctor \input{doctor\substyle@ext}\fi
- \if@autoref \input{autoref\substyle@ext}\fi
+ \ifDis@bachelor \input{bachelor\substyle@ext}\fi
+ \ifDis@master \input{master\substyle@ext}\fi
+ \ifDis@candidate\input{candidate\substyle@ext}\fi
+ \ifDis@doctor \input{doctor\substyle@ext}\fi
+ \ifDis@autoref \input{autoref\substyle@ext}\fi
\enlargethispage{2cm}
\vfill
- \begin{center}
- {\@city\\\@date}
+ {\@city\cdsep\@date}
\end{center}
- {\null\endtitlepage}
- \end{titlepage}
\normalsize
+ \clearpage
+ \thispagestyle{empty}
} % \newcommand\maketitle
\setcounter{footnote}{0}
- \clearpage
- \thispagestyle{empty}
- \footskip=1cm
\else %\if@titlepage
\newcommand\maketitle{%
\par
@@ -1099,6 +1122,7 @@
\null
\vskip 2em%
\begin{center}%
+ \let\footnotesize\small
\let\footnote\thanks
{\titlefont\@title\par}%
\vskip 1.5em%
@@ -1113,6 +1137,8 @@
}
\fi % \if@titlepage
+%%% From File: toc.dtx
+
\def\@postskip{\hskip1em}
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
@@ -1127,7 +1153,6 @@
\let\@openbib@code\@empty
\newcommand\tableofcontents{%
- \renewcommand\contentsname\newcontentsname
\if@twocolumn
\@restonecoltrue\onecolumn
\else
@@ -1136,7 +1161,6 @@
\chapter*{\contentsname%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}
}%
- \thispagestyle{empty}
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
\clearpage
@@ -1185,22 +1209,72 @@
\newcommand\subitem{\@idxitem \hspace*{20\p@}}
\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+%%% From File: custom.dtx
+
\let\@afterindentfalse\@afterindenttrue
\@afterindenttrue
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
-\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
-\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
-\DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+\ifDis@times
+ \AtEndOfPackage{%
+ \usepackage{pscyr}
+ \usepackage{txfonts}
+ \renewcommand{\rmdefault}{ftm}
+ }
+\fi
+\ifDis@fixint
+ \DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
+ \DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
+ \DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+ \AtBeginDocument{%
+ \def\intkern@{\mkern -6mu }%
+ \def\ints@#1{\mkern -3mu
+ \mathop{\mkern 3mu
+ \intop
+ \ifnum #1=\z@ \intdots@ \else
+ \intkern@
+ \ifnum #1>\tw@ \intop\intkern@
+ \ifnum #1>\thr@@ \intop\intkern@ \fi
+ \fi
+ \fi
+ \intop
+ }\ilimits@
+ }%
+ \renewcommand{\iint}{\DOTSI\protect\MultiIntegral{2}}
+ \renewcommand{\iiint}{\DOTSI\protect\MultiIntegral{3}}
+ \renewcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}}
+ \renewcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
+ }{}
+\fi
\usepackage[square, comma, sort&compress]{natbib}
-\def\phantomchapter{%
- \ifhref
+\def\metaphantom#1{%
+ \ifDis@href
\Hy@GlobalStepCount\Hy@linkcounter
- \xdef\@currentHref{chapter*.\the\Hy@linkcounter}%
+ \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
\fi
}
+\newcommand\nchapter[1]{%
+ \chapter*{%
+ \metaphantom{chapter}\addcontentsline{toc}{chapter}{#1}%
+ #1%
+ \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
+ }
+}
+\newcommand\nsection[1]{%
+ \section*{\metaphantom{section}%
+ \addcontentsline{toc}{section}{#1}#1}
+}
+\newcommand\nsubsection[1]{%
+ \subsection*{\metaphantom{subsection}%
+ \addcontentsline{toc}{subsection}{#1}#1}
+}
+\newcommand\nsubsubsection[1]{%
+ \subsection*{\metaphantom{subsubsection}%
+ \addcontentsline{toc}{subsubsection}{#1}#1}
+}
\renewcommand\bibsection{\nchapter{\bibname}}
+
\renewenvironment{thebibliography}[1]{%
\bibsection
\parindent \z@
@@ -1217,12 +1291,13 @@
\let\citeN\cite
\let\shortcite\cite
\let\citeasnoun\cite
+ \ifDis@autoref\setlength\bibsep{0pt}\fi
}{%
\def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
\endlist\vskip-\lastskip%
}
\ifpdf
- \ifhref
+ \ifDis@href
\usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
\hypersetup{
colorlinks = false,
@@ -1235,23 +1310,19 @@
\pdfcompresslevel = 9
\fi
\usepackage[pdftex]{graphicx}
- \IfFileExists{cmap.sty}{%
- \usepackage{cmap}
- }{}
+ \usepackage{cmap}
\else
- \ifhref\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
+ \ifDis@href\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
\usepackage{graphicx}
\fi
-\ifhref\usepackage{hypernat}\fi
+\ifDis@href\usepackage{hypernat}\fi
\usepackage[rflt]{floatflt}
-\ifsubf
+\ifDis@subf
\usepackage[config,font=small,labelsep=period]{caption,subfig}
\def\thesubfigure{\textit{\asbuk{subfigure}}}
- \def\p@subfigure{\thefigure, }
+ \providecommand\thefigsubsep{,\ }
+ \def\p@subfigure{\@nameuse{thefigure}\thefigsubsep}
\fi
-
-\lccode `\-=`\-
-\defaulthyphenchar=127
\endinput
%%
%% End of file `disser.cls'.
diff --git a/Master/texmf-dist/tex/latex/disser/doctor.rtx b/Master/texmf-dist/tex/latex/disser/doctor.rtx
index f827045cc63..d5052ee7231 100644
--- a/Master/texmf-dist/tex/latex/disser/doctor.rtx
+++ b/Master/texmf-dist/tex/latex/disser/doctor.rtx
@@ -12,6 +12,8 @@
%% This file is part of the disser package.
%%
+\ProvidesFile{doctor.rtx}
+
\def\firstskip{\vskip1.5cm}
\def\secondskip{\vskip3cm}
\def\thirdskip{\vskip1cm}
diff --git a/Master/texmf-dist/tex/latex/disser/gost732.cls b/Master/texmf-dist/tex/latex/disser/gost732.cls
index ee23df423bb..61ad55de08b 100644
--- a/Master/texmf-dist/tex/latex/disser/gost732.cls
+++ b/Master/texmf-dist/tex/latex/disser/gost732.cls
@@ -11,9 +11,28 @@
%%
%% This file is part of the disser package.
%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% gost732 -- GOST 7.32-2001 implementation.
+%%
+%% Copyright (c) 2004-2007 Stanislav Kruchinin
+%%
+%% It 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 program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{gost732}[2007/02/16 GOST 7.32-2001 implementation]
+\ProvidesClass{gost732}[2007/11/29 1.0.1 GOST 7.32-2001 implementation]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}}
\ProcessOptions\relax
@@ -21,33 +40,38 @@
\renewcommand\tocprethechapter{}
\renewcommand\tocpostthechapter{\@postskip}
+\renewcommand\tocposttheappendix{\@postskip}
+
\renewcommand\chapteralign{\raggedright}
\renewcommand\thechapterfont{\Large\bfseries}
\renewcommand\prethechapter{\newpage}
-\renewcommand\postthechapter{~}
+\renewcommand\postthechapter{\@postskip}
\renewcommand\postchapter{\vskip 16\p@}
-\renewcommand\postthesection{~}
-\renewcommand\tocpostthesection{~}
+\renewcommand\postthesection{\@postskip}
+\renewcommand\tocpostthesection{\@postskip}
-\renewcommand\postthesubsection{~}
+\renewcommand\postthesubsection{\@postskip}
\renewcommand\tocpostthesubsection{\@postskip}
-\renewcommand\postthesubsubsection{~}
+\renewcommand\postthesubsubsection{\@postskip}
\renewcommand\tocpostthesubsubsection{\@postskip}
-\renewcommand\posttheparagraph{~}
+\renewcommand\posttheparagraph{\@postskip}
\renewcommand\tocposttheparagraph{\@postskip}
-\renewcommand\postthesubparagraph{~}
+\renewcommand\postthesubparagraph{\@postskip}
\renewcommand\tocpostthesubparagraph{\@postskip}
-\newcommand\newbibname{\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ %
+\AtBeginDocument{%
+\addto\captionsrussian{%
+\def\bibname{%
+\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ %
\cyri\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyro\cyrv\cyra\cyrn\cyrn\cyrery\cyrh\ %
\cyri\cyrs\cyrt\cyro\cyrch\cyrn\cyri\cyrk\cyro\cyrv}
+}}
\renewcommand\bibsection{%
- \renewcommand\bibname\newbibname
\nchapter{\bibname}
}
\renewcommand\theenumi {\@asbuk\c@enumi}
diff --git a/Master/texmf-dist/tex/latex/disser/master.rtx b/Master/texmf-dist/tex/latex/disser/master.rtx
index 6c252ee2862..d1bd3caf9bc 100644
--- a/Master/texmf-dist/tex/latex/disser/master.rtx
+++ b/Master/texmf-dist/tex/latex/disser/master.rtx
@@ -12,6 +12,8 @@
%% This file is part of the disser package.
%%
+\ProvidesFile{master.rtx}
+
\def\firstskip{\vspace*{1em}}
\def\secondskip{\vspace*{1em}}
\def\thirdskip{\vskip1.em}
diff --git a/Master/texmf-dist/tex/latex/disser/titledefs.rtx b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
index 682766b7303..b6431849ef4 100644
--- a/Master/texmf-dist/tex/latex/disser/titledefs.rtx
+++ b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
@@ -11,6 +11,9 @@
%%
%% This file is part of the disser package.
%%
+
+\ProvidesFile{titledefs.rtx}
+
\def\abstractname{\cyr\CYRA\cyrn\cyrn\cyro\cyrt\cyra\cyrc\cyri\cyrya}
\def\titlepagename{\cyr\CYRT\cyri\cyrt\cyru\cyrl\cyrsftsn\cyrn\cyrery\cyrishrt\ %
\cyrl\cyri\cyrs\cyrt}
@@ -18,7 +21,6 @@
\cyrs\cyrl\cyro\cyrv\cyra}
\def\keywordssep{:}
\def\keywordslabel{\keywordsname\keywordssep}
-\def\yearname{\cyr\cyrg.}
\def\workname{\cyr\CYRD\cyri\cyrs\cyrs\cyre\cyrr\cyrt\cyra\cyrc\cyri\cyrya}
\def\disserpermit{\workname\ \cyrd\cyro\cyrp\cyru\cyrshch\cyre\cyrn\cyra\ %
\cyrk\ \cyrz\cyra\cyrshch\cyri\cyrt\cyre}
@@ -30,7 +32,8 @@
\def\coursename{\cyr\CYRN\cyra\cyrp\cyrr\cyra\cyrv\cyrl\cyre\cyrn\cyri\cyre}
\def\coursesep{:}
\def\courselabel{\coursename\coursesep}
-\def\specname{\cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn}
+\def\specname{%
+\cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn}
\def\specsep{:}
\def\speclabel{\specname\specsep}
\def\masterprogname{\cyr\CYRM\cyra\cyrg\cyri\cyrs\cyrt\cyre\cyrr\cyrs\cyrk\cyra\cyrya\ %
@@ -40,7 +43,8 @@
\def\studentname{\cyr\CYRV\cyrery\cyrp\cyro\cyrl\cyrn\cyri\cyrl\ %
\cyrs\cyrt\cyru\cyrd\cyre\cyrn\cyrt}
\def\studentlabel{\studentname}
-\def\saname{\cyr\CYRR\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn}
+\def\saname{\cyr\CYRN\cyra\cyru\cyrch\cyrn\cyrery\cyrishrt\ %
+\cyrr\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn}
\def\salabel{\saname}
\def\revname{\cyr\CYRR\cyre\cyrc\cyre\cyrn\cyrz\cyre\cyrn\cyrt}
\def\revlabel{\revname}
@@ -63,6 +67,15 @@
\def\faculty#1{\gdef\@faculty{#1}}\faculty{}
\def\department#1{\gdef\@department{#1}}\department{}
\def\hod#1{\gdef\@hod{#1}}\hod{}
+\def\libcatnum#1{\gdef\@libcatnum{#1}}\libcatnum{}
+\def\group#1{\gdef\@group{#1}}\group{}
+\def\masterprognum#1{\gdef\@masterprognum{#1}}\masterprognum{}
+\def\masterprog#1{\gdef\@masterprog{#1}}\masterprog{}
+
+\date{\number\year}
+
+\def\yearname{\cyr\cyrg.}
+\let\introsect=\paragraph
\def\sa#1{\gdef\@sa{#1}}\sa{}
\def\sastatus#1{\gdef\@sastatus{#1}}\sastatus{}
\def\rev#1{\gdef\@rev{#1}}\rev{}
@@ -70,14 +83,30 @@
\def\conspec#1{\gdef\@conspec{#1}}
\def\con#1{\gdef\@con{#1}}
\def\constatus#1{\gdef\@constatus{#1}}
-\def\libcatnum#1{\gdef\@libcatnum{#1}}\libcatnum{}
-\def\group#1{\gdef\@group{#1}}\group{}
-\def\masterprognum#1{\gdef\@masterprognum{#1}}\masterprognum{}
-\def\masterprog#1{\gdef\@masterprog{#1}}\masterprog{}
-\date{\number\year}
+\AtBeginDocument{
+ \addto\captionsrussian{%
+ \def\contentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
+ }
+}
+
+\newcommand\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
+\newcommand\intro{\nchapter{\introname}}
+\newcommand\conclusionname{%
+{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
+}
+\newcommand\conclusion{\nchapter{\conclusionname}}
+\newcommand\defsname{%
+{\cyr\CYRS\cyrp\cyri\cyrs\cyro\cyrk\ \cyru\cyrs\cyrl\cyro\cyrv\cyrn\cyrery\cyrh %
+\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrishrt}
+}
+\newcommand\defs{\nchapter{\defsname}}
+
+\newcommand\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
+\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
+\newcommand\review{\nchapter{\reviewname}}
\def\field#1{%
- \csname #1label\endcsname,\ %
+ \csname #1label\endcsname,\\%
\csname @#1status\endcsname\>
\makebox[8.5cm][l]{\hrulefill\ \csname @#1\endcsname}
}
@@ -94,9 +123,13 @@
\end{tabbing}
}
-\def\yearname{\cyr\cyrg.}
\newcommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}\,>>%
\rule[0pt]{3cm}{0.5pt}\ #1~\yearname}
+\newcommand\mkintrosect[3]{%
+ \@namedef{#1head}{#2}
+ \@namedef{#1section}{\introsect{\expandafter\csname #1head\endcsname}}
+ \@namedef{#1text}{#3}
+}
\endinput
%%