texlive[75030] Master/texmf-dist: upmethodology (26apr25)
commits+karl at tug.org
commits+karl at tug.org
Sat Apr 26 22:08:20 CEST 2025
Revision: 75030
https://tug.org/svn/texlive?view=revision&revision=75030
Author: karl
Date: 2025-04-26 22:08:20 +0200 (Sat, 26 Apr 2025)
Log Message:
-----------
upmethodology (26apr25)
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.cls
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.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 2025-04-26 20:08:07 UTC (rev 75029)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex 2025-04-26 20:08:20 UTC (rev 75030)
@@ -2339,7 +2339,7 @@
\section{Change Back Page Layout}
It is possible to change the layout of the back page with the command: \\
-\texttt{{\textbackslash}setbacklayout\{layout\_name\}}\\
+\texttt{{\textbackslash}setbackcover\{layout\_name\}}\\
where \texttt{layout\_name} must be one of:
\begin{itemize}
\item \texttt{none}: no back page.
@@ -2533,6 +2533,28 @@
\item \texttt{{\textbackslash}upm at task@lang at subtask}: Sub-task of.
\end{itemize}
+\section{Example of task}
+
+\begin{taskdescription}{id:tache}
+ \taskname{nom}
+ \tasksuper{id:tache:0}
+
+ \taskcomment{description}
+
+ \taskprogress{percentage}
+
+ \taskstart{\makedate{24}{04}{2025}}
+ \taskend{\makedate{24}{04}{2026}}
+
+ \taskmanager{Stephane Galland}
+ \taskmember{Stephane Galland}
+
+ \taskmilestone
+ {\makedate{24}{07}{2025}}
+ {Description}
+\end{taskdescription}
+
+
%###########################################################
\chapter{Package upmethodology-code}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-04-26 20:08:07 UTC (rev 75029)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-04-26 20:08:20 UTC (rev 75030)
@@ -1 +1 @@
-\def\UPMVERSION{20250420}
+\def\UPMVERSION{20250425}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls 2025-04-26 20:08:07 UTC (rev 75029)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls 2025-04-26 20:08:20 UTC (rev 75030)
@@ -246,9 +246,13 @@
\newdimen{\upm at smalllogo@height}
\upm at smalllogo@height=1cm
-\renewcommand{\sectionmark}[1]{\markright{\upm at header@sectionfmt at right{#1}{\thesection}}}
+\def\upm at package@docclazz at numberorempty#1#2{%
+ \ifnum#1>0{#2}\fi%
+}
+
+\renewcommand{\sectionmark}[1]{\markright{\upm at header@sectionfmt at right{#1}{\upm at package@docclazz at numberorempty{\value{section}}{\thesection}}}}
\ifupmarticleformat\else
- \renewcommand{\chaptermark}[1]{\markboth{\upm at header@sectionfmt at left{#1}{\thechapter}}{}}
+ \renewcommand{\chaptermark}[1]{\markboth{\upm at header@sectionfmt at left{#1}{\upm at package@docclazz at numberorempty{\value{chapter}}{\thechapter}}}{}}
\fi
% Supported page styles:
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-04-26 20:08:07 UTC (rev 75029)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-04-26 20:08:20 UTC (rev 75030)
@@ -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/04/20}
+\global\edef\upm at package@fmt at ver{2025/04/23}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-fmt}[\upm at package@fmt at ver]
@@ -997,10 +997,12 @@
\def\@chaptertoc{\@ifstar\upm at chaptertoc@a\upm at chaptertoc@b}
\def\upm at chaptertoc@a[#1]#2{%
\chapter*[#1]{#2}%
+ \chaptermark{#2}%
\addcontentsline{toc}{chapter}{#2}%
}
\def\upm at chaptertoc@b#1{%
\chapter*{#1}%
+ \chaptermark{#1}%
\addcontentsline{toc}{chapter}{#1}%
}
@@ -1007,10 +1009,12 @@
\def\@sectiontoc{\@ifstar\upm at sectiontoc@a\upm at sectiontoc@b}
\def\upm at sectiontoc@a[#1]#2{%
\section*[#1]{#2}%
+ \sectionmark{#2}%
\addcontentsline{toc}{section}{#2}%
}
\def\upm at sectiontoc@b#1{%
\section*{#1}%
+ \sectionmark{#1}%
\addcontentsline{toc}{section}{#1}%
}
@@ -2046,3 +2050,4 @@
\endinput
+
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty 2025-04-26 20:08:07 UTC (rev 75029)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty 2025-04-26 20:08:20 UTC (rev 75030)
@@ -23,7 +23,7 @@
% 2007-03-19 Add localization.
%
-\global\edef\upm at package@task at ver{2025/04/12}
+\global\edef\upm at package@task at ver{2025/04/25}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-task}[\upm at package@task at ver]
@@ -229,7 +229,7 @@
\def\upm at task@tmp at e{}%
\@for\reserved at a:=\upm at task@tmp at c\do{%
\edef\upm at task@tmp at d{\expandafter\@upm at trim\reserved at a}%
- \protected at edef\upm at task@tmp at e{\upm at task@tmp at e \protect\item[\upm at task@tmp at d~:] \protect\thetaskmilestonecomment{#2}{\upm at task@tmp at d}}%
+ \protected at edef\upm at task@tmp at e{\upm at task@tmp at e \protect\item[\upm at task@tmp at d] \protect\thetaskmilestonecomment{#2}{\upm at task@tmp at d}}%
}%
\begin{description}\upm at task@tmp at e\end{description}%
}} \\}%
More information about the tex-live-commits
mailing list.