summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/upmethodology/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/upmethodology/src')
-rw-r--r--macros/latex/contrib/upmethodology/src/UPMVERSION.def2
-rw-r--r--macros/latex/contrib/upmethodology/src/upmethodology-document.sty13
-rw-r--r--macros/latex/contrib/upmethodology/src/upmethodology-extension.sty18
3 files changed, 25 insertions, 8 deletions
diff --git a/macros/latex/contrib/upmethodology/src/UPMVERSION.def b/macros/latex/contrib/upmethodology/src/UPMVERSION.def
index 267de19319..571ec47939 100644
--- a/macros/latex/contrib/upmethodology/src/UPMVERSION.def
+++ b/macros/latex/contrib/upmethodology/src/UPMVERSION.def
@@ -1 +1 @@
-\def\UPMVERSION{20190928}
+\def\UPMVERSION{20200406}
diff --git a/macros/latex/contrib/upmethodology/src/upmethodology-document.sty b/macros/latex/contrib/upmethodology/src/upmethodology-document.sty
index c345e61553..f3deda16b8 100644
--- a/macros/latex/contrib/upmethodology/src/upmethodology-document.sty
+++ b/macros/latex/contrib/upmethodology/src/upmethodology-document.sty
@@ -1,6 +1,6 @@
% Package for Unified Process Methodology's documents
%
-% Copyright (c) 2006-2013 Stephane GALLAND <galland@arakhne.org>
+% Copyright (c) 2006-2020 Stephane GALLAND <galland@arakhne.org>
%
% 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@doc@ver{2015/04/24}
+\global\edef\upm@package@doc@ver{2020/04/06}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-document}[\upm@package@doc@ver]
@@ -48,7 +48,7 @@
\gdef\upm@lang@document@abstract{Abstract}%
\gdef\upm@lang@document@keywords{Key-words}%
\gdef\upm@lang@document@copyright@purpose{This document describes the \theupmproject\ project\Ifnotempty{\theupmsubproject}{ and its \theupmsubproject\ subproject}.}%
- \gdef\upm@lang@document@copyright@tex{\TeX\ is a trademark of the American Mathematical Society.}%
+ \gdef\upm@lang@document@copyright@tex{\TeX\ and \LaTeX\ are a trademarks of the American Mathematical Society.}%
\gdef\upm@lang@document@copyright@upmethodology{\texttt{tex-upmethodology} is owned by St\'ephane Galland, \arakhneorg, France.}%
\gdef\upm@lang@document@copyright@madewith{This document was realised with \LaTeX\ and \texttt{tex-upmethodology}.}%
\gdef\upm@lang@document@copyright@trademarks{This document is published by the \theupmformattedpublisher. All rights reserved. No part of this publication may be reproduced, stored in a retreival system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publishers.}
@@ -509,6 +509,13 @@
\newcommand{\theupmformattedcopyrighter}{\Ifelsedefined{copyrighter}{\theupmcopyrighter}{\textcolor{red}{???}}}
%-----
+%Set the purpose of this document
+%\setdocumentpurpose{text}
+\newcommand{\setdocumentpurpose}[1]{%
+ \gdef\upm@lang@document@copyright@purpose{#1}%
+}
+
+%-----
%Set the publisher identity
%\setpublisher{name}
\newcommand{\setpublisher}[1]{\Set{publisher}{#1}}
diff --git a/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty b/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty
index 8b6a2cd786..f70441df7b 100644
--- a/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty
+++ b/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty
@@ -1,6 +1,6 @@
% Package for Unified Process Methodology's extensions
%
-% Copyright (c) 2006-2009 Stephane GALLAND <galland@arakhne.org>
+% Copyright (c) 2006-2020 Stephane GALLAND <galland@arakhne.org>
%
% This program is free library; you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as
@@ -18,7 +18,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm@package@ext@ver{2017/08/08}
+\global\edef\upm@package@ext@ver{2020/04/06}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-extension}[\upm@package@ext@ver]
@@ -62,7 +62,7 @@
}{}%
}{%
\ifthenelse{\equal{\upmcurrentlang}{#1}}{%
- \message{*** define extension value #2 ****}%
+ \message{*** define the extension value #2 ****}%
\global\@namedef{upmext@extension@value@#2}{#3}%
}{}%
\ifupm@extension@savealllang%
@@ -72,9 +72,19 @@
}
\let\Set\upm@extension@Set
+\newcommand{\Append}[3][\upmcurrentlang]{%
+ \ifthenelse{\equal{\upmcurrentlang}{#1}}{%
+ \message{*** append to extension value #2 ****}%
+ \expandafter\expandafter\expandafter\global\expandafter\protected@edef\csname upmext@extension@value@#2\endcsname{\@nameuse{upmext@extension@value@#2}\xspace#3}%
+ }{}%
+ %\ifupm@extension@savealllang%
+ % \global\expandafter\g@addto@macro\csname upmext@extension@value@#2#1\endcsname{#3}%
+ %\fi
+}
+
\newcommand{\Unset}[2][\upmcurrentlang]{%
\ifthenelse{\equal{\upmcurrentlang}{#1}}{%
- \message{*** undefine extension value #2 ****}%
+ \message{*** undefine the extension value #2 ****}%
\global\expandafter\let\csname upmext@extension@value@#2\endcsname\@undefined%
\ifupm@extension@savealllang%
\global\expandafter\let\csname upmext@extension@value@#2@#1\endcsname\@undefined%