ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Bug or feature? \numexpression and hashes
@ 2023-09-04  6:17 Jairo A. del Rio
  2023-09-04  8:09 ` [NTG-context] " Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Jairo A. del Rio @ 2023-09-04  6:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]

Hi, list. The following fails with a "Missing number, treated as zero"
error prompt:

\starttext
\expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }}
\stoptext

OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:03. Thanks
in advance.

Best regards,

Jairo

[-- Attachment #1.2: Type: text/html, Size: 349 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Bug or feature? \numexpression and hashes
  2023-09-04  6:17 [NTG-context] Bug or feature? \numexpression and hashes Jairo A. del Rio
@ 2023-09-04  8:09 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2023-09-04  8:09 UTC (permalink / raw)
  To: Jairo A. del Rio, mailing list for ConTeXt users; +Cc: Hans Hagen

On 9/4/2023 8:17 AM, Jairo A. del Rio wrote:
> Hi, list. The following fails with a "Missing number, treated as zero"
> error prompt:
> 
> \starttext
> \expandedrepeat2{\expandedrepeat2{\the\numexpression#I+#P\relax\ }}
> \stoptext
> 
> OTOH, \numexpr works seamlessly. Tested on ConTeXt 2023.09.03 19:03. Thanks
> in advance.
bug or feature: just something not done yet (there are probably a few 
more places) ... i added it (no upload)

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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-09-04  8:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04  6:17 [NTG-context] Bug or feature? \numexpression and hashes Jairo A. del Rio
2023-09-04  8:09 ` [NTG-context] " Hans Hagen via ntg-context

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