summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/tex/texmath.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/texmath.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/texmath.w6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texmath.w b/Build/source/texk/web2c/luatexdir/tex/texmath.w
index 4a265770dd3..f9e400b6098 100644
--- a/Build/source/texk/web2c/luatexdir/tex/texmath.w
+++ b/Build/source/texk/web2c/luatexdir/tex/texmath.w
@@ -19,8 +19,8 @@
@ @c
static const char _svn_version[] =
- "$Id: texmath.w 4612 2013-03-25 09:15:18Z taco $"
- "$URL: https://foundry.supelec.fr/svn/luatex/tags/beta-0.76.0/source/texk/web2c/luatexdir/tex/texmath.w $";
+ "$Id: texmath.w 4750 2014-01-15 09:13:32Z taco $"
+ "$URL: https://foundry.supelec.fr/svn/luatex/trunk/source/texk/web2c/luatexdir/tex/texmath.w $";
#include "ptexlib.h"
@@ -873,7 +873,7 @@ void init_math(void)
back_input();
enter_ordinary_math();
}
- } else if (cur_cmd == math_shift_cs_cmd && cur_chr == display_style) {
+ } else if (cur_cmd == math_shift_cs_cmd && cur_chr == display_style && (mode > 0)) {
enter_display_math();
} else if (cur_cmd == math_shift_cs_cmd && cur_chr == text_style) {
enter_ordinary_math();