summaryrefslogtreecommitdiff
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
parent3135bbd1c28aea5d99d9fd81316b445fcbaa60d3 (diff)
fixdif (20mar23)
git-svn-id: svn://tug.org/texlive/trunk@66606 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdfbin155063 -> 155064 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex2
-rw-r--r--Master/texmf-dist/doc/latex/fixdif/fixdif.pdfbin94064 -> 93705 bytes
-rw-r--r--Master/texmf-dist/source/latex/fixdif/fixdif.dtx28
-rw-r--r--Master/texmf-dist/tex/latex/fixdif/fixdif.sty15
5 files changed, 15 insertions, 30 deletions
diff --git a/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdf b/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdf
index f2edfcd797a..43ee8be12cd 100644
--- a/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdf
+++ b/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex b/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex
index 9b9ba2a6fa0..826c73333a5 100644
--- a/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex
+++ b/Master/texmf-dist/doc/latex/fixdif/fixdif-zh-cn.tex
@@ -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}。}
}
diff --git a/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf b/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
index 381447c5e02..69d8a5d1a47 100644
--- a/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
+++ b/Master/texmf-dist/doc/latex/fixdif/fixdif.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
index 46a15a5d630..063274d09a0 100644
--- a/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
+++ b/Master/texmf-dist/source/latex/fixdif/fixdif.dtx
@@ -131,27 +131,22 @@ Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>.
%</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}
\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 @@ Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>.
urlcolor = titlecolor!80!black,
}
\def\pkg{\textsf}
-
\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-2.5ex plus -1ex minus -.2ex}%
@@ -190,13 +184,10 @@ Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>.
\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 @@ Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>.
% 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 @@ Copyright (C) 2022-2023 by Zhang Tingxuan <alphaztx@163.com>.
\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}%
{%
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}%
{%