summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-24 16:35:13 +0000
committerKarl Berry <karl@freefriends.org>2009-06-24 16:35:13 +0000
commitd73a503687f31a927aea191ec9ed3cf1c950fd8f (patch)
tree7dc5b70b51a539ac785341bad4387d836bb371c2
parent3c2360d0385b88c9a20bd20ac33c71d9cec07294 (diff)
disser update (23jun09)
git-svn-id: svn://tug.org/texlive/trunk@13941 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/bibtex/bst/disser/disser-s.bst1561
-rw-r--r--Master/texmf-dist/bibtex/bst/disser/disser.bst20
-rw-r--r--Master/texmf-dist/doc/latex/disser/ChangeLog21
-rw-r--r--Master/texmf-dist/doc/latex/disser/README57
-rw-r--r--Master/texmf-dist/doc/latex/disser/README.ru59
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.fig.mk27
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd91
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.mk67
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd156
-rw-r--r--Master/texmf-dist/doc/latex/disser/manual.tex247
-rw-r--r--Master/texmf-dist/doc/latex/disser/nomake.cmd111
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/Makefile41
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex18
-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/nomake.cmd2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd12
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex14
-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/nomake.cmd2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd19
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex8
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex24
-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/nomake.cmd2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd19
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex8
-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/nomake.cmd2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd12
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex2
-rw-r--r--Master/texmf-dist/doc/latex/disser/templates/nomake.cmd32
-rw-r--r--Master/texmf-dist/source/latex/disser/Makefile81
-rw-r--r--Master/texmf-dist/source/latex/disser/autoref.dtx20
-rw-r--r--Master/texmf-dist/source/latex/disser/bachelor.dtx16
-rw-r--r--Master/texmf-dist/source/latex/disser/candidate.dtx19
-rw-r--r--Master/texmf-dist/source/latex/disser/chapter.dtx45
-rw-r--r--Master/texmf-dist/source/latex/disser/custom.dtx169
-rw-r--r--Master/texmf-dist/source/latex/disser/disser-bst.dtx206
-rw-r--r--Master/texmf-dist/source/latex/disser/disser.dtx108
-rw-r--r--Master/texmf-dist/source/latex/disser/disser.ins1
-rw-r--r--Master/texmf-dist/source/latex/disser/doctor.dtx13
-rw-r--r--Master/texmf-dist/source/latex/disser/env.dtx27
-rw-r--r--Master/texmf-dist/source/latex/disser/floats.dtx10
-rw-r--r--Master/texmf-dist/source/latex/disser/footnote.dtx50
-rw-r--r--Master/texmf-dist/source/latex/disser/gost732.dtx89
-rw-r--r--Master/texmf-dist/source/latex/disser/master.dtx16
-rw-r--r--Master/texmf-dist/source/latex/disser/part.dtx34
-rw-r--r--Master/texmf-dist/source/latex/disser/sections.dtx132
-rw-r--r--Master/texmf-dist/source/latex/disser/titledefs.dtx12
-rw-r--r--Master/texmf-dist/source/latex/disser/titlepage.dtx32
-rw-r--r--Master/texmf-dist/tex/latex/disser/autoref.rtx20
-rw-r--r--Master/texmf-dist/tex/latex/disser/bachelor.rtx16
-rw-r--r--Master/texmf-dist/tex/latex/disser/candidate.rtx19
-rw-r--r--Master/texmf-dist/tex/latex/disser/disser.cls349
-rw-r--r--Master/texmf-dist/tex/latex/disser/doctor.rtx13
-rw-r--r--Master/texmf-dist/tex/latex/disser/gost732.cls49
-rw-r--r--Master/texmf-dist/tex/latex/disser/master.rtx16
-rw-r--r--Master/texmf-dist/tex/latex/disser/titledefs.rtx10
59 files changed, 2991 insertions, 1225 deletions
diff --git a/Master/texmf-dist/bibtex/bst/disser/disser-s.bst b/Master/texmf-dist/bibtex/bst/disser/disser-s.bst
new file mode 100644
index 00000000000..22596978abc
--- /dev/null
+++ b/Master/texmf-dist/bibtex/bst/disser/disser-s.bst
@@ -0,0 +1,1561 @@
+%%
+%% This is file `disser-s.bst',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% disser-bst.dtx (with options: `disser-s-bst')
+%%
+%% Copyright (c) 2004-2009 Stanislav Kruchinin.
+%% All rights reserved.
+%%
+%% This file is part of the disser package.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This bibliography style attempts
+%% to format bibliography according to
+%% GOST 7.1-84 with some conventional modifications.
+%%
+%% Based on style gost71u.bst by Maksym Polyakov.
+%%
+%% For the Russian bibliographic entries
+%% you need to create field
+%% language = {russian}.
+%% Default language is English.
+%% Field numpages for books must contain number of pages.
+%% Optional field url will format url (using hyperref, if loaded).
+%%
+%% Requires 8-bit bibtex with switch -B and csf file
+%% supporting cyrillic.
+%%
+%% bibtex8 -B -c <encoding>.csf <your_document>
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+ENTRY
+ { address
+ annote
+ author
+ booktitle
+ bookauthor
+ chapter
+ edition
+ editor
+ compiler
+ howpublished
+ institution
+ journal
+ key
+ month
+ note
+ number
+ organization
+ pages
+ numpages
+ publisher
+ school
+ series
+ title
+ type
+ volume
+ year
+ language
+ booklanguage
+ url
+ }
+ {}
+ { label }
+
+INTEGERS { output.state before.all mid.sentence after.sentence after.block
+after.dblslash after.slash after.column after.semicolumn }
+
+FUNCTION {init.state.consts}
+{ #0 'before.all :=
+ #1 'mid.sentence :=
+ #2 'after.sentence :=
+ #3 'after.block :=
+ #4 'after.dblslash :=
+ #5 'after.slash :=
+ #6 'after.column :=
+ #7 'after.semicolumn :=
+}
+
+STRINGS { s t }
+
+STRINGS { curlanguage }
+
+FUNCTION {change.language}
+{ booklanguage empty$
+ {""}
+ {
+ booklanguage 'curlanguage :=
+ "\selectlanguageifdefined{"
+ curlanguage *
+ "}" *
+ }
+ if$
+}
+
+FUNCTION {output.nonnull}
+%%%{ 's :=
+{ swap$
+ output.state mid.sentence =
+ { ", " * write$ }
+ { output.state after.block =
+ { add.period$ write$
+ " " quote$ "--- " * * write$
+ newline$
+ "\newblock " write$
+ }
+ { output.state before.all =
+ 'write$
+ { output.state after.dblslash =
+ { "~//" * change.language * " " * write$ }
+ { output.state after.slash =
+ { "~/ " * write$ }
+ { output.state after.column =
+ { ": " * write$ }
+ { output.state after.semicolumn =
+ { "; " * write$ }
+ { add.period$ " " * write$ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ mid.sentence 'output.state :=
+ }
+ if$
+%%% s
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ 'pop$
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.check}
+{ 't :=
+ duplicate$ empty$
+ { pop$ "empty " t * " in " * cite$ * warning$ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {fin.entry}
+{ add.period$
+ write$
+ newline$
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.dblslash}
+{ output.state before.all =
+ 'skip$
+ { after.dblslash 'output.state := }
+ if$
+}
+
+FUNCTION {new.slash}
+{ output.state before.all =
+ 'skip$
+ { after.slash 'output.state := }
+ if$
+}
+
+FUNCTION {new.column}
+{ output.state before.all =
+ 'skip$
+ { after.column 'output.state := }
+ if$
+}
+
+FUNCTION {new.semicolumn}
+{ output.state before.all =
+ 'skip$
+ { after.semicolumn 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block =
+ 'skip$
+ { output.state before.all =
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+ }
+ if$
+}
+
+FUNCTION {add.blank}
+{ " " * before.all 'output.state :=
+}
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+FUNCTION {new.block.checka}
+{ empty$
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {new.sentence.checka}
+{ empty$
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {new.sentence.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.sentence
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\BibEmph{" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {space.word}
+{ " " swap$ * " " * }
+
+FUNCTION {bbl.edby} % { "\bbledby{}" }
+{
+ curlanguage "english" =
+ {"Ed. by "}
+ { curlanguage "russian" =
+ {"{\cyr\CYRP\cyro\cyrd\ \cyrr\cyre\cyrd.\ }"}
+ {"language is not defined: " language "edited by" * * warning$ "edited by"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.cmplr}
+{
+ curlanguage "english" =
+ {"Compiler "}
+ { curlanguage "russian" =
+ {"{\cyr\CYRS\cyro\cyrs\cyrt.\ }"}
+ {"language is not defined: " language "compiler" * * warning$ "compiler"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.edition} % { "\bbledition{}" }
+{
+ curlanguage "english" =
+ {"edition"}
+ { curlanguage "russian" =
+ {"{\cyr\cyri\cyrz\cyrd.}"}
+ {"language is not defined: " language "edition" * * warning$ "edition"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.vvolume} % { "\bblVolume{}" }
+{
+ curlanguage "english" =
+ {"Volume"}
+ { curlanguage "russian" =
+ {"\CYRT\cyro\cyrm"}
+ {"language is not defined: " language "Volume" * * warning$ "Volume"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.vvol} % { "\bblVol{}" }
+{
+ curlanguage "english" =
+ {"Vol."}
+ { curlanguage "russian" =
+ {"\CYRT."}
+ {"language is not defined: " language "Vol." * * warning$ "Vol."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.iissue} % { "\bblIssue{}" }
+{
+ curlanguage "english" =
+ {"Issue"}
+ { curlanguage "russian" =
+ {"\CYRV\cyrery\cyrp\cyru\cyrs\cyrk"}
+ {"language is not defined: " language * warning$ "Issue"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.iiss} % { "\bblIss{}" }
+{
+ curlanguage "english" =
+ {"Iss."}
+ { curlanguage "russian" =
+ {"\CYRV\cyrery\cyrp."}
+ {"language is not defined: " language * warning$ "Issue"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.of} % { "\bblof{}" }
+{
+ curlanguage "english" =
+ {"of"}
+ { curlanguage "russian" =
+ {"{\cyr\cyri\cyrz}"}
+ {"language is not defined: " language "of" * * warning$ "of"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.etal} % { "\bblof{}" }
+{
+ curlanguage "english" =
+ {"et~al."}
+ { curlanguage "russian" =
+ {"{\cyr\cyri~\cyrd\cyrr.}"}
+ {"language is not defined: " language "at al" * * warning$ "at al."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.nnumber} % { "\bblNumber{}" }
+{
+ curlanguage "english" =
+ {"Number"}
+ { curlanguage "russian" =
+ {"\CYRN\cyro\cyrm\cyre\cyrr"}
+ {"language is not defined: " language "Number" * * warning$ "Number"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.number} % { "\bblnumber{}" }
+{
+ curlanguage "english" =
+ {"number"}
+ { curlanguage "russian" =
+ {"{\cyr\cyrn\cyro\cyrm\cyre\cyrr}"}
+ {"language is not defined: " language "number" * * warning$ "number"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.nr} % { "\bblno{}" }
+{
+ curlanguage "english" =
+ {"no."}
+ { curlanguage "russian" =
+ {"{\cyr\textnumero}"}
+ {"language is not defined: " language "no." * * warning$ "no."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.nnr} % { "\bblno{}" }
+{
+ curlanguage "english" =
+ {"No."}
+ { curlanguage "russian" =
+ {"{\cyr\textnumero}"}
+ {"language is not defined: " language "No." * * warning$ "No."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.in} % { "\bblin{}" }
+{
+ curlanguage "english" =
+ {"in"}
+ { curlanguage "russian" =
+ {"{\cyr\cyrv}"}
+ {"language is not defined: " language "in" * * warning$ "in"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.iin} % { "\bblIn{}" }
+{
+ curlanguage "english" =
+ {"In"}
+ { curlanguage "russian" =
+ {"\CYRV"}
+ {"language is not defined: " language "In" * * warning$ "In"}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.pages} % { "\bblpp." }
+{
+ curlanguage "english" =
+ {"pp."}
+ { curlanguage "russian" =
+ {"{\cyr\cyrs.}"}
+ {"language is not defined: " language "pp." * * warning$ "pp."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.page} % { "\bblp." }
+{
+ curlanguage "english" =
+ {"p."}
+ { curlanguage "russian" =
+ {"{\cyr\cyrs.}"}
+ {"language is not defined: " language "p." * * warning$ "p."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.ppages} % { "\bblPp." }
+{
+ curlanguage "english" =
+ {"Pp."}
+ { curlanguage "russian" =
+ {"{\cyr\CYRS.}"}
+ {"language is not defined: " language "Pp." * * warning$ "Pp."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.ppage} % { "\bblP." }
+{
+ curlanguage "english" =
+ {"P."}
+ { curlanguage "russian" =
+ {"{\cyr\CYRS.}"}
+ {"language is not defined: " language "P." * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.techrep}
+{
+ curlanguage "english" =
+ {"Tech. Rep."}
+ { curlanguage "russian" =
+ {"{\cyr\CYRT\cyre\cyrh. \cyrd\cyro\cyrk\cyrl\cyra\cyrd.}"}
+ {"language is not defined: " language "Tech. Rep." * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.mthesis}
+{
+ curlanguage "english" =
+ {"Master's thesis"}
+ { curlanguage "russian" =
+ {"{\cyr\CYRM\cyra\cyrg\cyri\cyrs\cyrt\cyre\cyrr\cyrs\cyrk\cyra\cyrya\ \cyrd\cyri\cyrs\cyrs\cyre\cyrr\cyrt\cyra\cyrc\cyri\cyrya}"}
+ {"language is not defined: " language "Master's thesis" * * warning$ "P."}
+ if$}
+ if$
+}
+
+FUNCTION {bbl.phdthesis}
+{
+ curlanguage "english" =
+ {"Ph.D. thesis"}
+ { curlanguage "russian" =
+ {"{\cyr\CYRK\cyra\cyrn\cyrd\cyri\cyrd\cyra\cyrt\cyrs\cyrk\cyra\cyrya \cyrd\cyri\cyrs\cyrs\cyre\cyrr\cyrt\cyra\cyrc\cyri\cyrya}"}
+ {"language is not defined: " language "Ph.D. thesis" * * warning$ "P."}
+ if$}
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {format.names}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ t "~others" =
+ or
+ { " " * bbl.etal * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.names.rev}
+{ 's :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{f.}{~vv}{~ll}{, jj}" format.name$ 't :=
+ nameptr #1 >
+ {
+ nameptr #4 =
+ numnames #4 > and
+ { "others" 't :=
+ #1 'namesleft := }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ t "others" =
+ t "~others" =
+ or
+ { " " * bbl.etal * }
+ { ", " * t * }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {format.authors}
+{ author empty$
+ { "" }
+ { author format.names emphasize }
+ if$
+}
+
+FUNCTION {format.bookauthors}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names }
+ if$
+}
+
+FUNCTION {format.authors.after}
+{ author empty$
+ { "" }
+ { author format.names.rev }
+ if$
+}
+
+FUNCTION {format.bookauthors.after}
+{ bookauthor empty$
+ { "" }
+ { bookauthor format.names.rev }
+ if$
+}
+
+FUNCTION {format.editors.after}
+{ editor empty$
+ { "" }
+ { bbl.edby editor format.names.rev * }
+ if$
+}
+
+FUNCTION { format.compiler.after }
+{ compiler empty$
+ { "" }
+ { bbl.cmplr compiler format.names.rev * }
+ if$
+}
+
+FUNCTION {format.title}
+{ title empty$
+ { "" }
+ { title }
+ if$
+}
+
+FUNCTION {format.date}
+{ year empty$
+ { month empty$
+ { "" }
+ { "there's a month but no year in " cite$ * warning$
+ month
+ }
+ if$
+ }
+ { month empty$
+ 'year
+ { year ". " quote$ "--- " month * * * * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {output.address.publisher.date}
+{
+ address empty$
+ 'skip$
+ { address output
+ publisher empty$
+ 'skip$
+ { new.column
+ }
+ if$
+ }
+ if$
+ publisher output
+ format.date output
+}
+
+FUNCTION {output.bibitem}
+{ newline$
+ "\bibitem[" write$
+ "\BibPrefix" write$
+ label write$
+ "\BibPostfix" write$
+ "]{" write$
+ cite$ write$
+ "}" write$
+ newline$
+ language empty$
+ {"english" 'curlanguage :=}
+ {language 'curlanguage :=}
+ if$
+ "\selectlanguageifdefined{" write$
+ curlanguage write$
+ "}" write$ newline$
+ ""
+ before.all 'output.state :=
+}
+
+FUNCTION {n.dashify}
+{ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }
+ { { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{ bbl.iin
+ " " * }
+
+FUNCTION {format.btitle}
+{ title }
+
+FUNCTION {tie.or.space.connect}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { " " }
+ if$
+ swap$ * *
+}
+
+FUNCTION {tie.connect}
+{"~"
+swap$ * *
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.connect
+ series empty$
+ 'skip$
+ { bbl.of space.word * series emphasize * }
+ if$
+ "volume and number" number either.or.check
+ }
+ if$
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ { series empty$
+ { "there's a number but no series in " cite$ * warning$
+ bbl.nnr }
+ {
+ %new.dblslash
+ new.sentence
+ series
+ bbl.nr
+ tie.or.space.connect}
+ if$
+ number tie.or.space.connect
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ edition }
+
+FUNCTION {format.edition}
+{ edition empty$
+ { "" }
+ { output.state mid.sentence =
+ { convert.edition "l" change.case$ " " * bbl.edition * }
+ { convert.edition "t" change.case$ " " * bbl.edition * }
+ if$
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages empty$
+ { "" }
+ { pages multi.page.check
+ { bbl.ppages pages n.dashify tie.connect }
+ { bbl.ppage pages tie.connect }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.pages.page}
+{ pages empty$
+ { numpages empty$
+ { "" }
+ { numpages bbl.pages tie.connect }
+ if$}
+ { format.pages}
+ if$
+}
+
+FUNCTION {format.vol.num.pages}
+{ volume field.or.null
+ number empty$
+ 'skip$
+ {
+ ", no." number tie.or.space.connect *
+ volume empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ }
+ if$
+ pages empty$
+ 'skip$
+ { duplicate$ empty$
+ { pop$ format.pages }
+ { ": " * pages n.dashify * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.volume}
+{ volume empty$
+ { "" }
+ { bbl.vvol volume tie.or.space.connect }
+ if$
+}
+
+FUNCTION {format.number}
+{ number empty$
+ { "" }
+ { bbl.nr number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {empty.misc.check}
+{ author empty$ title empty$ howpublished empty$
+ month empty$ year empty$ note empty$
+ and and and and and
+ key empty$ not and
+ { "all relevant fields are empty in " cite$ * warning$ }
+ 'skip$
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type empty$
+ 'skip$
+ { pop$
+ type "t" change.case$
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ type empty$
+ { bbl.techrep }
+ 'type
+ if$
+ number empty$
+ { "t" change.case$ }
+ { number tie.or.space.connect }
+ if$
+}
+
+FUNCTION {author.before}
+{
+ author empty$
+ 'skip$
+ {
+ format.authors output
+ new.sentence
+ }
+ if$
+}
+
+FUNCTION {bookauthor.before}
+{
+ bookauthor empty$
+ 'skip$
+ {
+ format.bookauthors output
+ new.sentence
+ }
+ if$
+}
+
+FUNCTION {author.after}
+{
+ author empty$
+ 'skip$
+ {author num.names$ #3 >
+ {format.authors.after output
+ new.semicolumn }
+ 'skip$
+ if$}
+ if$
+}
+
+FUNCTION {bookauthor.after}
+{
+ bookauthor empty$
+ 'skip$
+ {bookauthor num.names$ #3 >
+ {format.bookauthors.after output
+ new.semicolumn }
+ 'skip$
+ if$}
+ if$
+}
+
+FUNCTION {editor.organization.after}
+{
+ compiler empty$
+ {}
+ { format.compiler.after output
+ new.semicolumn
+ }
+ if$
+ editor empty$
+ {}
+ { format.editors.after output
+ new.semicolumn
+ }
+ if$
+ organization empty$
+ {}
+ {organization output
+ new.semicolumn
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{ url empty$
+ { "" }
+ { after.sentence 'output.state :=
+ "\BibUrl{ " url * "}" *
+ }
+ if$
+}
+
+FUNCTION {format.annote}
+{ annote empty$
+ { "" }
+{ after.sentence 'output.state :=
+ "\BibAnnote{" annote add.period$ * "}" *
+}
+ if$
+}
+
+FUNCTION {article}
+{ output.bibitem
+ author.before
+ format.title "title" output.check
+ new.dblslash
+ journal emphasize "journal" output.check
+ new.block
+ format.date output
+ new.block
+ format.volume output
+ format.number output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ editor.organization.after
+ new.sentence
+ format.number.series output
+ new.block
+ format.edition output
+ new.block
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ author.before
+ format.title "title" output.check
+ editor.organization.after
+ new.block
+ howpublished output
+ address output
+ format.date output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ new.dblslash
+ bookauthor.before
+ booktitle "booktitle" output.check
+ editor.organization.after
+ new.block
+ format.edition output
+ new.block
+ format.number.series output
+ new.sentence
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ output.address.publisher.date
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.dblslash
+ booktitle "booktitle" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ new.block
+ address empty$
+ { publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ new.column
+ publisher output
+ format.date "year" output.check
+ }
+ if$
+ new.block
+ format.pages.page output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+
+FUNCTION {manual}
+{ output.bibitem
+ author empty$
+ { organization empty$
+ 'skip$
+ { organization output.nonnull
+ address output
+ }
+ if$
+ }
+ { format.authors output.nonnull }
+ if$
+ new.block
+ format.btitle "title" output.check
+ author empty$
+ { organization empty$
+ {
+ address new.block.checka
+ address output
+ }
+ 'skip$
+ if$
+ }
+ {
+ organization address new.block.checkb
+ organization output
+ address output
+ }
+ if$
+ format.edition output
+ format.date output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.block
+ format.btitle "title" output.check
+ new.block
+ bbl.mthesis format.thesis.type output.nonnull
+ school "school" output.check
+ address output
+ format.date "year" output.check
+ new.block
+ note output
+ new.block
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ title howpublished new.sentence.checkb
+ format.title output
+ howpublished new.block.checka
+ howpublished output
+ new.block
+ format.date output
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ new.sentence
+ format.btitle "title" output.check
+ new.column
+ bbl.phdthesis format.thesis.type output.nonnull
+ new.slash
+ school "school" output.check
+ new.block
+ output.address.publisher.date
+ new.block
+ format.pages.page output
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.btitle "title" output.check
+ new.slash
+ editor.organization.after
+ new.block
+ format.bvolume output
+ format.number.series output
+ address empty$
+ { publisher output
+ format.date "year" output.check
+ }
+ { address output.nonnull
+ format.date "year" output.check
+ new.sentence
+ publisher output
+ }
+ if$
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ author.before
+ new.sentence
+ format.title "title" output.check
+ new.column
+ format.tr.number output.nonnull
+ editor.organization.after
+ new.block
+ address output
+ new.column
+ institution "institution" output.check
+ format.date "year" output.check
+ new.block
+ note output
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ author.before
+ format.btitle "title" output.check
+ editor.organization.after
+ new.block
+ note "note" output.check
+ new.sentence
+ format.url output
+ format.annote output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+MACRO {jan} {"\bbljan{}"}
+
+MACRO {feb} {"\bblfeb{}"}
+
+MACRO {mar} {"\bblmar{}"}
+
+MACRO {apr} {"\bblapr{}"}
+
+MACRO {may} {"\bblmay{}"}
+
+MACRO {jun} {"\bbljun{}"}
+
+MACRO {jul} {"\bbljul{}"}
+
+MACRO {aug} {"\bblaug{}"}
+
+MACRO {sep} {"\bblsep{}"}
+
+MACRO {oct} {"\bbloct{}"}
+
+MACRO {nov} {"\bblnov{}"}
+
+MACRO {dec} {"\bbldec{}"}
+
+MACRO {acmcs} {"ACM Computing Surveys"}
+
+MACRO {acta} {"Acta Informatica"}
+
+MACRO {cacm} {"Communications of the ACM"}
+
+MACRO {ibmjrd} {"IBM Journal of Research and Development"}
+
+MACRO {ibmsj} {"IBM Systems Journal"}
+
+MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
+
+MACRO {ieeetc} {"IEEE Transactions on Computers"}
+
+MACRO {ieeetcad}
+ {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
+
+MACRO {ipl} {"Information Processing Letters"}
+
+MACRO {jacm} {"Journal of the ACM"}
+
+MACRO {jcss} {"Journal of Computer and System Sciences"}
+
+MACRO {scp} {"Science of Computer Programming"}
+
+MACRO {sicomp} {"SIAM Journal on Computing"}
+
+MACRO {tocs} {"ACM Transactions on Computer Systems"}
+
+MACRO {tods} {"ACM Transactions on Database Systems"}
+
+MACRO {tog} {"ACM Transactions on Graphics"}
+
+MACRO {toms} {"ACM Transactions on Mathematical Software"}
+
+MACRO {toois} {"ACM Transactions on Office Information Systems"}
+
+MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
+
+MACRO {tcs} {"Theoretical Computer Science"}
+
+READ
+
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.title.sort}
+{ author empty$
+ { title empty$
+ { key empty$
+ { "to sort, need author, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+
+FUNCTION {presort}
+{
+ author.title.sort
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+
+STRINGS { longest.label }
+
+INTEGERS { number.label longest.label.width }
+
+FUNCTION {initialize.longest.label}
+{ "" 'longest.label :=
+ #1 'number.label :=
+ #0 'longest.label.width :=
+}
+
+FUNCTION {longest.label.pass}
+{ number.label int.to.str$ 'label :=
+ number.label #1 + 'number.label :=
+ label width$ longest.label.width >
+ { label 'longest.label :=
+ label width$ 'longest.label.width :=
+ }
+ 'skip$
+ if$
+}
+
+EXECUTE {initialize.longest.label}
+
+ITERATE {longest.label.pass}
+
+FUNCTION {begin.bib}
+{
+ "\ifx\undefined\BibPrefix\def\BibPrefix{}\else\fi" write$ newline$
+ "\ifx\undefined\BibPostfix\def\BibPostfix{}\else\fi" write$ newline$
+ "\begin{thebibliography}{\BibPrefix" longest.label * "\BibPostfix}" * write$ newline$
+ "\def\selectlanguageifdefined#1{" write$ newline$
+ "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
+ "\else\language\csname l@#1\endcsname\fi}" write$ newline$
+ "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
+ "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}" write$ newline$
+}
+
+EXECUTE {end.bib}
+
diff --git a/Master/texmf-dist/bibtex/bst/disser/disser.bst b/Master/texmf-dist/bibtex/bst/disser/disser.bst
index 499449bcbbc..d01d27f0552 100644
--- a/Master/texmf-dist/bibtex/bst/disser/disser.bst
+++ b/Master/texmf-dist/bibtex/bst/disser/disser.bst
@@ -34,6 +34,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
ENTRY
{ address
annote
@@ -684,6 +685,7 @@ FUNCTION {output.bibitem}
"\bibitem[" write$
"\BibPrefix" write$
label write$
+ "\BibPostfix" write$
"]{" write$
cite$ write$
"}" write$
@@ -1388,6 +1390,7 @@ MACRO {tcs} {"Theoretical Computer Science"}
READ
+
STRINGS { longest.label }
INTEGERS { number.label longest.label.width }
@@ -1415,15 +1418,16 @@ ITERATE {longest.label.pass}
FUNCTION {begin.bib}
{
- "\ifx\undefined\BibPrefix\def\BibPrefix{}\else\fi" write$ newline$
- "\begin{thebibliography}{\BibPrefix" longest.label * "}" * write$ newline$
- "\def\selectlanguageifdefined#1{" write$ newline$
- "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
+ "\ifx\undefined\BibPrefix\def\BibPrefix{}\else\fi" write$ newline$
+ "\ifx\undefined\BibPostfix\def\BibPostfix{}\else\fi" write$ newline$
+ "\begin{thebibliography}{\BibPrefix" longest.label * "\BibPostfix}" * write$ newline$
+ "\def\selectlanguageifdefined#1{" write$ newline$
+ "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
"\else\language\csname l@#1\endcsname\fi}" write$ newline$
- "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$
- "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
- "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
- "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
+ "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
preamble$ empty$
'skip$
{ preamble$ write$ newline$ }
diff --git a/Master/texmf-dist/doc/latex/disser/ChangeLog b/Master/texmf-dist/doc/latex/disser/ChangeLog
index 5d7cff58c71..a41c3565fe1 100644
--- a/Master/texmf-dist/doc/latex/disser/ChangeLog
+++ b/Master/texmf-dist/doc/latex/disser/ChangeLog
@@ -2,6 +2,27 @@ disser changelog
Copyright (C) 2004-2009 Stanislav Kruchinin
-------------------------------------------
+Summary of changes in version 1.1.2 (2009-06-22):
+
+Classes:
+* Class gost732 now satisfies the latest edition of GOST 7.32-2001.
+* Fixed hyphenchar in english words.
+* Compatibility fix for natbib package.
+* Fixed compilation errors, arising at "notitlepage" option usage.
+* Fixed theorem counter style.
++ New bibliography style disser-s.bst to produce alphabetically
+ sorted bibliographies.
++ New implementation of \nchapter-like commands.
+
+Makefiles:
++ Added "reinstall" and "uninstall" targets.
+* Fixed commandline processing in nomake scripts.
+* Rename "class" target to "package".
+
+Templates:
+* Fixed problem with "-commands.
+
+
Summary of changes in version 1.1.1 (2009-04-01):
Class:
diff --git a/Master/texmf-dist/doc/latex/disser/README b/Master/texmf-dist/doc/latex/disser/README
index acf683c182b..cb3e15c2eef 100644
--- a/Master/texmf-dist/doc/latex/disser/README
+++ b/Master/texmf-dist/doc/latex/disser/README
@@ -1,18 +1,18 @@
Overview
--------
-disser is a LaTeX document class and set of templates for creating
-dissertations and author's abstracts that would satisfy requirements of
-High Certification Commission of Russian Federation.
+disser is a LaTeX document class and set of templates for creating
+dissertations and author's abstracts that would satisfy requirements of
+dissertation counsils and High Certification Commission of Russian Federation.
Dependencies
------------
-This class uses third party packages. It is recommended to install all of
+This class uses third party packages. It is recommended to install all of
the following:
-amsfonts, amsmath, amssymb, caption, cmap, graphicx, ifpdf, natbib, oberdiek,
-hyperref, hypernat, pscyr or cyrtimes, txfonts or mtpro, subfig, wrapfig,
+amsfonts, amsmath, amssymb, caption, cmap, graphicx, ifpdf, natbib, oberdiek,
+hyperref, hypernat, pscyr or cyrtimes, txfonts or mtpro, subfig, wrapfig,
packages for russian language support in LaTeX.
@@ -28,19 +28,20 @@ Project page at Sourceforge:
ZIP file with sources can be downloaded at:
http://www.ctan.org/get/macros/latex/contrib/disser.zip
-ZIP file with compiled sources and documentation sorted in a
+ZIP file with compiled sources and documentation sorted in a
TDS (TeX Directory Structure) tree is available on Sourceforge
(look for disser.tds.zip in Downloads section):
http://sourceforge.net/projects/disser/
Source code repositories of disser:
http://mercurial.intuxication.org/hg/disser/
- http://disser.hg.sourceforge.net/hgweb/disser/
http://bitbucket.org/sky/disser/
+ http://disser.hg.sourceforge.net/hgweb/disser/
-The latest revision of package can be obtained by downloading this
-autogenerated archive:
+The latest revision of the package can be obtained by downloading
+autogenerated archive from one of these mirrors:
http://mercurial.intuxication.org/hg/disser/archive/tip.zip
+ http://bitbucket.org/sky/disser/get/tip.zip
Installation
@@ -59,40 +60,7 @@ In Windows:
/path/to/texmf is the full path to your TeX distribution.
-2. Manual installation from sources
-
-a. Make directory for class and bibliography style.
- mkdir /path/to/texmf/tex/latex/disser
- mkdir /path/to/texmf/bibtex/bst/disser
- mkdir /path/to/texmf/doc/latex/disser
- mkdir /path/to/texmf/doc/bibtex/disser
-
-b. Extract class files from dtx.
- cd src
- latex disser.ins
-
-c. Build documentation.
- pdflatex disser.dtx
- makeindex -r disser
- pdflatex disser.dtx
- pdflatex disser.dtx
- pdflatex gost732.dtx
- pdflatex gost732.dtx
- pdflatex disser-bst.dtx
- pdflatex disser-bst.dtx
-
-d. Copy *.cls and *.rtx.
- cp *.cls *.rtx /path/to/texmf/tex/latex/disser
- cp disser.bst /path/to/texmf/bibtex/bst/disser
-
-e. Copy documentation.
- cp manual.pdf disser.pdf gost732.pdf disser-bst.pdf /path/to/texmf/doc/latex/disser
-
-f. Refresh filename database.
- mktexlsr
-
-
-3. Installation with ZIP file in TDS format
+2. Installation with ZIP file in TDS format
The ZIP file disser.tds.zip contains files sorted in a TDS tree. This means
you can directly unpack this file inside directory with your TeX installation.
@@ -104,6 +72,7 @@ Example:
After unpacking you should refresh file name database.
mktexlsr
+
License
-------
diff --git a/Master/texmf-dist/doc/latex/disser/README.ru b/Master/texmf-dist/doc/latex/disser/README.ru
index fc535c52a4b..34bba40e1b0 100644
--- a/Master/texmf-dist/doc/latex/disser/README.ru
+++ b/Master/texmf-dist/doc/latex/disser/README.ru
@@ -1,16 +1,16 @@
Введение
--------
-Пакет disser предназначен для верстки дипломов, диссертаций и авторефератов
-в соответствии с требованиями, предъявляемыми ВАК РФ.
+Пакет disser предназначен для верстки дипломов, диссертаций и авторефератов
+в соответствии с требованиями диссертационных советов и ВАК РФ.
Зависимости
-----------
Класс использует стронние пакеты. Для корректной сборки всех шаблонов
-следует установить всё нижеперечисленное:
-amsfonts, amsmath, amssymb, caption, cmap, graphicx, ifpdf, natbib,
+следует установить всё нижеперечисленное:
+amsfonts, amsmath, amssymb, caption, cmap, graphicx, ifpdf, natbib,
oberdiek, hyperref, hypernat, pscyr или cyrtimes, txfonts или mtpro, subfig,
wrapfig, пакеты для поддержки русского языка.
@@ -26,19 +26,20 @@ wrapfig, пакеты для поддержки русского языка.
ZIP-архив с исходными текстами:
http://www.ctan.org/get/macros/latex/contrib/disser.zip
-ZIP-архив с готовыми файлами и документацией, которые размещены в
-соответствии со стандартной структурой каталогов TeX
+ZIP-архив с готовыми файлами и документацией, которые размещены в
+соответствии со стандартной структурой каталогов TeX
(файл disser.tds.zip в разделе Download):
http://sourceforge.net/projects/disser/
Репозитории исходных текстов проекта:
http://mercurial.intuxication.org/hg/disser/
- http://disser.hg.sourceforge.net/hgweb/disser/
http://bitbucket.org/sky/disser/
+ http://disser.hg.sourceforge.net/hgweb/disser/
-Наиболее свежую версию исходных текстов пакета можно получить, скачав
-автоматически генерируемый архив
+Наиболее свежую версию исходных текстов пакета можно получить, скачав
+автоматически генерируемый архив с одного из зеркал
http://mercurial.intuxication.org/hg/disser/archive/tip.zip
+ http://bitbucket.org/sky/disser/get/tip.zip
Установка
@@ -55,45 +56,11 @@ ZIP-архив с готовыми файлами и документацией, которые размещены в
nomake install
mktexlsr
-/путь/к/texmf -- это путь к каталогу, в котором установлен TeX.
-
-
-2. Установка из исходных текстов вручную
-
-a. Создаем каталоги для класса, стиля библиографии и документации.
- mkdir /путь/к/texmf/tex/latex/disser
- mkdir /путь/к/texmf/bibtex/bst/disser
- mkdir /путь/к/texmf/doc/latex/disser
- mkdir /путь/к/texmf/doc/bibtex/disser
-
-b. Генерируем файлы классов.
- cd src
- latex disser.ins
-
-c. Собираем документацию.
- pdflatex disser.dtx
- makeindex -r disser
- pdflatex disser.dtx
- pdflatex disser.dtx
- pdflatex gost732.dtx
- pdflatex gost732.dtx
- pdflatex disser-bst.dtx
- pdflatex disser-bst.dtx
-
-d. Копируем файлы в каталог назначения.
- cp *.cls *.rtx /путь/к/texmf/tex/latex/disser
- cp disser.bst /путь/к/texmf/bibtex/bst/disser
-
-e. Устанавливаем документацию.
- cp manual.pdf disser.pdf gost732.pdf disser-bst.pdf /путь/к/texmf/doc/latex/disser
-
-f. Обновляем базу имен файлов.
- mktexlsr
-
+/путь/к/texmf -- путь к каталогу, в котором установлен TeX.
-3. Установка из ZIP-архива со скомпилированными файлами
+2. Установка из ZIP-архива со скомпилированными файлами
-Файл disser.tds.zip содержит собранные файлы классов и документации,
+Файл disser.tds.zip содержит собранные файлы классов и документации,
поэтому его можно просто распаковать в каталог, в котором установлен TeX.
Пример:
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk b/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk
index 55bdc57e4c1..9c77cdde874 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.fig.mk
@@ -23,14 +23,13 @@ SUFFIX?=~
# end of configuration
help:
- @echo "Targets:"
- @echo " clean clean PDF files"
- @echo " epstoeps optimize EPS files"
- @echo " epstopdf convert all figures to PDF"
+ @echo " clean clean PDF, PNG and TIFF files"
+ @echo " epstoeps optimize EPS files using Ghostscript"
+ @echo " epstopdf convert EPS to PDF"
+ @echo " fixbb fix BoundingBox of EPS files"
+ @echo " help (default) show description of targets"
@echo " pdftopng256 convert PDF to PNG (256-color)"
@echo " pdftotiffg4 convert PDF to TIFF (b/w CCITT Group 4)"
- @echo " fixbb fix BoundingBox of EPS files"
- @echo " help (default) show help"
clean:
rm -f $(FIGCLFILES)
@@ -44,11 +43,7 @@ epstoeps: $(E2EFILES)
echo "done" ;\
done
-epstopdf: $(patsubst %.eps, %.pdf, $(wildcard $(E2PFILES)))
-
-pdftopng256: $(patsubst %.pdf, %.png, $(wildcard $(PDF2PNGFILES)))
-
-pdftotiffg4: $(patsubst %.pdf, %.tif, $(wildcard $(PDF2TIFFILES)))
+epstopdf: $(patsubst %.eps, %.pdf, $(wildcard $(E2PFILES)))
fixbb: $(FBBFILES)
@for f in $^ ;\
@@ -59,18 +54,22 @@ fixbb: $(FBBFILES)
echo "done" ;\
done
-%.pdf: %.eps
+pdftopng256: $(patsubst %.pdf, %.png, $(wildcard $(PDF2PNGFILES)))
+
+pdftotiffg4: $(patsubst %.pdf, %.tif, $(wildcard $(PDF2TIFFILES)))
+
+%.pdf: %.eps
@echo -n "epstopdf: $^..."
@$(EPSTOPDF) "$^"
@echo "done"
-%.png: %.pdf
+%.png: %.pdf
@echo -n "pdftopng256: $^..."
@$(GS) -sDEVICE=png256 -r$(RES) -q -sOutputFile=$(^:.pdf=.png) \
-dNOPAUSE -dBATCH -dSAFER "$^"
@echo "done"
-%.tif: %.pdf
+%.tif: %.pdf
@echo -n "pdftotiffg4: $^..."
@$(GS) -sDEVICE=tiffg4 -r$(RES) -q -sOutputFile=$(^:.pdf=.tif) \
-dNOPAUSE -dBATCH -dSAFER "$^"
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
index 03e6e0707b4..a79a74ab838 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.fig.nmk.cmd
@@ -33,20 +33,30 @@ if "%1"=="" (
:default
call :help
goto :eof
-)
-
-:start
-if "%1"=="" goto :eof
-
-if "%1"=="clean" (
+) else if "%1"=="help" (
+:help
+ echo clean clean PDF, PNG and TIFF files
+ echo epstoeps optimize EPS files using Ghostscript
+ echo epstopdf convert EPS to PDF
+ echo fixbb fix BoundingBox of EPS files
+ echo help ^(default^) show description of targets
+ echo pdftopng256 convert PDF to PNG ^(256-color^)
+ echo pdftotiffg4 convert PDF to TIFF ^(b/w CCITT Group 4^)
+goto :eof
+) else if "%1"=="clean" (
:clean
- del /s %figclfiles% 2> nul
+ del /s %figclfiles%
goto :eof
-)
-
-if "%1"=="epstopdf" (
+) else if "%1"=="epstoeps" (
+:epstoeps
+ for %%f in (!e2efiles!) do (
+ %e2e% %e2eflags% "%%f" "%%f%suffix%"
+ move "%%f%suffix%" "%%f" > nul
+ echo epstoeps: %%f
+ )
+goto :eof
+) else if "%1"=="epstopdf" (
:epstopdf
- if "%2" neq "" set e2pfiles=%2 %3 %4 %5 %6 %7 %8 %9
for %%f in (!e2pfiles!) do (
if not exist "%%~nf.pdf" (
%epstopdf% "%%f"
@@ -54,10 +64,16 @@ if "%1"=="epstopdf" (
)
)
goto :eof
-)
-
-if "%1"=="pdftopng256" (
-:pdftopng
+) else if "%1"=="fixbb" (
+:fixbb
+ for %%f in (!fbbfiles!) do (
+ %epstool% %etflags% "%%f" "%%f%suffix%"
+ move "%%f%suffix%" "%%f" > nul
+ echo fixbb: %%f
+ )
+goto :eof
+) else if "%1"=="pdftopng256" (
+:pdftopng256
if "%2" neq "" set pdf2pngfiles=%2 %3 %4 %5 %6 %7 %8 %9
for %%f in (!pdf2pngfiles!) do (
if not exist "%%~nf.png" (
@@ -66,9 +82,7 @@ if "%1"=="pdftopng256" (
)
)
goto :eof
-)
-
-if "%1"=="pdftotiffg4" (
+) else if "%1"=="pdftotiffg4" (
:pdftotiffg4
if "%2" neq "" set pdf2tiffiles=%2 %3 %4 %5 %6 %7 %8 %9
for %%f in (!pdf2tiffiles!) do (
@@ -78,43 +92,6 @@ if "%1"=="pdftotiffg4" (
)
)
goto :eof
+) else (
+ echo Don't know how to make %1
)
-
-if "%1"=="fixbb" (
-:fixbb
- if "%2" neq "" set fbbfiles=%2 %3 %4 %5 %6 %7 %8 %9
- for %%f in (!fbbfiles!) do (
- %epstool% %etflags% "%%f" "%%f%suffix%"
- move "%%f%suffix%" "%%f" > nul
- echo fixbb: %%f
- )
-goto :eof
-)
-
-if "%1"=="epstoeps" (
-:epstoeps
- if "%2" neq "" set e2efiles=%2 %3 %4 %5 %6 %7 %8 %9
- for %%f in (!e2efiles!) do (
- %e2e% %e2eflags% "%%f" "%%f%suffix%"
- move "%%f%suffix%" "%%f" > nul
- echo epstoeps: %%f
- )
-goto :eof
-)
-
-if "%1"=="help" (
-:help
- echo Targets:
- echo clean clean PDF files
- echo epstoeps optimize EPS files using Ghostscript
- echo epstopdf convert EPS to PDF
- echo fixbb fix BoundingBox of EPS files
- echo pdftopng256 convert PDF to PNG (256-color)
- echo pdftotiffg4 convert PDF to TIFF (b/w CCITT Group 4)
- echo help ^(default^) show this message
-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
index 14586fd20fb..b0269945088 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.mk
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.mk
@@ -9,8 +9,8 @@ BIBFILE?=thesis.bib
ARCH?=7z
BIBTEX?=bibtex8
DVIPS?=dvips
-FIND?=/bin/find
L2H?=latex2html
+L2RTF?=latex2rtf
LATEX?=latex
PDFLATEX?=pdflatex
PS2PDF?=gs
@@ -23,7 +23,7 @@ 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
+ -numbered_footnotes -white -antialias -html_version 4.0
L2RTFFLAGS?=-F -M12 -i russian
PS2PDFFLAGS?=-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -g4960x7016 -r600 \
-dCompatibilityLevel=1.2
@@ -40,6 +40,16 @@ SRCFILES?=*
dvi: $(TARGET).dvi
+clean:
+ rm -f $(CLFILES)
+ @$(MAKE) -C fig $@
+
+epstoeps epstopdf fixbb pdftopng256 pdftotiffg4:
+ @$(MAKE) -C fig $@
+
+html: $(TARGET).dvi
+ $(L2H) $(L2HFLAGS) $(TARGET).tex
+
pdf: $(TARGET).pdf
pdf_2on1: $(TARGET)_2on1.pdf
@@ -52,11 +62,11 @@ ps_2on1: $(TARGET)_2on1.ps
ps_book: $(TARGET)_book.ps
-html: $(TARGET).dvi
- $(L2H) $(L2HFLAGS) $(TARGET).tex
-
rtf: $(TARGET).rtf
+srcdist: clean
+ $(ARCH) $(ARCHFLAGS) $(ARCHIVE) $(SRCFILES)
+
$(TARGET).dvi: $(TARGET).tex
$(LATEX) $(TEXFLAGS) $^
@if [ -f $(BIBFILE) ]; then \
@@ -97,39 +107,16 @@ $(TARGET)_book.pdf: $(TARGET)_book.ps
$(TARGET).rtf: $(TARGET).dvi
$(L2RTF) $(L2RTFFLAGS) -a $(TARGET).aux -b $(TARGET).bbl $(TARGET).tex
-epstoeps:
- @$(MAKE) -C fig $@
-
-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 output files"
- @echo " epstoeps optimize EPS files"
- @echo " epstopdf convert figures to PDF"
- @echo " fixbb fix BoundingBox of EPS files"
- @echo " help show list of targets"
- @echo " html convert to HTML"
- @echo " pdf build PDF"
- @echo " pdf_2on1 build PDF with two A5 pages on one A4 ordered by number"
- @echo " pdf_book build PDF booklet (two A5 on A4)"
- @echo " ps build PS"
- @echo " ps_2on1 build PS with two A5 pages on one A4 ordered by number"
- @echo " ps_book build PS booklet (two A5 on A4)"
- @echo " rtf convert to RTF"
- @echo " srcdist build source distribution $(ARCHIVE)"
-
+ @echo " dvi (default) build DVI"
+ @echo " clean remove output files"
+ @echo " help show description of targets"
+ @echo " html convert DVI to HTML"
+ @echo " pdf build PDF"
+ @echo " pdf_2on1 build PDF with two A5 pages on one A4 ordered by number"
+ @echo " pdf_book build PDF booklet (two A5 on A4)"
+ @echo " ps build PS"
+ @echo " ps_2on1 build PS with two A5 pages on one A4 ordered by number"
+ @echo " ps_book build PS booklet (two A5 on A4)"
+ @echo " rtf convert DVI to RTF"
+ @echo " srcdist build source distribution"
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd
index e41d5571ea8..2d71e7acf4b 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.nmk.cmd
@@ -11,43 +11,38 @@ if "%CMDEXTVERSION%"=="" (
if "%target%"=="" set target=thesis
set bibfile=thesis.bib
-if "%arch%"=="" set arch=7z
-if "%bibtex%"=="" set bibtex=bibtex8
-if "%epstool%"=="" set epstool=epstool
-if "%epstopdf%"=="" set epstopdf=epstopdf
-if "%ps2pdf%"=="" set ps2pdf=gswin32c
-if "%dvips%"=="" set dvips=dvips
-if "%l2h%"=="" set l2h=latex2html
+if "%arch%"=="" set arch=7z
+if "%bibtex%"=="" set bibtex=bibtex8
+if "%dvips%"=="" set dvips=dvips
+if "%l2h%"=="" set l2h=latex2html
+if "%l2rtf%"=="" set l2rtf=latex2rtf
+if "%latex%"=="" set latex=latex
if "%mktexlsr%"=="" set mktexlsr=mktexlsr
if "%pdflatex%"=="" set pdflatex=pdflatex
-if "%psbook%"=="" set psbook=psbook
-if "%psnup%"=="" set psnup=psnup
-if "%latex%"=="" set latex=latex
-if "%l2rtf%"=="" set l2rtf=latex2rtf
-
-if "%archext%"=="" set archext=zip
-if "%archflags%"=="" set archflags=a -t%archext%
-if "%archive%"=="" set archive=%target%.%archext%
+if "%ps2pdf%"=="" set ps2pdf=gswin32c
+if "%psbook%"=="" set psbook=psbook
+if "%psnup%"=="" set psnup=psnup
+if "%archext%"=="" set archext=zip
+if "%archflags%"=="" set archflags=a -t%archext%
+if "%archive%"=="" set archive=%target%.%archext%
if "%bibtexflags%"=="" set bibtexflags=-H -c cp1251
-
if "%l2hflags%"=="" (
set l2hflags=-dir html -iso_language RU.RU -split 3 -short_index ^
- -numbered_footnotes -no_footnode -white -antialias ^
- -html_version 4.0
+ -numbered_footnotes -white -antialias -html_version 4.0
)
+if "%l2rtfflags%"=="" set l2rtfflags=-F -M12 -i russian
if "%ps2pdfflags%"=="" (
set ps2pdfflags=-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -g4960x7016 -r600 ^
-dCompatibilityLevel#1.2
)
-if "%psnupflags%"=="" set psnupflags=-2 -pA4
+if "%psnupflags%"=="" set psnupflags=-2 -pA4
if "%pdflatexflags%"=="" set pdflatexflags=--shell-escape
-if "%latexflags%"=="" set latexflags=-src-specials
+if "%latexflags%"=="" set latexflags=-src-specials
set clext=*.bbl *.bak *.aux *.blg *.out *.toc *.log *.dvi *.tmp *.pdf *.ps
-if "%clfiles%"=="" set clfiles= %clext% %target%.%arc%
+if "%clfiles%"=="" set clfiles=%clext% %archive%
if "%srcfiles%"=="" set srcfiles=*
-if "%suffix%"=="" set suffix=~
rem end of configuration
@@ -55,12 +50,12 @@ if "%1"=="" (
:default
call :dvi
goto :eof
-)
-
-:start
-if "%1"=="" goto :eof
-
-if "%1"=="dvi" (
+) else if "%1"=="clean" (
+:clean
+ del /s %clfiles% 2> nul
+ if exist %target%.%arctype% del %target%.%arctype%
+goto :eof
+) else if "%1"=="dvi" (
:dvi
%latex% %latexflags% %target%.tex
if exist %bibfile% (
@@ -71,9 +66,12 @@ if "%1"=="dvi" (
)
%latex% %latexflags% %target%.tex
goto :eof
-)
-
-if "%1"=="pdf" (
+) else if "%1"=="html" (
+:html
+ if not exist %target%.dvi call :dvi
+ %l2h% %l2hflags% %target%.tex
+goto :eof
+) else if "%1"=="pdf" (
:pdf
%pdflatex% %pdflatexflags% %target%.tex
if exist %bibfile% (
@@ -84,110 +82,76 @@ if "%1"=="pdf" (
)
%pdflatex% %pdflatexflags% %target%.tex
goto :eof
-)
-
-if "%1"=="pdf_2on1" (
+) else if "%1"=="pdf_2on1" (
:pdf2on1
if not exist %target%_2on1.ps call :ps2on1
%ps2pdf% %ps2pdfflags% -sOutputFile=%target%_2on1.pdf ^
-c save pop -f %target%_2on1.ps
goto :eof
-)
-
-if "%1"=="pdf_booklet" (
-:pdfbooklet
- if not exist %target%_booklet.ps call :psbooklet
+) else if "%1"=="pdf_book" (
+:pdfbook
+ if not exist %target%_book.ps call :psbook
%ps2pdf% %ps2pdfflags% -sOutputFile=%target%_booklet.pdf ^
- -c save pop -f %target%_booklet.ps
+ -c save pop -f %target%_book.ps
goto :eof
-)
-
-if "%1"=="ps" (
+) else if "%1"=="ps" (
:ps
if not exist %target%.dvi call :dvi
%dvips% -o %target%.ps %target%.dvi
goto :eof
-)
-
-if "%1"=="ps_2on1" (
+) else if "%1"=="ps_2on1" (
:ps2on1
if not exist %target%.ps call :ps
%psnup% %psnupflags% %target%.ps > %target%_2on1.ps
goto :eof
-)
-
-if "%1"=="ps_booklet" (
-:psbooklet
+) else if "%1"=="ps_book" (
+:psbook
if not exist %target%.ps call :ps
- %psbook% %target%.ps | %psnup% -2 > %target%_booklet.ps
-goto :eof
-)
-
-if "%1"=="html" (
-:html
- if not exist %target%.dvi call :dvi
- %l2h% %l2hflags% %target%.tex
+ %psbook% %target%.ps | %psnup% -2 > %target%_book.ps
goto :eof
-)
-
-if "%1"=="rtf" (
+) else if "%1"=="rtf" (
call :dvi
- %l2rtf% -F -M12 -i russian -a %target%.aux -b %target%.bbl %target%.tex
-)
-
-if "%1"=="clean" (
-:clean
- del /s %clfiles% 2> nul
- if exist %target%.%arctype% del %target%.%arctype%
-goto :eof
-)
-
-if "%1"=="srcdist" (
+ %l2rtf% %l2rtfflags% -a %target%.aux -b %target%.bbl %target%.tex
+) else if "%1"=="srcdist" (
:srcdist
call :clean
%arch% %archflags% %archive% %srcfiles%
goto :eof
-)
-
-if "%1"=="epstoeps" (
+) else if "%1"=="epstoeps" (
:epstoeps
cd fig & call nomake.cmd epstoeps & cd ..
goto :eof
-)
-
-if "%1"=="epstopdf" (
+) else if "%1"=="epstopdf" (
:epstopdf
cd fig & call nomake.cmd epstopdf & cd ..
goto :eof
-)
-
-if "%1"=="fixbb" (
+) else if "%1"=="fixbb" (
:fixbb
cd fig & call nomake.cmd fixbb & cd ..
goto :eof
-)
-
-if "%1"=="help" (
+) else if "%1"=="pdftopng256" (
+:pdftopng256
+ cd fig & call nomake.cmd pdftopng256 & cd ..
+goto :eof
+) else if "%1"=="pdftotiffg4" (
+:pdftotiffg4
+ cd fig & call nomake.cmd pdftotiffg4 & cd ..
+goto :eof
+) else if "%1"=="help" (
:help
- echo Targets:
echo dvi ^(default^) build DVI
echo clean remove output files
- echo epstoeps optimize EPS files
- echo epstopdf convert figures to PDF
- echo fixbb fix BoundingBox of EPS files
- echo help show list of targets
- echo html convert to HTML
+ echo help show description of targets
+ echo html convert DVI to HTML
echo pdf build PDF
echo pdf_2on1 build PDF with two A5 pages on one A4 ordered by number
echo pdf_book build PDF booklet ^(two A5 on A4^)
echo ps build PS
echo ps_2on1 build PS with two A5 pages on A4 ordered by number
echo ps_book build PS booklet ^(two A5 on A4^)
- echo rtf convert to RTF
- echo srcdist build source distribution %archive%
+ echo rtf convert DVI to RTF
+ echo srcdist build source distribution
goto :eof
+) else (
+ 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/manual.tex b/Master/texmf-dist/doc/latex/disser/manual.tex
index 5460193c0cf..fcda3eef230 100644
--- a/Master/texmf-dist/doc/latex/disser/manual.tex
+++ b/Master/texmf-dist/doc/latex/disser/manual.tex
@@ -1,18 +1,15 @@
-\RequirePackage{ifpdf}
-\ifpdf % We are running pdfTeX in pdf mode
- \documentclass[pdftex]{article}
-\else
- \documentclass{article}
-\fi
-\usepackage[a4paper, includehead, includefoot, mag=1000,
- left=3cm, right=2cm, top=1cm, bottom=2cm]{geometry}
-\usepackage{doc,indentfirst,ltxtable,multicol,color}
-\definecolor{darkblue}{rgb}{0,0,.5}
+\documentclass{article}
+\usepackage[a4paper,includehead,includefoot,mag=1000,
+ left=3cm,right=2cm,top=1cm,bottom=2cm]{geometry}
+\usepackage{doc,ifpdf,indentfirst,tabularx,color}
+
+% Hyperref
+\definecolor{darkblue}{rgb}{0,0,.6}
\ifpdf
\usepackage[%
pdftex,
colorlinks,
- plainpages=false,
+ plainpages = false,
pdftitle = {User manual for disser},
pdfauthor = {Stanislav Kruchinin},
pdfsubject = {disser},
@@ -29,19 +26,23 @@
\fi
\hypersetup{
- colorlinks = true, linkcolor = black,
+ colorlinks = true, linkcolor = darkblue,
citecolor = darkblue, filecolor = darkblue,
menucolor = darkblue, urlcolor = darkblue
}
-\ifpdf\usepackage{hypdestopt}\fi
-
+% Use Times font if available
\IfFileExists{pscyr.sty}{%
\usepackage{pscyr}
\renewcommand\ttdefault{cmtt}
\renewcommand\rmdefault{ftm}
-}{}
-\IfFileExists{url.sty}{\usepackage{url}}{\newcommand\url{\texttt}}
+}{
+ \IfFileExists{cyrtimes.sty}{%
+ \renewcommand\ttdefault{cmtt}
+ \renewcommand\rmdefault{ftm}
+ }{}
+}
+
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
@@ -57,13 +58,14 @@
\let\makelabel\deflabel}
}{\end{list}}
-\def\fileversion{1.1.1}
-\def\filedate{2009/04/08}
+\def\fileversion{1.1.2}
\begin{document}
\sloppy
-\title{Пакет для оформления диссертаций |disser|:\\руководство пользователя}
-\date{Версия \fileversion\\[6pt]\filedate}
+\title{Пакет для оформления диссертаций |disser|:\\
+руководство пользователя
+}
+\date{Версия \fileversion}
\author{Станислав Кручинин\\[6pt]
\normalsize E-mail:
\href{mailto:stanislav.kruchinin@gmail.com}
@@ -72,45 +74,38 @@
\maketitle
\begin{abstract}\noindent
-Данный документ содержит руководство по использованию класса.
+Данный документ содержит руководство по использованию пакета |disser|.
Инструкции по установке и обновлению смотрите в файлах |README| и |README.ru|.
-Описание исходных текстов содержится в файлах |disser.pdf|, |disser-bst.pdf| и |gost732.pdf|.
+Описание исходных текстов содержится в файлах \href{file:disser.pdf}{\texttt{disser.pdf}}, \href{file:disser-bst.pdf}{\texttt{disser-bst.pdf}} и \href{file:gost732.pdf}{\texttt{gost732.pdf}}.
\end{abstract}
\tableofcontents
\section{Введение}
-Пакет |disser| был создан в результате объединения множества дополнений и исправлений для класса |extreport|, написанных автором при оформлении бакалаврской и магистерской работ, а также кандидатской диссертации.
-Основной целью этих исправлений являлось устранение одного из главных недостатков стандартных классов "--- отсутствия возможности прямого редактирования формата элементов титульного листа, заголовков и записей в автоматически генерируемых списках (содержание, список иллюстраций, список таблиц).
-Для достижения этой цели была переопределена значительная часть команд, входящих в ядро \LaTeX{}, и введен ряд параметров, которые описаны в комментариях к исходным текстам.
-
-В состав пакета входят классы |disser.cls| и |gost732.cls|, стиль оформления библиографии |disser.bst| и скрипты для их сборки из исходных текстов (|Makefile|/|nomake.cmd|).
-Поскольку дипломы и диссертации имеют фиксированную структуру, в пакет включены соответствующие шаблоны (каталог |disser/templates|), которые рекомендуется использовать для создания своих документов.
-
-\section{Общие замечания}
+Пакет |disser| предназначен для верстки диссертаций и авторефератов в соответствии с требованиями диссертационных советов и ВАК.
+В состав пакета входят классы |disser.cls| и |gost732.cls|, стили оформления библиографии |disser.bst|, |disser-s.bst|, а также скрипты для сборки пакета и шаблонов документов (|Makefile|, |nomake.cmd|).
+Поскольку дипломы и диссертации имеют фиксированную структуру, в пакет также включены их шаблоны (каталог |disser/templates|), которые рекомендуется использовать для создания своих документов.
-Класс |disser|, как и любой класс документов \LaTeXe{}, подключается в преамбуле документа с помощью команды следующего вида
-\begin{verbatim}
-\documentclass{disser}
-\end{verbatim}
-
-Зависимости от пакетов: |amsfonts|, |amsmath|, |amssymb|, |caption|, |cmap|, |graphicx|, |ifpdf|, |natbib|.
-
-Дополнительные пакеты: |hyperref|, |hypcap|, |hypernat|, |pscyr| или |cyrtimes|, |txfonts| или |mtpro|, |subfig|.
+Одной из основных целей создания |disser| являлось устранение общего недостатка стандартных классов: отсутствия возможности настройки формата элементов титульного листа, заголовков и записей в автоматически генерируемых списках.
+Для этого была переопределена значительная часть команд, входящих в ядро \LaTeX{}, и введен ряд глобальных переменных, которые описаны в комментариях к исходным текстам.
+Это позволило значительно упростить разработку пользовательских классов, которые удовлетворяют специфическим требованиями тех или иных учебных заведений.
+Примером реализации этого подходя является класс |gost732.cls|.
\section{Опции класса}
\textbf{Примечание:} полужирным начертанием выделены опции, используемые по умолчанию.
+\\[2ex]
\extrarowheight=3pt
\tabcolsep=6pt
\arraycolsep=0pt
-\begin{longtable}{l|p{0.55\linewidth}}
+\newcolumntype{L}{>{\raggedright}p{4.5cm}}
+\begin{tabularx}{\textwidth}{L|X}
\hline\hline
\textbf{a4paper}, a5paper, b5paper &
Размеры листов.
\\\hline
- 8pt, 9pt, 10pt, 11pt, 12pt, \textbf{14pt} &
+ 8pt, 9pt, 10pt, 11pt, 12pt, \textbf{14pt}, 16pt, 18pt, 20pt &
Размер шрифта основного текста.
\\\hline
landscape &
@@ -127,7 +122,7 @@
Печатать титульный лист или нет.
\\\hline
openright, \textbf{openany} &
- Главы будут всегда начинаться только с нечетных страниц (т.е. справа, если
+ Главы всегда будут начинаться только с нечетных страниц (т.е. справа, если
смотреть на разворот) или c любых.
\\\hline
\textbf{onecolumn}, twocolumn &
@@ -157,8 +152,8 @@
Для использования опции необходимо установить пакеты |pscyr| (или |cyrtimes|) и
|txfonts| (или |mtpro|).
\\\hline
- bachelor, master, \textbf{candidate}, doctor &
- Тип диссертации.
+ autoref, bachelor, master, \textbf{candidate}, doctor &
+ Тип документа.
\\\hline
fixint = \{\textbf{true}$\,\vert\,$false\} &
Замена стандартных знаков интегралов на прямые (из математического шрифта
@@ -176,7 +171,7 @@
Поддержка шрифтов MathTime Pro. При наличии опции |times| вместо
пакета |txfonts| подключается пакет |mtpro|.
\\\hline\hline
-\end{longtable}
+\end{tabularx}
\section{Стили колонтитулов}
@@ -202,23 +197,21 @@
\pagestyle{headcenter}
\chapterpagestyle{headcenter}\end{verbatim}
-\section{Система сборки (\texttt{Makefile} и \texttt{nomake.cmd})}
+\section{Система сборки документов}
-Для автоматизации сборки и установки пакета были созданы две системы скриптов, имеющих одинаковый набор целей: |Makefile| в формате GNU Make и файлы |nomake.cmd|, написанные на языке командного интерпретатора |cmd.exe| ОС Windows 2000 и выше.
-Использование в Unix-подобных окружениях: |make <цель>|.
-В Windows: |nomake <цель>|.
+В состав пакета входят две системы скриптов для автоматизации сборки и установки: файлы |Makefile|, совместимые с GNU Make, и файлы |nomake.cmd|, написанные на языке командного интерпретатора |cmd.exe| ОС Windows 2000 и выше.
+Скрипты поддерживают одинаковый набор целей (targets).
+Использование в Unix-подобных окружениях: |make <target1> <target2> ...|
+В Windows: |nomake <target>|.
+Необходимо отметить, что в отличие от |make|, скрипты |nomake| за один запуск обрабатывают только один параметр, что обусловлено ограничениями синтаксиса.
-Далее следуют описания целей в зависимости от каталога, в котором производится сборка.
+Далее приведены описания целей в зависимости от каталога, в котором производится сборка.
\subsection{Каталог \texttt{disser/}}
\begin{deflist}{123456789}
\item[all]
Сборка классов и шаблонов.
-\item[class]
- Сборка классов |disser| и |gost732|.
- Соответствует цели |class| в каталоге |disser/src|.
- Цель по умолчанию.
\item[clean]
Цель |clean| в каталогах |src| и |templates|.
\item[doc]
@@ -226,23 +219,34 @@
\item[help]
Справка по целям сборки.
\item[install]
- Копирование класса и документации в дерево каталогов \LaTeX{}.
- Соответствует цели |install| в каталоге |disser/src|.
-\item[template]
+ Копирование пакета, документации и шаблонов в дерево каталогов \TeX{}.
+ Соответствует цели |install| в каталогах |disser/src| и |disser/templates|.
+\item[package]
+ Сборка пакета.
+ Соответствует цели |package| в каталоге |disser/src|.
+ Цель по умолчанию.
+\item[reinstall]
+ Переустановка пакета.
+ Соответствует цели |reinstall| в каталоге |disser/src|.
+\item[srcdist]
+ Создание архива, содержащего исходные тексты пакета.
+ Эквивалентно команде |hg archive|.
+\item[tds]
+ Создание TDS-архива, содержащего скомпилированные файлы пакета и шаблонов.
+\item[templates]
Сборка всех шаблонов.
Соответствует цели по умолчанию в каталоге |disser/templates|.
-\item[update]
- Скачивание репозитория Mercurial в каталог |./disser|.
+\item[uninstall]
+ Удаление файлов пакета из дерева каталогов \TeX{}.
+ Соответствует целям |uninstall| в каталогах |disser/src| и |disser/templates|.
\end{deflist}
\subsection{Каталог \texttt{disser/src/}}
\begin{deflist}{123456789}
\item[all]
- Сборка классов и документации.
+ Сборка пакета и PDF-версии документации.
Цель по умолчанию.
-\item[class]
- Сборка классов |disser| и |gost732|.
\item[clean]
Удаление файлов, указанных в переменной |CLFILES|.
\item[doc]
@@ -253,9 +257,15 @@
Справка по целям сборки.
\item[install]
Копирование файлов класса и документации в дерево каталогов
- дистрибутива \LaTeX{}.
+ \TeX{}.
+\item[package]
+ Сборка пакета.
\item[pdf]
Сборка PDF-версии документации.
+\item[reinstall]
+ Переустановка пакета.
+\item[uninstall]
+ Удаление файлов пакета из дерева каталогов \TeX{}.
\end{deflist}
\subsection{Каталоги \texttt{disser/templates} и
@@ -263,76 +273,124 @@
\begin{deflist}{123456789}
\item[dvi]
- Сборка |thesis.dvi|.
- Цель по умолчанию.
+ Сборка DVI-файла. Цель по умолчанию.
\item[clean]
Удаление файлов, указанных в переменной |CLFILES|.
-\item[epstoeps]
- Оптимизация EPS с помощью Ghostscript.
-\item[epstopdf]
- Конвертирование EPS в PDF.
-\item[fixbb]
- Исправление BoundingBox во всех EPS-файлах.
\item[help]
Справка по целям сборки.
\item[html]
- Сборка HTML-файла.
+ Конвертация DVI в HTML-файл с рисунками.
+ Для работы необходимо установить программу \href{http://www.latex2html.org/}{latex2html}.
\item[pdf]
- Сборка |thesis.pdf|.
+ Сборка PDF-файла.
\item[pdf\_2on1]
- Сборка PDF-файла по 2 страницы на один разворот A4.
+ Сборка PDF-файла с двумя страницами на один лист A4
+ и сохранением порядка следования страниц.
\item[pdf\_book]
- Сборка PDF-файла для брошюрования.
+ Сборка PDF-файла с двумя страницами на один лист A4
+ для брошюрования.
\item[ps]
- Сборка |thesis.ps|.
+ Сборка PostScript-файла.
\item[ps\_2on1]
- Сборка PostScript-файла по 2 страницы на один разворот A4.
+ Сборка PostScript-файла с двумя страницами на один лист A4
+ и сохранением порядка следования страниц.
\item[ps\_book]
- Сборка PostScript-файла для брошюрования.
+ Сборка PostScript-файла с двумя страницами на один лист A4
+ для брошюрования.
+\item[rtf]
+ Конвертация DVI в RTF.
\item[srcdist]
Сборка архива из содержимого текущего каталога.
\end{deflist}
+Помимо вышеуказанных целей, в каталоге \texttt{disser/templates} доступны следующие:
+\begin{deflist}{123456789}
+\item[install]
+ Копирование шаблонов в дерево каталогов \TeX{}.
+\item[reinstall]
+ Переустановка шаблонов.
+\item[uninstall]
+ Удаление шаблонов.
+\end{deflist}
+
\begin{flushleft}
\textbf{Примечания:}
1) Файлы |nomake.cmd| в подкаталогах шаблонов зависят от |include/latex.nmk.cmd| и |include/latex.fig.nmk.cmd|.
Файлы |Makefile| зависят от |include/latex.mk| и |include/latex.fig.mk|.
-2) |Makefile/nomake.cmd| в подкаталогах шаблонов включают цели каталога |fig|.
+2) |Makefile/nomake.cmd| в подкаталогах шаблонов могут использовать цели из каталога |fig|.
\end{flushleft}
\subsection{Каталог \texttt{disser/templates/<тип-диссертации>/fig/}}
-\begin{deflist}{123456789}
+\begin{deflist}{pdftotiffg44}
\item[clean]
- Удаление PDF файлов.
+ Удаление файлов с расширениями pdf, png и tif.
+ Список определяется переменной |CLFILES|.
\item[epstoeps]
Оптимизация EPS с помощью Ghostscript.
+ Следует использовать только для документов с контурными шрифтами.
+ Список файлов определяется переменной |E2EFILES|.
\item[epstopdf]
- Конвертирование EPS в PDF.
+ Конвертация EPS в PDF.
+ Список файлов определяется переменной |E2PFILES|.
\item[fixbb]
- Исправление BoundingBox во всех EPS-файлах.
+ Исправление BoundingBox в EPS-файлах.
+ Список файлов определяется переменной |FBBFILES|.
\item[help]
Справка по целям сборки. Цель по умолчанию.
+\item[pdftopng256]
+ Конвертация PDF в 256-цветный PNG.
+ Список файлов определяется переменной |PDF2PNGFILES|.
+\item[pdftotiffg4]
+ Конвертация PDF в черно-белый TIFF (алгоритм сжатия CCITT Group 4).
+ Список файлов определяется переменной |PDF2TIFFILES|.
\end{deflist}
-\section{Стиль библиографических ссылок \texttt{disser.bst}}
+\section{Оформление библиографии}
-В состав пакета начиная с версии 1.1.0 включен стиль для оформления библиографических ссылок |disser.bst|.
-Данный стиль представляет собой доработанную версию |gost71u.bst| из пакета |gost|, написанного Максимом Поляковым.
-Создание |disser.bst| обусловлено следующими причинами: пакет |gost| более не поддерживается автором, оформление библиографии в соответствии с его стилями противоречит здравому смыслу и требованиям, предъявляемым диссертационными советами к библиографическим ссылкам.
+Для оформления библиографических ссылок используются стили |disser.bst| и |disser-s.bst|.
+Они представляют собой доработанные версии |gost71u.bst| и |gost71s.bst| из пакета |gost|, написанного Максимом Поляковым.
+Создание этих стилей обусловлено следующими причинами: пакет |gost| более не поддерживается автором, а библиография, оформленная с его помощью, противоречит некоторым требованиям диссертационных советов.
+|disser-s.bst| "--- стиль аналогичный |disser.bst|, но с сортировкой записей в алфавитном порядке.
Основные отличия |disser.bst| от |gost71u.bst|:
-
\begin{enumerate}
\item Инициалы авторов всегда печатаются перед фамилией.
-\item Имена авторов, независимо от их количества, всегда печатаются перед названием источника.
+\item Авторы, независимо от их количества, всегда печатаются перед названием источника.
+\item Имена авторов не преобразуются в инициалы.
\item Отсутствует поддержка украинского языка.
-\item Настраиваемый префикс номера библиографической ссылки (макрос |\BibPrefix|).
+\item Поддерживается настраиваемые префикс и постфикс номера библиографической ссылки для оформления списка работ диссертанта в автореферате.
\end{enumerate}
-Руководство по использованию стиля и описание его исходного кода находится в файле \href{file:disser-bst.pdf}{disser-bst.dtx}.
+Для работы с русскоязычными библиографическими ссылками необходима версия \BibTeX{} с поддержкой 8-битных символов, |bibtex8|.
+В зависимости от кодировки текста в bib-файле, необходимо подключать соответствующий csf-файл с описанием кодовой страницы и порядка сортировки, например, |cp1251.csf|.
+Примеры библиографических записей приведены в документации к пакету |gost|, который может быть найден в любом современном дистрибутиве \LaTeX{}.
+
+Последовательность команд, используемая для полной сборки документа с библиографией, имеет следующий вид:
+\begin{verbatim}
+ latex <tex_file>
+ bibtex8 -H -c <csf_file> <tex_file_basename>
+ latex <tex_file>
+ latex <tex_file>
+\end{verbatim}
+Здесь |<tex_file>| "--- файл документа, |<csf_file>| "--- файл описания кодовой страницы, |<tex_file_basename>| "--- имя файла документа без расширения.
+
+Стили позволяют менять префикс и постфикс номеров ссылок, т.\,е. использовать ссылки вида [A1] или [1a].
+Это необходимо для того, чтобы в автореферате различались ссылки на работы соискателя и на внешние источники.
+Префикс и постфикс номера ссылки определяются макросами |\BibPrefix| и |\BibPostfix|, соответственно.
+Их значения должны быть определены до использования команды |\bibliographystyle|.
+
+Пример:
+\begin{verbatim}
+ \def\BibPrefix{A}
+ \bibliographystyle{disser}
+ \bibliography{thesis}\end{verbatim}
+В данном случае ссылки будут иметь вид [A$n$], где $n$ "--- номер.
+
+К сожалению, пакет |natbib| не <<сжимает>> ссылки с нецифровыми символами, т.\,е. ссылки вида [A1, A2, A3, A4] не преобразуются к более компактной форме [A1--A4].
+Ведется работа над исправлением этого недостатка.
\section{Авторефераты кандидатских и докторских диссертаций}
@@ -352,12 +410,12 @@
\subsection{Список работ диссертанта}
В автореферате список работ диссертанта должен быть отделен от списка цитируемой литературы, а ссылки на них должны отличаться друг от друга.
-Для этого в стиле |disser.bst| введен макрос |\BibPrefix|, в котором содержится настраиваемый префикс номеров ссылок.
-Для размещения двух списков литературы с независимой нумерацией пакет |multibib|.
+В стилях |disser.bst| и |disser-s.bst| введены макросы |\BibPrefix| и |\BibPostfix|, позволяющие задать префикс и постфикс номера ссылки.
+Для размещения в документе двух списков литературы с независимой нумерацией используется пакет |multibib|.
Описание библиографических ссылок на работы диссертанта должно находиться в файле |thesis.bib| вместе с остальными ссылками.
-Полная ручная сборка автореферата с двумя библиографиями выполняется следующей последовательностью команд.
+Полная сборка автореферата с двумя библиографиями выполняется следующей последовательностью команд.
\begin{verbatim}
latex autoref
bibtex8 -H -c cp1251 autoref
@@ -377,10 +435,11 @@ env TARGET=autoref make\end{verbatim}
Согласно требованиям ВАК, автореферат должен быть подписан диссертантом и ученым секретарем.
Поскольку экземпляров автореферата достаточно много, эту задачу необходимо автоматизировать.
-Начиная с версии 1.1.0 в классе появилась опция |facsimile|, позволяющая включать графические файлы с подписью (факсимиле) на титульном листе и внутренней стороне обложки.
+Для этого в классе предусмотрена опция |facsimile|, позволяющая включать графические файлы с подписью (факсимиле) на титульном листе и внутренней стороне обложки.
Эта опция по умолчанию включена только в шаблонах авторефератов.
Факсимиле диссертанта находится в файле |./fig/facsimile.<type>|, факсимиле ученого секретаря диссертационного совета "--- в файле |./fig/sec-facsimile.<type>|.
Здесь |<type>| "--- один из типов графических файлов, поддерживаемых в \LaTeX{} (eps) или в pdf\LaTeX{} (pdf, tiff, png).
Команда |\facsimile|, включающая файл с подписью диссертанта в документ, определена в файле |titledefs.dtx|.
Команда, включающая файл с подписью ученого секретаря, находится в файле |autoref.tex|.
+
\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/disser/nomake.cmd b/Master/texmf-dist/doc/latex/disser/nomake.cmd
index ab194a768f2..b50ca825981 100644
--- a/Master/texmf-dist/doc/latex/disser/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/nomake.cmd
@@ -16,10 +16,9 @@ set bst=disser-bst
set manual=manual
set clsfiles=*.cls *.rtx
-set docfiles=%subclass%.pdf %target%.pdf %subclass%.pdf %manual%.pdf ^
-..\README ..\README.ru ..\ChangeLog
-set bstfile=%target%.bst
-set bstdocfile=%bst%.pdf
+set bstfiles=%target%.bst %target%-s.bst
+set docfiles=%target%.pdf %subclass%.pdf %bst%.pdf %manual%.pdf
+set textfiles=..\README ..\README.ru ..\ChangeLog
set srcfiles=*.dtx *.ins %manual%.tex Makefile nomake.cmd
if "!texmf!"=="" set texmf=%programfiles%\miktex
@@ -27,11 +26,11 @@ if "!texmf!"=="" set texmf=%programfiles%\miktex
if "%clsdir%"=="" set clsdir=!texmf!\tex\latex\%target%
if "%bstdir%"=="" set bstdir=!texmf!\bibtex\bst\%target%
if "%docdir%"=="" set docdir=!texmf!\doc\latex\%target%
-if "%bstdocdir%"=="" set bstdocdir=!texmf!\doc\bibtex\%target%
if "%srcdir%"=="" set srcdir=!texmf!\source\latex\%target%
-if "%clfiles%"=="" set clfiles=*.rtx *.cls *.log *.out *.aux *.dvi *.ind ^
-*.idx *.ilg *.glo *.toc *.ind *.bak *.bbl *.blg *.pdf *.sav *.ps *.bst
+if "%clext%"=="" set clext=*.log *.out *.aux *.dvi *.idx *.ilg *.ind *.glo ^
+*.toc *.bak *.bbl *.blg *.sav
+if "%clfiles%"=="" set clfiles=%clsfiles% %bstfiles% %docfiles% %clext%
if "%latex%"=="" set latex=latex
if "%pdflatex%"=="" set pdflatex=pdflatex
@@ -39,46 +38,35 @@ if "%mi%"=="" set mi=makeindex
if "%latexflags%"=="" set latexflags=-src-specials
if "%pdflatexflags%"=="" set pdflatexflags=""
+if "%miflags%"=="" set miflags="-r"
rem Default target
if "%1"=="" (
:default
call :all
goto :eof
-)
-
-:start
-if "%1"=="" goto :eof
-
-if "%1"=="all" (
+) else if "%1"=="all" (
:all
- call :class
+ call :package
call :doc
goto :eof
-)
-
-if "%1"=="class" (
-:class
+) else if "%1"=="package" (
+:package
%latex% %target%.ins
goto :eof
-)
-
-if "%1"=="clean" (
+) else if "%1"=="clean" (
:clean
del %clfiles%
goto :eof
-)
-
-if "%1"=="doc" (
+) else if "%1"=="doc" (
:doc
call :pdf
goto :eof
-)
-
-if "%1"=="dvi" (
+) else if "%1"=="dvi" (
:dvi
%latex% %latexflags% %target%.dtx
- %mi% -r %target%
+ %mi% %miflags% %target%
+ %latex% %latexflags% %target%.dtx
%latex% %latexflags% %target%.dtx
%latex% %latexflags% %subclass%.dtx
%latex% %latexflags% %subclass%.dtx
@@ -87,12 +75,11 @@ if "%1"=="dvi" (
%latex% %latexflags% %manual%.tex
%latex% %latexflags% %manual%.tex
goto :eof
-)
-
-if "%1"=="pdf" (
+) else if "%1"=="pdf" (
:pdf
%pdflatex% %pdflatexflags% %target%.dtx
- %mi% -r %target%
+ %mi% %miflags% %target%
+ %pdflatex% %pdflatexflags% %target%.dtx
%pdflatex% %pdflatexflags% %target%.dtx
%pdflatex% %pdflatexflags% %subclass%.dtx
%pdflatex% %pdflatexflags% %subclass%.dtx
@@ -101,37 +88,49 @@ if "%1"=="pdf" (
%pdflatex% %pdflatexflags% %manual%.tex
%pdflatex% %pdflatexflags% %manual%.tex
goto :eof
-)
-
-if "%1"=="install" (
+) else if "%1"=="install" (
:install
if not exist %target%.cls call :all
if not exist "%clsdir%" md "%clsdir%"
if not exist "%docdir%" md "%docdir%"
if not exist "%bstdir%" md "%bstdir%"
if not exist "%srcdir%" md "%srcdir%"
- for %%f in (%clsfiles%) do xcopy /y /f %%f "%clsdir%"
- for %%f in (%docfiles%) do xcopy /y /f %%f "%docdir%"
- for %%f in (%bstfile%) do xcopy /y /f %%f "%bstdir%"
- for %%f in (%bstdocfile%) do xcopy /y /f %%f "%docdir%"
- for %%f in (%srcfiles%) do xcopy /y /f %%f "%srcdir%"
+ for %%f in (%clsfiles%) do xcopy /y /f %%f "%clsdir%"
+ for %%f in (%docfiles%) do xcopy /y /f %%f "%docdir%"
+ for %%f in (%textfiles%) do xcopy /y /f %%f "%docdir%"
+ for %%f in (%bstfiles%) do xcopy /y /f %%f "%bstdir%"
+ for %%f in (%srcfiles%) do xcopy /y /f %%f "%srcdir%"
goto :eof
-)
-
-if "%1"=="help" (
+) else if "%1"=="reinstall" (
+:reinstall
+ call :uninstall
+ call :install
+goto :eof
+) else if "%1"=="uninstall" (
+:uninstall
+ for %%f in (%clsfiles%) do del "%clsdir%\%%~nxf"
+ for %%f in (%docfiles%) do del "%docdir%\%%~nxf"
+ for %%f in (%textfiles%) do del "%docdir%\%%~nxf"
+ for %%f in (%bstfiles%) do del "%bstdir%\%%~nxf"
+ for %%f in (%srcfiles%) do del "%srcdir%\%%~nxf"
+ rmdir "%clsdir%"
+ rmdir "%docdir%"
+ rmdir "%bstdir%"
+ rmdir "%srcdir%"
+goto :eof
+) else if "%1"=="help" (
:help
- echo Targets:
- echo all ^(default^) build classes and documentation
- echo class build class
- 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
+ echo all ^(default^) build package and documentation
+ echo clean remove output files
+ echo doc build documentation
+ echo dvi build DVI version of documentation
+ echo help show description of targets
+ echo install install package and documentation
+ echo package build package and documentation
+ echo pdf build PDF version of documentation
+ echo reinstall reinstall package and documentation
+ echo uninstall remove package and documentation from TeX tree
goto :eof
+) else (
+ 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 e30dd8b9b24..37488ee350c 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/Makefile
+++ b/Master/texmf-dist/doc/latex/disser/templates/Makefile
@@ -1,15 +1,26 @@
-TARGET=disser
-DOCDIR?=$(TEXMF)/doc/latex/$(TARGET)
-
-dvi ps ps_2on1 pdf pdf_2on1 html clean epstopdf fixbb srcdist all allpdf:
- @$(MAKE) -i -C bachelor $@
- @$(MAKE) -i -C master $@
- @$(MAKE) -i -C candidate $@
- @$(MAKE) -i -C doctor $@
-
-help:
- @$(MAKE) -C bachelor $@
-
-install:
- cp -rf ../templates $(DOCDIR)
- cp -rf ../include $(DOCDIR) \ No newline at end of file
+TARGET=thesis
+TEXMF?=/usr/share/texmf
+DOCDIR?=$(TEXMF)/doc/latex/disser
+
+dvi ps ps_2on1 pdf pdf_2on1 html clean epstopdf fixbb srcdist all allpdf:
+ @$(MAKE) -i -C bachelor $@
+ @$(MAKE) -i -C master $@
+ @$(MAKE) -i -C candidate $@
+ @$(MAKE) -i -C doctor $@
+
+help:
+ @$(MAKE) -s -C bachelor $@
+ @echo " install install templates to TeX tree"
+ @echo " uninstall uninstall templates"
+ @echo " reinstall reinstall templates"
+
+install:
+ cp -rf ../templates $(DOCDIR)
+ cp -rf ../include $(DOCDIR)
+
+uninstall:
+ rm -rf $(DOCDIR)/templates
+ rm -rf $(DOCDIR)/include
+ rmdir $(DOCDIR)
+
+reinstall: uninstall install
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 b9c1223fad1..86cd1ef1174 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/1.tex
@@ -27,7 +27,7 @@ Anselm_1978,Segall_1968}. Ссылка на формулу~\eqref{eq:e}
\end{wrapfigure}
Если разность энергий электронно-дырочных уровней $E_2-E_1$ близка к энергии продольного оптического фонона $\hbar\Omega_{LO}$, то в разложении волновых функций полного гамильтониана можно ограничиться нулевым приближением для всех состояний, за исключением близких по значению к $E_2$.
-Волновые функции последних представляют собой следующие комбинации вырожденных состояний.
+Волновые функции последних представляют собой следующие комбинации вырожденных состояний~\footnote{Текст сноски}.
Ссылка на таблицу~\ref{tab:t1}.
\begin{table}[!ht]
@@ -36,8 +36,8 @@ Anselm_1978,Segall_1968}. Ссылка на формулу~\eqref{eq:e}
\vskip1.em
\begin{tabular}{l|ccc}
\hline\hline
- & \quad$\lambda \times 10^{-11}$,~$\text{Дин}\cdot\text{см}^{-2}$\quad &
- \quad$\mu \times 10^{-11}$,~$\text{Дин}\cdot\text{см}^{-2}$ & \quad$\rho$, $\text{г}\cdot \text{см}^{-3}$\quad \\
+ & \quad$\lambda \times 10^{-11}$,~$\text{Дин}\times\text{см}^{-2}$\quad &
+ \quad$\mu \times 10^{-11}$,~$\text{Дин}\times\text{см}^{-2}$ & \quad$\rho$, $\text{г}\times \text{см}^{-3}$\quad \\
\hline
InP & 3.82 & 1.69 & 4.14 \\
SiO$_{2}$ & 1.57 & 3.11 & 2.2 \\
@@ -108,22 +108,22 @@ Anselm_1978,Segall_1968}. Ссылка на формулу~\eqref{eq:e}
\newtheorem{lemm}{Лемма}[chapter]
-\def\thelemmstyle{\bf}
-\def\oparglemmstyle{}
-\def\lemmstyle{\it}
+\def\thelemmstyle{\bfseries}
+\def\oparglemmstyle{\itshape}
+\def\lemmstyle{}
\def\preoparglemm{(}
\def\postoparglemm{)}
\newtheorem{remark}{Примечание}[chapter]
-\def\remarkstyle{\it}
+\def\remarkstyle{\itshape}
\def\theremarkstyle{}
\def\posttheremark{:}
\begin{lemm}[Шура]
-Матрица, коммутирующая со всеми матрицами неприводимого представления, кратна единичной.
+Квадратная матрица, коммутирующая со всеми матрицами неприводимого представления, кратна единичной.
\end{lemm}
\begin{remark}
-Имеется в виду квадратная матрица.
+Текст примечания.
\end{remark}
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 c853e59f80b..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 ../../../include/latex.fig.mk
+include ../../../include/latex.fig.mk \ No newline at end of file
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
index 7d62dafdb27..d5b89784882 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/fig/nomake.cmd
@@ -1 +1 @@
-@call ..\..\..\include\latex.fig.nmk.cmd %*
+@call ..\..\..\include\latex.fig.nmk.cmd %* \ 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 39e5d90404a..07630d2e16a 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/nomake.cmd
@@ -1,17 +1,15 @@
@echo off
+set latexnmk=call ..\..\include\latex.nmk.cmd
+
if "%1"=="all" (
:all
- ..\..\include\latex.nmk.cmd dvi
+ %latexnmk% dvi
goto :eof
) else if "%1"=="allpdf" (
:allpdf
- ..\..\include\latex.nmk.cmd pdf
+ %latexnmk% pdf
goto :eof
) else (
- ..\..\include\latex.nmk.cmd %*
+ %latexnmk% %*
)
-
-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/bachelor/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
index e3f5776015c..a6f338cd8a8 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/bachelor/thesis.tex
@@ -9,7 +9,7 @@
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Номера страниц сверху и по центру
%\def\headfont{\small}
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 8c16534241b..64ce78d61a5 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/autoref.tex
@@ -1,15 +1,15 @@
-\documentclass[14pt,autoref,href
+\documentclass[14pt,autoref,href,facsimile
%,fixint=false
-,facsimile
+%,times
]{disser}
-\usepackage[a4paper, nohead, includefoot, mag=1000,
- margin=2cm, footskip=1cm]{geometry}
+\usepackage[a4paper,nohead,includefoot,mag=1000,
+ margin=2cm,footskip=1cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{tabularx}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Поддержка нескольких списков литературы в одном документе
\usepackage{multibib}
@@ -20,13 +20,11 @@
% Путь к файлам с иллюстрациями
\graphicspath{{fig/}}
+\begin{document}
% Включение файла с общим текстом диссертации и автореферата
% (текст титульного листа и характеристика работы).
\input{common}
-% --------------------------------------------------------------------------
-\begin{document}
-% Внешняя сторона обложки
\title{АВТОРЕФЕРАТ\\
диссертации на соискание ученой степени\\
кандидата физико-математических наук}
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 c853e59f80b..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 ../../../include/latex.fig.mk
+include ../../../include/latex.fig.mk \ No newline at end of file
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
index 7d62dafdb27..d5b89784882 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/fig/nomake.cmd
@@ -1 +1 @@
-@call ..\..\..\include\latex.fig.nmk.cmd %*
+@call ..\..\..\include\latex.fig.nmk.cmd %* \ No newline at end of file
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 c6ed3f12107..542e4e15259 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/nomake.cmd
@@ -1,28 +1,25 @@
@echo off
+set latexnmk=call ..\..\include\latex.nmk.cmd
+
if "%1"=="help" (
:help
- call ..\..\include\latex.nmk.cmd %1
+ %latexnmk% %1
echo all build DVI of autoref and thesis
echo allpdf build PDF of autoref and thesis
goto :eof
) else if "%1"=="all" (
:all
- set target=thesis & call ..\..\include\latex.nmk.cmd dvi
- set target=autoref & call ..\..\include\latex.nmk.cmd dvi
+ set target=thesis & %latexnmk% dvi
+ set target=autoref & %latexnmk% dvi
set target=
goto :eof
) else if "%1"=="allpdf" (
:allpdf
- set target=thesis & call ..\..\include\latex.nmk.cmd pdf
- set target=autoref & call ..\..\include\latex.nmk.cmd pdf
+ set target=thesis & %latexnmk% pdf
+ set target=autoref & %latexnmk% pdf
set target=
goto :eof
) else (
- call ..\..\include\latex.nmk.cmd %*
- goto :eof
+ %latexnmk% %*
)
-
-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/candidate/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
index 1a8fb00efb0..6e125186c98 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/candidate/thesis.tex
@@ -11,7 +11,7 @@
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Номера страниц сверху и по центру
%\def\headfont{\small}
@@ -24,11 +24,10 @@
% Путь к файлам с иллюстрациями
\graphicspath{{fig/}}
+\begin{document}
% Включение файла с общим текстом диссертации и автореферата
% (текст титульного листа и характеристика работы).
-\input common
-% ----------------------------------------------------------------
-\begin{document}
+\input{common}
\title{ДИССЕРТАЦИЯ\\
на соискание ученой степени\\
@@ -49,4 +48,3 @@
\appendix
\input{app-a}
\end{document}
-% ----------------------------------------------------------------
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 629a4ed379f..6f5f5f45336 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/autoref.tex
@@ -1,15 +1,15 @@
-\documentclass[14pt,autoref,href
+\documentclass[14pt,autoref,href,facsimile
%,fixint=false
-,facsimile
+%,times
]{disser}
-\usepackage[a4paper, nohead, includefoot, mag=1000,
- margin=2cm, footskip=1cm]{geometry}
+\usepackage[a4paper,nohead,includefoot,mag=1000,
+ margin=2cm,footskip=1cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{tabularx}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Поддержка нескольких списков литературы в одном документе
\usepackage{multibib}
@@ -20,13 +20,11 @@
% Путь к файлам с иллюстрациями
\graphicspath{{fig/}}
+\begin{document}
% Включение файла с общим текстом диссертации и автореферата
% (текст титульного листа и характеристика работы).
\input{common}
-% --------------------------------------------------------------------------
-\begin{document}
-% Внешняя сторона обложки
\title{АВТОРЕФЕРАТ\\
диссертации на соискание ученой степени\\
доктора физико-математических наук}
@@ -39,7 +37,7 @@
Работа выполнена в \emph{название организации}.
\end{center}
-\vskip1em\noindent
+\vskip1ex\noindent
Официальные оппоненты:\\
\emph{ученая степень}, \\
\emph{ученое звание}\hfill
@@ -52,20 +50,20 @@
\emph{фамилия имя отчество}\\[1em]
Ведущая организация:\\
\emph{название организации}
-\vskip2em\noindent
+\vskip2ex\noindent
Защита состоится \datefield{} в \rule[0pt]{1cm}{0.5pt}\, часов
на заседании диссертационного совета \emph{шифр совета} при \emph{название
организации, при которой создан совет}, расположенном по адресу:
\emph{адрес}
-\vskip1em\noindent
+\vskip1ex\noindent
С диссертацией можно ознакомиться в библиотеке
\emph{название организации}.
-\vskip1em\noindent
+\vskip1ex\noindent
Автореферат разослан \datefield{}
-\vskip2em\noindent
+\vskip2ex\noindent
Отзывы и замечания по автореферату в двух экземплярах, заверенные
печатью, просьба высылать по вышеуказанному адресу на имя ученого секретаря
диссертационного совета.
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 c853e59f80b..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 ../../../include/latex.fig.mk
+include ../../../include/latex.fig.mk \ No newline at end of file
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
index 7d62dafdb27..d5b89784882 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/fig/nomake.cmd
@@ -1 +1 @@
-@call ..\..\..\include\latex.fig.nmk.cmd %*
+@call ..\..\..\include\latex.fig.nmk.cmd %* \ 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 c6ed3f12107..542e4e15259 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/nomake.cmd
@@ -1,28 +1,25 @@
@echo off
+set latexnmk=call ..\..\include\latex.nmk.cmd
+
if "%1"=="help" (
:help
- call ..\..\include\latex.nmk.cmd %1
+ %latexnmk% %1
echo all build DVI of autoref and thesis
echo allpdf build PDF of autoref and thesis
goto :eof
) else if "%1"=="all" (
:all
- set target=thesis & call ..\..\include\latex.nmk.cmd dvi
- set target=autoref & call ..\..\include\latex.nmk.cmd dvi
+ set target=thesis & %latexnmk% dvi
+ set target=autoref & %latexnmk% dvi
set target=
goto :eof
) else if "%1"=="allpdf" (
:allpdf
- set target=thesis & call ..\..\include\latex.nmk.cmd pdf
- set target=autoref & call ..\..\include\latex.nmk.cmd pdf
+ set target=thesis & %latexnmk% pdf
+ set target=autoref & %latexnmk% pdf
set target=
goto :eof
) else (
- call ..\..\include\latex.nmk.cmd %*
- goto :eof
+ %latexnmk% %*
)
-
-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/doctor/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
index 5bed0c9a95f..bd6e30bb991 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/doctor/thesis.tex
@@ -11,7 +11,7 @@
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Номера страниц сверху и по центру
%\def\headfont{\small}
@@ -24,11 +24,10 @@
% Путь к файлам с иллюстрациями
\graphicspath{{fig/}}
+\begin{document}
% Включение файла с общим текстом диссертации и автореферата
% (текст титульного листа и характеристика работы).
-\input common
-% ----------------------------------------------------------------
-\begin{document}
+\input{common}
\title{ДИССЕРТАЦИЯ\\
на соискание ученой степени\\
@@ -49,4 +48,3 @@
\appendix
\input{app-a}
\end{document}
-% ----------------------------------------------------------------
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 c853e59f80b..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 ../../../include/latex.fig.mk
+include ../../../include/latex.fig.mk \ No newline at end of file
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
index 7d62dafdb27..d5b89784882 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/fig/nomake.cmd
@@ -1 +1 @@
-@call ..\..\..\include\latex.fig.nmk.cmd %*
+@call ..\..\..\include\latex.fig.nmk.cmd %* \ 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 39e5d90404a..07630d2e16a 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/nomake.cmd
@@ -1,17 +1,15 @@
@echo off
+set latexnmk=call ..\..\include\latex.nmk.cmd
+
if "%1"=="all" (
:all
- ..\..\include\latex.nmk.cmd dvi
+ %latexnmk% dvi
goto :eof
) else if "%1"=="allpdf" (
:allpdf
- ..\..\include\latex.nmk.cmd pdf
+ %latexnmk% pdf
goto :eof
) else (
- ..\..\include\latex.nmk.cmd %*
+ %latexnmk% %*
)
-
-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/master/thesis.tex b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
index 201ef3d5d39..c0b8cef117e 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
+++ b/Master/texmf-dist/doc/latex/disser/templates/master/thesis.tex
@@ -9,7 +9,7 @@
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
-\usepackage{epstopdf}
+\ifpdf\usepackage{epstopdf}\fi
% Номера страниц сверху и по центру
%\def\headfont{\small}
diff --git a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
index e84f3cc0004..8541b2d85d5 100644
--- a/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
+++ b/Master/texmf-dist/doc/latex/disser/templates/nomake.cmd
@@ -5,8 +5,10 @@ rem Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
setlocal enabledelayedexpansion
+set target=thesis
if "!texmf!"=="" set texmf=%programfiles%\miktex
-if "!docdir!"=="" set tdir=!texmf!\doc\latex\%target%
+if "!docdir!"=="" set docdir=!texmf!\doc\latex\disser
+if "!subdirs!"=="" set subdirs=bachelor ..\master ..\candidate ..\doctor
if "%CMDEXTVERSION%"=="" (
echo Error: This script requires command interpreter from Windows 2000 or above.
@@ -14,16 +16,28 @@ if "%CMDEXTVERSION%"=="" (
)
if "%1"=="help" (
- set subdirs=bachelor
-) else (
- set subdirs=bachelor ..\master ..\candidate ..\doctor
-)
-
-if "%1"=="install" (
+:help
+ cd bachelor & call nomake help & cd ..
+ echo install install templates to TeX tree
+ echo uninstall uninstall templates
+ echo reinstall reinstall templates
+goto :eof
+) else if "%1"=="install" (
:install
if not exist "%docdir%" md "%docdir%"
- xcopy /y /e /i /f ..\templates "%tdir%\templates"
- xcopy /y /e /i /f ..\include "%tdir%\include"
+ xcopy /y /e /i /f ..\templates "%docdir%\templates"
+ xcopy /y /e /i /f ..\include "%docdir%\include"
+goto :eof
+) else if "%1"=="uninstall" (
+:uninstall
+ rmdir /s /q %docdir%\templates
+ rmdir /s /q %docdir%\include
+ rmdir %docdir%
+goto :eof
+) else if "%1"=="reinstall" (
+:reinstall
+ call :uninstall
+ call :install
goto :eof
)
diff --git a/Master/texmf-dist/source/latex/disser/Makefile b/Master/texmf-dist/source/latex/disser/Makefile
index 696a2f32438..5fb3559a31a 100644
--- a/Master/texmf-dist/source/latex/disser/Makefile
+++ b/Master/texmf-dist/source/latex/disser/Makefile
@@ -1,17 +1,17 @@
#
-# Makefile for LaTeX packages
+# Makefile for disser package
# Author: Stanislav Kruchinin <stanislav.kruchinin@gmail.com>
#
TARGET=disser
SUBCLASS=gost732
BST=disser-bst
-MANUAL?=manual
+MANUAL=manual
CLSFILES=$(TARGET).cls *.rtx $(SUBCLASS).cls
-BSTFILE=$(TARGET).bst
-DOCFILES=$(TARGET).pdf $(SUBCLASS).pdf $(MANUAL).pdf ../README ../README.ru ../ChangeLog
-BSTDOCFILE=$(BST).pdf
+BSTFILES=$(TARGET).bst $(TARGET)-s.bst
+DOCFILES=$(TARGET).pdf $(SUBCLASS).pdf $(BST).pdf $(MANUAL).pdf
+TEXTFILES=../README ../README.ru ../ChangeLog
SRCFILES=*.dtx *.ins $(MANUAL).tex
TEXMF?=/usr/share/texmf
@@ -19,11 +19,10 @@ TEXMF?=/usr/share/texmf
CLSDIR?=$(TEXMF)/tex/latex/$(TARGET)
DOCDIR?=$(TEXMF)/doc/latex/$(TARGET)
BSTDIR?=$(TEXMF)/bibtex/bst/$(TARGET)
-BSTDOCDIR?=$(TEXMF)/doc/bibtex/$(TARGET)
SRCDIR?=$(TEXMF)/source/latex/$(TARGET)
-CLEXT?= *.log *.out *.aux *.dvi *.idx *.ilg *.ind *.glo *.toc *.bak *.bbl *.blg *.sav
-CLFILES?=$(CLSFILES) $(BSTFILE) $(DOCFILES) $(BSTDOCFILE) $(CLEXT)
+CLEXT?=*.log *.out *.aux *.dvi *.idx *.ilg *.ind *.glo *.toc *.bak *.bbl *.blg *.sav
+CLFILES?=$(CLSFILES) $(BSTFILE) $(DOCFILES) $(CLEXT)
LATEX?=latex
PDFLATEX?=pdflatex
@@ -32,9 +31,10 @@ MI?=makeindex
LATEXFLAGS?=
PDFLATEXFLAGS?=
-all: class doc
+all: package doc
-class: *.cls
+package: $(TARGET).ins
+ $(LATEX) $^
doc: pdf
@@ -47,28 +47,45 @@ install: all
mkdir -p $(BSTDIR)
mkdir -p $(DOCDIR)
mkdir -p $(SRCDIR)
- cp $(CLSFILES) $(CLSDIR)
- cp $(BSTFILE) $(BSTDIR)
- cp $(DOCFILES) $(DOCDIR)
- cp $(BSTDOCFILE) $(DOCDIR)
- cp $(SRCFILES) $(SRCDIR)
- @echo -e "\nDon't forget to run 'mktexlsr' if you install this class first time\n"
+ cp $(CLSFILES) $(CLSDIR)
+ cp $(BSTFILES) $(BSTDIR)
+ cp $(DOCFILES) $(DOCDIR)
+ cp $(TEXTFILES) $(DOCDIR)
+ cp $(SRCFILES) $(SRCDIR)
+
+uninstall:
+ rm $(addprefix $(CLSDIR)/, $(CLSFILES))
+ rm $(addprefix $(BSTDIR)/, $(BSTFILES))
+ rm $(addprefix $(DOCDIR)/, $(DOCFILES))
+ rm $(addprefix $(DOCDIR)/, $(notdir $(TEXTFILES)))
+ rm $(addprefix $(SRCDIR)/, $(SRCFILES))
+ rmdir $(CLSDIR)
+ rmdir $(BSTDIR)
+ rmdir $(DOCDIR)
+ rmdir $(SRCDIR)
+
+reinstall: uninstall install
clean:
rm -f $(CLFILES)
-%.cls: %.ins
- $(TEX) $<
-
-%.dvi: %.dtx
+disser.dvi: disser.dtx
$(LATEX) $(LATEXFLAGS) $<
$(MI) -r $(TARGET)
$(LATEX) $(LATEXFLAGS) $<
$(LATEX) $(LATEXFLAGS) $<
-%.dvi: %.tex
- $(LATEX) $(LATEXFLAGS) $<
+disser.pdf: disser.dtx
+ $(PDFLATEX) $(PDFLATEXFLAGS) $<
$(MI) -r $(TARGET)
+ $(PDFLATEX) $(PDFLATEXFLAGS) $<
+ $(PDFLATEX) $(PDFLATEXFLAGS) $<
+
+%.dvi: %.dtx
+ $(LATEX) $(LATEXFLAGS) $<
+ $(LATEX) $(LATEXFLAGS) $<
+
+%.dvi: %.tex
$(LATEX) $(LATEXFLAGS) $<
$(LATEX) $(LATEXFLAGS) $<
@@ -81,13 +98,13 @@ clean:
$(PDFLATEX) $(PDFLATEXFLAGS) $<
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"
-
+ @echo " all (default) build package files and documentation"
+ @echo " package build package"
+ @echo " clean remove output files"
+ @echo " doc build DVI and PDF versions of documentation"
+ @echo " dvi build DVI version of documentation"
+ @echo " help show description of targets"
+ @echo " install install package and documentation"
+ @echo " pdf build PDF version of documentation"
+ @echo " reinstall reinstall package and documentation"
+ @echo " uninstall uninstall package and documentation"
diff --git a/Master/texmf-dist/source/latex/disser/autoref.dtx b/Master/texmf-dist/source/latex/disser/autoref.dtx
index d652f7c84f1..752616088d5 100644
--- a/Master/texmf-dist/source/latex/disser/autoref.dtx
+++ b/Master/texmf-dist/source/latex/disser/autoref.dtx
@@ -8,11 +8,11 @@
%
% Вертикальные интервалы между элементами титульного листа.
% \begin{macrocode}
-\def\firstskip{\vskip1cm}
-\def\secondskip{\vskip2cm}
-\def\thirdskip{\vskip1cm}
-\def\fourthskip{\vskip1cm}
-\def\fifthskip{\vskip1cm}
+\deflength\firstskip{1cm}
+\deflength\secondskip{2cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
@@ -24,7 +24,7 @@
% \end{macrocode}
% На правах рукописи
% \begin{macrocode}
- \firstskip
+ \vskip\firstskip
\asmanuscriptname\\
\ifDis@facsimile\facsimile\fi
\end{flushright}
@@ -32,22 +32,22 @@
% \end{macrocode}
% Автор
% \begin{macrocode}
- \secondskip
+ \vskip\secondskip
{\authorfont\@author}
% \end{macrocode}
% Название диссертации
% \begin{macrocode}
- \thirdskip
+ \vskip\thirdskip
{\topicfont\@topic\par}
% \end{macrocode}
% Шифр и наименование специальности
% \begin{macrocode}
- \fourthskip
+ \vskip\fourthskip
{\specfont\@specnum~--\;\@spec}
% \end{macrocode}
% Диссертация на соискание ученой степени...
% \begin{macrocode}
- \fifthskip
+ \vskip\fifthskip
{\titlefont\@title}
\end{center}
%</autoref>
diff --git a/Master/texmf-dist/source/latex/disser/bachelor.dtx b/Master/texmf-dist/source/latex/disser/bachelor.dtx
index 739c0a07d49..ae7742db795 100644
--- a/Master/texmf-dist/source/latex/disser/bachelor.dtx
+++ b/Master/texmf-dist/source/latex/disser/bachelor.dtx
@@ -14,17 +14,11 @@
% \DescribeMacro{\fifthskip}\index{Расстояния!\verb*+\fifthskip+}
% \begin{macrocode}
-\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
-\setlength\firstskip{1.5cm}
-\setlength\secondskip{1.5cm}
-\setlength\thirdskip{1ex}
-\setlength\fourthskip{1ex}
-\setlength\fifthskip{2cm}
+\deflength\firstskip{1.5cm}
+\deflength\secondskip{1.5cm}
+\deflength\thirdskip{1ex}
+\deflength\fourthskip{1ex}
+\deflength\fifthskip{2cm}
% \end{macrocode}
% Шрифты элементов титульного листа.
diff --git a/Master/texmf-dist/source/latex/disser/candidate.dtx b/Master/texmf-dist/source/latex/disser/candidate.dtx
index 41f230ac824..0f9e04ac509 100644
--- a/Master/texmf-dist/source/latex/disser/candidate.dtx
+++ b/Master/texmf-dist/source/latex/disser/candidate.dtx
@@ -15,25 +15,18 @@
% \DescribeMacro{\sixthskip}\index{Расстояния!\verb*+\sixthskip+}
% \begin{macrocode}
\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-\newlength\sixthskip
-
\ifDis@libcat
\setlength\firstskip{2ex}
\else
\setlength\firstskip{4ex}
\fi
-\setlength\secondskip{2cm}
-\setlength\thirdskip{1cm}
-\setlength\fourthskip{1cm}
-\setlength\fifthskip{1cm}
-\setlength\sixthskip{0pt}
+\deflength\secondskip{2cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
+\deflength\sixthskip{0pt}
-\newlength\@sahshift
-\setlength\@sahshift{8cm}
+\deflength\@sahshift{8cm}
% \end{macrocode}
% Шрифты элементов титульного листа.
diff --git a/Master/texmf-dist/source/latex/disser/chapter.dtx b/Master/texmf-dist/source/latex/disser/chapter.dtx
index 2ad390b64d9..3562d7b78ca 100644
--- a/Master/texmf-dist/source/latex/disser/chapter.dtx
+++ b/Master/texmf-dist/source/latex/disser/chapter.dtx
@@ -49,6 +49,7 @@
\providecommand\chapterfont{\Large\bfseries}
\providecommand\beforechapter{}
\providecommand\afterchapter{\par\nobreak\vskip 20\p@}
+\providecommand\chapterindent{0pt}
% \end{macrocode}
%
@@ -87,9 +88,6 @@
{\def\\{ }\addcontentsline{toc}{chapter}{#1}}%
\fi
\chaptermark{#1}%
-% \end{macrocode}
-% Добавление вертикальных разделителей в списки рисунков и таблиц.
-% \begin{macrocode}
\addtocontents{lof}{\protect\addvspace{10\p@}}%
\addtocontents{lot}{\protect\addvspace{10\p@}}%
\if@twocolumn
@@ -104,22 +102,15 @@
% \DescribeMacro{\@makechapterhead}\index{Макросы!\verb+"\"@makechapterhead+}
% Формат нумеруемого заголовка.
% \begin{macrocode}
-\def\@makechapterhead#1{%
- {%
-% \end{macrocode}
-% Установка нулевого абзацного отступа.
-% \begin{macrocode}
- \parindent \z@ \raggedright \normalfont
-% \end{macrocode}
-% Постоянная часть заголовка.
-% \begin{macrocode}
- \ifnum \c@secnumdepth >\m@ne
- {\thechapterfont\thechapteralign\@seccntformat{chapter}}
- \fi
- \interlinepenalty\@M
- \chapterfont\chapteralign\beforechapter #1\afterchapter
- }
-}
+\def\@makechapterhead#1{{%
+ \parindent\z@
+ \normalfont\hskip\chapterindent%
+ \ifnum \c@secnumdepth >\m@ne
+ {\thechapterfont\thechapteralign\@seccntformat{chapter}}
+ \fi
+ \interlinepenalty\@M
+ \chapterfont\chapteralign\beforechapter #1\afterchapter
+}}
% \end{macrocode}
%
@@ -140,13 +131,12 @@
% \DescribeMacro{\@makeschapterhead}\index{Макросы!\verb+"\"@makeschapterhead+}
% Формат ненумеруемого заголовка.
% \begin{macrocode}
-\def\@makeschapterhead#1{%
- {%
- \parindent \z@ \raggedright
- \normalfont\interlinepenalty\@M
- \chapteralign{\chapterfont\beforechapter #1\afterchapter}
- }
-}
+\def\@makeschapterhead#1{{%
+ \parindent\z@
+ \normalfont\hskip\chapterindent%
+ \interlinepenalty\@M
+ \chapteralign\chapterfont\beforechapter #1\afterchapter
+}}
% \end{macrocode}
%
% \DescribeMacro{\l@chapter}\index{Макросы!\verb+"\l"@chapter+}
@@ -213,6 +203,7 @@
\providecommand\appendixfont{\Large\bfseries}
\providecommand\beforeappendix{}
\providecommand\afterappendix{\par\nobreak\vskip 20\p@}
+\providecommand\appendixindent{0pt}
% \end{macrocode}
%
% \DescribeMacro{\appendix}\index{Макросы!\verb*+\appendix+}
@@ -242,6 +233,7 @@
\let\oldchapteralign=\chapteralign
\let\oldchapterfont=\chapterfont
+ \let\oldchapterindent=\chapterindent
\let\oldbeforechapter=\afterchapter
\let\oldafterchapter=\afterchapter
\let\oldthechapter=\thechapter
@@ -266,6 +258,7 @@
\renewcommand\chapterfont{\appendixfont}
\renewcommand\beforechapter{\beforeappendix}
\renewcommand\afterchapter{\afterappendix}
+ \renewcommand\chapterindent{\appendixindent}
\gdef\thechapter{\theappendix}
}
diff --git a/Master/texmf-dist/source/latex/disser/custom.dtx b/Master/texmf-dist/source/latex/disser/custom.dtx
index 100e9964c7b..2d86b8f44e7 100644
--- a/Master/texmf-dist/source/latex/disser/custom.dtx
+++ b/Master/texmf-dist/source/latex/disser/custom.dtx
@@ -8,18 +8,7 @@
%<*custom>
% \end{macrocode}
% \subsection{Подключение и настройка сторонних пакетов}
-% Отступ в первой строке первого абзаца.
-% \begin{macrocode}
-\let\@afterindentfalse\@afterindenttrue
-\@afterindenttrue
-% \end{macrocode}
-% Перенос в словах с дефисом.
-% \begin{macrocode}
-\lccode`\-=`\-
-\defaulthyphenchar=127
-\hyphenchar\font=127
-% \end{macrocode}
-% Опция |intlimits| включает расстановку пределов интегрирования сверху и снизу.
+%
% \DescribePackage{amsmath}\index{Пакеты!\verb*+amsmath+}
% \DescribePackage{amssymb}\index{Пакеты!\verb*+amssymb+}
% \DescribePackage{amsfonts}\index{Пакеты!\verb*+amsfonts+}
@@ -28,10 +17,24 @@
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
\fi
+
% \end{macrocode}
-% Использование шрифта Times вместо Computer Modern Roman.
+% Подключение шрифта Times вместо Computer Modern Roman.
% \begin{macrocode}
\ifDis@times
+% \end{macrocode}
+% Реализация команд |\English| и |\Eng| без переключения кодировок шрифта.
+% Это необходимо для корректного отображения символа переноса строки при
+% использовании пакетов |pscyr| и |cyrtimes|.
+% \DescribeMacro{\English}\index{Макросы!\verb*+\English+}
+% \DescribeMacro{\Eng}\index{Макросы!\verb*+\Eng+}
+% \begin{macrocode}
+ \AtBeginDocument{
+ \DeclareRobustCommand{\English}{%
+ \expandafter\set@hyphenmins\englishhyphenmins
+ \language\l@english}%
+ \let\Eng=\English
+ }
\ifDis@mtpro
\AtBeginDocument{%
% \end{macrocode}
@@ -39,7 +42,10 @@
% \begin{macrocode}
\IfFileExists{mtpro.sty}{
\usepackage[subscriptcorrection,nofontinfo,boldalphabet]{mtpro}
- }{\PackageWarning{disser}{Unable to find mtpro package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find mtpro package. Font is unchanged.}
+ }
}
\else
% \end{macrocode}
@@ -48,33 +54,38 @@
\AtEndOfPackage{%
\IfFileExists{txfonts.sty}{
\usepackage{txfonts}
- }{\PackageWarning{disser}{Unable to find txfonts package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find txfonts package. Font is unchanged.}
+ }
}
\fi
\AtEndOfPackage{%
\IfFileExists{pscyr.sty}{
% \end{macrocode}
% \DescribePackage{pscyr}\index{Пакеты!\verb*+pscyr+}
-% \begin{macrocode}
- \usepackage{pscyr}
-% \end{macrocode}
% Установка Times как шрифта по умолчанию.
-% \begin{macrocode}
- \renewcommand\rmdefault{ftm}
-% \end{macrocode}
% Выбор стандартного моноширинного шрифта.
% \begin{macrocode}
+ \usepackage{pscyr}
+ \renewcommand\rmdefault{ftm}
\renewcommand\ttdefault{cmtt}
}{
\IfFileExists{cyrtimes.sty}{
% \end{macrocode}
% \DescribePackage{cyrtimes}\index{Пакеты!\verb*+cyrtimes+}
+% Вместо |pscyr| может быть использован пакет |cyrtimes|, входящий в состав
+% дистрибутива \TeX Live.
% \begin{macrocode}
\usepackage{cyrtimes}
- }{\PackageWarning{disser}{Unable to find pscyr or cyrtimes package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find pscyr or cyrtimes package. Font is unchanged.}
+ }
}
}
\fi
+
% \end{macrocode}
% Более естественные символы интегралов из шрифтов семейства Euler.
% \begin{macrocode}
@@ -102,53 +113,13 @@
\renewcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
}{}
\fi
+
% \end{macrocode}
+% \subsubsection{Библиографические ссылки}
% \DescribePackage{natbib}\index{Пакеты!\verb*+natbib+}
-% Пакет для оформления библиографических ссылок.
% \begin{macrocode}
\usepackage[square, comma, sort&compress, numbers]{natbib}
-% \end{macrocode}
-% \DescribeMacro{\metaphantom}\index{Макросы!\verb*+\metaphantom+}
-% Команда для исправления PDF-закладок, указывающих на ненумеруемые разделы
-% (|\chapter*|, |\section*| и т. п.).
-% \begin{macrocode}
-\def\metaphantom#1{%
- \ifDis@href
- \Hy@GlobalStepCount\Hy@linkcounter
- \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
- \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
- \fi
-}
-% \end{macrocode}
-% Команда для создания ненумеруемых глав, которые будут включены в
-% Содержание и PDF-закладки. Для того, чтобы закладка указывала именно на
-% заголовок, а не на первый абзац под ним, нужно поместить |\metaphantom{chapter}|
-% и |\addcontentsline| внутри аргумента |\chapter*|. Честно говоря, мне это
-% не нравится. Надо придумать что-то более простое и изящное.
-% \DescribeMacro{\nchapter}\index{Макросы!\verb*+\nchapter+}
-% \DescribeMacro{\nsection}\index{Макросы!\verb*+\nsection+}
-% \DescribeMacro{\nsubsection}\index{Макросы!\verb*+\nsubsection+}
-% \DescribeMacro{\nsubsubsection}\index{Макросы!\verb*+\nsubsubsection+}
-% \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}\index{Макросы!\verb*+\bibsection+}
@@ -177,14 +148,18 @@
\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}
+% \subsubsection{Плавающие объекты}
+%
+% \DescribePackage{wrapfig}\index{Пакеты!\verb*+wrapfig+}
% Плавающие рисунки ``в оборку''.
% \begin{macrocode}
\usepackage{wrapfig}
@@ -207,15 +182,11 @@
\providecommand\thefigsubsep{,~}
\def\p@subfigure{\@nameuse{thefigure}\thefigsubsep}
\fi
+
% \end{macrocode}
-%
-% Подключение и настройка параметров пакета |hyperref|:
+% \subsubsection{Hyperref}
% \begin{macrocode}
\ifpdf
-% \end{macrocode}
-% \begin{itemize}
-% \item для pdf\LaTeX{}
-% \begin{macrocode}
\ifDis@href
% \end{macrocode}
% \DescribePackage{hyperref}\index{Пакеты!\verb*+hyperref+}
@@ -238,10 +209,6 @@
\usepackage[pdftex]{graphicx}
\usepackage{cmap}
\else
-% \end{macrocode}
-% \item для \LaTeX{}
-% \end{itemize}
-% \begin{macrocode}
\ifDis@href
% \end{macrocode}
% \DescribePackage{hyperref}\index{Пакеты!\verb*+hyperref+}
@@ -262,5 +229,55 @@
\usepackage{hypernat}
\usepackage[all]{hypcap}
\fi
+
+% \end{macrocode}
+% \DescribeMacro{\metaphantom}\index{Макросы!\verb*+\metaphantom+}
+% Команда, создающая цель для |hyperref| над заголовками ненумеруемых разделов.
+% \begin{macrocode}
+\def\metaphantom#1{%
+ \ifDis@href
+ \Hy@GlobalStepCount\Hy@linkcounter
+ \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
+ \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
+ \fi
+}
+
+% \end{macrocode}
+% Команды для создания ненумеруемых глав и секций, которые включаются в
+% Содержание и PDF-закладки.
+% \DescribeMacro{\nchapter}\index{Макросы!\verb*+\nchapter+}
+% \DescribeMacro{\nsection}\index{Макросы!\verb*+\nsection+}
+% \DescribeMacro{\nsubsection}\index{Макросы!\verb*+\nsubsection+}
+% \DescribeMacro{\nsubsubsection}\index{Макросы!\verb*+\nsubsubsection+}
+% \begin{macrocode}
+\newcommand\nchapter[1]{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{\@chapterpagestyle}%
+ \global\@topnum\z@
+ \metaphantom{chapter}
+ {\def\\{ }\addcontentsline{toc}{chapter}{#1}}%
+ \@afterindentfalse
+ \@schapter{#1}
+}
+\newcommand\nsection[1]{%
+ \metaphantom{section}%
+ \addcontentsline{toc}{section}{#1}
+ \section*{#1}
+}
+\newcommand\nsubsection[1]{%
+ \metaphantom{subsection}%
+ \addcontentsline{toc}{subsection}{#1}
+ \subsection*{#1}
+}
+\newcommand\nsubsubsection[1]{%
+ \metaphantom{subsubsection}%
+ \addcontentsline{toc}{subsubsection}{#1}
+ \subsubsection*{#1}
+}
+
%</custom>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/disser-bst.dtx b/Master/texmf-dist/source/latex/disser/disser-bst.dtx
index 0e519751885..7e504c7d62d 100644
--- a/Master/texmf-dist/source/latex/disser/disser-bst.dtx
+++ b/Master/texmf-dist/source/latex/disser/disser-bst.dtx
@@ -22,13 +22,13 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<*driver>
-\ProvidesFile{disser-bst.drv}[2008/12/01 1.0.0 Bibliography style for dissertations.]
+\ProvidesFile{disser-bst.drv}[2009/06/19 1.1.2 Bibliography style for dissertations.]
\documentclass{ltxdoc}
\usepackage[a4paper, includeheadfoot, nohead, mag=1000,
left=5cm, right=1cm, top=1.5cm, bottom=1.5cm]{geometry}
\usepackage{ifpdf,indentfirst,color}
-\definecolor{darkblue}{rgb}{0,0,.5}
+\definecolor{darkblue}{rgb}{0,0,.6}
\ifpdf
\usepackage[%
pdftex,
@@ -50,7 +50,7 @@
\fi
\hypersetup{
- colorlinks = true, linkcolor = black,
+ colorlinks = true, linkcolor = darkblue,
citecolor = darkblue, filecolor = darkblue,
menucolor = darkblue, urlcolor = darkblue
}
@@ -87,7 +87,7 @@
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \title{\texttt{disser.bst} "--- стиль библиографических ссылок}
+% \title{Стили библиографии: \texttt{disser} и \texttt{disser-s}}
% \date{Версия \fileversion\\[6pt]\filedate}
% \author{Станислав Кручинин\\[6pt]
% \normalsize E-mail:
@@ -96,69 +96,10 @@
%
% \maketitle
%
-% \tableofcontents
-%
-% \section{Введение}
-%
-% Cтиль для оформления библиографических ссылок |disser.bst| представляет собой
-% доработанную версию |gost71u.bst| из пакета |gost|, написанного Максимом Поляковым.
-% Создание |disser.bst| обусловлено следующими причинами: пакет |gost| более не
-% поддерживается автором, а оформление библиографии в соответствии с его стилями
-% противоречит некоторым требованиям, предъявляемым диссертационными советами
-% к библиографическим ссылкам.
-%
-% Основные отличия |disser.bst| от |gost71u.bst|:
-%
-% \begin{enumerate}
-% \item Инициалы авторов всегда печатаются перед фамилией.
-% \item Авторы, независимо от их количества, всегда печатаются перед
-% названием источника.
-% \item Отсутствует поддержка украинского языка.
-% \item Настраиваемый префикс у номера библиографической ссылки (макрос |\BibPrefix|).
-% \end{enumerate}
-%
-% \section{Руководство по использованию}
-%
-% Для использования |disser.bst| необходима версия \BibTeX{} с поддержкой
-% 8-битных символов (|bibtex8|). В зависимости от кодировки, использованной
-% в bib-файле, необходимо подключать тот или иной файл с описанием кодовой
-% страницы и порядка сортировки (csf-файл), например, |koi8u.csf| или
-% |cp1251.csf|. Примеры библиографических записей приведены в документации к
-% пакету |gost|, который может быть найден в любом современном дистрибутиве \LaTeX{}.
-%
-% Последовательность команд, используемая для полной сборки документа
-% с библиографией:
-% \begin{verbatim}
-% latex <tex_file>
-% bibtex8 -H -c <csf_file> <tex_file_basename>
-% latex <tex_file>
-% latex <tex_file>
-% \end{verbatim}
-% Здесь |<tex_file>| "--- файл документа, |<csf_file>| "--- файл описания
-% кодовой страницы, |<tex_file_basename>| "--- имя файла документа без расширения.
-%
-% Данный стиль позволяет менять префикс номера ссылок, т.\,е. использовать
-% ссылки вида [A1] вместо [1]. Эта возможность необходима поскольку в
-% автореферате следует различать ссылки на работы соискателя и на внешние
-% источники. Префикс номера ссылки определяется макросом |\BibPrefix|,
-% значение которого должно быть задано до использования команды
-% |\bibliographystyle|.
-%
-% Пример:
-% \begin{verbatim}
-% \def\BibPrefix{A}
-% \bibliographystyle{disser}
-% \bibliography{thesis}\end{verbatim}
-% В данном случае ссылки на библиографию будут иметь вид [A$n$], где $n$ "---
-% номер.
-%
-% К сожалению, пакет |natbib| не <<сжимает>> ссылки, содержащие нецифровые
-% символы. Поэтому ссылки вида [A1, A2, A3, A4] не преобразуются к более
-% компактной форме [A1--A4]. Ведется работа над исправлением этого недостатка.
-%
% \section{Исходный текст}\parindent=0pt
% \begin{macrocode}
-%<*disser-bst>
+
+%<*disser-bst|disser-s-bst>
% \end{macrocode}
% Список полей, используемых в bib-файлах.
@@ -840,6 +781,7 @@ FUNCTION {output.bibitem}
"\bibitem[" write$
"\BibPrefix" write$
label write$
+ "\BibPostfix" write$
"]{" write$
cite$ write$
"}" write$
@@ -1544,6 +1486,121 @@ MACRO {tcs} {"Theoretical Computer Science"}
READ
+%<*disser-s-bst>
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { nameptr #1 >
+ { " " * }
+ 'skip$
+ if$
+ s nameptr
+ "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
+ format.name$ 't :=
+ nameptr numnames = t "others" = and
+ { "et al" * }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+
+FUNCTION {author.title.sort}
+{ author empty$
+ { title empty$
+ { key empty$
+ { "to sort, need author, title, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { title sort.format.title }
+ if$
+ }
+ {
+ author num.names$ #4 <
+ {author sort.format.names }
+ {title sort.format.title}
+ if$
+ }
+ if$
+}
+
+
+FUNCTION {presort}
+{
+ author.title.sort
+ " "
+ *
+ year field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null
+ sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+ITERATE {presort}
+
+SORT
+
+%</disser-s-bst>
STRINGS { longest.label }
@@ -1572,15 +1629,16 @@ ITERATE {longest.label.pass}
FUNCTION {begin.bib}
{
- "\ifx\undefined\BibPrefix\def\BibPrefix{}\else\fi" write$ newline$
- "\begin{thebibliography}{\BibPrefix" longest.label * "}" * write$ newline$
- "\def\selectlanguageifdefined#1{" write$ newline$
- "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
+ "\ifx\undefined\BibPrefix\def\BibPrefix{}\else\fi" write$ newline$
+ "\ifx\undefined\BibPostfix\def\BibPostfix{}\else\fi" write$ newline$
+ "\begin{thebibliography}{\BibPrefix" longest.label * "\BibPostfix}" * write$ newline$
+ "\def\selectlanguageifdefined#1{" write$ newline$
+ "\expandafter\ifx\csname date#1\endcsname\relax" write$ newline$
"\else\language\csname l@#1\endcsname\fi}" write$ newline$
- "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$
- "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
- "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
- "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\url\def\url#1{{\small #1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibUrl\def\BibUrl#1{\url{#1}}\else\fi" write$ newline$
+ "\ifx\undefined\BibAnnote\long\def\BibAnnote#1{}\else\fi" write$ newline$
+ "\ifx\undefined\BibEmph\def\BibEmph#1{\emph{#1}}\else\fi" write$ newline$
preamble$ empty$
'skip$
{ preamble$ write$ newline$ }
@@ -1600,5 +1658,5 @@ FUNCTION {end.bib}
EXECUTE {end.bib}
-%</disser-bst>
+%</disser-bst|disser-s-bst>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/disser.dtx b/Master/texmf-dist/source/latex/disser/disser.dtx
index 61767fad42f..6757a7688ff 100644
--- a/Master/texmf-dist/source/latex/disser/disser.dtx
+++ b/Master/texmf-dist/source/latex/disser/disser.dtx
@@ -19,7 +19,7 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<*driver>
-\ProvidesFile{disser.drv}[2009/04/08 1.1.1 Document class for dissertations.]
+\ProvidesFile{disser.drv}[2009/06/11 1.1.2 Document class for dissertations]
\documentclass{ltxdoc}
\usepackage[a4paper, includeheadfoot, nohead, mag=1000,
@@ -27,11 +27,12 @@
\usepackage{ifpdf,indentfirst,tabularx,doc}
\usepackage{makeidx,longtable,color}
-\definecolor{darkblue}{rgb}{0,0,.5}
+\definecolor{darkblue}{rgb}{0,0,.6}
\ifpdf
\usepackage[pdftex,hyperindex,unicode]{hyperref}
\usepackage{cmap}
+ \usepackage{hypdestopt}
\else
\usepackage[hypertex]{hyperref}
\fi
@@ -45,13 +46,11 @@
bookmarksopen = true,
bookmarksnumbered = true,
bookmarksopenlevel = 2,
- colorlinks = true, linkcolor = black,
+ colorlinks = true, linkcolor = darkblue,
citecolor = darkblue, filecolor = darkblue,
menucolor = darkblue, urlcolor = darkblue
}
-\ifpdf\usepackage{hypdestopt}\fi
-
\IfFileExists{pscyr.sty}{%
\usepackage{pscyr}
\renewcommand\ttdefault{cmtt}
@@ -124,7 +123,7 @@
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \title{|disser| "--- класс \LaTeX{} для оформления диссертаций}
+% \title{|disser| "--- пакет для оформления диссертаций}
% \date{Версия \fileversion\\[6pt]\filedate}
% \author{Станислав Кручинин\\[6pt]
% \normalsize E-mail:
@@ -133,27 +132,29 @@
%
% \maketitle
%
-% \section{Обзор документации}
+% \section*{Обзор документации}
%
-% Документация пакета |disser| включает следующие файлы:
+% Документация пакета |disser| состоит из следующих файлов:
%
-% \begingroup
% \begin{deflist}{README, README.ru}
-% \item[\href{file:manual.pdf}{Manual.pdf}] Руководство пользователя.
-% \item[README, README.ru] Информация о сборке и установке пакета (текстовые файлы).
+% \item[\href{file:manual.pdf}{manual.pdf}] Руководство пользователя.
+% \item[README, README.ru] Информация о сборке и установке пакета
+% (текстовые файлы).
% \item[ChangeLog] История версий (текстовый файл).
% \end{deflist}
-% \endgroup
+%
% Документированные исходные тексты:
% \begin{deflist}{disser-bst.dtx}
-% \item[\href{file:disser.pdf}{disser.dtx}] Исходный текст класса |disser| (данный файл).
+% \item[\href{file:disser.pdf}{disser.dtx}] Исходный текст класса |disser|
+% (данный файл).
% \item[\href{file:gost732.pdf}{gost732.dtx}]
% Исходный текст класса класса |gost732| для оформления документов в
% соответствии с ГОСТ 7.32-2001.
% \item[\href{file:disser-bst.pdf}{disser-bst.dtx}]
-% Стиль библиографических ссылок.
+% Исходный текст стилей библиографии |disser.bst| и |disser-s.bst|.
% \end{deflist}
%
+% \clearpage
% \tableofcontents
%
% \section{Исходный текст класса}\parindent=0pt
@@ -162,10 +163,10 @@
%<*disser>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2008/04/08 1.1.1 Document class for dissertations.]
+\ProvidesClass{disser}[2009/06/11 1.1.2 Document class for dissertations]
% \end{macrocode}
-% Расширение включаемых в |disser.cls| файлов.
+% Расширение файлов, включаемых в |disser.cls|.
% \begin{macrocode}
\def\substyle@ext{.rtx}
@@ -176,6 +177,7 @@
% \DescribePackage{ifpdf}\index{Пакеты!\verb*+ifpdf+}
% \begin{macrocode}
\RequirePackage{ifpdf}
+
% \end{macrocode}
% \item Разрешено оставлять одну колонку при двухколонном наборе.
% \begin{macrocode}
@@ -224,6 +226,7 @@
% \item Поддержка математических шрифтов MathTime Pro (отключено).
% \begin{macrocode}
\newif\ifDis@mtpro\Dis@mtprofalse
+
% \end{macrocode}
% \end{itemize}
%
@@ -232,29 +235,24 @@
% Подключение пакета |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}
\DeclareOption{libcat}{\Dis@libcattrue}
-
% \end{macrocode}
% Отображение подписей диссертанта и ученого секретаря.
% \begin{macrocode}
\DeclareOption{facsimile}{\Dis@facsimiletrue}
-
% \end{macrocode}
% Не подключать пакеты |amsmath|, |amsfonts|, |amssymb|.
% \begin{macrocode}
@@ -420,7 +418,7 @@
% \end{macrocode}
% Выполнение опций по умолчанию.
% \begin{macrocode}
-\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany}
+\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany,candidate}
% \end{macrocode}
% Выполнение пользовательских опций.
% \begin{macrocode}
@@ -448,8 +446,6 @@
% \subsection{Настройка шрифтов}
% \subsubsection{Определение размеров}
%
-% Эти вещи должны быть в стандартных классах.
-% Ради таких незначительных отличий не стоило городить |extarticle|, |extreport|, |extbook|.
% \begin{macrocode}
\def\EC@family#1#2#3#4#5{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
@@ -513,8 +509,6 @@
%
% \subsubsection{Старые команды изменения начертания шрифтов (без NFSS)}
%
-% Опять же, не ясно, почему все это вынесено в классы, а не входит в ядро.
-%
% Изменение начертания в текстовом режиме.
% \begin{macrocode}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -531,21 +525,28 @@
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
% \end{macrocode}
+% Команда, объединяющая |\newlength| и |\setlength|.
+% \DescribeMacro{\deflength}\index{Макросы!\verb*+\deflength+}
+% \begin{macrocode}
+\providecommand\deflength[2]{\newlength{#1}\setlength{#1}{#2}}
+
+% \end{macrocode}
%
-% \subsection{Параметры основного текста}
+% \subsection{Параметры текста}
%
% \DescribeMacro{\lineskip}\index{Расстояния!\verb*+\lineskip+}
% \DescribeMacro{\normallineskip}\index{Расстояния!\verb*+\normallineskip+}
-% Вертикальный интервал между строками. Упоминаемый здесь и далее макрос |\p@|
-% определяет стандартную единицу длины. По умолчанию она равна английскому пункту (pt).
+% Вертикальный интервал между строками. Упоминаемый здесь и далее макрос
+% |\p@| определяет стандартную единицу длины. По умолчанию она равна
+% английскому пункту (pt).
% \begin{macrocode}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
+
% \end{macrocode}
-%
-% \DescribeMacro{\singlespacing}\index{Макросы!\verb*+\singlespacing+}
+% \DescribeMacro{\singlespacing} \index{Макросы!\verb*+\singlespacing+}
% \DescribeMacro{\onehalfspacing}\index{Макросы!\verb*+\onehalfspacing+}
-% \DescribeMacro{\doublespacing}\index{Макросы!\verb*+\doublespacing+}
+% \DescribeMacro{\doublespacing} \index{Макросы!\verb*+\doublespacing+}
% Характерные величины межстрочнах интервалов.
% \begin{macrocode}
\newcommand\singlespacing {\renewcommand\baselinestretch{1}\normalsize}
@@ -555,6 +556,13 @@
% Межстрочный интервал по умолчанию.
% \begin{macrocode}
\onehalfspacing
+
+% \end{macrocode}
+% \DescribeMacro{\parindent}\index{Расстояния!\verb*+\parindent+}
+% Абзацный отступ.
+% \begin{macrocode}
+\setlength\parindent{1cm}
+
% \end{macrocode}
% Интервал между абзацами (добавляется к межстрочному).
% \DescribeMacro{\parskip}\index{Расстояния!\verb*+\parskip+}
@@ -567,6 +575,7 @@
% \DescribeMacro{\columnsep}\index{Расстояния!\verb*+\columnsep+}
% \begin{macrocode}
\setlength\columnsep{10\p@}
+
% \end{macrocode}
%
% Ширина разделителя (линии) между колонками текста (по умолчанию его нет).
@@ -575,33 +584,24 @@
\setlength\columnseprule{0\p@}
% \end{macrocode}
-% Описание структуры заголовков.
-% \begin{itemize}
-% \item в тексте,
-% \DescribeMacro{\@seccntformat}\index{Макросы!\verb*+"\"@seccntformat+}
-% \begin{macrocode}
-\def\@seccntformat#1{%
- \csname prethe#1\endcsname%
- \csname the#1\endcsname%
- \csname postthe#1\endcsname%
-}
-% \end{macrocode}
-% \item в Содержании.
-% \DescribeMacro{\@tocseccntformat}\index{Макросы!\verb*+"\"@tocseccntformat+}
-% \begin{macrocode}
-\def\@tocseccntformat#1{%
- \csname tocprethe#1\endcsname%
- \csname tocthe#1\endcsname%
- \csname tocpostthe#1\endcsname%
-}
-
-% \end{macrocode}
-% \end{itemize}
% Характерные величины штрафов. Штраф --- мера <<красоты>> разбиения
% абзаца на строки. Чем больше величина, тем менее красиво.
% \begin{macrocode}
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
+
+% \end{macrocode}
+% Всегда ставить отступ в первой строке первого абзаца.
+% \begin{macrocode}
+\let\@afterindentfalse\@afterindenttrue
+\@afterindenttrue
+
+% \end{macrocode}
+% Перенос в словах с дефисом.
+% \begin{macrocode}
+\lccode`\-=`\-
+\defaulthyphenchar=127
+
%</disser>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/disser.ins b/Master/texmf-dist/source/latex/disser/disser.ins
index e228fbdc2ba..9be2772c2db 100644
--- a/Master/texmf-dist/source/latex/disser/disser.ins
+++ b/Master/texmf-dist/source/latex/disser/disser.ins
@@ -52,6 +52,7 @@ This file is part of the disser package.
\clsfile{gost732}
\nopostamble
\file{disser.bst}{\from{disser-bst.dtx}{disser-bst}}
+ \file{disser-s.bst}{\from{disser-bst.dtx}{disser-s-bst}}
}
%\def\npostamble{}\usepostamble\npostamble
\endbatchfile
diff --git a/Master/texmf-dist/source/latex/disser/doctor.dtx b/Master/texmf-dist/source/latex/disser/doctor.dtx
index 98fd74da174..5bf6b770de0 100644
--- a/Master/texmf-dist/source/latex/disser/doctor.dtx
+++ b/Master/texmf-dist/source/latex/disser/doctor.dtx
@@ -14,20 +14,15 @@
% \DescribeMacro{\fifthskip}\index{Расстояния!\verb*+\fifthskip+}
% \begin{macrocode}
\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
\ifDis@libcat
\setlength\firstskip{1ex}
\else
\setlength\firstskip{4ex}
\fi
-\setlength\secondskip{3cm}
-\setlength\thirdskip{1cm}
-\setlength\fourthskip{1cm}
-\setlength\fifthskip{1cm}
+\deflength\secondskip{3cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
% \end{macrocode}
% Шрифты элементов титульного листа.
diff --git a/Master/texmf-dist/source/latex/disser/env.dtx b/Master/texmf-dist/source/latex/disser/env.dtx
index 18fc0f82d2d..2c419560422 100644
--- a/Master/texmf-dist/source/latex/disser/env.dtx
+++ b/Master/texmf-dist/source/latex/disser/env.dtx
@@ -56,6 +56,7 @@
\fi
}{\if@twocolumn\else\endquotation\fi}
\fi
+
% \end{macrocode}
% \DescribeEnv{quotation}\index{Окружения!\verb*+quotation+}
% \subsubsection{Цитирование}
@@ -69,6 +70,7 @@
}
\item\relax
}{\endlist}
+
% \end{macrocode}
% \DescribeEnv{quote}\index{Окружения!\verb*+quote+}
% \subsubsection{Выдержка}
@@ -77,6 +79,7 @@
\list{}{\rightmargin\leftmargin}
\item\relax
}{\endlist}
+
% \end{macrocode}
% \DescribeEnv{titlepage}\index{Окружения!\verb*+titlepage+}
% \subsubsection{Титульный лист}
@@ -93,6 +96,7 @@
\if@restonecol\twocolumn\else\newpage\fi
\if@twoside\else\setcounter{page}\@ne\fi
}
+
% \end{macrocode}
%
% \DescribeEnv{figure}\index{Окружения!\verb*+figure+}
@@ -111,7 +115,7 @@
\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
% \end{macrocode}
%
-% \subsubsection{Окружения типа <<теорема>>}
+% \subsubsection{Генератор окружений типа <<теорема>>}
%
% \DescribeMacro{\newtheorem}\index{Макросы!\verb*+\newtheorem+}
% Переопределяем |\newtheorem|, так чтобы автоматически создавались
@@ -143,7 +147,7 @@
% \end{macrocode}
% Стиль опционального аргумента (текста в скобках после заголовка и номера).
% \begin{macrocode}
- \global\@namedef{oparg#1style}{\rm}
+ \global\@namedef{oparg#1style}{\upshape}
% \end{macrocode}
% Символы, окружающие опциональный аргумент (по умолчанию --- круглые скобки).
% \begin{macrocode}
@@ -168,19 +172,20 @@
\@opargbegintheorem{#1}{#2}{#3}\ignorespaces}
\def\@begintheorem#1#2{\trivlist
- \item[\hskip \labelsep{\csname the#1style\endcsname #2\ %
- \csname the#1\endcsname\unskip%
- \csname postthe#1\endcsname}]%
- \csname #1style\endcsname}
+ \item[\hskip\labelsep%
+ {\csname the#1style\endcsname #2\ %
+ \csname the#1\endcsname\unskip\csname postthe#1\endcsname}]%
+ \csname #1style\endcsname%
+}
\def\@opargbegintheorem#1#2#3{\trivlist
- \item[\hskip \labelsep{%
- {\csname the#1style\endcsname #2}\ %
- \csname the#1\endcsname\ %
+ \item[\hskip\labelsep%
+ {\csname the#1style\endcsname #2\ \csname the#1\endcsname}\ %
{\csname oparg#1style\endcsname%
\csname preoparg#1\endcsname #3%
- \csname postoparg#1\endcsname}}]%
- \csname #1style\endcsname}
+ \csname postoparg#1\endcsname}]%
+ \csname #1style\endcsname%
+}
\def\@endtheorem{\endtrivlist}
diff --git a/Master/texmf-dist/source/latex/disser/floats.dtx b/Master/texmf-dist/source/latex/disser/floats.dtx
index 68564074eab..73115b45b46 100644
--- a/Master/texmf-dist/source/latex/disser/floats.dtx
+++ b/Master/texmf-dist/source/latex/disser/floats.dtx
@@ -86,14 +86,12 @@
% \DescribeMacro{\abovecaptionskip}\index{Расстояния!\verb*+\abovecaptionskip+}
% Вертикальный интервал перед подписью.
% \begin{macrocode}
-\newlength\abovecaptionskip
-\setlength\abovecaptionskip{10\p@}
+\deflength\abovecaptionskip{10\p@}
% \end{macrocode}
% \DescribeMacro{\belowcaptionskip}\index{Расстояния!\verb*+\belowcaptionskip+}
% Вертикальный интервал за подписью.
% \begin{macrocode}
-\newlength\belowcaptionskip
-\setlength\belowcaptionskip{0\p@}
+\deflength\belowcaptionskip{0\p@}
% \end{macrocode}
% \DescribeMacro{\captionlabeldelim}\index{Макросы!\verb*+\captionlabeldelim+}
% Разделитель метки (постоянная часть + номер) и текста подписи.
@@ -136,12 +134,12 @@
% \end{macrocode}
% \DescribeMacro{\fps@figure}
-% Описатель положения плавающих объектов типа |figure|.
+% Дескриптор положения плавающих объектов типа |figure|.
% \begin{macrocode}
\def\fps@figure{tbp}
% \end{macrocode}
% \DescribeMacro{\ftype@figure}
-% Номер типа, ассоциированный с |figure|.
+% Номер типа плавающего объекта |figure|.
% \begin{macrocode}
\def\ftype@figure{1}
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/footnote.dtx b/Master/texmf-dist/source/latex/disser/footnote.dtx
index eda861efbac..515e6e2dd03 100644
--- a/Master/texmf-dist/source/latex/disser/footnote.dtx
+++ b/Master/texmf-dist/source/latex/disser/footnote.dtx
@@ -10,16 +10,56 @@
%
% \subsection{Сноска}
%
+% \end{macrocode}
+% \DescribeMacro{\thefootnote}\index{Макросы!\verb+\thefootnote+}
+% Формат счетчика сносок.
+% \begin{macrocode}
+\def\thefootnote{\@arabic\c@footnote}
+
+% \end{macrocode}
+% \DescribeMacro{\thempfootnote}\index{Макросы!\verb+\thempfootnote+}
+% Формат счетчика сносок внутри окружения |minipage|.
+% \begin{macrocode}
+\def\thempfootnote{{\itshape\@alph\c@mpfootnote}}
+
+% \end{macrocode}
% \DescribeMacro{\footnoterule}\index{Макросы!\verb+\footnoterule+}
-% Горизонтальная линия, отделяющая сноску.
+% Команда, рисующая линию.
% \begin{macrocode}
-\renewcommand\footnoterule{%
+\def\footnoterule{%
\kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
}
+
+% \end{macrocode}
+% \DescribeMacro{\prethefootnote}\index{Макросы!\verb+\prethefootnote+}
+% \DescribeMacro{\postthefootnote}\index{Макросы!\verb+\postthefootnote+}
+% \DescribeMacro{\prefootnotetext}\index{Макросы!\verb+\prefootnotetext+}
+% Дополнительный текст до и после номера сноски, перед текстом сноски.
+% \begin{macrocode}
+\providecommand\prethefootnote{}
+\providecommand\postthefootnote{}
+\providecommand\prefootnote{\;}
+% \end{macrocode}
+% \DescribeMacro{\footnoteindent}\index{Расстояния!\verb+\footnoteindent+}
+% \begin{macrocode}
+\deflength{\footnoteindent}{\parindent}
+
+% \end{macrocode}
+% \DescribeMacro{\@makefnmark}\index{Макросы!\verb+\@makefnmark+}
+% Формат метки сноски.
+% \begin{macrocode}
+\def\@makefnmark{\hbox{\prethefootnote%
+\@textsuperscript{\normalfont\@thefnmark}%
+\postthefootnote}}
+
+% \end{macrocode}
+% \DescribeMacro{\@makefntext}\index{Макросы!\verb+\@makefntext+}
+% Команда, создающая текст сноски.
+% \begin{macrocode}
\newcommand\@makefntext[1]{%
- \parindent 1em%
- \noindent
- \hb@xt@1.8em{\hss\@makefnmark}#1
+ \noindent\hspace{\footnoteindent}%
+ \@makefnmark\prefootnote #1
}
+
%</footnote>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/gost732.dtx b/Master/texmf-dist/source/latex/disser/gost732.dtx
index 63eff10bf97..9f69893c5b4 100644
--- a/Master/texmf-dist/source/latex/disser/gost732.dtx
+++ b/Master/texmf-dist/source/latex/disser/gost732.dtx
@@ -20,7 +20,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%<*driver>
-\ProvidesFile{gost732.drv}[2007/11/29 1.0.1 GOST 7.32-2001 implementation.]
+\ProvidesFile{gost732.drv}[2009/06/19 1.1.2 GOST 7.32-2001 implementation]
\documentclass{ltxdoc}
\usepackage[a4paper, includeheadfoot, nohead, mag=1000,
@@ -29,7 +29,7 @@
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{ifpdf,indentfirst,color}
-\definecolor{darkblue}{rgb}{0,0,.5}
+\definecolor{darkblue}{rgb}{0,0,.6}
\ifpdf
\usepackage[%
pdftex,
@@ -51,7 +51,7 @@
\fi
\hypersetup{
- colorlinks = true, linkcolor = black,
+ colorlinks = true, linkcolor = darkblue,
citecolor = darkblue, filecolor = darkblue,
menucolor = darkblue, urlcolor = darkblue
}
@@ -66,7 +66,6 @@
\renewcommand\rmdefault{ftm}
}{}
}
-\IfFileExists{url.sty}{\RequirePackage{url}}{\newcommand\url{\texttt}}
\MakeShortVerb{\|}
@@ -83,7 +82,8 @@
%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% \title{Подкласс для оформления документов в соответствии с ГОСТ 7.32-2001}
+% \title{\texttt{gost732} --- класс для оформления документов в соответствии
+% с ГОСТ 7.32-2001}
% \date{Версия \fileversion\\[6pt]\filedate}
% \author{Станислав Кручинин\\[6pt]
% \normalsize E-mail:
@@ -96,19 +96,20 @@
%
% \section{Введение}
%
-% Насколько известно автору, на данный момент отсутствуют какие-либо ГОСТы,
-% регламентирующие структуру и правила оформления диссертаций. Наиболее
-% подходящим среди существующих стандартов следует считать ГОСТ 7.32-2001
-% <<Отчет о научно-исследовательской работе>>, реализованный в настоящем
-% классе. С другой стороны, количество кода, использованное для создания
-% этого подкласса является демонстрацией эффективности высокоуровневых
-% макросов класса |disser|.
+% Насколько известно автору, на данный момент отсутствуют ГОСТы,
+% регламентирующие структуру и правила оформления диссертаций.
+% Диссертационные советы, как правило, не предъявляют каких-либо требований
+% к форматированию, за исключением тех, что реализованы в классе |disser|.
+% Однако, если возникнет вопрос о соответствии верстки диссертации каким-либо
+% ГОСТам, то следует воспользоваться наиболее подходящим среди существующих
+% стандартов --- ГОСТ~7.32-2001 <<Отчет о научно-исследовательской работе>>,
+% который реализован в данном классе.
%
% \section{Исходный текст}\parindent=0pt
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{gost732}[2007/11/29 1.0.1 GOST 7.32-2001 implementation]
+\ProvidesClass{gost732}[2009/06/19 1.1.2 GOST 7.32-2001 implementation]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}}
\ProcessOptions\relax
@@ -121,22 +122,23 @@
% \begin{macrocode}
\renewcommand\tocprethechapter{}
\renewcommand\tocpostthechapter{\@postskip}
-\renewcommand\tocposttheappendix{\@postskip}
-
-\renewcommand\chapteralign{\raggedright}
+\renewcommand\chapteralign{\centering}
\renewcommand\thechapterfont{\Large\bfseries}
-\renewcommand\prethechapter{\newpage}
+\renewcommand\prethechapter{}
\renewcommand\postthechapter{\@postskip}
-\renewcommand\postchapter{\vskip 16\p@}
+\renewcommand\afterchapter{\vskip 16\p@}
\renewcommand\postthesection{\@postskip}
\renewcommand\tocpostthesection{\@postskip}
+\renewcommand\sectionindent{1cm}
\renewcommand\postthesubsection{\@postskip}
\renewcommand\tocpostthesubsection{\@postskip}
+\renewcommand\subsectionindent{1cm}
\renewcommand\postthesubsubsection{\@postskip}
\renewcommand\tocpostthesubsubsection{\@postskip}
+\renewcommand\subsubsectionindent{1cm}
\renewcommand\posttheparagraph{\@postskip}
\renewcommand\tocposttheparagraph{\@postskip}
@@ -145,19 +147,42 @@
\renewcommand\tocpostthesubparagraph{\@postskip}
% \end{macrocode}
-% Изменение заголовка библиографии на <<Список литературы>>.
+% Изменение стандартных заголовков.
% \begin{macrocode}
-\AtBeginDocument{%
-\addto\captionsrussian{%
+\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}
+\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}
+\def\figurename{\cyr\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}
+\def\appendixname{\cyr\CYRP\CYRR\CYRI\CYRL\CYRO\CYRZH\CYRE\CYRN\CYRI\CYRE}
+\def\contentsname{\cyr\CYRS\CYRO\CYRD\CYRE\CYRR\CYRZH\CYRA\CYRN\CYRI\CYRE}
}}
+% \end{macrocode}
+% Обозначения и сокращения.
+% \begin{macrocode}
+\renewcommand\defsname{%
+\cyr\CYRO\CYRB\CYRO\CYRZ\CYRN\CYRA\CYRCH\CYRE\CYRN\CYRI\CYRYA\ %
+\CYRI\ \CYRS\CYRO\CYRK\CYRR\CYRA\CYRSHCH\CYRE\CYRN\CYRI\CYRYA
+}
+
+\renewcommand\defs{%
+ \nchapter{\defsname}
+}
\renewcommand\bibsection{%
\nchapter{\bibname}
}
+\renewcommand\introname{%
+\cyr\CYRV\CYRV\CYRE\CYRD\CYRE\CYRN\CYRI\CYRE
+}
+\renewcommand\reviewname{%
+\cyr\CYRO\CYRB\CYRZ\CYRO\CYRR\ %
+\CYRL\CYRI\CYRT\CYRE\CYRR\CYRA\CYRT\CYRU\CYRR\CYRERY
+}
+\renewcommand\conclusionname{%
+\cyr\CYRZ\CYRA\CYRK\CYRL\CYRYU\CYRCH\CYRE\CYRN\CYRI\CYRE
+}
% \end{macrocode}
% \subsection{Списки}
% \subsubsection{Нумерованный список}
@@ -197,5 +222,21 @@
\renewcommand\labelitemiv {\textperiodcentered}
% \end{macrocode}
+%
+% \subsection{Подписи к плавающим объектам}
+% \begin{macrocode}
+\captionsetup{format=plain,justification=centering,labelsep=endash}
+\captionsetup[longtable]{justification=raggedright,singlelinecheck=false}
+\captionsetup[table]{justification=raggedright,singlelinecheck=false}
+
+% \end{macrocode}
+%
+% \subsection{Сноска}
+%
+% \begin{macrocode}
+\renewcommand\postthefootnote{)}
+
+% \end{macrocode}
+%
% \Finale
\endinput
diff --git a/Master/texmf-dist/source/latex/disser/master.dtx b/Master/texmf-dist/source/latex/disser/master.dtx
index 7cc00cdb399..27b2d0534fe 100644
--- a/Master/texmf-dist/source/latex/disser/master.dtx
+++ b/Master/texmf-dist/source/latex/disser/master.dtx
@@ -13,17 +13,11 @@
% \DescribeMacro{\fourthskip}\index{Расстояния!\verb*+\fourthskip+}
% \DescribeMacro{\fifthskip}\index{Расстояния!\verb*+\fifthskip+}
% \begin{macrocode}
-\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
-\setlength\firstskip{1ex}
-\setlength\secondskip{1ex}
-\setlength\thirdskip{1ex}
-\setlength\fourthskip{-1cm}
-\setlength\fifthskip{0ex}
+\deflength\firstskip{1ex}
+\deflength\secondskip{1ex}
+\deflength\thirdskip{1ex}
+\deflength\fourthskip{-1cm}
+\deflength\fifthskip{0ex}
% \end{macrocode}
% Шрифты элементов титульного листа.
diff --git a/Master/texmf-dist/source/latex/disser/part.dtx b/Master/texmf-dist/source/latex/disser/part.dtx
index 775740a43d5..633d63b225d 100644
--- a/Master/texmf-dist/source/latex/disser/part.dtx
+++ b/Master/texmf-dist/source/latex/disser/part.dtx
@@ -9,14 +9,6 @@
% \end{macrocode}
% \subsection{Часть}
%
-% Как уже говорилось во Введении, одной из основных проблем \LaTeX{} является
-% отсутствие простого способа настройки формата заголовков и соответствующих
-% им записей в Содержании. Любое изменение приходится вносить путем
-% переопределения громоздких низкоуровневых макросов. Класс |disser|
-% устраняет эту проблему путем введения высокоуровневых макросов для всех
-% основных параметров формата заголовков и записей в автоматически формируемых
-% списках.
-%
% \subsubsection{Параметры формата записи в Содержании}
%
% \DescribeMacro{\tocprethepart}\index{Макросы!\verb*+\tocprethepart+}
@@ -85,6 +77,29 @@
%
% \subsubsection{Низкоуровневые команды}
%
+% Описание структуры заголовков.
+% \begin{itemize}
+% \item в тексте,
+% \DescribeMacro{\@seccntformat}\index{Макросы!\verb*+"\"@seccntformat+}
+% \begin{macrocode}
+\def\@seccntformat#1{%
+ \csname prethe#1\endcsname%
+ \csname the#1\endcsname%
+ \csname postthe#1\endcsname%
+}
+
+% \end{macrocode}
+% \item в Содержании.
+% \DescribeMacro{\@tocseccntformat}\index{Макросы!\verb*+"\"@tocseccntformat+}
+% \begin{macrocode}
+\def\@tocseccntformat#1{%
+ \csname tocprethe#1\endcsname%
+ \csname tocthe#1\endcsname%
+ \csname tocpostthe#1\endcsname%
+}
+
+% \end{macrocode}
+% \end{itemize}
% \DescribeMacro{\part}\index{Макросы!\verb*+\part+}
% Интерфейс.
% \begin{macrocode}
@@ -167,8 +182,7 @@
% \DescribeMacro{\l@part}
% Низкоуровневая команда, создающая запись в Содержании.
% \begin{macrocode}
-\newcommand*\l@part[2]
-{%
+\newcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
\addvspace{2.25em \@plus\p@}%
diff --git a/Master/texmf-dist/source/latex/disser/sections.dtx b/Master/texmf-dist/source/latex/disser/sections.dtx
index 0f1c918d666..fca34184ffd 100644
--- a/Master/texmf-dist/source/latex/disser/sections.dtx
+++ b/Master/texmf-dist/source/latex/disser/sections.dtx
@@ -12,6 +12,7 @@
% \subsubsection{Section}
%
% \paragraph{Параметры формата записи в Содержании}
+%
% \DescribeMacro{\tocprethesection}\index{Макросы!\verb*+\tocprethesection+}
% \DescribeMacro{\tocpostthesection}\index{Макросы!\verb*+\tocpostthesection+}
% \DescribeMacro{\tocsectionfill}\index{Макросы!\verb*+\tocsectionfill+}
@@ -39,6 +40,7 @@
% \end{macrocode}
% \paragraph{Параметры формата в тексте}
+%
% \DescribeMacro{\sectionfont}\index{Макросы!\verb*+\sectionfont+}
% \DescribeMacro{\prethesection}\index{Макросы!\verb*+\prethesection+}
% \DescribeMacro{\postthesection}\index{Макросы!\verb*+\postthesection+}
@@ -72,6 +74,7 @@
% \end{macrocode}
% \subsubsection{Subsection}
% \paragraph{Параметры формата записи в Содержании}
+%
% \DescribeMacro{\tocprethesubsection}\index{Макросы!\verb*+\tocprethesubsection+}
% \DescribeMacro{\tocpostthesubsection}\index{Макросы!\verb*+\tocpostthesubsection+}
% \DescribeMacro{\tocsubsectionfill}\index{Макросы!\verb*+\tocsubsectionfill+}
@@ -94,6 +97,7 @@
% \end{macrocode}
% \paragraph{Параметры формата в тексте}
+%
% \DescribeMacro{\subsectionfont}\index{Макросы!\verb*+\subsectionfont+}
% \DescribeMacro{\prethesubsection}\index{Макросы!\verb*+\prethesubsection+}
% \DescribeMacro{\postthesubsection}\index{Макросы!\verb*+\postthesubsection+}
@@ -115,6 +119,7 @@
% \end{macrocode}
% \subsubsection{Subsubsection}
% \paragraph{Параметры формата записи в Содержании}
+%
% \DescribeMacro{\tocprethesubsubsection}\index{Макросы!\verb*+\tocprethesubsubsection+}
% \DescribeMacro{\tocpostthesubsubsection}\index{Макросы!\verb*+\tocpostthesubsubsection+}
% \DescribeMacro{\tocsubsubsectionfill}\index{Макросы!\verb*+\tocsubsubsectionfill+}
@@ -139,7 +144,7 @@
% \end{macrocode}
% \paragraph{Параметры формата в тексте}
-%
+%
% \DescribeMacro{\subsubsectionfont}\index{Макросы!\verb*+\subsubsectionfont+}
% \DescribeMacro{\prethesubsubsection}\index{Макросы!\verb*+\prethesubsubsection+}
% \DescribeMacro{\postthesubsubsection}\index{Макросы!\verb*+\postthesubsubsection+}
@@ -189,6 +194,7 @@
% \end{macrocode}
% \paragraph{Параметры формата в тексте}
+%
% \DescribeMacro{\paragraphfont}\index{Макросы!\verb*+\paragraphfont+}
%
% \DescribeMacro{\pretheparagraph}\index{Макросы!\verb*+\pretheparagraph+}
@@ -212,6 +218,7 @@
% \end{macrocode}
% \subsubsection{Subparagraph}
% \paragraph{Параметры формата записи в Содержании}
+%
% \DescribeMacro{\tocprethesubparagraph}\index{Макросы!\verb*+\tocprethesubparagraph+}
% \DescribeMacro{\tocpostthesubparagraph}\index{Макросы!\verb*+\tocpostthesubparagraph+}
% \DescribeMacro{\tocsubparagraphfill}\index{Макросы!\verb*+\tocsubparagraphfill+}
@@ -236,6 +243,7 @@
% \end{macrocode}
% \paragraph{Параметры формата в тексте}
+%
% \DescribeMacro{\subparagraphfont}\index{Макросы!\verb*+\subparagraphfont+}
%
% \DescribeMacro{\prethesubparagraph}\index{Макросы!\verb*+\prethesubparagraph+}
@@ -252,15 +260,59 @@
\providecommand\postthesubparagraph{.~}
\providecommand\subparagraphindent{\parindent}
+\providecommand\subparagraphalign{\raggedright}
\providecommand\beforesubparagraph{3.25ex \@plus1ex \@minus .2ex}
\providecommand\aftersubparagraph{-1em}
-\providecommand\subparagraphalign{\raggedright}
% \end{macrocode}
% \subsubsection{Низкоуровневые команды}
%
+% \DescribeMacro{\@startsection}\index{Макросы!\verb+"\"@startsection+}
+% Команда, создающая заголовки секций.
+% \begin{macrocode}
+\def\@startsection#1#2{%
+ \if@noskipsec \leavevmode \fi
+ \par
+ \@tempskipa \csname before#1\endcsname\relax
+ \@afterindenttrue
+ \ifdim \@tempskipa <\z@
+ \@tempskipa -\@tempskipa \@afterindentfalse
+ \fi
+ \if@nobreak
+ \everypar{}%
+ \else
+ \addpenalty\@secpenalty\addvspace\@tempskipa
+ \fi
+ \@ifstar
+ {\@ssect{\csname #1indent\endcsname}%
+ {\csname before#1\endcsname}{\csname after#1\endcsname}%
+ {\csname #1font\endcsname\csname #1align\endcsname}}%
+ {\@dblarg{\@sect{#1}{#2}{\csname #1indent\endcsname}%
+ {\csname before#1\endcsname}{\csname after#1\endcsname}%
+ {\csname #1font\endcsname\csname #1align\endcsname}}}%
+}
+
+% \end{macrocode}
+% \DescribeMacro{\@ssect}\index{Макросы!\verb+"\"@ssect+}
+% Для ненумеруемых секций.
+% \begin{macrocode}
+\def\@ssect#1#2#3#4#5{%
+ \@tempskipa #3\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #4{%
+ \@hangfrom{\hskip #1}%
+ \interlinepenalty \@M #5\@@par}%
+ \endgroup
+ \else
+ \def\@svsechd{#4{\hskip #1\relax #5}}%
+ \fi
+ \@xsect{#3}%
+}
+
+% \end{macrocode}
% \DescribeMacro{\@sect}\index{Макросы!\verb+"\"@sect+}
-% Обобщенная версия команды, создающей заголовки секций.
+% Для нумеруемых секций.
% \begin{macrocode}
\def\@sect#1#2#3#4#5#6[#7]#8{%
\ifnum #2>\c@secnumdepth
@@ -295,24 +347,27 @@
\fi
\@xsect{#5}%
}
+
% \end{macrocode}
%
% \DescribeMacro{\@tocline}\index{Макросы!\verb+"\"@tocline+}
% Обобщенная версия команды, добавляющей запись в Содержание.
% \begin{macrocode}
-\def\@tocline#1#2#3#4#5#6{%
+\def\@tocline#1#2#3#4{%
\ifnum #2>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
- {\leftskip #3\relax \rightskip \@tocrmarg \parfillskip -\rightskip
- \parindent #3\relax\@afterindenttrue
+ {\leftskip \csname toc#1indent\endcsname\relax%
+ \rightskip \@tocrmarg \parfillskip -\rightskip
+ \parindent \csname toc#1indent\endcsname\relax%
+ \@afterindenttrue
\interlinepenalty\@M
\leavevmode
- \@tempdima #4\relax
+ \@tempdima \csname toc#1nameindent\endcsname\relax
\csname toc#1font\endcsname
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
- {#5}\nobreak
+ {#3}\nobreak
\csname toc#1fillfont\endcsname \csname toc#1fill\endcsname\hfill
- \nobreak\hb@xt@\@pnumwidth{\hfil\csname toc#1numfont\endcsname #6}%
+ \nobreak\hb@xt@\@pnumwidth{\hfil\csname toc#1numfont\endcsname #4}%
\par%
}%
\fi
@@ -320,43 +375,40 @@
% \end{macrocode}
%
+% Команда, создающие секции в тексте и в Содержании.
% \DescribeMacro{\section}\index{Макросы!\verb+\section+}
+% \DescribeMacro{\l@section}\index{Макросы!\verb+\l@section+}
+% \begin{macrocode}
+\newcommand\section{\@startsection{section}{1}}
+\newcommand*\l@section{\@tocline{section}{1}}
+
+% \end{macrocode}
% \DescribeMacro{\subsection}\index{Макросы!\verb+\subsection+}
+% \DescribeMacro{\l@subsection}\index{Макросы!\verb+\l@subsection+}
+% \begin{macrocode}
+\newcommand\subsection{\@startsection{subsection}{2}}
+\newcommand*\l@subsection{\@tocline{subsection}{2}}
+
+% \end{macrocode}
% \DescribeMacro{\subsubsection}\index{Макросы!\verb+\subsubsection+}
+% \DescribeMacro{\l@subsubsection}\index{Макросы!\verb+\l@subsubsection+}
+% \begin{macrocode}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}}
+\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}}
+
+% \end{macrocode}
% \DescribeMacro{\paragraph}\index{Макросы!\verb+\paragraph+}
-% \DescribeMacro{\subparagraph}\index{Макросы!\verb+\subparagraph+}
-% Интерфейс для создания секций.
+% \DescribeMacro{\l@paragraph}\index{Макросы!\verb+\l@paragraph+}
% \begin{macrocode}
+\newcommand\paragraph{\@startsection{paragraph}{4}}
+\newcommand*\l@paragraph{\@tocline{paragraph}{4}}
-\newcommand\section{\@startsection{section}{1}
- {\sectionindent}{\beforesection}%
- {\aftersection}{\sectionfont\sectionalign}}
-\newcommand*\l@section{\@tocline{section}{1}{\tocsectionindent}%
-{\tocsectionnameindent}}
-
-\newcommand\subsection{\@startsection{subsection}{2}
- {\subsectionindent}{\beforesubsection}%
- {\aftersubsection}{\subsectionfont\subsectionalign}}
-\newcommand*\l@subsection{\@tocline{subsection}{2}{\tocsubsectionindent}%
-{\tocsubsectionnameindent}}
-
-\newcommand\subsubsection{\@startsection{subsubsection}{3}
- {\subsubsectionindent}{\beforesubsubsection}%
- {\aftersubsubsection}{\subsubsectionfont\subsubsectionalign}}
-\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}{\tocsubsubsectionindent}%
-{\tocsubsubsectionnameindent}}
-
-\newcommand\paragraph{\@startsection{paragraph}{4}
- {\paragraphindent}{\beforeparagraph}%
- {\afterparagraph}{\paragraphfont\paragraphalign}}
-\newcommand*\l@paragraph{\@tocline{paragraph}{4}{\tocparagraphindent}%
-{\tocparagraphnameindent}}
-
-\newcommand\subparagraph{\@startsection{subparagraph}{5}
- {\subparagraphindent}{\beforesubparagraph}%
- {\aftersubparagraph}{\subparagraphfont\subparagraphalign}}
-\newcommand*\l@subparagraph{\@tocline{subparagraph}{5}{\tocsubparagraphindent}%
-{\tocsubparagraphnameindent}}
+% \end{macrocode}
+% \DescribeMacro{\subparagraph}\index{Макросы!\verb+\subparagraph+}
+% \DescribeMacro{\l@subparagraph}\index{Макросы!\verb+\l@subparagraph+}
+% \begin{macrocode}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}}
+\newcommand*\l@subparagraph{\@tocline{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 53216611c41..24005ae5382 100644
--- a/Master/texmf-dist/source/latex/disser/titledefs.dtx
+++ b/Master/texmf-dist/source/latex/disser/titledefs.dtx
@@ -233,7 +233,7 @@
% \end{macrocode}
% \DescribeMacro{\commonsect}\index{Макросы!\verb*+\commonsect+}
% \DescribeMacro{\postcommonsect}\index{Макросы!\verb*+\postcommonsect+}
-% Стиль заголовков общего текста <<Введения>> и автореферата.
+% Формат заголовков общего текста <<Введения>> и автореферата.
% \begin{macrocode}
\let\commonsect=\textbf
\def\postcommonsect{\ }
@@ -299,14 +299,14 @@
% \DescribeMacro{\introname}\index{Макросы!\verb*+\introname+}
% \DescribeMacro{\intro}\index{Макросы!\verb*+\intro+}
% \begin{macrocode}
-\newcommand\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
+\newcommand\introname{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}
\newcommand\intro{\nchapter{\introname}}
% \end{macrocode}
% \item Заключение
% \DescribeMacro{\conclusionname}\index{Макросы!\verb*+\conclusionname+}
% \begin{macrocode}
\newcommand\conclusionname{%
-{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
+\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre
}
\newcommand\conclusion{\nchapter{\conclusionname}}
% \end{macrocode}
@@ -364,13 +364,13 @@
% Поле для записи даты. Для отображения произвольного года нужно
% присвоить значение необязательному аргументу.
% \begin{macrocode}
-\newcommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}\,>>%
+\providecommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}>>\ %
\rule[0pt]{3cm}{0.5pt}\ #1~\yearname}
% \end{macrocode}
% \DescribeMacro{\mkcommonsect}\index{Макросы!\verb*+\mkcommonsect+}
% Генератор команд для общего текста диссертации и автореферата.
% \begin{macrocode}
-\newcommand\mkcommonsect[3]{%
+\providecommand\mkcommonsect[3]{%
\@namedef{#1head}{#2}
\@namedef{#1section}{\commonsect{\expandafter\csname #1head\endcsname}\postcommonsect}
\@namedef{#1text}{#3}
@@ -381,7 +381,7 @@
% \DescribeMacro{\facsimile}\index{Макросы!\verb*+\facsimile+}
% Команда для включения графического файла с подписью диссертанта.
% \begin{macrocode}
-\newcommand\facsimile{\vskip 6pt\includegraphics[width=3cm]{facsimile}}
+\providecommand\facsimile{\vskip 6pt\includegraphics[width=3cm]{facsimile}}
%</titledefs>
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/disser/titlepage.dtx b/Master/texmf-dist/source/latex/disser/titlepage.dtx
index f19d039d1e3..eb5af19d55d 100644
--- a/Master/texmf-dist/source/latex/disser/titlepage.dtx
+++ b/Master/texmf-dist/source/latex/disser/titlepage.dtx
@@ -10,6 +10,11 @@
% \begin{macrocode}
\newcommand\today{}
+% \end{macrocode}
+% Подключение констант и команд, используемых для верстки титульного листа.
+% \begin{macrocode}
+\input{titledefs\substyle@ext}
+
\if@titlepage
% \end{macrocode}
%
@@ -30,7 +35,6 @@
% \begin{macrocode}
\newcommand\cdsep{~-- }
- \input{titledefs\substyle@ext}
% \end{macrocode}
% \DescribeMacro{\maketitle}\index{Макросы!\verb*+\maketitle+}
% \begin{macrocode}
@@ -77,32 +81,6 @@
% \DescribeMacro{\maketitle}\index{Макросы!\verb*+\maketitle+}
% \begin{macrocode}
\newcommand\maketitle{%
- \par
- \begingroup
- \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
- \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
- \long\def\@makefntext##1{%
- \parindent 1em\noindent
- \hb@xt@1.8em{\hss\@textsuperscript{\normalfont\@thefnmark}}##1%
- }%
- \if@twocolumn
- \ifnum \col@number=\@ne
- \@maketitle
- \else
- \twocolumn[\@maketitle]%
- \fi
- \else
- \newpage
-% \end{macrocode}
-% Предотвращает размещение плавающих объектов вверху страницы.
-% \begin{macrocode}
- \global\@topnum\z@
- \@maketitle
- \fi
- \thispagestyle{plain}
- \endgroup
- \setcounter{footnote}{0}%
-
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
diff --git a/Master/texmf-dist/tex/latex/disser/autoref.rtx b/Master/texmf-dist/tex/latex/disser/autoref.rtx
index 418194ab789..97029b99ad1 100644
--- a/Master/texmf-dist/tex/latex/disser/autoref.rtx
+++ b/Master/texmf-dist/tex/latex/disser/autoref.rtx
@@ -14,11 +14,11 @@
\ProvidesFile{autoref.rtx}
-\def\firstskip{\vskip1cm}
-\def\secondskip{\vskip2cm}
-\def\thirdskip{\vskip1cm}
-\def\fourthskip{\vskip1cm}
-\def\fifthskip{\vskip1cm}
+\deflength\firstskip{1cm}
+\deflength\secondskip{2cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
@@ -27,18 +27,18 @@
\normalfont
\begin{flushright}
- \firstskip
+ \vskip\firstskip
\asmanuscriptname\\
\ifDis@facsimile\facsimile\fi
\end{flushright}
\begin{center}
- \secondskip
+ \vskip\secondskip
{\authorfont\@author}
- \thirdskip
+ \vskip\thirdskip
{\topicfont\@topic\par}
- \fourthskip
+ \vskip\fourthskip
{\specfont\@specnum~--\;\@spec}
- \fifthskip
+ \vskip\fifthskip
{\titlefont\@title}
\end{center}
\endinput
diff --git a/Master/texmf-dist/tex/latex/disser/bachelor.rtx b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
index 97492ab3e34..85aac46bfe4 100644
--- a/Master/texmf-dist/tex/latex/disser/bachelor.rtx
+++ b/Master/texmf-dist/tex/latex/disser/bachelor.rtx
@@ -15,17 +15,11 @@
\ProvidesFile{bachelor.rtx}
-\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
-\setlength\firstskip{1.5cm}
-\setlength\secondskip{1.5cm}
-\setlength\thirdskip{1ex}
-\setlength\fourthskip{1ex}
-\setlength\fifthskip{2cm}
+\deflength\firstskip{1.5cm}
+\deflength\secondskip{1.5cm}
+\deflength\thirdskip{1ex}
+\deflength\fourthskip{1ex}
+\deflength\fifthskip{2cm}
\def\titlefont{\Large\bfseries}
\def\topiclabelfont{\large}
diff --git a/Master/texmf-dist/tex/latex/disser/candidate.rtx b/Master/texmf-dist/tex/latex/disser/candidate.rtx
index 6338172852f..17f7ea5217c 100644
--- a/Master/texmf-dist/tex/latex/disser/candidate.rtx
+++ b/Master/texmf-dist/tex/latex/disser/candidate.rtx
@@ -15,25 +15,18 @@
\ProvidesFile{candidate.rtx}
\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-\newlength\sixthskip
-
\ifDis@libcat
\setlength\firstskip{2ex}
\else
\setlength\firstskip{4ex}
\fi
-\setlength\secondskip{2cm}
-\setlength\thirdskip{1cm}
-\setlength\fourthskip{1cm}
-\setlength\fifthskip{1cm}
-\setlength\sixthskip{0pt}
+\deflength\secondskip{2cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
+\deflength\sixthskip{0pt}
-\newlength\@sahshift
-\setlength\@sahshift{8cm}
+\deflength\@sahshift{8cm}
\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index 960daf88995..2e33f682d9d 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,11 +44,12 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2008/04/08 1.1.1 Document class for dissertations.]
+\ProvidesClass{disser}[2009/06/11 1.1.2 Document class for dissertations]
\def\substyle@ext{.rtx}
\RequirePackage{ifpdf}
+
\newif\if@restonecol
\newif\if@titlepage\@titlepagetrue
\newif\if@openright\@openrightfalse
@@ -68,13 +69,9 @@
\RequirePackage{kvoptions}[2006/08/17]
\DeclareOption{href}{\Dis@hreftrue}
-
\DeclareOption{subf}{\Dis@subftrue}
-
\DeclareOption{libcat}{\Dis@libcattrue}
-
\DeclareOption{facsimile}{\Dis@facsimiletrue}
-
\DeclareOption{noams}{\Dis@amsfalse}
\SetupKeyvalOptions{
@@ -181,7 +178,7 @@
\Dis@autoreftrue
}
-\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany}
+\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany,candidate}
\ProcessOptions
\ProcessKeyvalOptions{Dis}
@@ -263,32 +260,35 @@
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+\providecommand\deflength[2]{\newlength{#1}\setlength{#1}{#2}}
+
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
+
\newcommand\singlespacing {\renewcommand\baselinestretch{1}\normalsize}
\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}\normalsize}
\newcommand\doublespacing {\renewcommand\baselinestretch{2}\normalsize}
\onehalfspacing
+
+\setlength\parindent{1cm}
+
\setlength\parskip{0\p@ \@plus \p@}
\setlength\columnsep{10\p@}
-\setlength\columnseprule{0\p@}
-\def\@seccntformat#1{%
- \csname prethe#1\endcsname%
- \csname the#1\endcsname%
- \csname postthe#1\endcsname%
-}
-\def\@tocseccntformat#1{%
- \csname tocprethe#1\endcsname%
- \csname tocthe#1\endcsname%
- \csname tocpostthe#1\endcsname%
-}
+\setlength\columnseprule{0\p@}
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
+\let\@afterindentfalse\@afterindenttrue
+\@afterindenttrue
+
+\lccode`\-=`\-
+\defaulthyphenchar=127
+
+
%%% From File: counters.dtx
\setcounter{tocdepth}{1}
@@ -371,6 +371,18 @@
\def\partpagestyle#1{\gdef\@partpagestyle{#1}}
\partpagestyle{empty}
+\def\@seccntformat#1{%
+ \csname prethe#1\endcsname%
+ \csname the#1\endcsname%
+ \csname postthe#1\endcsname%
+}
+
+\def\@tocseccntformat#1{%
+ \csname tocprethe#1\endcsname%
+ \csname tocthe#1\endcsname%
+ \csname tocpostthe#1\endcsname%
+}
+
\newcommand\part{
\if@openright
\cleardoublepage
@@ -421,8 +433,7 @@
\if@tempswa\twocolumn\fi
}
-\newcommand*\l@part[2]
-{%
+\newcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
\addvspace{2.25em \@plus\p@}%
@@ -460,6 +471,7 @@
\providecommand\chapterfont{\Large\bfseries}
\providecommand\beforechapter{}
\providecommand\afterchapter{\par\nobreak\vskip 20\p@}
+\providecommand\chapterindent{0pt}
\newcommand*\chaptermark[1]{}
\newcommand\chapter{%
@@ -491,16 +503,15 @@
\@afterheading
\fi
}
-\def\@makechapterhead#1{%
- {%
- \parindent \z@ \raggedright \normalfont
- \ifnum \c@secnumdepth >\m@ne
- {\thechapterfont\thechapteralign\@seccntformat{chapter}}
- \fi
- \interlinepenalty\@M
- \chapterfont\chapteralign\beforechapter #1\afterchapter
- }
-}
+\def\@makechapterhead#1{{%
+ \parindent\z@
+ \normalfont\hskip\chapterindent%
+ \ifnum \c@secnumdepth >\m@ne
+ {\thechapterfont\thechapteralign\@seccntformat{chapter}}
+ \fi
+ \interlinepenalty\@M
+ \chapterfont\chapteralign\beforechapter #1\afterchapter
+}}
\def\@schapter#1{
\if@twocolumn
@@ -511,13 +522,12 @@
\fi
}
-\def\@makeschapterhead#1{%
- {%
- \parindent \z@ \raggedright
- \normalfont\interlinepenalty\@M
- \chapteralign{\chapterfont\beforechapter #1\afterchapter}
- }
-}
+\def\@makeschapterhead#1{{%
+ \parindent\z@
+ \normalfont\hskip\chapterindent%
+ \interlinepenalty\@M
+ \chapteralign\chapterfont\beforechapter #1\afterchapter
+}}
\newcommand*\l@chapter[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}
@@ -554,6 +564,7 @@
\providecommand\appendixfont{\Large\bfseries}
\providecommand\beforeappendix{}
\providecommand\afterappendix{\par\nobreak\vskip 20\p@}
+\providecommand\appendixindent{0pt}
\newcommand\appendix{
\setcounter{chapter}{0}
\setcounter{section}{0}
@@ -573,6 +584,7 @@
\let\oldchapteralign=\chapteralign
\let\oldchapterfont=\chapterfont
+ \let\oldchapterindent=\chapterindent
\let\oldbeforechapter=\afterchapter
\let\oldafterchapter=\afterchapter
\let\oldthechapter=\thechapter
@@ -594,6 +606,7 @@
\renewcommand\chapterfont{\appendixfont}
\renewcommand\beforechapter{\beforeappendix}
\renewcommand\afterchapter{\afterappendix}
+ \renewcommand\chapterindent{\appendixindent}
\gdef\thechapter{\theappendix}
}
@@ -723,9 +736,45 @@
\providecommand\postthesubparagraph{.~}
\providecommand\subparagraphindent{\parindent}
+\providecommand\subparagraphalign{\raggedright}
\providecommand\beforesubparagraph{3.25ex \@plus1ex \@minus .2ex}
\providecommand\aftersubparagraph{-1em}
-\providecommand\subparagraphalign{\raggedright}
+
+\def\@startsection#1#2{%
+ \if@noskipsec \leavevmode \fi
+ \par
+ \@tempskipa \csname before#1\endcsname\relax
+ \@afterindenttrue
+ \ifdim \@tempskipa <\z@
+ \@tempskipa -\@tempskipa \@afterindentfalse
+ \fi
+ \if@nobreak
+ \everypar{}%
+ \else
+ \addpenalty\@secpenalty\addvspace\@tempskipa
+ \fi
+ \@ifstar
+ {\@ssect{\csname #1indent\endcsname}%
+ {\csname before#1\endcsname}{\csname after#1\endcsname}%
+ {\csname #1font\endcsname\csname #1align\endcsname}}%
+ {\@dblarg{\@sect{#1}{#2}{\csname #1indent\endcsname}%
+ {\csname before#1\endcsname}{\csname after#1\endcsname}%
+ {\csname #1font\endcsname\csname #1align\endcsname}}}%
+}
+
+\def\@ssect#1#2#3#4#5{%
+ \@tempskipa #3\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #4{%
+ \@hangfrom{\hskip #1}%
+ \interlinepenalty \@M #5\@@par}%
+ \endgroup
+ \else
+ \def\@svsechd{#4{\hskip #1\relax #5}}%
+ \fi
+ \@xsect{#3}%
+}
\def\@sect#1#2#3#4#5#6[#7]#8{%
\ifnum #2>\c@secnumdepth
@@ -760,54 +809,41 @@
\fi
\@xsect{#5}%
}
-\def\@tocline#1#2#3#4#5#6{%
+
+\def\@tocline#1#2#3#4{%
\ifnum #2>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
- {\leftskip #3\relax \rightskip \@tocrmarg \parfillskip -\rightskip
- \parindent #3\relax\@afterindenttrue
+ {\leftskip \csname toc#1indent\endcsname\relax%
+ \rightskip \@tocrmarg \parfillskip -\rightskip
+ \parindent \csname toc#1indent\endcsname\relax%
+ \@afterindenttrue
\interlinepenalty\@M
\leavevmode
- \@tempdima #4\relax
+ \@tempdima \csname toc#1nameindent\endcsname\relax
\csname toc#1font\endcsname
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
- {#5}\nobreak
+ {#3}\nobreak
\csname toc#1fillfont\endcsname \csname toc#1fill\endcsname\hfill
- \nobreak\hb@xt@\@pnumwidth{\hfil\csname toc#1numfont\endcsname #6}%
+ \nobreak\hb@xt@\@pnumwidth{\hfil\csname toc#1numfont\endcsname #4}%
\par%
}%
\fi
}
+\newcommand\section{\@startsection{section}{1}}
+\newcommand*\l@section{\@tocline{section}{1}}
-\newcommand\section{\@startsection{section}{1}
- {\sectionindent}{\beforesection}%
- {\aftersection}{\sectionfont\sectionalign}}
-\newcommand*\l@section{\@tocline{section}{1}{\tocsectionindent}%
-{\tocsectionnameindent}}
-
-\newcommand\subsection{\@startsection{subsection}{2}
- {\subsectionindent}{\beforesubsection}%
- {\aftersubsection}{\subsectionfont\subsectionalign}}
-\newcommand*\l@subsection{\@tocline{subsection}{2}{\tocsubsectionindent}%
-{\tocsubsectionnameindent}}
+\newcommand\subsection{\@startsection{subsection}{2}}
+\newcommand*\l@subsection{\@tocline{subsection}{2}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}
- {\subsubsectionindent}{\beforesubsubsection}%
- {\aftersubsubsection}{\subsubsectionfont\subsubsectionalign}}
-\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}{\tocsubsubsectionindent}%
-{\tocsubsubsectionnameindent}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}}
+\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}}
-\newcommand\paragraph{\@startsection{paragraph}{4}
- {\paragraphindent}{\beforeparagraph}%
- {\afterparagraph}{\paragraphfont\paragraphalign}}
-\newcommand*\l@paragraph{\@tocline{paragraph}{4}{\tocparagraphindent}%
-{\tocparagraphnameindent}}
+\newcommand\paragraph{\@startsection{paragraph}{4}}
+\newcommand*\l@paragraph{\@tocline{paragraph}{4}}
-\newcommand\subparagraph{\@startsection{subparagraph}{5}
- {\subparagraphindent}{\beforesubparagraph}%
- {\aftersubparagraph}{\subparagraphfont\subparagraphalign}}
-\newcommand*\l@subparagraph{\@tocline{subparagraph}{5}{\tocsubparagraphindent}%
-{\tocsubparagraphnameindent}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}}
+\newcommand*\l@subparagraph{\@tocline{subparagraph}{5}}
%%% From File: lists.dtx
@@ -863,10 +899,8 @@
\renewcommand\floatpagefraction{.5}
\renewcommand\dbltopfraction{.7}
\renewcommand\dblfloatpagefraction{.5}
-\newlength\abovecaptionskip
-\setlength\abovecaptionskip{10\p@}
-\newlength\belowcaptionskip
-\setlength\belowcaptionskip{0\p@}
+\deflength\abovecaptionskip{10\p@}
+\deflength\belowcaptionskip{0\p@}
\newcommand\captionlabeldelim{.}
\newcommand\captionfont{\small}
\newcommand\captionlabelfont{\small\selectfont}
@@ -908,15 +942,29 @@
%%% From File: footnote.dtx
-\renewcommand\footnoterule{%
+\def\thefootnote{\@arabic\c@footnote}
+
+\def\thempfootnote{{\itshape\@alph\c@mpfootnote}}
+
+\def\footnoterule{%
\kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
}
+
+\providecommand\prethefootnote{}
+\providecommand\postthefootnote{}
+\providecommand\prefootnote{\;}
+\deflength{\footnoteindent}{\parindent}
+
+\def\@makefnmark{\hbox{\prethefootnote%
+\@textsuperscript{\normalfont\@thefnmark}%
+\postthefootnote}}
+
\newcommand\@makefntext[1]{%
- \parindent 1em%
- \noindent
- \hb@xt@1.8em{\hss\@makefnmark}#1
+ \noindent\hspace{\footnoteindent}%
+ \@makefnmark\prefootnote #1
}
+
%%% From File: env.dtx
\newenvironment{description}
@@ -951,6 +999,7 @@
\fi
}{\if@twocolumn\else\endquotation\fi}
\fi
+
\newenvironment{quotation}{
\list{}{
\listparindent 1.5em
@@ -960,10 +1009,12 @@
}
\item\relax
}{\endlist}
+
\newenvironment{quote}{
\list{}{\rightmargin\leftmargin}
\item\relax
}{\endlist}
+
\newenvironment{titlepage}{
\if@twocolumn
\@restonecoltrue\onecolumn
@@ -976,6 +1027,7 @@
\if@restonecol\twocolumn\else\newpage\fi
\if@twoside\else\setcounter{page}\@ne\fi
}
+
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
\newenvironment{table}{\@float{table}}{\end@float}
@@ -986,7 +1038,7 @@
\global\@namedef{#1style}{\itshape}
\global\@namedef{the#1style}{\bfseries}
\global\@namedef{postthe#1}{.}
- \global\@namedef{oparg#1style}{\rm}
+ \global\@namedef{oparg#1style}{\upshape}
\global\@namedef{preoparg#1}{(}
\global\@namedef{postoparg#1}{)}
}
@@ -999,19 +1051,20 @@
\@opargbegintheorem{#1}{#2}{#3}\ignorespaces}
\def\@begintheorem#1#2{\trivlist
- \item[\hskip \labelsep{\csname the#1style\endcsname #2\ %
- \csname the#1\endcsname\unskip%
- \csname postthe#1\endcsname}]%
- \csname #1style\endcsname}
+ \item[\hskip\labelsep%
+ {\csname the#1style\endcsname #2\ %
+ \csname the#1\endcsname\unskip\csname postthe#1\endcsname}]%
+ \csname #1style\endcsname%
+}
\def\@opargbegintheorem#1#2#3{\trivlist
- \item[\hskip \labelsep{%
- {\csname the#1style\endcsname #2}\ %
- \csname the#1\endcsname\ %
+ \item[\hskip\labelsep%
+ {\csname the#1style\endcsname #2\ \csname the#1\endcsname}\ %
{\csname oparg#1style\endcsname%
\csname preoparg#1\endcsname #3%
- \csname postoparg#1\endcsname}}]%
- \csname #1style\endcsname}
+ \csname postoparg#1\endcsname}]%
+ \csname #1style\endcsname%
+}
\def\@endtheorem{\endtrivlist}
@@ -1130,6 +1183,8 @@
\newcommand\today{}
+\input{titledefs\substyle@ext}
+
\if@titlepage
\newcommand\titlefont{\Large\bfseries}
\newcommand\topiclabelfont{\large}
@@ -1137,7 +1192,6 @@
\newcommand\instfont{\normalfont}
\newcommand\cdsep{~-- }
- \input{titledefs\substyle@ext}
\newcommand\maketitle{
\thispagestyle{empty}
\vspace*{-2cm}
@@ -1160,29 +1214,6 @@
\setcounter{footnote}{0}
\else %\if@titlepage
\newcommand\maketitle{%
- \par
- \begingroup
- \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
- \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
- \long\def\@makefntext##1{%
- \parindent 1em\noindent
- \hb@xt@1.8em{\hss\@textsuperscript{\normalfont\@thefnmark}}##1%
- }%
- \if@twocolumn
- \ifnum \col@number=\@ne
- \@maketitle
- \else
- \twocolumn[\@maketitle]%
- \fi
- \else
- \newpage
- \global\@topnum\z@
- \@maketitle
- \fi
- \thispagestyle{plain}
- \endgroup
- \setcounter{footnote}{0}%
-
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
@@ -1288,27 +1319,35 @@
%%% From File: custom.dtx
-\let\@afterindentfalse\@afterindenttrue
-\@afterindenttrue
-\lccode`\-=`\-
-\defaulthyphenchar=127
-\hyphenchar\font=127
\ifDis@ams
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
\fi
+
\ifDis@times
+ \AtBeginDocument{
+ \DeclareRobustCommand{\English}{%
+ \expandafter\set@hyphenmins\englishhyphenmins
+ \language\l@english}%
+ \let\Eng=\English
+ }
\ifDis@mtpro
\AtBeginDocument{%
\IfFileExists{mtpro.sty}{
\usepackage[subscriptcorrection,nofontinfo,boldalphabet]{mtpro}
- }{\PackageWarning{disser}{Unable to find mtpro package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find mtpro package. Font is unchanged.}
+ }
}
\else
\AtEndOfPackage{%
\IfFileExists{txfonts.sty}{
\usepackage{txfonts}
- }{\PackageWarning{disser}{Unable to find txfonts package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find txfonts package. Font is unchanged.}
+ }
}
\fi
\AtEndOfPackage{%
@@ -1319,10 +1358,14 @@
}{
\IfFileExists{cyrtimes.sty}{
\usepackage{cyrtimes}
- }{\PackageWarning{disser}{Unable to find pscyr or cyrtimes package. Font is unchanged.}}
+ }{
+ \PackageWarning{disser}%
+ {Unable to find pscyr or cyrtimes package. Font is unchanged.}
+ }
}
}
\fi
+
\ifDis@fixint
\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
@@ -1347,33 +1390,9 @@
\renewcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
}{}
\fi
+
\usepackage[square, comma, sort&compress, numbers]{natbib}
-\def\metaphantom#1{%
- \ifDis@href
- \Hy@GlobalStepCount\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]{%
@@ -1397,6 +1416,7 @@
\def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
\endlist\vskip-\lastskip%
}
+
\usepackage{wrapfig}
\ifDis@subf
\usepackage[config,font=small,labelsep=period]{caption,subfig}
@@ -1404,6 +1424,7 @@
\providecommand\thefigsubsep{,~}
\def\p@subfigure{\@nameuse{thefigure}\thefigsubsep}
\fi
+
\ifpdf
\ifDis@href
\usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
@@ -1429,6 +1450,44 @@
\usepackage{hypernat}
\usepackage[all]{hypcap}
\fi
+
+\def\metaphantom#1{%
+ \ifDis@href
+ \Hy@GlobalStepCount\Hy@linkcounter
+ \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
+ \Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
+ \fi
+}
+
+\newcommand\nchapter[1]{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{\@chapterpagestyle}%
+ \global\@topnum\z@
+ \metaphantom{chapter}
+ {\def\\{ }\addcontentsline{toc}{chapter}{#1}}%
+ \@afterindentfalse
+ \@schapter{#1}
+}
+\newcommand\nsection[1]{%
+ \metaphantom{section}%
+ \addcontentsline{toc}{section}{#1}
+ \section*{#1}
+}
+\newcommand\nsubsection[1]{%
+ \metaphantom{subsection}%
+ \addcontentsline{toc}{subsection}{#1}
+ \subsection*{#1}
+}
+\newcommand\nsubsubsection[1]{%
+ \metaphantom{subsubsection}%
+ \addcontentsline{toc}{subsubsection}{#1}
+ \subsubsection*{#1}
+}
+
\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 61b061ad179..e696971d13b 100644
--- a/Master/texmf-dist/tex/latex/disser/doctor.rtx
+++ b/Master/texmf-dist/tex/latex/disser/doctor.rtx
@@ -15,20 +15,15 @@
\ProvidesFile{doctor.rtx}
\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
\ifDis@libcat
\setlength\firstskip{1ex}
\else
\setlength\firstskip{4ex}
\fi
-\setlength\secondskip{3cm}
-\setlength\thirdskip{1cm}
-\setlength\fourthskip{1cm}
-\setlength\fifthskip{1cm}
+\deflength\secondskip{3cm}
+\deflength\thirdskip{1cm}
+\deflength\fourthskip{1cm}
+\deflength\fifthskip{1cm}
\def\titlefont{\normalsize}
\def\topicfont{\Large\bfseries}
diff --git a/Master/texmf-dist/tex/latex/disser/gost732.cls b/Master/texmf-dist/tex/latex/disser/gost732.cls
index 3b6fd0666ff..5b8330a71e7 100644
--- a/Master/texmf-dist/tex/latex/disser/gost732.cls
+++ b/Master/texmf-dist/tex/latex/disser/gost732.cls
@@ -32,7 +32,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{gost732}[2007/11/29 1.0.1 GOST 7.32-2001 implementation]
+\ProvidesClass{gost732}[2009/06/19 1.1.2 GOST 7.32-2001 implementation]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}}
\ProcessOptions\relax
@@ -40,22 +40,23 @@
\renewcommand\tocprethechapter{}
\renewcommand\tocpostthechapter{\@postskip}
-\renewcommand\tocposttheappendix{\@postskip}
-
-\renewcommand\chapteralign{\raggedright}
+\renewcommand\chapteralign{\centering}
\renewcommand\thechapterfont{\Large\bfseries}
-\renewcommand\prethechapter{\newpage}
+\renewcommand\prethechapter{}
\renewcommand\postthechapter{\@postskip}
-\renewcommand\postchapter{\vskip 16\p@}
+\renewcommand\afterchapter{\vskip 16\p@}
\renewcommand\postthesection{\@postskip}
\renewcommand\tocpostthesection{\@postskip}
+\renewcommand\sectionindent{1cm}
\renewcommand\postthesubsection{\@postskip}
\renewcommand\tocpostthesubsection{\@postskip}
+\renewcommand\subsectionindent{1cm}
\renewcommand\postthesubsubsection{\@postskip}
\renewcommand\tocpostthesubsubsection{\@postskip}
+\renewcommand\subsubsectionindent{1cm}
\renewcommand\posttheparagraph{\@postskip}
\renewcommand\tocposttheparagraph{\@postskip}
@@ -63,17 +64,37 @@
\renewcommand\postthesubparagraph{\@postskip}
\renewcommand\tocpostthesubparagraph{\@postskip}
-\AtBeginDocument{%
-\addto\captionsrussian{%
+\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}
+\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}
+\def\figurename{\cyr\CYRR\cyri\cyrs\cyru\cyrn\cyro\cyrk}
+\def\appendixname{\cyr\CYRP\CYRR\CYRI\CYRL\CYRO\CYRZH\CYRE\CYRN\CYRI\CYRE}
+\def\contentsname{\cyr\CYRS\CYRO\CYRD\CYRE\CYRR\CYRZH\CYRA\CYRN\CYRI\CYRE}
}}
+\renewcommand\defsname{%
+\cyr\CYRO\CYRB\CYRO\CYRZ\CYRN\CYRA\CYRCH\CYRE\CYRN\CYRI\CYRYA\ %
+\CYRI\ \CYRS\CYRO\CYRK\CYRR\CYRA\CYRSHCH\CYRE\CYRN\CYRI\CYRYA
+}
+
+\renewcommand\defs{%
+ \nchapter{\defsname}
+}
\renewcommand\bibsection{%
\nchapter{\bibname}
}
+\renewcommand\introname{%
+\cyr\CYRV\CYRV\CYRE\CYRD\CYRE\CYRN\CYRI\CYRE
+}
+\renewcommand\reviewname{%
+\cyr\CYRO\CYRB\CYRZ\CYRO\CYRR\ %
+\CYRL\CYRI\CYRT\CYRE\CYRR\CYRA\CYRT\CYRU\CYRR\CYRERY
+}
+\renewcommand\conclusionname{%
+\cyr\CYRZ\CYRA\CYRK\CYRL\CYRYU\CYRCH\CYRE\CYRN\CYRI\CYRE
+}
\renewcommand\theenumi {\@asbuk\c@enumi}
\renewcommand\theenumii {\@arabic\c@enumii}
\renewcommand\theenumiii{\@roman\c@enumiii}
@@ -93,6 +114,12 @@
\renewcommand\labelitemiii{\textasteriskcentered}
\renewcommand\labelitemiv {\textperiodcentered}
+\captionsetup{format=plain,justification=centering,labelsep=endash}
+\captionsetup[longtable]{justification=raggedright,singlelinecheck=false}
+\captionsetup[table]{justification=raggedright,singlelinecheck=false}
+
+\renewcommand\postthefootnote{)}
+
\endinput
%%
%% End of file `gost732.cls'.
diff --git a/Master/texmf-dist/tex/latex/disser/master.rtx b/Master/texmf-dist/tex/latex/disser/master.rtx
index 0170c065e90..9759d07598d 100644
--- a/Master/texmf-dist/tex/latex/disser/master.rtx
+++ b/Master/texmf-dist/tex/latex/disser/master.rtx
@@ -14,17 +14,11 @@
\ProvidesFile{master.rtx}
-\newlength\firstskip
-\newlength\secondskip
-\newlength\thirdskip
-\newlength\fourthskip
-\newlength\fifthskip
-
-\setlength\firstskip{1ex}
-\setlength\secondskip{1ex}
-\setlength\thirdskip{1ex}
-\setlength\fourthskip{-1cm}
-\setlength\fifthskip{0ex}
+\deflength\firstskip{1ex}
+\deflength\secondskip{1ex}
+\deflength\thirdskip{1ex}
+\deflength\fourthskip{-1cm}
+\deflength\fifthskip{0ex}
\def\titlefont{\Large\bfseries}
\def\topiclabelfont{\large}
diff --git a/Master/texmf-dist/tex/latex/disser/titledefs.rtx b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
index 985cf3eaa17..0b5c110e823 100644
--- a/Master/texmf-dist/tex/latex/disser/titledefs.rtx
+++ b/Master/texmf-dist/tex/latex/disser/titledefs.rtx
@@ -89,10 +89,10 @@
}
}
-\newcommand\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\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}
+\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre
}
\newcommand\conclusion{\nchapter{\conclusionname}}
\newcommand\defsname{%
@@ -123,16 +123,16 @@
\end{tabbing}
}
-\newcommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}\,>>%
+\providecommand\datefield[1][\number\year]{<<\rule[0pt]{1cm}{.5pt}>>\ %
\rule[0pt]{3cm}{0.5pt}\ #1~\yearname}
-\newcommand\mkcommonsect[3]{%
+\providecommand\mkcommonsect[3]{%
\@namedef{#1head}{#2}
\@namedef{#1section}{\commonsect{\expandafter\csname #1head\endcsname}\postcommonsect}
\@namedef{#1text}{#3}
}
\let\mkintrosect=\mkcommonsect
-\newcommand\facsimile{\vskip 6pt\includegraphics[width=3cm]{facsimile}}
+\providecommand\facsimile{\vskip 6pt\includegraphics[width=3cm]{facsimile}}
\endinput
%%