texlive[63444] Master/texmf-dist: fixdif (30may22)
commits+karl at tug.org
commits+karl at tug.org
Mon May 30 22:05:38 CEST 2022
Revision: 63444
http://tug.org/svn/texlive?view=revision&revision=63444
Author: karl
Date: 2022-05-30 22:05:38 +0200 (Mon, 30 May 2022)
Log Message:
-----------
fixdif (30may22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
Modified: trunk/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx 2022-05-30 20:05:28 UTC (rev 63443)
+++ trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx 2022-05-30 20:05:38 UTC (rev 63444)
@@ -126,7 +126,7 @@
%</internal>
%
%<*driver>
-\ProvidesFile{fixdif.dtx}[2022/05/27 (c) Copyright 2022 by Zhang Tingxuan]
+\ProvidesFile{fixdif.dtx}[2022/05/29 (c) Copyright 2022 by Zhang Tingxuan]
\documentclass{ltxdoc}
\usepackage{xcolor}
@@ -145,7 +145,7 @@
\title{The \pkg{fixdif} Package}
\author{Zhang Tingxuan}
-\date{2022/05/27\quad Version 1.0\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
+\date{2022/05/29\quad Version 1.1\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
\usepackage{hyperref}
\hypersetup{
@@ -413,7 +413,7 @@
% Check the \TeX{} format and provides the package name.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/05/26 Interface for defining the differential operator.]
+\ProvidesPackage{fixdif}[2022/05/29 Interface for defining the differential operator.]
% \end{macrocode}
%
% \subsection{Control the skip between slash and differential operator}
@@ -486,9 +486,7 @@
% \cs{@dif} is the differential operator produced by \cs{d} in math mode.
% Here we prefer \cs{mathinner} to |\mathbin| to make the skip.
% \begin{macrocode}
-\def\@dif{\ifmmode%
- \mathinner{\@@dif}\mup at tch%
-\fi}
+\def\@dif{\mathinner{\@@dif}\mup at tch}
% \end{macrocode}
% \DescribeMacro{\d at accent}
% Restore the \cs{d} command in text by \cs{d at accent} with the \cs{let}
@@ -499,7 +497,7 @@
% \DescribeMacro{\d}
% Redefine the \cs{d} command. In text, we need to expand the stuffs after \cs{d}
% \begin{macrocode}
-\gdef\d{\ifmmode\@dif\else\expandafter\d at accent\fi}
+\gdef\d{\relax\ifmmode\@dif\else\expandafter\d at accent\fi}
% \end{macrocode}
%
% \subsection{User's interface for defining new differential operators}
Modified: trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty 2022-05-30 20:05:28 UTC (rev 63443)
+++ trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty 2022-05-30 20:05:38 UTC (rev 63444)
@@ -29,7 +29,7 @@
%% and README.md.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/05/26 Interface for defining the differential operator.]
+\ProvidesPackage{fixdif}[2022/05/29 Interface for defining the differential operator.]
\@ifpackageloaded{unicode-math}{
\Umathcode`\/="4 "0 "002F
\Umathcode"2044="4 "0 "2044
@@ -59,11 +59,9 @@
\fi
\gdef\resetdfont#1{\let\@@dif\relax%
\def\@@dif{#1{d}}}
-\def\@dif{\ifmmode%
- \mathinner{\@@dif}\mup at tch%
-\fi}
+\def\@dif{\mathinner{\@@dif}\mup at tch}
\let\d at accent\d
-\gdef\d{\ifmmode\@dif\else\expandafter\d at accent\fi}
+\gdef\d{\relax\ifmmode\@dif\else\expandafter\d at accent\fi}
\def\@letdif#1#2{\AtBeginDocument{
\ifcsname #2 at old\endcsname\else
\expandafter\let\csname #2 at old\expandafter\endcsname%
More information about the tex-live-commits
mailing list.