From 6dca72547df41111bbe7d2bdfc1d297547b16c67 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 7 Apr 2014 13:00:00 +0200 Subject: beta 2014.04.07 13:00 --- tex/context/base/node-ltp.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tex/context/base/node-ltp.lua') diff --git a/tex/context/base/node-ltp.lua b/tex/context/base/node-ltp.lua index 9f2491cfa..6ad5de140 100644 --- a/tex/context/base/node-ltp.lua +++ b/tex/context/base/node-ltp.lua @@ -1439,6 +1439,10 @@ local function post_line_break(par) elseif id < math_code then -- messy criterium break +elseif id == math_code then + -- keep the math node + setfield(next,"surround",0) + break elseif id == kern_code and (subtype ~= userkern_code and not getattr(next,a_fontkern)) then -- fontkerns and accent kerns as well as otf injections break -- cgit v1.2.3