admin管理员组

文章数量:1410730

When I try to run LuaLaTeX on Neovim within Termux, I get the error 'Can't create the Lua state.'

command on neovim within termux,

:!lualatex "%:p"

result,

Can't create the Lua state

But when I try to run LuaLaTeX on terminal (not on Neovim) like 'lualatex anyfile', it works fine.

Suggest possible solutions?

$ nvim -v
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1731601260

$ lualatex -v
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024/Termux)
Development id: 7611

$ termux-info
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=9657
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb  stable main
# tur-repo (sources.list.d/tur.list)
deb  tur-packages tur tur-on-device tur-continuous
Updatable packages:
All packages up to date
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 6.1.99-android14-11-gd6f926cfde54-ab12786694 #1 SMP PREEMPT Wed Dec 11 21:44:40 UTC 2024 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 8a
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a
SUPPORTED_32_BIT_ABIS:
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.styling versionCode:1000
com.termux.api versionCode:51

本文标签: latexLuaLaTeX on Neovim within Termux Error 39Cant39t create the Lua state 39Stack Overflow