ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* broken Czech dates
@ 2013-10-13 15:05 Ondřej Hošek
       [not found] ` <20131013203248.GB26236@akela.mendelu.cz>
  2013-10-13 21:42 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Ondřej Hošek @ 2013-10-13 15:05 UTC (permalink / raw)
  To: ConTeXt Users' List


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 908 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2013-10-13 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-13 15:05 broken Czech dates Ondřej Hošek
     [not found] ` <20131013203248.GB26236@akela.mendelu.cz>
2013-10-13 20:43   ` Fwd: " Ondřej Hošek
2013-10-13 21:42 ` 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).