summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty44
1 files changed, 1 insertions, 43 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty
index b679d5a436e..2aaa9d6eed8 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-fontspec.sty
@@ -3,7 +3,7 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjp-fontspec}[2016/03/31 Patch to fontspec for LuaTeX-ja]
+\ProvidesPackage{lltjp-fontspec}[2016/10/12 Patch to fontspec for LuaTeX-ja]
\RequirePackage{fontspec,luatexja}
\ExplSyntaxOn
@@ -24,48 +24,6 @@
}
-\cs_set_eq:NN \ltj_orig_fontspec_setup_maths: \fontspec_setup_maths:
-\cs_set:Nn \fontspec_setup_maths:
- {
- \group_begin:
- \cs_set:Npn \DeclareMathSymbol##1##2##3##4{%
- \expandafter\in@\csname sym##3\expandafter\endcsname
- \expandafter{\group@list}%
- \ifin@
- \begingroup
- \count\z@=##4\relax
- \count\tw@\count\z@
- \divide\count\z@\sixt@@n
- \count@\count\z@
- \multiply\count@\sixt@@n
- \advance\count\tw@-\count@
- \if\relax\noexpand##1% is command?
- \edef\reserved@a{\noexpand\in@{\string\mathchar}{\meaning##1}}%
- \reserved@a
- \ifin@
- \expandafter\set@mathsymbol
- \csname sym##3\endcsname##1##2%
- {\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}%
- \@font@info{Redeclaring math symbol \string##1}%
- \else
- \expandafter\set@mathsymbol
- \csname sym##3\endcsname##1##2%
- {\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}%
- \fi
- \else
- \expandafter\set@mathchar
- \csname sym##3\endcsname##1##2
- {\hexnumber@{\count\z@}\hexnumber@{\count\tw@}}%
- \fi
- \endgroup
- \else
- \@latex@error{Symbol font `##3' is not defined}\@eha
- \fi
- }
- \ltj_orig_fontspec_setup_maths:
- \group_end:
- }
-
%%%%%%%% shapes in \em
\cs_set:Npn \emshape { \gtfamily \itshape }
\cs_set:Npn \eminnershape { \mcfamily \upshape }