ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [luatex-plain] disappearing math-on node
@ 2014-04-03 16:29 Dohyun Kim
  2014-04-03 21:56 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Dohyun Kim @ 2014-04-03 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

This is a bug report based on the issue discussed at
https://github.com/lualatex/luaotfload/issues/212

\font\tenrm{file:lmroman10-regular.otf:mode=node;script=latn}\tenrm
\setbox0\vbox{%
  x\penalty-10000
  $a$x$a$
}
\unvbox0
\setbox0\lastbox
\unhbox0
\end

The plain tex code shown above fails with a lua error:
luatex-fonts-merged.lua:9616: attempt to index local 'current' (a nil value)

My guess is: as math-on (math-off too) is a "discardable" item after a
linebreak, the first math-on node has gone away. So the
math-on/math-off pair has become broken, by which the behavior of
"node.end_of_math" is confused.

Regards,
-- 
Dohyun Kim
Seoul, Republic of Korea
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-06 14:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03 16:29 [luatex-plain] disappearing math-on node Dohyun Kim
2014-04-03 21:56 ` Hans Hagen
2014-04-05 13:12   ` Philipp Gesang
2014-04-05 22:44     ` Hans Hagen
2014-04-06  8:38       ` Philipp Gesang
2014-04-06 14:57       ` Philipp Gesang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).