diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-13 22:25:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-13 22:25:39 +0000 |
commit | 88c79b1089afed4ca1c72394817bb8f55bd1e9aa (patch) | |
tree | a1b8cd74218d99a44eb6d5868644b5e310b34921 /Master/texmf-dist/source/latex/unicode-math/um-code-main.dtx | |
parent | 62fd25b2444dd76b32175abd5c19d10f9b3efee6 (diff) |
unicode-math (13jan18)
git-svn-id: svn://tug.org/texlive/trunk@46300 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.dtx | 12 |
1 files changed, 5 insertions, 7 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 2ae228df24e..0cd47069e3c 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 @@ -91,15 +91,13 @@ { \cs_if_exist:NF \l_@@_fontname_tl { +%<debug>\typeout{SETTING~ DEFAULT~ FONT~(latinmodern-math)} \setmathfont{latinmodern-math.otf} [BoldFont={latinmodern-math.otf}] +%<debug>\typeout{END~ DEFAULT~ FONT)} } } % \end{macrocode} -% Note that here we reset the `font already loaded' boolean so that a new font being set -% will do the right thing in terms of setting up defaults. -% -% TODO: need a better way to do this for the general case. (Maybe a `reset' command option?) % % \begin{macro}{\@@_init:n} % Reset local variables. @@ -167,7 +165,7 @@ \group_begin: \fontfamily { \l_@@_trial_family_tl } \selectfont - \@@_fontface_gset_eq:NV \g_@@_trial_font \font@name + \exp_last_unbraced:NNo \@@_fontface_gset_eq:NN \g_@@_trial_font \font@name \fontspec_if_script:nF {math} { \bool_gset_false:N \l_@@_ot_math_bool @@ -216,11 +214,11 @@ \int_gincr:N \g_@@_fonts_used_int \group_begin: \fontfamily { \l_@@_family_tl } \selectfont - \@@_fontface_gset_eq:cV {g_@@_mathfont_ \int_use:N \g_@@_fonts_used_int _font} \font@name + \exp_last_unbraced:Nno \@@_fontface_gset_eq:cN {g_@@_mathfont_ \int_use:N \g_@@_fonts_used_int _font} \font@name \tl_gset:Nx \g_@@_curr_font_cmd_tl { \exp_not:c {g_@@_mathfont_ \int_use:N \g_@@_fonts_used_int _font} } \bool_if:NT \l_@@_init_bool { - \@@_fontface_gset_eq:NV \l_@@_font \font@name + \exp_last_unbraced:NNo \@@_fontface_gset_eq:NN \l_@@_font \font@name } \fontspec_if_script:nF {math} { |