summaryrefslogtreecommitdiff
path: root/macros/jptex/latex/platex-tools/pxxspace.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/jptex/latex/platex-tools/pxxspace.sty')
-rw-r--r--macros/jptex/latex/platex-tools/pxxspace.sty7
1 files changed, 5 insertions, 2 deletions
diff --git a/macros/jptex/latex/platex-tools/pxxspace.sty b/macros/jptex/latex/platex-tools/pxxspace.sty
index 384a157be6..9a1a85e472 100644
--- a/macros/jptex/latex/platex-tools/pxxspace.sty
+++ b/macros/jptex/latex/platex-tools/pxxspace.sty
@@ -1,6 +1,7 @@
%
% pxxspace.sty
-% written by Takayuki Yato (ZR)
+% originally written by Takayuki Yato (ZR)
+% and modified by Hironobu Yamashita
%
% This package is distributed as part of the platex-tools bundle
% maintained by Hironobu Yamashita
@@ -24,7 +25,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxxspace}
- [2019/09/23 v0.2a Patch for xspace for pLaTeX/upLaTeX]
+ [2023/02/25 v0.2b Patch for xspace for pLaTeX/upLaTeX]
\def\pxxs@pkgname{pxxspace}
%--------------------------------------- preparations
@@ -62,6 +63,8 @@
%% \pxxs@forcecjktoken
\ifpxxs@uptex
\let\pxxs@forcecjktoken\forcecjktoken
+ % check internal encoding
+ \unless\ifnum\jis"2121="3000 \pxxs@uptexfalse \fi
\else
\let\pxxs@forcecjktoken\relax
\fi