Re: [NTG-context] \date behaving strange

2019-02-10 Thread martin

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
___


Re: [NTG-context] \date behaving strange

2019-02-09 Thread Hans Hagen

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
___


[NTG-context] \date behaving strange

2019-02-09 Thread martin
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
___