From: Romain Diss <romain.diss@yahoo.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \date bug with french
Date: Mon, 4 Jul 2011 22:20:14 +0200 [thread overview]
Message-ID: <201107042220.20839.romain.diss@yahoo.fr> (raw)
In-Reply-To: <7EAB0588-5060-42FF-BFBD-6C06B9ED0418@googlemail.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 1175 bytes --]
Le lundi 04 juillet 2011, Wolfgang Schuster a écrit :
> Am 04.07.2011 um 15:29 schrieb luigi scarso:
> > ok, but there is no the 44th day in July as
> > "44 juillet 2011"
> > said
>
> It’s not 44th, it’s 4 + 4th :)
I tried some different dates and the number is indeed typed twice every time in
french. I think this problem appears recently because it was not the case with
"ConTeXt - 2011.05.18 22:26" "LuaTeX-0.70.1".
I still think it’s a bug because it’s not expected to have the day number
typed twice when one call \date (in "lang-def.mkiv", the date format is
declared as "\c!date={\v!day+,\v!space,\v!month,\v!space,\v!year" for french).
> core-con.lua:
>
> function commands.currentdate(str,currentlanguage) -- j and jj obsolete
> ...
> if ordinal and whatordinal then
> -- commands.ordinal(whatordinal,currentlanguage)
> context("%s",converters.ordinal(whatordinal,currentlanguage))
> end
> end
> end
I checked my "core-con.lua" file and there is not the context("%s", ...)
command in the currentdate function.
Am I missing something ?
--
Romain Diss
<romain.diss@yahoo.fr>
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-07-04 20:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 13:10 Romain Diss
2011-07-04 13:25 ` Wolfgang Schuster
2011-07-04 13:29 ` luigi scarso
2011-07-04 13:41 ` Wolfgang Schuster
2011-07-04 20:20 ` Romain Diss [this message]
2011-07-13 21:12 ` Romain Diss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201107042220.20839.romain.diss@yahoo.fr \
--to=romain.diss@yahoo.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).