texlive[74856] Master/texmf-dist: upmethodology (5apr25)
commits+karl at tug.org
commits+karl at tug.org
Sat Apr 5 21:54:41 CEST 2025
Revision: 74856
https://tug.org/svn/texlive?view=revision&revision=74856
Author: karl
Date: 2025-04-05 21:54:41 +0200 (Sat, 05 Apr 2025)
Log Message:
-----------
upmethodology (5apr25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/upmethodology/AUTHORS
trunk/Master/texmf-dist/doc/latex/upmethodology/README
trunk/Master/texmf-dist/doc/latex/upmethodology/README.textile
trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/AUTHORS
===================================================================
--- trunk/Master/texmf-dist/doc/latex/upmethodology/AUTHORS 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/AUTHORS 2025-04-05 19:54:41 UTC (rev 74856)
@@ -1,6 +1,6 @@
-Stephane GALLAND <galland at arakhne.org> (source, documentation)
+Stephane GALLAND <https://github.com/gallandarakhne.org> (source, documentation)
Benoit CORTIER <https://github.com/CBenoit> (documentation)
Frans van DUNNE <https://github.com/FvD> (documentation)
-Nicolas GAUD <gaud at arakhne.org> (bibtex style)
+Nicolas GAUD <https://github.com/ngaud> (bibtex style)
Maxime PINARD <https://github.com/pinam45> (documentation)
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/upmethodology/README 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/README 2025-04-05 19:54:41 UTC (rev 74856)
@@ -7,7 +7,7 @@
tex-upmethodology is a (La)TeX style that enables you to create Unified Process methodology (UP or RUP) based documents (document version, history, authors, validators, specification, task management, helping tools...) with LaTeX. It offers a template that may be used to automate revisions, or simply to make it easier to collaborate on text based documentation that can be managed through a version control system with ease.
-Because the tex-upmethodology package is based on external definitions of layouts and styles, it has also been used successfully to write and publish scientific documents such as reports, engineering theses, master theses, and PhD theses. An example of PhD thesis styles based on tex-upmethodology may be found at: http://www.multiagent.fr/ThesisStyle
+Because the tex-upmethodology package is based on external definitions of layouts and styles, it has also been used successfully to write and publish scientific documents such as reports, engineering theses, master theses, and PhD theses. An example of PhD thesis styles based on tex-upmethodology may be found at: https://www.arakhne.org/download/latex/
2. Installation
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/README.textile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/upmethodology/README.textile 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/README.textile 2025-04-05 19:54:41 UTC (rev 74856)
@@ -4,7 +4,7 @@
@tex-upmethodology@ is a (La)TeX style that enables you to create Unified Process methodology (UP or RUP) based documents (document version, history, authors, validators, specification, task management, helping tools...) with LaTeX. It offers a template that may be used to automate revisions, or simply to make it easier to collaborate on text based documentation that can be managed through a version control system with ease.
-Because the @tex-upmethodology@ package is based on external definitions of layouts and styles, it has also been used successfully to write and publish scientific documents such as *reports*, *engineering theses*, *master theses*, and *PhD theses*. An example of PhD thesis styles based on tex-upmethodology may be found at: http://www.multiagent.fr/ThesisStyle
+Because the @tex-upmethodology@ package is based on external definitions of layouts and styles, it has also been used successfully to write and publish scientific documents such as *reports*, *engineering theses*, *master theses*, and *PhD theses*. An example of PhD thesis styles based on tex-upmethodology may be found at: https://www.arakhne.org/download/latex/
h2. Installation
@@ -18,13 +18,13 @@
h2. Authors
-"Stéphane GALLAND":http://www.arakhne.org/homes/galland.html <galland at arakhne.org> (source, documentation)
+"Stéphane GALLAND":https://github.com/gallandarakhneorg <galland at arakhne.org> (source, documentation)
"Benoît CORTIER":https://github.com/CBenoit (documentation)
"Frans van DUNNE":https://github.com/FvD (documentation)
-"Nicolas GAUD":http://www.arakhne.org/homes/gaud.html <gaud at arakhne.org> (bibtex style)
+"Nicolas GAUD":https://github.com/ngaud <nicolas.gaud at utbm.fr> (bibtex style)
"Maxime PINARD":https://github.com/pinam45 <maxime.pin at live.fr> (documentation)
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-04-05 19:54:41 UTC (rev 74856)
@@ -1 +1 @@
-\def\UPMVERSION{20250323}
+\def\UPMVERSION{20250405}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -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@bp at ver{2025/03/15}
+\global\edef\upm at package@bp at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-backpage}[\upm at package@bp at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -22,7 +22,7 @@
% 2009-10-30 Clean code.
%
-\global\edef\upm at package@code at ver{2025/03/15}
+\global\edef\upm at package@code at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-code}[\upm at package@code at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls 2025-04-05 19:54:41 UTC (rev 74856)
@@ -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@docclazz at ver{2025/03/15}
+\global\edef\upm at package@docclazz at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{upmethodology-document}[\upm at package@docclazz at ver]
@@ -189,6 +189,10 @@
\RequirePackage{url}
\urlstyle{same}
+\ifupmarticleformat\else%
+ \RequirePackage{fancyhdr}
+\fi
+
\RequirePackage{upmethodology-document}
\RequirePackage{upmethodology-extension}
\RequirePackage{upmethodology-frontpage}
@@ -212,9 +216,29 @@
% HEADERS AND FOOTERS
%----------------------------------------
-\def\upm at header@fmt#1{\textsc{\scriptsize #1}}
-\def\upm at copyright@fmt#1{\textsc{\tiny #1}}
+% TODO REMOVE
+%\def\upm at header@fmt#1{\textsc{\scriptsize #1}}
+%\def\upm at copyright@fmt#1{\textsc{\tiny #1}}
+\colorlet{pageheadertext}{gray}
+\colorlet{pageheadersection}{darkgray}
+\colorlet{pagefootertext}{gray}
+\colorlet{pagefooterpage}{darkgray}
+\def\upm at footer@pagefmt at left#1{\textcolor{pagefootertext}{%
+ \sffamily%
+ {\bfseries\textcolor{pagefooterpage}{#1}}%
+ \hspace{5pt}\ensuremath{|}%
+}}
+\def\upm at footer@pagefmt at right#1{\textcolor{pagefootertext}{
+ \sffamily%
+ \ensuremath{|}\hspace{5pt}%
+ {\bfseries\textcolor{pagefooterpage}{#1}}%
+}}
+
+\def\upm at header@fmt#1{\textcolor{pageheadertext}{\sffamily{#1}}}
+\def\upm at header@sectionfmt at left#1#2{\textcolor{pageheadersection}{#2}\hspace{5pt}\ensuremath{|}\hspace{5pt}\textsc{#1}}
+\def\upm at header@sectionfmt at right#1#2{\textsc{#1}\hspace{5pt}\ensuremath{|}\hspace{5pt}\textcolor{pageheadersection}{#2}}
+
\global\let\upm at package@docclazz at old@pagestyle\pagestyle
\gdef\pagestyle#1{%
\gdef\upm at package@docclazz at saved@pagestyle{#1}%
@@ -226,6 +250,40 @@
\newdimen{\upm at smalllogo@height}
\upm at smalllogo@height=1cm
+\renewcommand{\sectionmark}[1]{\markright{\upm at header@sectionfmt at right{#1}{\thesection}}}
+\ifupmarticleformat\else
+ \renewcommand{\chaptermark}[1]{\markboth{\upm at header@sectionfmt at left{#1}{\thechapter}}{}}
+\fi
+
+% Supported page styles:
+% empty: no header, no footer
+% facingtochapter: page that is on the left of the starting page of a chapter
+% plain: starting page of a chapter
+% headings: pages that are supposed to have header and footer
+
+% Define the header and footer style for books and reports
+\ifupmarticleformat\else%
+
+ % Style used for the first pages of the chapter
+ \fancypagestyle{plain}{
+ \fancyhf{}%
+ \renewcommand{\headrulewidth}{0pt}%
+ \renewcommand{\footrulewidth}{0pt}%
+ \fancyfoot[LE]{\upm at footer@pagefmt at left{\thepage}}%
+ \fancyfoot[RO]{\upm at footer@pagefmt at right{\thepage}}%
+ }
+ % Style used in chapters in which a standard heading is expected
+ \fancypagestyle{headings}{
+ \fancyhf{}%
+ \renewcommand{\headrulewidth}{0pt}%
+ \renewcommand{\footrulewidth}{0pt}%
+ \fancyhead[LE]{\upm at header@fmt{\leftmark}}%
+ \fancyhead[RO]{\upm at header@fmt{\rightmark}}%
+ \fancyfoot[LE]{\upm at footer@pagefmt at left{\thepage}}%
+ \fancyfoot[RO]{\upm at footer@pagefmt at right{\thepage}}%
+ }
+\fi
+
%----------------------------------------
% FRONT, MAIN AND BACK MATTERS
%----------------------------------------
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -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{2025/03/15}
+\global\edef\upm at package@doc at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-document}[\upm at package@doc at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -18,7 +18,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm at package@ext at ver{2025/03/15}
+\global\edef\upm at package@ext at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-extension}[\upm at package@ext at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -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@fmt at ver{2025/03/23}
+\global\edef\upm at package@fmt at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-fmt}[\upm at package@fmt at ver]
@@ -177,7 +177,7 @@
\graphicspath{{./}}
%-----------------------------------------
-% LOCAL DEFINITION OF TH GRAPHICS PATH
+% LOCAL DEFINITION OF THE GRAPHICS PATH
%-----------------------------------------
\newenvironment{graphicspathcontext}[1]{%
@@ -191,6 +191,33 @@
}
%----------------------------------------
+% INTERNAL IMPLEMENTATION OF CAPTION MACRO
+%----------------------------------------
+\def\upm at format@caption{%
+ \ifx\@captype\@undefined
+ \@latex at error{\noexpand\upm at format@caption outside float}\@ehd
+ \expandafter\@gobble
+ \else
+ \refstepcounter\@captype
+ \expandafter\@firstofone
+ \fi
+ {\@dblarg{\upm at format@@caption\@captype}}%
+}
+\long\def\upm at format@@caption#1[#2]#3#4{%
+ \par%
+ \addcontentsline{\csname ext@#1\endcsname}{#1}%
+ {\protect\numberline{\csname the#1\endcsname}{\ignorespaces #2}}%
+ \begingroup%
+ \@parboxrestore%
+ \if at minipage%
+ \@setminipage%
+ \fi%
+ \normalsize%
+ \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3\ignorespaces #4}\par%
+ \endgroup%
+ }
+
+%----------------------------------------
% FIGURES
%----------------------------------------
@@ -206,7 +233,7 @@
\begin{#7}[#1]%
\begin{center}%
\protect\includegraphics[#2]{#3}%
- \protect\caption{#4#6}%
+ \protect\upm at format@caption{#4}{#6}%
\protect\label{fig:#5}%
\end{center}%
\end{#7}%
@@ -637,7 +664,7 @@
\mtabular[#2]{#3}{#4}{}%
}{%
\endmtabular\relax%
- \caption{\upm at table@caption\upm at table@source}%
+ \upm at format@caption{\upm at table@caption}{\upm at table@source}%
\label{\upm at table@label}%
\endcenter%
\upm at table@note%
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -18,7 +18,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm at package@fp at ver{2025/03/15}
+\global\edef\upm at package@fp at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-frontpage}[\upm at package@fp at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -16,7 +16,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm at package@private at doctype@ver{2025/03/15}
+\global\edef\upm at package@private at doctype@ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-p-common}[\upm at package@private at doctype@ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -23,7 +23,7 @@
% 2007-03-19 Add localization.
%
-\global\edef\upm at package@spec at ver{2025/03/15}
+\global\edef\upm at package@spec at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-spec}[\upm at package@spec at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -23,7 +23,7 @@
% 2007-03-19 Add localization.
%
-\global\edef\upm at package@task at ver{2025/03/15}
+\global\edef\upm at package@task at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-task}[\upm at package@task at ver]
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty 2025-04-05 12:04:19 UTC (rev 74855)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty 2025-04-05 19:54:41 UTC (rev 74856)
@@ -19,7 +19,7 @@
% 330, Boston, MA 02111-1307, USA.
%
-\global\edef\upm at package@version at ver{2025/03/15}
+\global\edef\upm at package@version at ver{2025/04/05}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-version}[\upm at package@version at ver]
More information about the tex-live-commits
mailing list.