diff options
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r-- | Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/platex/pxchfon/pxjafont.sty | 2 |
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 %% |