From c90b0317da3ad158c3e4e826ec6c3c726da61e1c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Apr 2020 22:46:29 +0000 Subject: upmethodology (6apr20) git-svn-id: svn://tug.org/texlive/trunk@54671 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/upmethodology/upmethodology-doc.pdf | Bin 346938 -> 323938 bytes .../doc/latex/upmethodology/upmethodology-doc.tex | 12 +++++++++++- .../tex/latex/upmethodology/UPMVERSION.def | 2 +- .../latex/upmethodology/upmethodology-document.sty | 13 ++++++++++--- .../upmethodology/upmethodology-extension.sty | 18 ++++++++++++++---- 5 files changed, 36 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf index c95d723e653..e76b760ca8f 100644 Binary files a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf and b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex index c168be50c2c..9f2f0fcf6ee 100644 --- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex +++ b/Master/texmf-dist/doc/latex/upmethodology/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/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def index 267de193195..571ec479390 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def +++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20190928} +\def\UPMVERSION{20200406} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty index c345e61553b..f3deda16b89 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty @@ -1,6 +1,6 @@ % Package for Unified Process Methodology's documents % -% Copyright (c) 2006-2013 Stephane GALLAND +% Copyright (c) 2006-2020 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@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.} @@ -508,6 +508,13 @@ \newcommand{\theupmformattedpublisher}{\Ifelsedefined{publisher}{\theupmpublisher}{\textcolor{red}{???}}} \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} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty index 8b6a2cd7868..f70441df7b3 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty @@ -1,6 +1,6 @@ % Package for Unified Process Methodology's extensions % -% Copyright (c) 2006-2009 Stephane GALLAND +% Copyright (c) 2006-2020 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 @@ -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% -- cgit v1.2.3