[luatex] localisation of os.date()

Patrick Gundlach patrick at gundla.ch
Mon Jan 23 11:06:35 CET 2012


Hello Herbert,

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


Patrick




More information about the luatex mailing list