From 470678475288a244fd8a9af69f9abc9b46b2860f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 22 Feb 2023 03:01:37 +0000 Subject: CTAN sync 202302220301 --- macros/jptex/latex/pxchfon/LICENSE | 2 +- macros/jptex/latex/pxchfon/README-ja.md | 4 +++- macros/jptex/latex/pxchfon/README.md | 2 ++ macros/jptex/latex/pxchfon/pxchfon.pdf | Bin 259368 -> 260539 bytes macros/jptex/latex/pxchfon/pxchfon.sty | 18 ++++++++++++------ macros/jptex/latex/pxchfon/pxchfon.tex | 4 ++-- macros/jptex/latex/pxchfon/pxjafont.sty | 2 +- 7 files changed, 21 insertions(+), 11 deletions(-) (limited to 'macros/jptex') diff --git a/macros/jptex/latex/pxchfon/LICENSE b/macros/jptex/latex/pxchfon/LICENSE index b8fb438105..72d5a31c9e 100644 --- a/macros/jptex/latex/pxchfon/LICENSE +++ b/macros/jptex/latex/pxchfon/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2009-2021 Takayuki YATO (aka. "ZR") +Copyright (c) 2009-2023 Takayuki YATO (aka. "ZR") Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/macros/jptex/latex/pxchfon/README-ja.md b/macros/jptex/latex/pxchfon/README-ja.md index ca6cfefbdc..024382d031 100644 --- a/macros/jptex/latex/pxchfon/README-ja.md +++ b/macros/jptex/latex/pxchfon/README-ja.md @@ -54,6 +54,8 @@ MITライセンスの下で配布される。 更新履歴 -------- + * Version 1.9a ‹2023/02/22› + - バグ修正。 * Version 1.9 ‹2021/05/30› - 中国語・韓国語の多ウェイト設定に対応。 - マップファイル読込用の `use` オプションを新設。 @@ -203,7 +205,7 @@ MITライセンスの下で配布される。 * Version 0.2a ‹2009/05/31› - `noalphabet` 指定時には PXcjk0.sfd を読む必要はなかったので、説明を訂正 した。 - * Version 0.2 ‹2009/03/29] + * Version 0.2 ‹2009/03/29› - 最初の公開版。 -------------------- diff --git a/macros/jptex/latex/pxchfon/README.md b/macros/jptex/latex/pxchfon/README.md index 6e9c5b4d80..fd2ca76ec6 100644 --- a/macros/jptex/latex/pxchfon/README.md +++ b/macros/jptex/latex/pxchfon/README.md @@ -39,6 +39,8 @@ This package is distributed under the MIT License. Revision History ---------------- + * Version 1.9a ‹2023/02/22› + - Bug fix. * Version 1.9 ‹2021/05/30› - Support multi-weight settings for Chinese/Korean fonts. - Add `use` option. diff --git a/macros/jptex/latex/pxchfon/pxchfon.pdf b/macros/jptex/latex/pxchfon/pxchfon.pdf index 8950e219de..1fb821c5e6 100644 Binary files a/macros/jptex/latex/pxchfon/pxchfon.pdf and b/macros/jptex/latex/pxchfon/pxchfon.pdf differ diff --git a/macros/jptex/latex/pxchfon/pxchfon.sty b/macros/jptex/latex/pxchfon/pxchfon.sty index 7bf8a52c77..8c94cb3ab6 100644 --- a/macros/jptex/latex/pxchfon/pxchfon.sty +++ b/macros/jptex/latex/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/macros/jptex/latex/pxchfon/pxchfon.tex b/macros/jptex/latex/pxchfon/pxchfon.tex index eef9576bb6..e49ca26e8f 100644 --- a/macros/jptex/latex/pxchfon/pxchfon.tex +++ b/macros/jptex/latex/pxchfon/pxchfon.tex @@ -16,8 +16,8 @@ \bxtexlogoimport{*} \usepackage{shortvrb} \MakeShortVerb{\|} -\newcommand{\PkgVersion}{1.9} -\newcommand{\PkgDate}{2021/05/30} +\newcommand{\PkgVersion}{1.9a} +\newcommand{\PkgDate}{2023/02/22} \newcommand{\Pkg}[1]{\textsf{#1}} \newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$} \newcommand{\Note}{\par\noindent ※} diff --git a/macros/jptex/latex/pxchfon/pxjafont.sty b/macros/jptex/latex/pxchfon/pxjafont.sty index 1b243e9893..542eba412a 100644 --- a/macros/jptex/latex/pxchfon/pxjafont.sty +++ b/macros/jptex/latex/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 %% -- cgit v1.2.3