summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-02-22 23:29:08 +0000
committerKarl Berry <karl@freefriends.org>2023-02-22 23:29:08 +0000
commit9df4a9b84b307f051875a931b80bf85b0d898e76 (patch)
tree03b22b3255766601ee55fcefee0a6055563f1a0c /Master/texmf-dist/tex/platex
parentffe608f9ab664f2920a6bbeaa46763b8fd7faff8 (diff)
pxchfon (23feb23)
git-svn-id: svn://tug.org/texlive/trunk@66064 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty18
-rw-r--r--Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty2
2 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
index 7bf8a52c775..8c94cb3ab65 100644
--- a/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
+++ b/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxchfon.sty'.
%%
-%% Copyright (c) 2009-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxchfon}[2021/05/30 v1.9]
+\ProvidesPackage{pxchfon}[2023/02/22 v1.9a]
\def\pxcz@pkgname{pxchfon}
%--------------------------------------- general
@@ -83,8 +83,14 @@
%% \ifpxcz@uptex
\newif\ifpxcz@uptex \pxcz@uptexfalse
-\edef\pxcz@tmpa{\string\ucs}\edef\pxcz@tmpb{\meaning\ucs}
-\ifx\pxcz@tmpa\pxcz@tmpb \pxcz@uptextrue \fi
+\def\pxcz@do#1#2{%
+ \edef\pxcz@tmpa{\string#1}\edef\pxcz@tmpb{\meaning#1}%
+ \ifx\pxcz@tmpa\pxcz@tmpb #2\fi}
+\pxcz@do\ucs{%
+ \pxcz@do\ptexversion{\pxcz@uptextrue}
+ \pxcz@do\kchardef{\pxcz@uptextrue}
+ % only upTeX in Unicode is seen as upTeX
+ \ifnum\ucs"3000="3000 \else \pxcz@uptexfalse \fi}
%% \pxcz@JYn
\edef\pxcz@JYn{%
@@ -544,7 +550,7 @@
\fi
\fi
-%% 'replace-lecacycode' requires the 'pxufont' package
+%% 'replace-legacycode' requires the 'pxufont' package
\ifnum\pxcz@legacycode=\pxcz@legacycode@replace
\ifnum\pxcz@pxufont@avail<1
\PackageError\pxcz@pkgname
@@ -1419,7 +1425,7 @@
}{%else
\ifnum\pxcz@directunicode<\pxcz@directunicode@all\else
\pxcz@diruni@oktrue % directunicode* does not need otf
- \AtBeginDocument{% to laod otf later causes inconsistency
+ \AtBeginDocument{% loading otf later causes inconsistency
\@ifpackageloaded{otf}{\pxcz@diruni@okfalse}{}}%
\fi
}
diff --git a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
index 1b243e9893d..542eba412a3 100644
--- a/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
+++ b/Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjafont.sty'.
%%
-%% Copyright (c) 2009-2020 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%