summaryrefslogtreecommitdiff
path: root/macros/jptex/latex/pxrubrica/pxrubrica.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-03 03:05:02 +0000
committerNorbert Preining <norbert@preining.info>2023-03-03 03:05:02 +0000
commitc000ad35f0ce69cc0466ad24b0647c1e295c0259 (patch)
tree6c64b429a374b5d60b67c2f728c71acb110c775c /macros/jptex/latex/pxrubrica/pxrubrica.dtx
parentfe8af26a7b8f32a0cc1b761e3ffb95ed0867a845 (diff)
CTAN sync 202303030305
Diffstat (limited to 'macros/jptex/latex/pxrubrica/pxrubrica.dtx')
-rw-r--r--macros/jptex/latex/pxrubrica/pxrubrica.dtx20
1 files changed, 13 insertions, 7 deletions
diff --git a/macros/jptex/latex/pxrubrica/pxrubrica.dtx b/macros/jptex/latex/pxrubrica/pxrubrica.dtx
index f07e6b4966..0b8bca5737 100644
--- a/macros/jptex/latex/pxrubrica/pxrubrica.dtx
+++ b/macros/jptex/latex/pxrubrica/pxrubrica.dtx
@@ -3,7 +3,7 @@
%
% This is file 'pxrubrica.dtx'.
%
-% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+% Copyright (c) 2012-2023 Takayuki YATO (aka. "ZR")
% GitHub: https://github.com/zr-tex8r
% Twitter: @zr_tex8r
%
@@ -20,7 +20,7 @@
%<*driver>
\ProvidesFile{pxrubrica.dtx}
%</driver>
- [2021/03/06 v1.3d PX Japanese-style ruby]
+ [2023/03/01 v1.3e PX Japanese-style ruby]
%<*driver>
\documentclass[uplatex]{jsarticle}
\usepackage{doc}
@@ -2268,11 +2268,17 @@
% \end{macro}
%
% \begin{macro}{\ifpxrr@in@uptex}
-% $B%(%s%8%s$,(B{\upTeX}$B7O$G$"$k$+!#(B
-% |\enablecjktoken| $B$N%W%j%_%F%#%V%F%9%H$GH=Dj$9$k!#(B
-% \begin{macrocode}
-\pxrr@ifprimitive\enablecjktoken{%
- \pxrr@csletcs{ifpxrr@in@uptex}{iftrue}%
+% $B%(%s%8%s$,(B{\upTeX}$B7O$G$"$j$+$DFbIt4A;z%3!<%I$,(BUnicode$B$G$"$k$+!#(B
+% $B%(%s%8%sH=Dj$O(B |\kchardef| $B$N%W%j%_%F%#%V%F%9%H$GH=Dj$9$k!#(B
+% \Note $B%F%9%H$9$k%W%j%_%F%#%V$r(B |\enablecjktoken| $B$+$i(B |\kchardef| $B$K(B
+% $BJQ99!J(B|\kchardef| $B$O<B:]$K;H$C$F$$$k!K!#(B
+% \begin{macrocode}
+\pxrr@ifprimitive\kchardef{%
+ \ifnum\ucs"3000="3000
+ \pxrr@csletcs{ifpxrr@in@uptex}{iftrue}%
+ \else
+ \pxrr@csletcs{ifpxrr@in@uptex}{iffalse}%
+ \fi
}{%
\pxrr@csletcs{ifpxrr@in@uptex}{iffalse}%
}