ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \date bug with french
Date: Mon, 4 Jul 2011 15:25:25 +0200	[thread overview]
Message-ID: <04AAB810-8782-44DA-9A70-825E5FA17EEE@googlemail.com> (raw)
In-Reply-To: <201107041510.30306.romain.diss@yahoo.fr>


Am 04.07.2011 um 15:10 schrieb Romain Diss:

> Hi,
> 
> The date printed with the \date command is not correct in french (but ok in 
> english).
> See this example :
> 
>  \mainlanguage[fr]
>  \starttext
>     \date
>  \stoptext
> 
> It prints "44 juillet 2011" (today). Without " \mainlanguage[fr]", it’s prints 
> "July 4, 2011" (as expected).
> 
> I have "ConTeXt - 2011.06.29 09:57" and "LuaTeX-0.70.1".
> I've never seen this bug before but I don't know if the problem is recent or 
> not.

It’s not a bug but a language dependent format of the string, you can change it with

  \setuplanguage[de][date={...}]

where the date key takes the same arguments as the \date command.

Wolfgang

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


  reply	other threads:[~2011-07-04 13:25 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 [this message]
2011-07-04 13:29   ` luigi scarso
2011-07-04 13:41     ` Wolfgang Schuster
2011-07-04 20:20       ` Romain Diss
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=04AAB810-8782-44DA-9A70-825E5FA17EEE@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).