From aaf5bfa44aee090306074edc3433e49fcc23837b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 28 Sep 2019 21:34:06 +0000 Subject: upmethodology (28sep19) git-svn-id: svn://tug.org/texlive/trunk@52200 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/upmethodology/upm_caution.pdf | Bin 0 -> 1833 bytes .../doc/latex/upmethodology/upm_caution.png | Bin 13821 -> 14415 bytes .../doc/latex/upmethodology/upm_caution.svg | 66 +++++++++++++++++++++ .../doc/latex/upmethodology/upm_info.pdf | Bin 0 -> 1967 bytes .../doc/latex/upmethodology/upm_info.png | Bin 14513 -> 17810 bytes .../doc/latex/upmethodology/upm_info.svg | 66 +++++++++++++++++++++ .../doc/latex/upmethodology/upm_question.pdf | Bin 0 -> 2089 bytes .../doc/latex/upmethodology/upm_question.png | Bin 15205 -> 17925 bytes .../doc/latex/upmethodology/upm_question.svg | 66 +++++++++++++++++++++ .../tex/latex/upmethodology/UPMVERSION.def | 2 +- .../tex/latex/upmethodology/upmethodology-fmt.sty | 52 +++++++++++----- 11 files changed, 235 insertions(+), 17 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_caution.pdf create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_caution.svg create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_info.pdf create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_info.svg create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_question.pdf create mode 100644 Master/texmf-dist/doc/latex/upmethodology/upm_question.svg diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_caution.pdf b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.pdf new file mode 100644 index 00000000000..eb0fa4957a7 Binary files /dev/null and b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.pdf differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_caution.png b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.png index 892e28aad57..51c62e371fc 100644 Binary files a/Master/texmf-dist/doc/latex/upmethodology/upm_caution.png and b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.png differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_caution.svg b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.svg new file mode 100644 index 00000000000..2e0e833f9ce --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/upm_caution.svg @@ -0,0 +1,66 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_info.pdf b/Master/texmf-dist/doc/latex/upmethodology/upm_info.pdf new file mode 100644 index 00000000000..09ff0ef1b45 Binary files /dev/null and b/Master/texmf-dist/doc/latex/upmethodology/upm_info.pdf differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_info.png b/Master/texmf-dist/doc/latex/upmethodology/upm_info.png index ea470f49afa..ede9860e955 100644 Binary files a/Master/texmf-dist/doc/latex/upmethodology/upm_info.png and b/Master/texmf-dist/doc/latex/upmethodology/upm_info.png differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_info.svg b/Master/texmf-dist/doc/latex/upmethodology/upm_info.svg new file mode 100644 index 00000000000..a247c9d6858 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/upm_info.svg @@ -0,0 +1,66 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_question.pdf b/Master/texmf-dist/doc/latex/upmethodology/upm_question.pdf new file mode 100644 index 00000000000..d77f42de754 Binary files /dev/null and b/Master/texmf-dist/doc/latex/upmethodology/upm_question.pdf differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_question.png b/Master/texmf-dist/doc/latex/upmethodology/upm_question.png index a959004aa73..a69a07dee75 100644 Binary files a/Master/texmf-dist/doc/latex/upmethodology/upm_question.png and b/Master/texmf-dist/doc/latex/upmethodology/upm_question.png differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upm_question.svg b/Master/texmf-dist/doc/latex/upmethodology/upm_question.svg new file mode 100644 index 00000000000..88911f8f376 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/upm_question.svg @@ -0,0 +1,66 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def index fbd7b4b22f6..267de193195 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def +++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20190917} +\def\UPMVERSION{20190928} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty index bbdd4bce1e6..776022789d5 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty @@ -1,6 +1,6 @@ % Layout and Pagraph Format for Unified Process Methodology % -% Copyright (c) 2006-2009, 2012-2015 Stephane GALLAND +% Copyright (c) 2006-2009, 2012-2019 Stephane GALLAND % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -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{2019/08/04} +\global\edef\upm@package@fmt@ver{2019/09/28} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver] @@ -1370,34 +1370,54 @@ \newsavebox{\upm@highlight@box@save} -\newenvironment{upm@highligh@box}[2]{% +% Parameters are: +% #1: the width of the box +% #2: the name of the picture +% #3: the name of the border color +% #4: the name of the background color +% #5: the name of the text color +\newenvironment{upm@highligh@box}[5]{% \par \vspace{.5cm} \begin{tabular}{|p{#1}|} - \hline - \begin{window}[0,l,{\mbox{\includegraphics[width=1cm]{#2}}},{}] -}{% - \end{window}\\ \hline \end{tabular} + \arrayrulecolor{#3}% + \hline + \cellcolor{#4} + \begin{window}[0,l,{\mbox{\includegraphics[width=1cm]{#2}}},{}] + \color{#5} + }{% + \normalcolor\end{window}\\ \hline \end{tabular} \vspace{.5cm} \par } -\newenvironment{upmcaution}[1][\linewidth]{% - \upm@highligh@box{#1}{upm_caution.png}% +% Colors for the highligh boxes +\colorlet{highlightboxbackground_caution}{white} +\colorlet{highlightboxforeground_caution}{black} +\colorlet{highlightboxborder_caution}{black} +\colorlet{highlightboxbackground_info}{white} +\colorlet{highlightboxforeground_info}{black} +\colorlet{highlightboxborder_info}{black} +\colorlet{highlightboxbackground_question}{white} +\colorlet{highlightboxforeground_question}{black} +\colorlet{highlightboxborder_question}{black} + +\newenvironment{upmcaution}[1][.8\linewidth]{% + \bgroup\centering\upm@highligh@box{#1}{upm_caution.pdf}{highlightboxborder_caution}{highlightboxbackground_caution}{highlightboxforeground_caution}% }{% - \endupm@highligh@box% + \endupm@highligh@box\egroup% } -\newenvironment{upminfo}[1][\linewidth]{% - \upm@highligh@box{#1}{upm_info.png}% +\newenvironment{upminfo}[1][.8\linewidth]{% + \bgroup\centering\upm@highligh@box{#1}{upm_info.pdf}{highlightboxborder_info}{highlightboxbackground_info}{highlightboxforeground_info}% }{% - \endupm@highligh@box% + \endupm@highligh@box\egroup% } -\newenvironment{upmquestion}[1][\linewidth]{% - \upm@highligh@box{#1}{upm_question.png}% +\newenvironment{upmquestion}[1][.8\linewidth]{% + \bgroup\centering\upm@highligh@box{#1}{upm_question.pdf}{highlightboxborder_question}{highlightboxbackground_question}{highlightboxforeground_question}% }{% - \endupm@highligh@box% + \endupm@highligh@box\egroup% } %---------------------------------------- -- cgit v1.2.3