[NTG-context] \date problem with \mainlanguage[fr] in mkiv

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Apr 14 16:50:33 CEST 2011


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



More information about the ntg-context mailing list