summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/fixjfm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-28 00:26:22 +0000
committerKarl Berry <karl@freefriends.org>2017-12-28 00:26:22 +0000
commitdab9a49fd074c3dc69ae16ee10ccaaa966585b13 (patch)
tree8a1164ea4a9a573881608d8ad213628936b64c7e /Master/texmf-dist/tex/generic/fixjfm
parentaeca8f4ef39f429c38ce0e284968df7b379453f3 (diff)
fixjfm (27dec17)
git-svn-id: svn://tug.org/texlive/trunk@46152 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/fixjfm')
-rw-r--r--Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty9
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty b/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
index 08e6f6f3d5b..fccfa52e0a2 100644
--- a/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
+++ b/Master/texmf-dist/tex/generic/fixjfm/fixjfm.sty
@@ -11,7 +11,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\else
- \ProvidesPackage{fixjfm}[2017/09/21 v0.6 Fix JFM (for *pTeX)]%
+ \ProvidesPackage{fixjfm}[2017/12/27 v0.7 Fix JFM (for *pTeX)]%
\fi
\edef\FIXJFMDOTSTYRESTORECATCODE{\catcode`\noexpand\@=\the\catcode`\@\relax}
@@ -183,6 +183,9 @@
\def\SetFixJFMSpacingShrink#1{}%
\fi
+\newif\ifUseFixJFMCJKTextFontCommands
+\newif\ifUseStandardCJKTextFontCommands
+
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname DeclareTextFontCommand\endcsname\relax
\def\DeclareFixJFMCJKTextFontCommand#1#2{}%
@@ -198,9 +201,13 @@
\DeclareRobustCommand#1[1]{%
\relax\ifmmode\expandafter\nfss@text\fi{#2##1}}}%
\def\UseFixJFMCJKTextFontCommands{%
+ \UseFixJFMCJKTextFontCommandstrue
+ \UseStandardCJKTextFontCommandsfalse
\DeclareFixJFMCJKTextFontCommand\textmc{\mcfamily}%
\DeclareFixJFMCJKTextFontCommand\textgt{\gtfamily}}%
\def\UseStandardCJKTextFontCommands{%
+ \UseStandardCJKTextFontCommandstrue
+ \UseFixJFMCJKTextFontCommandsfalse
\DeclareStandardCJKTextFontCommand\textmc{\mcfamily}%
\DeclareStandardCJKTextFontCommand\textgt{\gtfamily}}%
\UseFixJFMCJKTextFontCommands