texlive[54671] Master/texmf-dist: upmethodology (6apr20)
commits+karl at tug.org
commits+karl at tug.org
Sun Apr 12 00:46:30 CEST 2020
Revision: 54671
http://tug.org/svn/texlive?view=revision&revision=54671
Author: karl
Date: 2020-04-12 00:46:29 +0200 (Sun, 12 Apr 2020)
Log Message:
-----------
upmethodology (6apr20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf
trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex 2020-04-11 22:46:17 UTC (rev 54670)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex 2020-04-11 22:46:29 UTC (rev 54671)
@@ -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 at arakhne.org]{St{\'e}phane}{Galland}{Original Author}
@@ -236,6 +237,7 @@
\item \texttt{upmethodology-p-common}
\end{itemize}
+
%###########################################################
\part{Package Documentation}
@@ -1708,6 +1710,11 @@
\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 @@
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{{\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\}} \\
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2020-04-11 22:46:17 UTC (rev 54670)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2020-04-11 22:46:29 UTC (rev 54671)
@@ -1 +1 @@
-\def\UPMVERSION{20190928}
+\def\UPMVERSION{20200406}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty 2020-04-11 22:46:17 UTC (rev 54670)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty 2020-04-11 22:46:29 UTC (rev 54671)
@@ -1,6 +1,6 @@
% Package for Unified Process Methodology's documents
%
-% Copyright (c) 2006-2013 Stephane GALLAND <galland at arakhne.org>
+% Copyright (c) 2006-2020 Stephane GALLAND <galland at 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 at package@doc at ver{2015/04/24}
+\global\edef\upm at package@doc at ver{2020/04/06}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-document}[\upm at package@doc at ver]
@@ -48,7 +48,7 @@
\gdef\upm at lang@document at abstract{Abstract}%
\gdef\upm at lang@document at keywords{Key-words}%
\gdef\upm at lang@document at copyright@purpose{This document describes the \theupmproject\ project\Ifnotempty{\theupmsubproject}{ and its \theupmsubproject\ subproject}.}%
- \gdef\upm at lang@document at copyright@tex{\TeX\ is a trademark of the American Mathematical Society.}%
+ \gdef\upm at lang@document at copyright@tex{\TeX\ and \LaTeX\ are a trademarks of the American Mathematical Society.}%
\gdef\upm at lang@document at copyright@upmethodology{\texttt{tex-upmethodology} is owned by St\'ephane Galland, \arakhneorg, France.}%
\gdef\upm at lang@document at copyright@madewith{This document was realised with \LaTeX\ and \texttt{tex-upmethodology}.}%
\gdef\upm at lang@document at 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 at lang@document at copyright@purpose{#1}%
+}
+
+%-----
%Set the publisher identity
%\setpublisher{name}
\newcommand{\setpublisher}[1]{\Set{publisher}{#1}}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty 2020-04-11 22:46:17 UTC (rev 54670)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty 2020-04-11 22:46:29 UTC (rev 54671)
@@ -1,6 +1,6 @@
% Package for Unified Process Methodology's extensions
%
-% Copyright (c) 2006-2009 Stephane GALLAND <galland at arakhne.org>
+% Copyright (c) 2006-2020 Stephane GALLAND <galland at 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 at package@ext at ver{2017/08/08}
+\global\edef\upm at package@ext at ver{2020/04/06}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-extension}[\upm at package@ext at ver]
@@ -62,7 +62,7 @@
}{}%
}{%
\ifthenelse{\equal{\upmcurrentlang}{#1}}{%
- \message{*** define extension value #2 ****}%
+ \message{*** define the extension value #2 ****}%
\global\@namedef{upmext at extension@value@#2}{#3}%
}{}%
\ifupm at extension@savealllang%
@@ -72,9 +72,19 @@
}
\let\Set\upm at extension@Set
+\newcommand{\Append}[3][\upmcurrentlang]{%
+ \ifthenelse{\equal{\upmcurrentlang}{#1}}{%
+ \message{*** append to extension value #2 ****}%
+ \expandafter\expandafter\expandafter\global\expandafter\protected at edef\csname upmext at extension@value@#2\endcsname{\@nameuse{upmext at extension@value@#2}\xspace#3}%
+ }{}%
+ %\ifupm at extension@savealllang%
+ % \global\expandafter\g at addto@macro\csname upmext at 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 at extension@value@#2\endcsname\@undefined%
\ifupm at extension@savealllang%
\global\expandafter\let\csname upmext at extension@value@#2@#1\endcsname\@undefined%
More information about the tex-live-commits
mailing list.