diff options
Diffstat (limited to 'Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty')
-rw-r--r-- | Master/texmf-dist/tex/platex/pxrubrica/pxrubrica.sty | 15 |
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 |