summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-20 20:31:58 +0000
committerKarl Berry <karl@freefriends.org>2023-03-20 20:31:58 +0000
commit6b09f4d8144e0bd18e1e79035162a32c2e86b497 (patch)
treed95f3fa00e4c20fbc9a0b7bb5fffef350cb6db07 /Master/texmf-dist/tex
parent3135bbd1c28aea5d99d9fd81316b445fcbaa60d3 (diff)
fixdif (20mar23)
git-svn-id: svn://tug.org/texlive/trunk@66606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/fixdif/fixdif.sty15
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
index 78dbe13db62..f0c3bbb37e6 100644
--- a/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
+++ b/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
@@ -29,19 +29,16 @@
%% and README.md.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2023/02/21 Interface for defining differential operators.]
+\ProvidesPackage{fixdif}[2023/03/20 Interface for defining differential operators.]
\AtBeginDocument{%
\ifcsname symbf\endcsname%
\csname bool_if:cF\endcsname{g__um_main_font_defined_bool}%
{\csname __um_load_lm:\endcsname}%
- \Umathcode`\/="4 \symoperators "002F%
- \Umathcode"2044="4 \symoperators "2044%
- \Umathcode"2215="4 \symoperators "2215%
- \Umathcode"2F98="4 \symoperators "2F98%
- \Umathcode`\\="4 \symoperators "005C%
- \Umathcode"2216="4 \symoperators "2216%
- \Umathcode"29F5="4 \symoperators "29F5%
- \Umathcode"29F9="4 \symoperators "29F9%
+ \def\fd@patchUmathcode#1{% 16777216 = 16^6
+ \@tempcnta=\numexpr(\the\Umathcodenum#1-#1)/16777216\relax
+ \Umathcode #1 = "4 \@tempcnta #1}%
+ \fd@patchUmathcode{"2F}%
+ \fd@patchUmathcode{"5C}%
\else\ifcsname fontspec\endcsname
\csname bool_if:cT\endcsname{g__fontspec_math_bool}%
{%