From 359bb28460b6e9550d5427d0c37f043ee2b4c8bf Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Feb 2015 22:46:45 +0000 Subject: upmethodology (27feb15) git-svn-id: svn://tug.org/texlive/trunk@36397 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def | 2 +- Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def index 582113ce694..53e7f8a14e9 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def +++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20141013} +\def\UPMVERSION{20150227} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty index 1b4e2070ed2..98d34aa0f4d 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty @@ -17,7 +17,7 @@ % write to the Free Software Foundation, Inc., 59 Temple Place - Suite % 330, Boston, MA 02111-1307, USA. -\global\edef\upm@package@fmt@ver{2014/10/13} +\global\edef\upm@package@fmt@ver{2015/02/27} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver] @@ -707,11 +707,17 @@ \def\upm@format@newsection@chapter@a[#1]#2{% \expandafter\chapter*[#1]{#2}% \addcontentsline{toc}{chapter}{\upm@format@newsection@alignment{#1}}% + \@ifundefined{minitoc}{}{% + \global\addtocounter{mtc}{1}% + }% } \def\upm@format@newsection@chapter@b#1{% \expandafter\chapter*{#1}% \addcontentsline{toc}{chapter}{\upm@format@newsection@alignment{#1}}% + \@ifundefined{minitoc}{}{% + \global\addtocounter{mtc}{1}% + }% } %----- -- cgit v1.2.3