From 1b5abb7439af0f95d3d341cfc02176216850a04c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 11 Aug 2022 20:44:56 +0000
Subject: fixdif (11aug22)

git-svn-id: svn://tug.org/texlive/trunk@64096 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/fixdif/fixdif.sty | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/fixdif/fixdif.sty')

diff --git a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
index cc5603375e4..08e38d95e52 100644
--- a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
+++ b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
@@ -29,7 +29,7 @@
 %%                               and README.md.
 %% 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2022/7/27 Interface for defining differential operators.]
+\ProvidesPackage{fixdif}[2022/8/11 Interface for defining differential operators.]
 \@ifpackageloaded{unicode-math}{
   \Umathcode`\/="4 "0 "002F
   \Umathcode"2044="4 "0 "2044
@@ -53,8 +53,7 @@
 \DeclareOption{nopartial}{\def\fixdif@partial@bool{0}}
 \ExecuteOptions{rm,partial}
 \ProcessOptions\relax
-\def\fixdif@partial@true{1}
-\ifx\fixdif@partial@bool\fixdif@partial@true
+\ifnum\fixdif@partial@bool=1
   \AtEndOfPackage{\letdif{\partial}{partial}}
 \fi
 \gdef\resetdfont#1{\let\@@dif\relax%
@@ -63,18 +62,18 @@
 \let\d@accent\d
 \DeclareRobustCommand\d{\ifmmode\@dif\else\expandafter\d@accent\fi}
 \def\@letdif#1#2{\AtBeginDocument{%
-  \ifcsname #2@old\endcsname\else%
-  \expandafter\let\csname #2@old\expandafter\endcsname
+  \ifcsname #2nondif\endcsname\else%
+  \expandafter\let\csname #2nondif\expandafter\endcsname
     \csname #2\endcsname%
   \fi%
-  \gdef#1{\mathinner{\csname #2@old\endcsname}\mup@tch}%
+  \gdef#1{\mathinner{\csname #2nondif\endcsname}\mup@tch}%
 }}
 \def\s@letdif#1#2{\AtBeginDocument{%
-  \ifcsname #2@old\endcsname\else%
-  \expandafter\let\csname #2@old\expandafter\endcsname
+  \ifcsname #2nondif\endcsname\else%
+  \expandafter\let\csname #2nondif\expandafter\endcsname
     \csname #2\endcsname%
   \fi%
-  \gdef#1{\mathinner{\s@beforep@tch\csname #2@old\endcsname\mbox{}}\mup@tch}%
+  \gdef#1{\mathinner{\s@beforep@tch\csname #2nondif\endcsname\mbox{}}\mup@tch}%
 }}
 \def\letdif{\@ifstar\s@letdif\@letdif}
 \long\def\@newdif#1#2{\AtBeginDocument{%
-- 
cgit v1.2.3

