[NTG-context] broken Czech dates

2013-10-13 Thread Ondřej Hošek
Hello,

the current ConTeXt Standalone contains a bug when attempting to output
Czech dates.

Minimal example:
\mainlanguage[cs]
\starttext
\currentdate
\stoptext

Expected output:
13. řijna 2013

Received output:
day, ,month, ,year

The culprit appears to be a missing comma in the language definition in
lang-def.mkiv:

\installlanguage
  [\s!cs]
  [ % ...
   \c!rightquotation=\upperrightdoublesixquote,
   \c!date={\v!day,\fourperemspace,\v!month,\space,\v!year}
   \s!lefthyphenmin=2,
   % ...
]

Add a comma at the end of the line defining the date format; this appears
to fix the problem.

As far as I can tell, the definitions of Slovak (sk) and Turkmen (tk)
appear to be suffering from the same problem.

Cheers,
~~ Ondra Hošek
___
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] broken Czech dates

2013-10-13 Thread Hans Hagen

On 10/13/2013 5:05 PM, Ondřej Hošek wrote:

Hello,

the current ConTeXt Standalone contains a bug when attempting to output
Czech dates.



As far as I can tell, the definitions of Slovak (sk) and Turkmen (tk)
appear to be suffering from the same problem.


indeed, thanks for noticing

Hans

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