diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-22 21:23:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-22 21:23:28 +0000 |
commit | 1bcc299ae104ba83d8f2ee9cdfdba4c04501dd35 (patch) | |
tree | 3ec60fbfde7ea6dc2dc3545018725864cddce7fa /Master/texmf-dist/source/uplatex/base/ukinsoku.dtx | |
parent | 31de23b1c0c3951f92b39f6456a725219639872e (diff) |
uplatex (22may19)
git-svn-id: svn://tug.org/texlive/trunk@51191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/uplatex/base/ukinsoku.dtx')
-rw-r--r-- | Master/texmf-dist/source/uplatex/base/ukinsoku.dtx | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx b/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx index 6a7d6bab260..6fe076ff027 100644 --- a/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx +++ b/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx @@ -30,13 +30,14 @@ % (Latin-1 letters)をコードポイントで指定} % \changes{v1.0b-u03}{2018/04/08}{\LaTeX\ 2018-04-01対策} % \changes{v1.0b-u04}{2019/01/29}{内部Unicode化されていることを確認} +% \changes{v1.0b-u05}{2019/05/19}{up\TeX~v1.24の\cs{kcatcode}の既定値のバグ回避} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{ukinsoku.dtx}[2019/01/29 v1.0b-u04 upLaTeX Kernel] +\ProvidesFile{ukinsoku.dtx}[2019/05/19 v1.0b-u05 upLaTeX Kernel] % \iffalse \documentclass{jltxdoc} \GetFileInfo{ukinsoku.dtx} @@ -72,6 +73,22 @@ \fi % \end{macrocode} % +% up\TeX~v1.24で``Halfwidth and Fullwidth Forms''のブロックの|\kcatcode|の既定値に +% バグが入ったため、回避策を講じます(このバグはv1.25で修正済み)。 +% \changes{v1.0b-u05}{2019/05/19}{up\TeX~v1.24の\cs{kcatcode}の既定値のバグ回避} +% \begin{macrocode} +%% +%% default kcatcode, workaround for upTeX 1.24 +\edef\upTeXVersionNumber{\the\uptexversion\uptexrevision}% +\def\upTeXRevIpXXIV{1.24}% +\ifx\upTeXVersionNumber\upTeXRevIpXXIV + \kcatcode"FF00=16% Halfwidth and Fullwidth Forms -> 16(kanji) + \message{### special kcatcode setting to work around for upTeX 1.24 ###} +\fi +\let\upTeXVersionNumber\relax +\let\upTeXRevIpXXIV\relax +% \end{macrocode} +% % \section{禁則} % % ある文字を行頭禁則の対象にするには、|\prebreakpenalty|に正の値を指定します。 |