summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/upmethodology
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-07 03:02:57 +0000
committerNorbert Preining <norbert@preining.info>2020-04-07 03:02:57 +0000
commit1d7a1c697696d66a97b64894f8553a61717928d9 (patch)
treeb50205ab031614b7d3393e85e42f35a207014219 /macros/latex/contrib/upmethodology
parent937315c7f95870724a86e99576effd7945092dae (diff)
CTAN sync 202004070302
Diffstat (limited to 'macros/latex/contrib/upmethodology')
-rw-r--r--macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdfbin346938 -> 323938 bytes
-rw-r--r--macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex12
-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
5 files changed, 36 insertions, 9 deletions
diff --git a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf
index c95d723e65..e76b760ca8 100644
--- a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf
+++ b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex
index c168be50c2..9f2f0fcf6e 100644
--- a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex
+++ b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex
@@ -10,6 +10,7 @@
\incsubversion{\makedate{28}{11}{2017}}{Add 'standardlists' option.}{\upmpublic}
\incsubversion{\makedate{04}{08}{2019}}{Add 'graphicspathcontext' option.}{\upmpublic}
\incversion{\makedate{17}{09}{2019}}{Add class options to include optional packages.}{\upmpublic}
+\incversion{\makedate{06}{04}{2020}}{Add explainations for \texttt{{\textbackslash}Append} and \texttt{{\textbackslash}setdocumentpurpose}.}{\upmpublic}
%\incversion{\makedate{17}{09}{2019}}{Add the documentation for the \texttt{upmethodology-spec} package.}{\upmpublic}
\addauthorvalidator*[galland@arakhne.org]{St{\'e}phane}{Galland}{Original Author}
@@ -236,6 +237,7 @@ This section contains the list of all the package dependencies for the \texttt{u
\item \texttt{upmethodology-p-common}
\end{itemize}
+
%###########################################################
\part{Package Documentation}
@@ -1708,6 +1710,11 @@ Publications may be identifier by international identifiers. Package \texttt{upm
\texttt{{\textbackslash}setissn\{number\}}\\
\texttt{{\textbackslash}setdoi\{number\}}\\
+The specific text may be provided for explaining the purpose of the document. The text is shown into the copyright page.
+In order to change the document's purpose, the following macro is provided: \\
+\texttt{{\textbackslash}setdocumentpurpose\{text\}}\\
+
+
\subsection{Retreiving Information}
The information set by the macros described in the previous section may be retreived with the following macros: \\
@@ -1806,7 +1813,7 @@ where:
The \texttt{upmethodology-frontpage} package is able to use a page layout defined in a document extension (see chapter~\ref{section:document:extension} for details on document extension).
\pagebreak A \LaTeX\ macro must be defined in the \texttt{upmext-NAME.cfg} file of the extension. The name of this macro (for example \texttt{mylayout}) must be set with the \texttt{{\textbackslash}set} macro in the same file:\\
-\texttt{{\textbackslash}set\{frontpage\}\{mylayout\}}\\
+\texttt{{\textbackslash}Set\{frontpage\}\{mylayout\}}\\
\section{Localization}
@@ -1913,6 +1920,9 @@ The \texttt{variable\_name} is the name of the value to override. It must be tak
The \texttt{{\textbackslash}Get} macro allows you to retrieve the value defined by a \texttt{{\textbackslash}Set}:\\
\texttt{{\textbackslash}Get\{variable\_name\}} \\
+The \texttt{{\textbackslash}Append} macro allows you to append text to an existing definition of a value:\\
+\texttt{{\textbackslash}Append\{variable\_name\}\{text to append\}} \\
+
The \texttt{{\textbackslash}Unset} macro allows you to remove the definition of a value:\\
\texttt{{\textbackslash}Unset\{variable\_name\}} \\
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%