* 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
[parent not found: <20131013203248.GB26236@akela.mendelu.cz>]
* Fwd: broken Czech dates [not found] ` <20131013203248.GB26236@akela.mendelu.cz> @ 2013-10-13 20:43 ` Ondřej Hošek 0 siblings, 0 replies; 3+ messages in thread From: Ondřej Hošek @ 2013-10-13 20:43 UTC (permalink / raw) To: ConTeXt Users' List [-- Attachment #1.1: Type: text/plain, Size: 2836 bytes --] Hello, it appears Tomáš Hála's faculty's e-mail server has been blacklisted by Spamhaus; he asked me to forward this to ntg-context. Cheers, ~~ Ondra ---------- Forwarded message ---------- From: Tomas Hala <thala@pef.mendelu.cz> Date: Sun, Oct 13, 2013 at 10:32 PM Subject: Re: [NTG-context] broken Czech dates To: Ondřej Hošek <ondra.hosek@gmail.com> <snip> Hello, you are right, there is really a mistake, that is probably my fault when I was preparing Slovak settings and checking Czech ones. Moreover, the dot is missing there; for both, cs and sk, we have to use this: \c!date={\v!day,{.\fourperemspace},\v!month,\space,\v!year}, Cheers, Tomas Sun, Oct 13, 2013 ve 05:05:26PM +0200 Ondřej Hošek napsal(a): # 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 # /usr/bin/xdg-open: řádek 402: htmlview: příkaz nenalezen # /usr/bin/xdg-open: řádek 402: firefox: příkaz nenalezen # /usr/bin/xdg-open: řádek 402: mozilla: příkaz nenalezen # /usr/bin/xdg-open: řádek 402: netscape: příkaz nenalezen # ___________________________________________________________________________________ # 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 # ___________________________________________________________________________________ Tomáš Hála -------------------------------------------------------------------- Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky Zemědělská 1, CZ-613 00 Brno, tel. +420 545 13 22 28 -------------------------------------------------------------------- http://akela.mendelu.cz/~thala [-- Attachment #1.2: Type: text/html, Size: 4030 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
* Re: broken Czech dates 2013-10-13 15:05 broken Czech dates Ondřej Hošek [not found] ` <20131013203248.GB26236@akela.mendelu.cz> @ 2013-10-13 21:42 ` Hans Hagen 1 sibling, 0 replies; 3+ messages in thread From: Hans Hagen @ 2013-10-13 21:42 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ 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).