texlive[66103] branches/branch2022.final/Master/texmf-dist: bxbase

commits+karl at tug.org commits+karl at tug.org
Thu Feb 23 22:32:59 CET 2023


Revision: 66103
          http://tug.org/svn/texlive?view=revision&revision=66103
Author:   karl
Date:     2023-02-23 22:32:58 +0100 (Thu, 23 Feb 2023)
Log Message:
-----------
bxbase (23feb23) (branch)

Modified Paths:
--------------
    branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/LICENSE
    branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README-ja.md
    branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README.md
    branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.pdf
    branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.tex
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.sty
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ext.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ja.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.sty
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8x.def
    branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/zxbase.sty

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/LICENSE
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/LICENSE	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/LICENSE	2023-02-23 21:32:58 UTC (rev 66103)
@@ -1,6 +1,6 @@
 The MIT License
 
-Copyright (c) 2008-2020 Takayuki YATO (aka. "ZR")
+Copyright (c) 2008-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

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README-ja.md
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README-ja.md	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README-ja.md	2023-02-23 21:32:58 UTC (rev 66103)
@@ -378,6 +378,7 @@
   * `\ifbxinXeTeX`  
   * `\ifbxinpTeX`  
   * `\ifbxinupTeX`  
+  * `\ifbxinnativeupTeX`(内部Unicode動作のupTeXか)  
     エンジンのチェック。これらは TeX の if-トークンである。
 
 (エンジンチェック―LaTeXテスト)
@@ -390,6 +391,7 @@
   * `\bxIfinXeTeX{<真>}{<偽>}`  
   * `\bxIfinpTeX{<真>}{<偽>}`  
   * `\bxIfinupTeX{<真>}{<偽>}`  
+  * `\bxIfinnativeupTeX{<真>}{<偽>}`(内部Unicode動作のupTeXか)  
     エンジンのチェック。これらは LaTeX 形式のテストである。(完全展開
     可能である。)
 
@@ -506,6 +508,9 @@
 更新履歴
 --------
 
+  * Version 1.2a 〈2023/02/23〉
+      - `\ifbxinnativeupTeX`/`\bxIfinnativeupTeX` を追加。
+      - バグ修正。
   * Version 1.2  〈2020/10/04〉
       - LaTeX カーネル 2020/10/01 版への対応。
       - `\bxDocumentSpecialUrgent` を非推奨にした。

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README.md
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README.md	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/README.md	2023-02-23 21:32:58 UTC (rev 66103)
@@ -62,7 +62,7 @@
 The main goal of this package is to provide part of the functions of the
 [etoolbox] package for TeX engines without e-TeX extension. (Note that
 TeX users in Japan have long used the pTeX engine for writing Japanese,
-and e-TeX extention for the engine did not appeared until around 2010.)
+and e-TeX extention for that engine did not appear until around 2010.)
 
 [etoolbox]: https://www.ctan.org/pkg/etoolbox
 
@@ -120,6 +120,7 @@
 Revision History
 ----------------
 
+  * Version 1.2a 〈2023/02/23〉
   * Version 1.2  〈2020/10/04〉
       - Support LaTeX kernel 2020/10/01.
   * Version 1.1  〈2017/05/29〉

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.tex
===================================================================
--- branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.tex	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/doc/latex/bxbase/bxbase-ja.tex	2023-02-23 21:32:58 UTC (rev 66103)
@@ -1,18 +1,27 @@
 % 文字コードは UTF-8
 % uplatex で組版する
-\documentclass[a4paper,uplatex]{jsarticle}
+\documentclass[uplatex,dvipdfmx,a4paper]{jsarticle}
+\renewcommand{\headfont}{\gtfamily\romanseries{sbc}\sffamily}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern,textcomp}
+\usepackage{color}
+\definecolor{myblue}{rgb}{0,0,0.75}
+\definecolor{mygreen}{rgb}{0,0.45,0}
+\usepackage[colorlinks,hyperfootnotes=false]{hyperref}
+\usepackage{pxjahyper}
+\hypersetup{linkcolor=myblue,urlcolor=mygreen,
+  pdftitle={bxbaseパッケージ(ユーザ命令の解説)},
+  pdfauthor={八登崇之}}
+\usepackage{bxtexlogo}
+\bxtexlogoimport{*}
 \usepackage{shortvrb}
 \MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.2}
-\newcommand{\PkgDate}{2020/10/04}
+\newcommand{\PkgVersion}{1.2a}
+\newcommand{\PkgDate}{2023/02/23}
 \newcommand{\Pkg}[1]{\textsf{#1}}
 \newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
 \newcommand{\Note}{\par\noindent ※}
 \newcommand{\Means}{~:\quad}
-\providecommand{\pTeX}{p\TeX}
-\providecommand{\upTeX}{u\pTeX}
-\providecommand{\pLaTeX}{p\LaTeX}
-\providecommand{\upLaTeX}{u\pLaTeX}
 %-----------------------------------------------------------
 \begin{document}
 \title{\Pkg{bxbase} パッケージ\\

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -4,7 +4,7 @@
 
 %% file declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bxbase.def}[2020/10/04 v1.2 BX base library]
+\ProvidesFile{bxbase.def}[2023/02/23 v1.2a BX base library]
 \def\bx at pkgname{BXbase} % bundle name
 
 %% check intergrity

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.sty
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.sty	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxbase.sty	2023-02-23 21:32:58 UTC (rev 66103)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'bxbase.sty'.
 %%
-%% Copyright (c) 2008-2020 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2008-2023 Takayuki YATO (aka. "ZR")
 %%   GitHub:   https://github.com/zr-tex8r
 %%   Twitter:  @zr_tex8r
 %%
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxbase}[2020/10/04 v1.2 BX base library]
+\ProvidesPackage{bxbase}[2023/02/23 v1.2a BX base library]
 
 %--------------------------------------- main
 

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ext.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ext.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ext.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -4,7 +4,7 @@
 
 %% file declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bxtoolbox-ext.def}[2020/10/04 v1.2]
+\ProvidesFile{bxtoolbox-ext.def}[2023/02/23 v1.2a]
 
 %% check intergrity
 \edef\bxtb at tmpa{\@currname.\@currext}\def\bxtb at tmpb{bxtoolbox-ext.def}
@@ -194,7 +194,7 @@
 \ifbxinOmega \bxHasUcsChartrue \fi
 \ifbxinXeTeX \bxHasUcsChartrue \fi
 \ifbxinLuaTeX \bxHasUcsChartrue \fi
-\ifbxinupTeX \bxHasUcsChartrue \fi
+\ifbxinnativeupTeX \bxHasUcsChartrue \fi
 \csletcs{ifbx at hx@bigchar}{ifbxHasUcsChar}
 
 %%<+> \ifbxHasAlUcsChar
@@ -216,14 +216,17 @@
 % Makes \bxRes expand to a single CJK character token with
 % character code <num> (in internal CJK encoding).
 \ifbxinpTeX
+\catcode`\/=14 \catcode`\!=14
+\ifdef\forcecjktoken{\catcode`\/=9}{%else
+  \ifdef\enablecjktoken{\catcode`\!=9}{}}
   \newcommand*\bxToJaChar[1]{%
-    \bgroup \bxtb at forcecjktoken
+    \begingroup
+/     \forcecjktoken % retain right kcatcode
+!     \enablecjktoken \ifnum\kcatcode#1<16 \kcatcode#1=18 \fi
       \kansujichar\@ne=#1\relax
       \xdef\bx at tch@g at temp{\kansuji\@ne}%
-    \egroup \let\bxRes\bx at tch@g at temp}
-  \ifdef{\forcecjktoken}%
-   {\let\bxtb at forcecjktoken\forcecjktoken}%
-   {\let\bxtb at forcecjktoken\relax}%
+    \endgroup \let\bxRes\bx at tch@g at temp}
+\catcode`\/=12 \catcode`\!=12
 \fi
 
 %%<+> \bxToUcsChar{<num>}
@@ -230,11 +233,14 @@
 % Makes \bxRes expand to a single character token with
 % character code <num> (in Unicode); valid for Unicode-aware
 % engines plus upTeX.
-\ifbxinupTeX
-\let\bxToUcsChar\bxToJaChar
+\ifbxinnativeupTeX
+  \let\bxToUcsChar\bxToJaChar
+\else\ifbxinupTeX
+  \newcommand*\bxToUcsChar[1]{%
+    \bxToJaChar{\ifnum\ucs#1<\z@ \jis"222E\else\ucs#1\fi}}
 \else\ifbxHasAlUcsChar
 \let\bxToUcsChar\bxToChar
-\fi\fi
+\fi\fi\fi
 
 %%<+> \bxToUcsCharDual{<jis>}{<ucs>}
 % Makes \bxRes expand to a single character token with the following

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ja.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ja.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox-ja.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -4,7 +4,7 @@
 
 %% file declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bxtoolbox-ja.def}[2020/10/04 v1.2]
+\ProvidesFile{bxtoolbox-ja.def}[2023/02/23 v1.2a]
 
 %% check intergrity
 \edef\bxtb at tmpa{\@currname.\@currext}\def\bxtb at tmpb{bxtoolbox-ja.def}

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -4,7 +4,7 @@
 
 %% file declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bxtoolbox.def}[2020/10/04 v1.2]
+\ProvidesFile{bxtoolbox.def}[2023/02/23 v1.2a]
 \providecommand*\bxtb at pkgname{BXtoolbox}% bundle name
 
 %% check intergrity
@@ -122,6 +122,11 @@
 \bxtb at do{upTeX}{\enablecjktoken}
 \bxtb at do{jTeX}{\jintercharskip}
 
+%%<+> \ifbxinnativeupTeX / bxIfinnativeupTeX
+% Checks if upTeX with kanji-internal=uptex is used.
+\bxtb at do{nativeupTeX}{\bxtb at uniq}
+\ifbxinupTeX \ifnum\ucs"3000="3000 \bxtb at do{nativeupTeX}{\ucs}\fi\fi
+
 %%<+> \bxPreamble\CSX[*]\CSY
 % Prefix used for preamble-only commands.
 % \CSX can be \def, \newcommand, \DeclareRobustCommand, etc.

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.sty
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.sty	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxtoolbox.sty	2023-02-23 21:32:58 UTC (rev 66103)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'bxtoolbox.sty'.
 %%
-%% Copyright (c) 2008-2020 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2008-2023 Takayuki YATO (aka. "ZR")
 %%   GitHub:   https://github.com/zr-tex8r
 %%   Twitter:  @zr_tex8r
 %%
@@ -10,7 +10,7 @@
 
 %% file declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxtoolbox}[2020/10/04 v1.2 BX developers' toolbox]
+\ProvidesPackage{bxtoolbox}[2023/02/23 v1.2a BX developers' toolbox]
 \def\bxtb at pkgname{bxtoolbox}
 
 %--------------------------------------- main

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -3,7 +3,7 @@
 %%
 %
 %% file declaration
-\ProvidesFile{bxutf8.def}[2020/10/04 v1.2 BX UTF-8 input encoding]
+\ProvidesFile{bxutf8.def}[2023/02/23 v1.2a BX UTF-8 input encoding]
 %
 % Note: All definitions in this file should be local.
 % This file should not spill any spaces or \par.

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8x.def
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8x.def	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/bxutf8x.def	2023-02-23 21:32:58 UTC (rev 66103)
@@ -3,7 +3,7 @@
 %%
 %
 %% file declaration
-\ProvidesFile{bxutf8x.def}[2020/10/04 v1.2 BX extended utf8x input]
+\ProvidesFile{bxutf8x.def}[2023/02/23 v1.2a BX extended utf8x input]
 %
 % Note: All definitions in this file should be local.
 % This file should not spill any spaces or \par.

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/zxbase.sty
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/zxbase.sty	2023-02-23 21:32:39 UTC (rev 66102)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/bxbase/zxbase.sty	2023-02-23 21:32:58 UTC (rev 66103)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'zxbase.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
 %%
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{zxbase}[2020/10/04 v1.2]
+\ProvidesPackage{zxbase}[2023/02/23 v1.2a]
 \RequirePackage{ifxetex}
 \RequireXeTeX
 



More information about the tex-live-commits mailing list.