ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in lmtx in display mathmode
@ 2019-08-18 22:20 Otared Kavian
  2019-08-19  6:53 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2019-08-18 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I have a long document which typesets correctly with mkiv, but I get a (cryptic for me…) fatal error message when I try to typeset it in lmtx:

! error:  (nodes): trying to delete an attribute reference of a non attribute list node 4476mtx-context     | fatal error: return code: 256

I could finally find the origin of the error, which is exposed in the following example: if you comment out the part from \startformula ... \stopformula, the file typesets correctly.
But with this part, one gets the above error message, the culprit being \liminfbar which is defined in the first line. Note that \liminfbar is accepted when it is inline math.

Best regards: OK

%%% begin bug-math-lmtx.tex

\definemathcommand[liminfbar][limop] {\underline{\mfunctionlabeltext{lim}}}

\starttext
If $(u_{n})_{n}$ is a sequence of real numbers, we define its {\it limit inferior}, denoted $\liminfbar$ by setting:
\startformula
a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
\qquad\text{and then}\quad
\liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
\stopformula 

\stoptext

%%% end bug-math-lmtx.tex
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Bug in lmtx in display mathmode
  2019-08-18 22:20 Bug in lmtx in display mathmode Otared Kavian
@ 2019-08-19  6:53 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-08-19  6:53 UTC (permalink / raw)
  To: Otared Kavian,
	ntg-context@ntg.nl >> mailing list for ConTeXt users

On 8/19/2019 12:20 AM, Otared Kavian wrote:
> Hi Hans,
> 
> I have a long document which typesets correctly with mkiv, but I get a (cryptic for me…) fatal error message when I try to typeset it in lmtx:
> 
> ! error:  (nodes): trying to delete an attribute reference of a non attribute list node 4476mtx-context     | fatal error: return code: 256
> 
> I could finally find the origin of the error, which is exposed in the following example: if you comment out the part from \startformula ... \stopformula, the file typesets correctly.
> But with this part, one gets the above error message, the culprit being \liminfbar which is defined in the first line. Note that \liminfbar is accepted when it is inline math.
> 
> Best regards: OK
> 
> %%% begin bug-math-lmtx.tex
> 
> \definemathcommand[liminfbar][limop] {\underline{\mfunctionlabeltext{lim}}}
> 
> \starttext
> If $(u_{n})_{n}$ is a sequence of real numbers, we define its {\it limit inferior}, denoted $\liminfbar$ by setting:
> \startformula
> a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
> \qquad\text{and then}\quad
> \liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
> \stopformula
> 
> \stoptext
> 
> %%% end bug-math-lmtx.tex
also in yesterdays beta?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-08-19  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-18 22:20 Bug in lmtx in display mathmode Otared Kavian
2019-08-19  6:53 ` Hans Hagen

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).