Re: [NTG-context] Minor date formatting issue

2013-08-10 Thread Sietse Brouwer
 Perhaps someone should update the wiki? I suppose I could get an
 account and fix it myself ... if people don't mind someone as inexpert
 as me messing around in there ...

It would be very nice if you could do that. Don’t worry about
inexpertise -- people improving the documentation of how commands work
is always welcome. (If you can't get the formatting right, you can
leave it in plain text and I'll come in later and tidy it up.)

Cheers,
Sietse


On 10 August 2013 07:04, Matt Gushee m...@gushee.net wrote:
 Hi, Wolfgang--

 On Fri, Aug 9, 2013 at 6:58 AM, Wolfgang Schuster
 schuster.wolfg...@gmail.com wrote:

 I am experimenting with the \currentdate command. I am finding that

  \currentdate [weekday,{,~},month,day+,{,~},year]

 which should work according to the Wiki, produces:

  Thursday, Augustday+, 2013

 It’s recommended to use “day:ord” with \currentdate but you also use “day:+”.

 \starttext
 \currentdate[day,space,day:ord,space,day:+]
 \stoptext

 Ah, yes, thank you!

 Perhaps someone should update the wiki? I suppose I could get an
 account and fix it myself ... if people don't mind someone as inexpert
 as me messing around in there ...

 --
 Matt
 ___
 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
 ___
___
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
___

Re: [NTG-context] Minor date formatting issue

2013-08-09 Thread Wolfgang Schuster

Am 09.08.2013 um 05:43 schrieb Matt Gushee m...@gushee.net:

 Hello, all--
 
 I am experimenting with the \currentdate command. I am finding that
 
  \currentdate [weekday,{,~},month,day+,{,~},year]
 
 which should work according to the Wiki, produces:
 
  Thursday, Augustday+, 2013
 
 This command:
 
  \currentdate [weekday,{,~},month,day,{,~},year]
 
 works as expected. I also tried
 
  \date [][weekday,{,~},month,day+,{,~},year]
 
 but that produced the same result as above.
 
 I have a recent stable release of the standalone ConTeXt package from
 the Garden. Is there a new way to format a date with an ordinal
 indicator (-st, -nd, -rd, -th), or is that just not working at the
 moment? Please advise.


It’s recommended to use “day:ord” with \currentdate but you also use “day:+”.

\starttext
\currentdate[day,space,day:ord,space,day:+]
\stoptext

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
___


Re: [NTG-context] Minor date formatting issue

2013-08-09 Thread Matt Gushee
Hi, Wolfgang--

On Fri, Aug 9, 2013 at 6:58 AM, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:

 I am experimenting with the \currentdate command. I am finding that

  \currentdate [weekday,{,~},month,day+,{,~},year]

 which should work according to the Wiki, produces:

  Thursday, Augustday+, 2013

 It’s recommended to use “day:ord” with \currentdate but you also use “day:+”.

 \starttext
 \currentdate[day,space,day:ord,space,day:+]
 \stoptext

Ah, yes, thank you!

Perhaps someone should update the wiki? I suppose I could get an
account and fix it myself ... if people don't mind someone as inexpert
as me messing around in there ...

--
Matt
___
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
___


[NTG-context] Minor date formatting issue

2013-08-08 Thread Matt Gushee
Hello, all--

I am experimenting with the \currentdate command. I am finding that

  \currentdate [weekday,{,~},month,day+,{,~},year]

which should work according to the Wiki, produces:

  Thursday, Augustday+, 2013

This command:

  \currentdate [weekday,{,~},month,day,{,~},year]

works as expected. I also tried

  \date [][weekday,{,~},month,day+,{,~},year]

but that produced the same result as above.

I have a recent stable release of the standalone ConTeXt package from
the Garden. Is there a new way to format a date with an ordinal
indicator (-st, -nd, -rd, -th), or is that just not working at the
moment? Please advise.

--
Matt Gushee
___
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
___