summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-19 22:17:51 +0000
committerKarl Berry <karl@freefriends.org>2017-11-19 22:17:51 +0000
commit70232474350cc100dc2f5c651900ad627c59f757 (patch)
tree47f4004c00e79e0af03306562a4fe8e7d2ff0a44 /Master/texmf-dist/tex/platex
parentb40b1cb1e5dc67b35e577a4d9ea88d80bd6673c3 (diff)
pxrubrica (19nov17)
git-svn-id: svn://tug.org/texlive/trunk@45854 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty b/Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty
index 9dd51d8ffe9..3d0f66eb144 100644
--- a/Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty
+++ b/Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pxrubrica}
- [2017/05/05 v1.3a PX Japanese-style ruby]
+ [2017/11/19 v1.3b PX Japanese-style ruby]
\RequirePackage{keyval}
\def\pxrr@pkgname{pxrubrica}
\def\pxrr@error{%
@@ -850,6 +850,17 @@
\pxrr@okfalse
}
\fi\fi
+\ifpxrr@in@ptex
+ \def\pxrr@force@nonpunct@achar#1{%
+ \global\xspcode#1=\thr@@
+ }
+\else\ifpxrr@in@luatexja
+ \def\pxrr@force@nonpunct@achar#1{%
+ \ltjglobalsetparameter{jaxspmode={#1,3}}%
+ }
+\else
+ \def\pxrr@force@nonpunct@achar#1{}
+\fi\fi
\ifx\inhibitglue\@undefined
\let\pxrr@inhibitglue\relax
\else
@@ -2402,7 +2413,7 @@
\endgroup
\global\pxrr@letcs\pxrr@aghostfont{T1/lmr/m/n/2.5}%
\gdef\pxrr@aghost{{\pxrr@aghostfont\pxrr@aghostchar}}%
- \global\xspcode\pxrr@aghostchar=3 %
+ \pxrr@force@nonpunct@achar{\pxrr@aghostchar}%
}{%else
\pxrr@warn{Ghost embedding for \string\aruby\space
is disabled,\MessageBreak