* Re: Non-shortened month name in \date
2015-04-03 11:44 Non-shortened month name in \date Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-04-03 17:07 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2015-04-03 17:07 UTC (permalink / raw)
To: ntg-context
On 4/3/2015 1:44 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> Hello,
>
> ----
> \mainlanguage[cz]
>
> \starttext
> \date[d=1,m=3,y=2000][d,~,m,~,y]\par
> \date[d=1,m=3,y=2000][d,~,mm,~,y]\par
> \date[d=1,m=3,y=2000][d,~,month,~,y]\par
> \stoptext
> ----
>
> gives:
>
> "
> 1 břez. 2000
> 1 03 2000
> 1 břez. 2000
> "
>
> Is there a way to get non-shortened month name, i.e. "března" instead
> "břez."?
>
> Kind regards,
\starttext
\date[d=1,m=3,y=2000][d,~,m,~,y]\par
\date[d=1,m=3,y=2000][d,~,mm,~,y]\par
\date[d=1,m=3,y=2000][d,~,month,~,y]\par
\date[d=1,m=3,y=2000][d,~,month:mnem,~,y]\par
\stoptext
buglet:
patch core-con.lua:
elseif tag == v_month or tag == "m" then
if currentlanguage == false then
context(months[month] or "unknown")
elseif mnemonic then
context.labeltext(monthmnem(month))
else
context.labeltext(monthname(month))
end
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread