Enhancement request: please add `locale` to list of allowed \write18 binaries

Zdenek Wagner zdenek.wagner at gmail.com
Fri Jul 29 02:16:00 CEST 2022


Hi,

this looks that you have a Linux machines and have not configured the
locale but left it at the system default. It is the same with my
computer but I did it intentionally, I have only a proper settint of
the time zone.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml

pá 29. 7. 2022 v 1:37 odesílatel peacecop kalmer:
<kalmer at test.tennis24.ee> napsal:
>
> "Language: English. Region: United States. Today: July 29, 2022. (Com-
> pare with July 29, 2022.) Time: 2:34:39 AM. Currency Symbol: $Integer:
> 123,456 Decimal: 123,456.78 Percentage: 65% Currency: $1,234,567.00"
>
> Actually, my language is Estonian. Actually, my region is Estonia.
> Actually, the currency used here is euro.
>
> On 28.07.22 10:51, David Carlisle wrote:
> > \documentclass{article}
> > \usepackage{tex-locale}
> > \begin{document}
> > Language: \CurrentLocaleLanguageNativeName.
> > Region: \CurrentLocaleRegionNativeName.
> > Today: \CurrentLocaleDate. (Compare with \today.)
> > Time: \CurrentLocaleTime.
> > Currency Symbol: \CurrentLocaleCurrency
> > Integer:
> > \texosqueryfmtnumber{\CurrentLocaleIntegerPattern}{123456}{0}{0}
> > Decimal:
> > \texosqueryfmtnumber{\CurrentLocaleDecimalPattern}{123456}{78}{0}
> > Percentage:
> > \texosqueryfmtnumber{\CurrentLocalePercentPattern}{0}{65}{0}
> > Currency:
> > \texosqueryfmtnumber{\CurrentLocaleCurrencyPattern}{1234567}{0}{0}
> > \end{document}



More information about the tex-live mailing list.