diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-30 22:21:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-30 22:21:18 +0000 |
commit | dd475bb681af7e9e30dc6f78375cf141a894895d (patch) | |
tree | f0ee851159daea8a0ebe5b6636837025c378b22a /Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty | |
parent | 109e4bdbf6b08b4b28058faad75931a9eb80e5be (diff) |
unicode-math (30jan20)
git-svn-id: svn://tug.org/texlive/trunk@53609 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty b/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty index 26759e8d0a9..24aa8c32739 100644 --- a/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty +++ b/Master/texmf-dist/tex/latex/unicode-math/unicode-math.sty @@ -24,14 +24,19 @@ \RequirePackage{expl3} \ProvidesExplPackage{unicode-math} - {2019/09/26} {0.8p} {Unicode maths in XeLaTeX and LuaLaTeX} -\sys_if_engine_luatex:T { \RequirePackageWithOptions{unicode-math-luatex} } -\sys_if_engine_xetex:T { \RequirePackageWithOptions{unicode-math-xetex} } -\sys_if_engine_pdftex:T + {2020/01/31} {0.8q} {Unicode maths in XeLaTeX and LuaLaTeX} +\sys_if_engine_luatex:T { - \msg_new:nnn {unicode-math} {not-pdftex} - { Cannot~ be~ run~ with~ pdfLaTeX!\\ Use~ XeLaTeX~ or~ LuaLaTeX~ instead. } - \msg_error:nn {unicode-math} {not-pdftex} + \RequirePackageWithOptions{unicode-math-luatex} + \endinput } +\sys_if_engine_xetex:T + { + \RequirePackageWithOptions{unicode-math-xetex} + \endinput + } +\msg_new:nnn {unicode-math} {unsupported-engine} + { Cannot~ be~ run~ with~ \c_sys_engine_str!\\ Use~ XeLaTeX~ or~ LuaLaTeX~ instead. } +\msg_error:nn {unicode-math} {unsupported-engine} \endinput |