* ordinaldaynumber not working in latest beta
@ 2015-05-15 12:28 Christoph Reller
2015-05-15 12:46 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Reller @ 2015-05-15 12:28 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]
Hi,
The \ordinaldaynumber{...} stopped working for me. Is this a bug?
Cheers,
Christoph Reller
\starttext
\ordinaldaynumber{5}
\stoptext
! You can't use `\numexpr' in vertical mode
<recently read> \numexpr
\ordinaldaynumber #1->\clf_ordinal \numexpr
#1\relax {\currentlanguage }
[-- Attachment #1.2: Type: text/html, Size: 625 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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] 2+ messages in thread
* Re: ordinaldaynumber not working in latest beta
2015-05-15 12:28 ordinaldaynumber not working in latest beta Christoph Reller
@ 2015-05-15 12:46 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2015-05-15 12:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
> Am 15.05.2015 um 14:28 schrieb Christoph Reller <christoph.reller@gmail.com>:
>
> Hi,
>
> The \ordinaldaynumber{...} stopped working for me. Is this a bug?
>
> Cheers,
> Christoph Reller
>
> \starttext
> \ordinaldaynumber{5}
> \stoptext
>
> ! You can't use `\numexpr' in vertical mode
>
> <recently read> \numexpr
>
> \ordinaldaynumber #1->\clf_ordinal \numexpr
> #1\relax {\currentlanguage }
The Lua function for the command (core-con.lua) expects a wrong value.
implement {
name = "ordinal",
actions = ctxordinal,
- arguments = { "string", "string" }
+ arguments = { "integer", "string" }
}
Wolfgang
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2015-05-15 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-15 12:28 ordinaldaynumber not working in latest beta Christoph Reller
2015-05-15 12:46 ` Wolfgang Schuster
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).