From b31f53c528600c224fbf75bf83673b514703f30f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Dec 2011 23:46:23 +0000 Subject: disser (21dec11) git-svn-id: svn://tug.org/texlive/trunk@24903 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/disser/disser.cls | 23 +++++++++++++++++++++-- Master/texmf-dist/tex/latex/disser/gost732.cls | 24 +++--------------------- 2 files changed, 24 insertions(+), 23 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls index 7eff6d5cf80..fd4314afa55 100644 --- a/Master/texmf-dist/tex/latex/disser/disser.cls +++ b/Master/texmf-dist/tex/latex/disser/disser.cls @@ -27,7 +27,7 @@ %% %% disser -- LaTeX document class for dissertations. %% -%% Copyright (c) 2004-2010 Stanislav Kruchinin +%% Copyright (c) 2004-2012 Stanislav Kruchinin %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -44,7 +44,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{disser}[2011/09/11 1.1.8 Document class for dissertations] +\ProvidesClass{disser}[2011/11/29 1.1.9 Document class for dissertations] \RequirePackage{kvoptions} @@ -1412,6 +1412,25 @@ \usepackage[square,comma,sort&compress,numbers]{natbib} \renewcommand\bibsection{\nchapter{\bibname}} +\@ifundefined{chapter}{% + \renewcommand\bibsection{% + \nsection{\bibname\@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}}% + }% +}{% + \@ifxundefined\NAT@sectionbib{% + \renewcommand\bibsection{% + \nchapter{\bibname\@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}}% + }% + }{% + \renewcommand\bibsection{% + \nsection{\bibname\ifx\@mkboth\@gobbletwo\else\markright{\MakeUppercase{\bibname}}\fi}% + }% + }% +}% + +\renewcommand\bibpreamble{% + \renewcommand\@biblabel[1]{##1.}% +} \renewenvironment{thebibliography}[1]{% \bibsection diff --git a/Master/texmf-dist/tex/latex/disser/gost732.cls b/Master/texmf-dist/tex/latex/disser/gost732.cls index 93fe01b055d..f8054ea7afb 100644 --- a/Master/texmf-dist/tex/latex/disser/gost732.cls +++ b/Master/texmf-dist/tex/latex/disser/gost732.cls @@ -11,28 +11,8 @@ %% %% This file is part of the disser package. %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% -%% gost732 -- GOST 7.32-2001 implementation. -%% -%% Copyright (c) 2004-2010 Stanislav Kruchinin -%% -%% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2003/12/01 or later. -%% -%% This program is distributed in the hope that it will be useful, -%% but WITHOUT ANY WARRANTY; without even the implied warranty of -%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{gost732}[2011/09/11 1.1.8 GOST 7.32-2001 implementation] +\ProvidesClass{gost732}[2011/11/29 1.1.9 GOST 7.32-2001 implementation] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{disser}} \ProcessOptions\relax @@ -121,6 +101,8 @@ \captionsetup[longtable]{justification=raggedright,singlelinecheck=false} \captionsetup[table]{justification=raggedright,singlelinecheck=false} +\setcitestyle{semicolon} + \renewcommand\postthefootnote{$^)$} \endinput -- cgit v1.2.3