diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-11 22:46:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-11 22:46:29 +0000 |
commit | c90b0317da3ad158c3e4e826ec6c3c726da61e1c (patch) | |
tree | fc11d937254366af0856d04c4e1d5b20cfdc2b04 /Master | |
parent | 7d729d390cb5a7d8141323ad4c09e50d71f93d8f (diff) |
upmethodology (6apr20)
git-svn-id: svn://tug.org/texlive/trunk@54671 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf | bin | 346938 -> 323938 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty | 18 |
5 files changed, 36 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf Binary files differindex c95d723e653..e76b760ca8f 100644 --- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf +++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf 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 <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/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 <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% |