texlive[66606] Master/texmf-dist: fixdif (20mar23)

commits+karl at tug.org commits+karl at tug.org
Mon Mar 20 21:31:58 CET 2023


Revision: 66606
          http://tug.org/svn/texlive?view=revision&revision=66606
Author:   karl
Date:     2023-03-20 21:31:58 +0100 (Mon, 20 Mar 2023)
Log Message:
-----------
fixdif (20mar23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdf
    trunk/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex
    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-zh-cn.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex	2023-03-20 20:31:17 UTC (rev 66605)
+++ trunk/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex	2023-03-20 20:31:58 UTC (rev 66606)
@@ -1,6 +1,6 @@
 \documentclass[letterpaper,11pt]{article}
 \usepackage{fixdif}
-\date{2023/02/21\quad Version 2.0b%
+\date{2023/03/20\quad Version 2.1%
   \thanks{源代码见~\hyperref{https://github.com/AlphaZTX/fixdif}{}{}{GitHub} 
   或~\hyperref{https://www.ctan.org/pkg/fixdif}{}{}{CTAN}。}
 }

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	2023-03-20 20:31:17 UTC (rev 66605)
+++ trunk/Master/texmf-dist/source/latex/fixdif/fixdif.dtx	2023-03-20 20:31:58 UTC (rev 66606)
@@ -131,9 +131,8 @@
 %</internal>
 %
 %<*driver>
-\ProvidesFile{fixdif.dtx}[2023/02/21 (c) Copyright 2022-2023 by Zhang Tingxuan]
+\ProvidesFile{fixdif.dtx}[2023/03/20 (c) Copyright 2022-2023 by Zhang Tingxuan]
 \documentclass{ltxdoc}
-
 \usepackage{xcolor}
 \definecolor{titlecolor}{RGB}{0,12,160}
 \usepackage{doc}
@@ -140,18 +139,14 @@
 \usepackage{fancyvrb}
 \fvset{xleftmargin=2.5em,fontsize=\small,gobble=2}
 \MakeShortVerb|
-
 \usepackage{hologo}
 \def\XeTeX{\hologo{XeTeX}}
 \def\LuaTeX{\hologo{LuaTeX}}
-
 \def\pkg{\textsf}
 \def\opt{\texttt}
-
 \title{The \pkg{fixdif} Package}
 \author{Zhang Tingxuan}
-\date{2023/02/21\quad Version 2.0b\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
-
+\date{2023/03/20\quad Version 2.1\thanks{\url{https://github.com/AlphaZTX/fixdif}}}
 \usepackage{hyperref}
 \hypersetup{
   pdftitle   = {The fixdif Package},
@@ -161,7 +156,6 @@
   urlcolor   = titlecolor!80!black,
 }
 \def\pkg{\textsf}
-
 \makeatletter
 \renewcommand\section{\@startsection{section}{1}{\z@}%
   {-2.5ex plus -1ex minus -.2ex}%
@@ -190,13 +184,10 @@
   \usepackage{unicode-math}
 \fi
 \makeatother
-
 \usepackage{fixdif}
-
 \linespread{1.05}
 \parskip6pt plus 2pt minus 1pt
 \parindent2.5em
-
 \begin{document}
   \DocInput{\jobname.dtx}
 \end{document}
@@ -444,7 +435,7 @@
 % Check the \TeX{} format and provides the package name.
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fixdif}[2023/02/21 Interface for defining differential operators.]
+\ProvidesPackage{fixdif}[2023/03/20 Interface for defining differential operators.]
 %    \end{macrocode}
 % 
 % \subsection{Control the skip between slashes and differential operator}
@@ -460,14 +451,11 @@
 \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 at patchUmathcode#1{% 16777216 = 16^6
+    \@tempcnta=\numexpr(\the\Umathcodenum#1-#1)/16777216\relax
+    \Umathcode #1 = "4 \@tempcnta #1}%
+  \fd at patchUmathcode{"2F}%
+  \fd at patchUmathcode{"5C}%
 \else\ifcsname fontspec\endcsname
   \csname bool_if:cT\endcsname{g__fontspec_math_bool}%
     {%

Modified: trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty	2023-03-20 20:31:17 UTC (rev 66605)
+++ trunk/Master/texmf-dist/tex/latex/fixdif/fixdif.sty	2023-03-20 20:31:58 UTC (rev 66606)
@@ -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 at patchUmathcode#1{% 16777216 = 16^6
+    \@tempcnta=\numexpr(\the\Umathcodenum#1-#1)/16777216\relax
+    \Umathcode #1 = "4 \@tempcnta #1}%
+  \fd at patchUmathcode{"2F}%
+  \fd at patchUmathcode{"5C}%
 \else\ifcsname fontspec\endcsname
   \csname bool_if:cT\endcsname{g__fontspec_math_bool}%
     {%



More information about the tex-live-commits mailing list.