ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \date behaving strange
@ 2019-02-09 13:39 martin
  2019-02-09 19:59 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: martin @ 2019-02-09 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I'm getting a bit confused. The \date function doesn't result in a 
formatted date. That goes for some files that are a few weeks old.

What am I missing?

\starttext
\date[d=2,m=3,y= 2018]
\stoptext

results in:

d=2m=3y= 2018


An optional formatting parameter has no effect

\date[d=1, m=4, y=2018][weekday, {\\}, dd,{-}, mm,-, year]

using:
mtx-context     | current version: 2019.02.07 18:46
___________________________________________________________________________________
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] 3+ messages in thread

* Re: \date behaving strange
  2019-02-09 13:39 \date behaving strange martin
@ 2019-02-09 19:59 ` Hans Hagen
  2019-02-10  9:15   ` martin
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-02-09 19:59 UTC (permalink / raw)
  To: ntg-context

On 2/9/2019 2:39 PM, martin wrote:
> I'm getting a bit confused. The \date function doesn't result in a 
> formatted date. That goes for some files that are a few weeks old.
> 
> What am I missing?
> 
> \starttext
> \date[d=2,m=3,y= 2018]
> \stoptext
> 
> results in:
> 
> d=2m=3y= 2018
> 
> 
> An optional formatting parameter has no effect
> 
> \date[d=1, m=4, y=2018][weekday, {\\}, dd,{-}, mm,-, year]
line 446 of core-con.mkiv should be:

      {#2}{\currentdatespecification}{\labellanguage}%


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

* Re: \date behaving strange
  2019-02-09 19:59 ` Hans Hagen
@ 2019-02-10  9:15   ` martin
  0 siblings, 0 replies; 3+ messages in thread
From: martin @ 2019-02-10  9:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Great, that worked. Thanks for the quick solution.


Changed the line, then ran:

luatools --generate
luatools --ini --compile cont-en


On 09.02.19 20:59, Hans Hagen wrote:
> On 2/9/2019 2:39 PM, martin wrote:
>> I'm getting a bit confused. The \date function doesn't result in a 
>> formatted date. That goes for some files that are a few weeks old.
>>
>> What am I missing?
>>
>> \starttext
>> \date[d=2,m=3,y= 2018]
>> \stoptext
>>
>> results in:
>>
>> d=2m=3y= 2018
>>
>>
>> An optional formatting parameter has no effect
>>
>> \date[d=1, m=4, y=2018][weekday, {\\}, dd,{-}, mm,-, year]
> line 446 of core-con.mkiv should be:
> 
>       {#2}{\currentdatespecification}{\labellanguage}%
> 
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2019-02-10  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 13:39 \date behaving strange martin
2019-02-09 19:59 ` Hans Hagen
2019-02-10  9:15   ` martin

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