ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Non-shortened month name in \date
@ 2015-04-03 11:44 Procházka Lukáš Ing. - Pontex s. r. o.
  2015-04-03 17:07 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-04-03 11:44 UTC (permalink / raw)
  To: ConTeXt

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,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___________________________________________________________________________________
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: 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

end of thread, other threads:[~2015-04-03 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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