From e7ae872926eddb0de09ecfe1c578e0680033955a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 26 Feb 2023 03:02:12 +0000 Subject: CTAN sync 202302260302 --- language/japanese/BX/bxghost/README.md | 6 ++++-- language/japanese/BX/bxghost/bxghost-lib.sty | 16 ++++++++++------ language/japanese/BX/bxghost/bxghost.sty | 4 ++-- 3 files changed, 16 insertions(+), 10 deletions(-) (limited to 'language/japanese/BX') diff --git a/language/japanese/BX/bxghost/README.md b/language/japanese/BX/bxghost/README.md index 4080b42c37..b834af35e8 100644 --- a/language/japanese/BX/bxghost/README.md +++ b/language/japanese/BX/bxghost/README.md @@ -34,7 +34,7 @@ This provides all the commands defined in the package but does not have any pack ## Acknowledgements -The logic and style of the code in this package is greatly inspired by [Package PXghost](https://gist.github.com/zr-tex8r/4461060) and various packages in [the BX series](http://zrbabbler.sp.land.to/package.html#ssec-bx). I would like to thank the author of the packages, Dr. Takayuki YATO (aka. [ZR](https://github.com/zr-tex8r)). +The logic and style of the code in this package is greatly inspired by [Package PXghost](https://gist.github.com/zr-tex8r/4461060) and various packages in [the BX series](http://zrbabbler.sp.land.to/package.html#ssec-bx). I would like to thank the author of the packages, Dr. Takayuki Yato (aka. [ZR](https://github.com/zr-tex8r)). ## License @@ -42,6 +42,8 @@ This package is distributed under [the MIT license](./LICENSE). ## Revision History +* Version 0.5.1 ‹2023/02/26› + * Add support for e-upTeX based pLaTeX * Version 0.5.0 ‹2022/05/20› * Provide `bxghost-lib` for internal use from other packages * Version 0.4.0 ‹2022/02/12› @@ -57,4 +59,4 @@ This package is distributed under [the MIT license](./LICENSE). --- -Takuto ASAKURA ([wtsnjp](https://twitter.com/wtsnjp)) +Takuto Asakura ([wtsnjp](https://twitter.com/wtsnjp)) diff --git a/language/japanese/BX/bxghost/bxghost-lib.sty b/language/japanese/BX/bxghost/bxghost-lib.sty index 00a148deed..6b4fb2bfd4 100644 --- a/language/japanese/BX/bxghost/bxghost-lib.sty +++ b/language/japanese/BX/bxghost/bxghost-lib.sty @@ -1,7 +1,7 @@ %% %% This is file 'bxghost-lib.sty'. %% -%% Copyright 2019-2022 Takuto ASAKURA (wtsnjp) +%% Copyright 2019-2023 Takuto Asakura (wtsnjp) %% GitHub: https://github.com/wtsnjp %% Twitter: @wtsnjp %% @@ -10,7 +10,7 @@ %% package declaration \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{bxghost-lib}[2022/05/20 v0.5.0] +\ProvidesPackage{bxghost-lib}[2023/02/26 v0.5.1] %% preparations \def\bxqgg@pkgname{bxghost} @@ -23,10 +23,14 @@ \edef\bxqgg@tmpa{\string#1}\edef\bxqgg@tmpb{\meaning#1}% \ifx\bxqgg@tmpa\bxqgg@tmpb #2\fi} \chardef\bxqgg@engine=0 % other TeX -\bxqgg@next\kanjiskip {\chardef\bxqgg@engine=1 }% pTeX -\bxqgg@next\enablecjktoken{\chardef\bxqgg@engine=2 }% upTeX -\bxqgg@next\luatexversion {\chardef\bxqgg@engine=3 }% LuaTeX -\bxqgg@next\XeTeXversion {\chardef\bxqgg@engine=4 }% XeTeX +\bxqgg@next\kanjiskip{% + \ifnum\jis"2121="3000 + \chardef\bxqgg@engine=2 % upTeX + \else + \chardef\bxqgg@engine=1 % pTeX + \fi} +\bxqgg@next\luatexversion{\chardef\bxqgg@engine=3 }% LuaTeX +\bxqgg@next\XeTeXversion {\chardef\bxqgg@engine=4 }% XeTeX %--------------------------------------- not supported engine diff --git a/language/japanese/BX/bxghost/bxghost.sty b/language/japanese/BX/bxghost/bxghost.sty index 8291e3a090..a4084e8a04 100644 --- a/language/japanese/BX/bxghost/bxghost.sty +++ b/language/japanese/BX/bxghost/bxghost.sty @@ -1,7 +1,7 @@ %% %% This is file 'bxghost.sty'. %% -%% Copyright 2019-2022 Takuto ASAKURA (wtsnjp) +%% Copyright 2019-2023 Takuto Asakura (wtsnjp) %% GitHub: https://github.com/wtsnjp %% Twitter: @wtsnjp %% @@ -10,7 +10,7 @@ %% package declaration \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{bxghost}[2022/05/20 v0.5.0] +\ProvidesPackage{bxghost}[2023/02/26 v0.5.1] %% load the library \RequirePackage{bxghost-lib} -- cgit v1.2.3