Re: [NTG-context] Bug in lmtx in display mathmode

2019-08-19 Thread Hans Hagen

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
___


[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
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
___