You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One more for after we better work out how we're handling the locale code internally...
When I run os.execute() from Lua inside a SILE document, I would expect the document locale setting to have been exported as an env var ahead of time.
\begin{document}
\language[main=tr]
\fluent[name=Docker]{hello}
\eject
\begin{lua}
local date = os.execute("date")
local date = os.execute("env LC_ALL=tr_TR.UTF-8 date")
\end{lua}
\end{document}
$ sile foo.sil -o - -b textSILE v0.14.17.r414-g6382ac4 (LuaJIT 2.1.1700206165) [Rust]<d/foo.sil> as sil<./core/languages.lua:78> as xmlMerhaba Docker![1] 1 <./core/sile.lua:566> as luaFri May 31 01:47:20 AM +03 2024Cum 31 May 2024 01:47:20 +03[2]2
Note the output of the first date command does not track the document context.
The text was updated successfully, but these errors were encountered:
I basically have this working now, but the system locale setting needs something more than our two letter language codes. This is hung up on needing BCP47 language codes.
One more for after we better work out how we're handling the locale code internally...
When I run
os.execute()
from Lua inside a SILE document, I would expect the document locale setting to have been exported as an env var ahead of time.Note the output of the first date command does not track the document context.
The text was updated successfully, but these errors were encountered: