diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/texmath.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texmath.w | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texmath.w b/Build/source/texk/web2c/luatexdir/tex/texmath.w index f501d403597..216d2364984 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texmath.w +++ b/Build/source/texk/web2c/luatexdir/tex/texmath.w @@ -1079,8 +1079,7 @@ void enter_display_math(void) if (every_display != null) begin_token_list(every_display, every_display_text); if (nest_ptr == 1) { - if (!output_active) - lua_node_filter_s(buildpage_filter_callback,lua_key_index(before_display)); + checked_page_filter(before_display); build_page(); } } @@ -2144,7 +2143,7 @@ static void resume_after_display(void) if (cur_cmd != spacer_cmd) back_input(); if (nest_ptr == 1) { - lua_node_filter_s(buildpage_filter_callback,lua_key_index(after_display)); + normal_page_filter(after_display); build_page(); } } @@ -2197,7 +2196,7 @@ static void finish_displayed_math(boolean l, pointer eqno_box, pointer p) } else { eqno_w = width(eqno_box); eqno_width = eqno_w; - eqno_w2 = eqno_w + round_xn_over_d(math_eqno_gap_step, get_math_quad(text_size), 1000); + eqno_w2 = eqno_w + round_xn_over_d(math_eqno_gap_step, get_math_quad_style(text_style), 1000); subtype(eqno_box) = equation_number_list; /* new */ /* build_attribute_list(eqno_box); */ /* probably already set */ } |