diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-22 23:33:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-22 23:33:46 +0000 |
commit | 68e1edd39e75e77b7f3c44323e32f635f0e29188 (patch) | |
tree | ae36a79c31f939c52aea3fc7af1a88b4cc8e9861 /Master/texmf-dist/tex | |
parent | 5b0075080ed5c04e2643b812d34bb0343b9b9663 (diff) |
pxchfon (23feb23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66073 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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 %% |