summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-01 23:06:27 +0000
committerKarl Berry <karl@freefriends.org>2018-02-01 23:06:27 +0000
commite526edff1f4884090f58dfaf692bd9a4a6c177d1 (patch)
treed8994bc76c475d3c112c1fa44cf08b13aafd48d7 /Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx
parentbc61db48b8a70b7211fef576059edbacb9a36d0d (diff)
unicode-math (1feb18)
git-svn-id: svn://tug.org/texlive/trunk@46515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx b/Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx
index 0cd47069e3c..e57fbf45d15 100644
--- a/Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx
+++ b/Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx
@@ -70,6 +70,7 @@
\bool_if:NTF \l_@@_init_bool
{
+ \bool_gset_true:N \g_@@_main_font_defined_bool
%<LU> \@@_mathparam_store:
\@@_log:n {default-math-font}
}
@@ -89,7 +90,7 @@
\AtBeginDocument { \@@_load_lm_if_necessary: }
\cs_new:Nn \@@_load_lm_if_necessary:
{
- \cs_if_exist:NF \l_@@_fontname_tl
+ \bool_if:NF \g_@@_main_font_defined_bool
{
%<debug>\typeout{SETTING~ DEFAULT~ FONT~(latinmodern-math)}
\setmathfont{latinmodern-math.otf}
@@ -157,7 +158,7 @@
%<LU> Renderer = Basic,
BoldItalicFont = {}, ItalicFont = {},
Script = Math,
-%<LU> FontAdjustment = { \g_@@_luatex_copy_fontdimens_tl },
+%<LU> FontAdjustment = { \@@_luatex_copy_fontdimens: },
\l_@@_unknown_keys_clist
}
@@ -205,7 +206,7 @@
\l_@@_sscript_features_tl
}
} ,
-%<LU> FontAdjustment = { \g_@@_luatex_copy_fontdimens_tl },
+%<LU> FontAdjustment = { \@@_luatex_copy_fontdimens: },
\l_@@_unknown_keys_clist
}
@@ -236,10 +237,10 @@
\tl_set:Nn \g_@@_prime_font_cmd_tl { \l_@@_font }
% \end{macrocode}
%
-% \begin{macro}{\g_@@_luatex_copy_fontdimens_tl}
+% \begin{macro}{\@@_luatex_copy_fontdimens:}
% \begin{macrocode}
%<*LU>
-\tl_const:Nn \g_@@_luatex_copy_fontdimens_tl
+\cs_new_protected:Nn \@@_luatex_copy_fontdimens:
{
\@@_fontdimen_from_param:nn {10} {ScriptPercentScaleDown}
\@@_fontdimen_from_param:nn {11} {ScriptScriptPercentScaleDown}