summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mandi/mandi.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-24 03:00:51 +0000
committerNorbert Preining <norbert@preining.info>2023-11-24 03:00:51 +0000
commitac5a5e57a4c9b3c436c3bac327fe885acea28ba4 (patch)
tree52e2cdef50f95b55a5cec2f48cc27bfef4ce1a39 /macros/latex/contrib/mandi/mandi.dtx
parent4b11f001033c31cf22cda6f3d77dc2b5f013cd5b (diff)
CTAN sync 202311240300
Diffstat (limited to 'macros/latex/contrib/mandi/mandi.dtx')
-rw-r--r--macros/latex/contrib/mandi/mandi.dtx80
1 files changed, 44 insertions, 36 deletions
diff --git a/macros/latex/contrib/mandi/mandi.dtx b/macros/latex/contrib/mandi/mandi.dtx
index 745b779af6..3907b21e1b 100644
--- a/macros/latex/contrib/mandi/mandi.dtx
+++ b/macros/latex/contrib/mandi/mandi.dtx
@@ -4,10 +4,10 @@
% Copyright (C) 2023 by Paul J. Heafner <heafnerj@gmail.com>
% ---------------------------------------------------------------------------
% This work may be distributed and/or modified under the conditions of the
-% LaTeX Project Public License, either version 1.3 of this license or (at
+% LaTeX Project Public License, either version 1.3c of this license or (at
% your option) any later version. The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX version
+% https://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX version
% 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
@@ -27,10 +27,6 @@
% vdemo.py (not needed)
% ---------------------------------------------------------------------------
%
-% \fi
-%
-% \iffalse
-%
%<*internal>
\iffalse
%</internal>
@@ -58,10 +54,11 @@
% This can be changed in a local ltxdoc.cfg file but it is
% easier to just use the article class and the doc package
% instead and force letterpaper size.
-\documentclass[10pt,letterpaper]{ltxdoc}
-\SetupDoc{reportchangedates}
-%\documentclass[10pt,letterpaper]{article}
-%\usepackage[nohyperref,reportchangedates]{doc} % doc v3 zzzz
+%\documentclass[10pt,letterpaper]{ltxdoc}
+%\SetupDoc{reportchangedates}
+\documentclass[10pt,letterpaper]{article}
+\usepackage[reportchangedates]{doc} % THIS SUDDENLY WORKS!
+%\usepackage{hypdoc} % THIS ALSO WORKS!
\PassOptionsToPackage{listings,documentation}{tcolorbox} % prevent option clash
\usepackage{\jobname} % load mandi.sty
\usepackage{mandistudent} % load mandistudent.sty
@@ -236,15 +233,32 @@
% \listoffigures
% \restoregeometry
%
-% \changes{v3.0.0}{2021-08-22}{\linktoplace{sec:mandia}{mandi} Initial release}
-% \changes{v3.0.0}{2021-08-22}{\linktoplace{sec:mandib}{mandistudent} Initial release}
-% \changes{v3.0.0}{2021-08-22}{\linktoplace{sec:mandic}{mandiexp} Initial release}
-% \changes{v3.0.1}{2021-08-24}{\linktoplace{sec:mandia}{mandi} Minor doc changes}
-% \changes{v3.0.1}{2021-08-24}{\linktoplace{sec:mandib}{mandistudent} Minor doc changes}
-% \changes{v3.0.1}{2021-08-24}{\linktoplace{sec:mandic}{mandiexp} Minor doc changes}
-% \changes{v3.2.0}{2023-08-01}{\linktoplace{sec:mandia}{mandi} Source updated}
-% \changes{v3.2.0}{2023-08-01}{\linktoplace{sec:mandib}{mandistudent} Source updated}
-% \changes{v3.2.0}{2023-08-01}{\linktoplace{sec:mandic}{mandiexp} Source updated}
+% \changes{v3.0.0}{2021-08-22}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp} Initial release}
+% \changes{v3.0.1}{2021-08-24}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp}Minor doc changes}
+% \changes{v3.1.0}{2022-01-27}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp} Code formatted for better readability}
+% \changes{v3.1.0}{2022-01-27}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp} \pkg{xparse} is loaded for older formats}
+% \changes{v3.1.0}{2022-01-27}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \LaTeX3 code now conforms to formatting standards}
+% \changes{v3.2.0}{2023-08-01}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp} Source updated}
+% \changes{v3.2.1}{2023-11-22}{Improved \texttt{README.md} at request of \texttt{CTAN}
+% maintainer}
+% \changes{v3.2.1}{2023-11-22}{\linktoplace{sec:mandia}{mandi} Minor changes to
+% \texttt{mandi.ins} inside \texttt{mandi.dtx}}
+% \changes{v3.2.1}{2023-11-22}
+% {\linktoplace{sec:mandia}{mandi} \linktoplace{sec:mandib}{mandistudent}
+% \linktoplace{sec:mandic}{mandiexp} Source updated and bumped version for new
+% \texttt{CTAN} upload}
%
% \section{Introduction}
% The \mandi \footnote{The bundle name can be pronounced either with two
@@ -262,13 +276,13 @@
% {\emph{Matter \& Interactions}} and
% \url{https://matterandinteractions.org/} for details.}
%
-% So many changes have been made that I think the best approach for former,
-% as well as new, users is to treat this as a brand new experience. I think
-% the most important thing to keep in mind is that I assume users,
-% especially new users, will have a relatively recent TeX distribution
-% (like TeX Live) that includes a recently updated \LaTeXe{} kernel. If users
-% report that this is a major problem, I can provide some degree of
-% backwards compatibility. However, I use a fully updated TeX Live distribution.
+% So many changes have been made that I think the best approach for all
+% users is to treat this as a brand new experience. I think the most
+% important thing to keep in mind is that I assume all users will have a
+% relatively recent \TeX\ distribution (like \TeX~Live) that includes an
+% updated kernel. If users report that this is a major problem, I can provide
+% some degree of backwards compatibility. However, I use a fully updated
+% \TeX~Live distribution.
%
% \section{Getting Help}
% If you have a question about \mandi, first please read this documentation to make
@@ -1951,13 +1965,11 @@
% |\makeatother|. This simplifies defining internal commands (with |@|
% in the name) that are not for the user to know about.
%
-% \changes{v3.1.0}{2022-01-27}
-% {\linktoplace{sec:mandia}{mandi} Code formatted for better readability}
% \begin{macrocode}
-\def\mandi@version{3.2.0}
-\def\mandi@date{2023-08-01}
+\def\mandi@version{3.2.1}
+\def\mandi@date{2023-11-22}
\NeedsTeXFormat{LaTeX2e}[2020-02-02]
-\DeclareRelease{v3.2.0}{2023-08-01}{mandi.sty}
+\DeclareRelease{v3.2.1}{2023-11-22}{mandi.sty}
\DeclareCurrentRelease{v\mandi@version}{\mandi@date}
\ProvidesPackage{mandi}
[\mandi@date\space v\mandi@version\space Macros for physical quantities]
@@ -2009,8 +2021,6 @@
%
% Load \pkg{xparse} if necessary.
%
-% \changes{v3.1.0}{2022-01-27}
-% {\linktoplace{sec:mandia}{mandi} \pkg{xparse} is loaded for older formats}
% \begin{macrocode}
\IfFormatAtLeastTF{2020-10-01}
{}%
@@ -2241,8 +2251,6 @@
\NewDocumentCommand{\xtento}{ m }{\times\tento{#1}}
% \end{macrocode}
%
-% \changes{v3.1.0}{2022-01-27}
-% {\linktoplace{sec:mandia}{mandi} \LaTeX3 code now conforms to formatting standards}
% \begin{macrocode}
\ExplSyntaxOn
\cs_new:Npn \__mandi_newscalarquantity:nnnn #1#2#3#4