summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-03-04 05:05:45 +0000
committerNorbert Preining <preining@logic.at>2014-03-04 05:05:45 +0000
commitfbe57f4bc9921279854b16480b26387401cc994b (patch)
treebe7fe6e497e0eeb2ec01a6ca92ef71757b3e1ba2
parentff25537b4955ac9aed9f7865dc290a8108dc10dd (diff)
upmethodology (4Mar)
git-svn-id: svn://tug.org/texlive/trunk@33091 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def2
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty37
-rw-r--r--Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty2
3 files changed, 38 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
index 8c7352552d4..b7b6f6b03b5 100644
--- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
+++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
@@ -1 +1 @@
-\def\UPMVERSION{20130209}
+\def\UPMVERSION{20140303}
diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
index cad37b19981..90c44579ae3 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/02/09}
+\global\edef\upm@package@fmt@ver{2014/03/03}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver]
@@ -823,6 +823,41 @@
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
+% Change the color of the TOC for the "dotted" lines
+%\let\upm@format@dottedtocline@old\@dottedtocline
+%\gdef\@dottedtocline#1#2#3#4#5{%
+% %{depth}{left margin}{right margin}{text}{page number}
+% \upm@format@dottedtocline@old{#1}{#2}{#3}{#4}{#5}%
+%}
+
+% Change the color of the TOC for the parts
+\@ifundefined{l@part}{}{
+\let\upm@format@l@part@old\l@part
+\renewcommand*\l@part[2]{%
+ %{text}{page number}
+ \upm@format@l@part@old{\textcolor{parttitlecolor}{#1}}{\textcolor{parttitlecolor}{#2}}%
+}
+}
+
+% Change the color of the TOC for the chapters
+\@ifundefined{l@chapter}{}{
+\let\upm@format@l@chapter@old\l@chapter
+\renewcommand*\l@chapter[2]{%
+ %{text}{page number}
+ \upm@format@l@chapter@old{\textcolor{chaptertitlecolor}{#1}}{\textcolor{chaptertitlecolor}{#2}}%
+}
+}
+
+% Overide the color configuration of the MINITOC package
+\AtBeginDocument{
+ \@ifundefined{minitoc}{}{%
+ \global\let\upm@format@mtcSfont@old\mtcSfont
+ \gdef\mtcSfont{\upm@format@mtcSfont@old\color{sectiontitlecolor}}
+ \global\let\upm@format@mtifont@old\mtifont
+ \gdef\mtifont{\upm@format@mtifont@old\color{chaptertitlecolor}}
+ }
+}
+
%----------------------------------------
% ENUMERATIONS
%----------------------------------------
diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty
index e28af917933..54357c42f0f 100644
--- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty
+++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty
@@ -16,7 +16,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm@package@private@doctype@ver{2013/10/14}
+\global\edef\upm@package@private@doctype@ver{2014/03/03}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-p-common}[\upm@package@private@doctype@ver]