ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug with \wordright in LMTX version 2020-08-03 14:25
@ 2020-08-03 20:10 Otared Kavian
  2020-08-04  7:06 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Otared Kavian @ 2020-08-03 20:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

A file which used to be typeset correctly with the previous versions of lmtx, now produces an error. Despite the error message being extremely cryptic:

Error	   ! Missing number, treated as zero

I could guess the origin of the bug, which seems to be \wordright,  but although the following minimal example shows a bug it does not produce the same ERROR output page:

%%%% the square ''end of proof''
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\wordright{\symbol[Fin]}}

\starttext
\startformula
a^2 + b^2 = c^2
\stopformula
\qed % the problem is here
\stoptext

In the above example if one adds something before \qed, then the square end-of-proof appears. 
However in my real file ConTeXt ouputs an error page and says: Error	   ! Missing number, treated as zero.

Best regards: Otared




___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2020-08-08 13:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03 20:10 Bug with \wordright in LMTX version 2020-08-03 14:25 Otared Kavian
2020-08-04  7:06 ` Hans Hagen
     [not found]   ` <D707379C-DC0F-4EEA-9332-B98531BFD02E@gmail.com>
     [not found]     ` <da525156-014d-a587-c2be-abb70ae090f4@xs4all.nl>
2020-08-04 12:02       ` Otared Kavian
2020-08-05 17:33         ` Fabrice Couvreur
2020-08-05 19:15           ` Wolfgang Schuster
2020-08-08 13:39             ` Defining \qed (was: Bug with \wordright...) Otared Kavian

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