diff options
author | Karl Berry <karl@freefriends.org> | 2015-08-24 21:30:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-08-24 21:30:47 +0000 |
commit | 1a8e2128cdbe579f531b4b842afe17b2da07dc6c (patch) | |
tree | 573866c2cc58a1aa6b03c0429b2b0e51db0d9017 /Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def | |
parent | 6232e625024c17161418cf1841e0f923425e234e (diff) |
bxjscls (24aug15)
git-svn-id: svn://tug.org/texlive/trunk@38196 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def index 83a57af1304..b5feee63779 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def @@ -36,7 +36,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{bxjsja-standard.def} - [2015/08/05 v1.0 BXJS document classes] + [2015/08/23 v1.0a BXJS document classes] \input{bxjsja-minimal.def} \ifjsWitheTeX \@tempdima=0.25mm @@ -248,6 +248,25 @@ \bxjs@nxt \bxjs@cjk@loaded \PassOptionsToPackage{unicode}{hyperref} +\begingroup + \CJK@input{UTF8.bdg} +\endgroup +\g@addto@macro\pdfstringdefPreHook{% + \@nameuse{CJK@UTF8Binding}% +} +\g@addto@macro\pdfstringdefPreHook{% + \ifx~\bxjs@@CJKtilde + \let\bxjs@org@LetUnexpandableSpace\HyPsd@LetUnexpandableSpace + \let\HyPsd@LetUnexpandableSpace\bxjs@LetUnexpandableSpace + \let~\@empty + \fi +} +\def\bxjs@@CJKtilde{\CJKecglue\ignorespaces} +\def\bxjs@@tildecmd{~} +\def\bxjs@LetUnexpandableSpace#1{% + \def\bxjs@tmpa{#1}\ifx\bxjs@tmpa\bxjs@@tildecmd\else + \bxjs@org@LetUnexpandableSpace#1% + \fi} \newskip\jsKanjiSkip \newskip\jsXKanjiSkip \ifx\CJKecglue\@undefined |