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

Philip Taylor (Hellenic Institute) P.Taylor at Hellenic-Institute.Uk
Thu Jul 28 10:07:07 CEST 2022


On 28/07/2022 08:51, David Carlisle wrote:

> you can already  access the environment
> using kpsewhich
>
> \documentclass{article}
> \usepackage[T1]{fontenc}
> \begin{document}
>
> {\catcode`\_=12
> \input{|kpsewhich -expand-var $LC_CTYPE}
> }
>
> \end{document}
>
> prints en_US.UTF-8 for me.

Ignoring the LaTeX wrapper, David, this returns nothing useful for me 
from Windows using CMD :

> D:\>kpsewhich -expand-var $LC_CTYPE
> $LC_CTYPE
whilst replacing "LC_TYPE" with "home" returns something meaningful :

> D:\>kpsewhich -expand-var $home
> D:/Users/Philip Taylor
-- 
/** Phil./

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20220728/4913dd83/attachment.html>


More information about the tex-live mailing list.