ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \date problem with \mainlanguage[fr] in mkiv
@ 2011-04-14 11:33 Otared Kavian
  2011-04-14 14:50 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2011-04-14 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I noticed a small bug with the command \date in mkiv: when the mainlanguage is st to [fr], the command \date gives:
	14spaceavrilspace2011
that is the word « avril » is replaced with « spaceavrilspace ». With [it] or [es], there is no such problem. In mkii everything is fine.
Minimal example:

\starttext
Here there is no problem: today's date: \date
\mainlanguage[fr]
Here there is a problem: aujourd'hui: \date
\stoptext

Best regards: OK
___________________________________________________________________________________
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: \date problem with \mainlanguage[fr] in mkiv
  2011-04-14 11:33 \date problem with \mainlanguage[fr] in mkiv Otared Kavian
@ 2011-04-14 14:50 ` Wolfgang Schuster
  2011-04-15  5:51   ` Otared Kavian
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-04-14 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.04.2011 um 13:33 schrieb Otared Kavian:

> Hi Hans,
> 
> With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I noticed a small bug with the command \date in mkiv: when the mainlanguage is st to [fr], the command \date gives:
> 	14spaceavrilspace2011
> that is the word « avril » is replaced with « spaceavrilspace ». With [it] or [es], there is no such problem. In mkii everything is fine.
> Minimal example:
> 
> \starttext
> Here there is no problem: today's date: \date
> \mainlanguage[fr]
> Here there is a problem: aujourd'hui: \date
> \stoptext

core-con.lua (missing “local v_space = variables.space“ at line 757):

local v_day      = variables.day
local v_year     = variables.year
local v_month    = variables.month
local v_weekday  = variables.weekday
local v_referral = variables.referral
+local v_space    = variables.space

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \date problem with \mainlanguage[fr] in mkiv
  2011-04-14 14:50 ` Wolfgang Schuster
@ 2011-04-15  5:51   ` Otared Kavian
  0 siblings, 0 replies; 3+ messages in thread
From: Otared Kavian @ 2011-04-15  5:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thanks Wolfgang!
After adding the line you pointed out and remaking the formats the problem is solved.

Have a nice day, best regards: OK

On 14 avr. 2011, at 16:50, Wolfgang Schuster wrote:

> 
> Am 14.04.2011 um 13:33 schrieb Otared Kavian:
> 
>> Hi Hans,
>> 
>> With the latest beta (ConTeXt version 2011.04.13 09:23) on the minimals I noticed a small bug with the command \date in mkiv: when the mainlanguage is st to [fr], the command \date gives:
>> 	14spaceavrilspace2011
>> that is the word « avril » is replaced with « spaceavrilspace ». With [it] or [es], there is no such problem. In mkii everything is fine.
>> Minimal example:
>> 
>> \starttext
>> Here there is no problem: today's date: \date
>> \mainlanguage[fr]
>> Here there is a problem: aujourd'hui: \date
>> \stoptext
> 
> core-con.lua (missing “local v_space = variables.space“ at line 757):
> 
> local v_day      = variables.day
> local v_year     = variables.year
> local v_month    = variables.month
> local v_weekday  = variables.weekday
> local v_referral = variables.referral
> +local v_space    = variables.space
> 
> 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
> ___________________________________________________________________________________

%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 avenue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: Otared.Kavian@math.uvsq.fr





[-- Attachment #1.2: Type: text/html, Size: 4639 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:[~2011-04-15  5:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-14 11:33 \date problem with \mainlanguage[fr] in mkiv Otared Kavian
2011-04-14 14:50 ` Wolfgang Schuster
2011-04-15  5:51   ` Otared Kavian

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).