[luatex] localisation of os.date()

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jan 23 11:17:54 CET 2012


Am 23.01.2012 11:06, schrieb Patrick Gundlach:

>> function Datum()
>>   os.setlocale("de_DE")
>>   tex.print(os.date("Heute ist der \%A im Monat \%B."))
>> end
>
> just an observation: if you write
>
>   os.setlocale("de_DE","time")
>
>
> it works fine.
>
> Something that parses the map files are probably locale (LC_NUMERIC) dependent.

doh, I had that in my main document without success, but didn't tried it
again in my minimal example ...

thanks
HErbert


More information about the luatex mailing list