summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-25 21:27:41 +0000
committerKarl Berry <karl@freefriends.org>2018-03-25 21:27:41 +0000
commit64a86b6f5f34949239097b2846e6f1867b95e651 (patch)
tree7cde336b8bf10651bbdb96ca66803c41f8ac5739 /Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
parentda3c0806b93d5e5d13fcfdc9a3dd57396e52c447 (diff)
fixjfm (24mar18)
git-svn-id: svn://tug.org/texlive/trunk@47113 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty')
-rw-r--r--Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty b/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
index fccfa52e0a2..11887daafca 100644
--- a/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
+++ b/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
@@ -1,7 +1,7 @@
% fixjfm.sty
-% Copyright 2017 Yue ZHANG
+% Copyright 2017--2018 Yue ZHANG
% License: Knuth License (https://ctan.org/license/knuth)
\csname ENDINPUTFIXJFMDOTSTY\endcsname
@@ -11,7 +11,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\else
- \ProvidesPackage{fixjfm}[2017/12/27 v0.7 Fix JFM (for *pTeX)]%
+ \ProvidesPackage{fixjfm}[2018/03/24 v0.8 Fix JFM (for *pTeX)]%
\fi
\edef\FIXJFMDOTSTYRESTORECATCODE{\catcode`\noexpand\@=\the\catcode`\@\relax}
@@ -192,6 +192,7 @@
\def\DeclareStandardCJKTextFontCommand#1#2{}%
\let\UseFixJFMCJKTextFontCommands=\fixjfm@empty
\let\UseStandardCJKTextFontCommands=\fixjfm@empty
+ \def\AppendToUseXCJKTextFontCommands#1#2{}%
\else
\def\DeclareFixJFMCJKTextFontCommand#1#2{%
\DeclareRobustCommand#1[1]{%
@@ -210,6 +211,16 @@
\UseFixJFMCJKTextFontCommandsfalse
\DeclareStandardCJKTextFontCommand\textmc{\mcfamily}%
\DeclareStandardCJKTextFontCommand\textgt{\gtfamily}}%
+ \def\AppendToUseXCJKTextFontCommands#1#2{%
+ \g@addto@macro\UseFixJFMCJKTextFontCommands{%
+ \DeclareFixJFMCJKTextFontCommand#1{#2}}%
+ \g@addto@macro\UseStandardCJKTextFontCommands{%
+ \DeclareStandardCJKTextFontCommand#1{#2}}%
+ \ifUseFixJFMCJKTextFontCommands
+ \DeclareFixJFMCJKTextFontCommand#1{#2}%
+ \else
+ \DeclareStandardCJKTextFontCommand#1{#2}%
+ \fi}%
\UseFixJFMCJKTextFontCommands
\fi