Hello, I’m trying to build pdf from simplest .md and get the following error:
$ pandoc -d ./pandoc-conf.yaml -i ./PoR.md -o build/PoR.pdf
kpathsea: Running mktexfmt lualatex.fmt
mktexfmt [ERROR]: -user mode but path setup is -sys type, bailing out.
Error producing PDF.
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024/TeX Live for SUSE Linux)
restricted system commands enabled.
I can't find the format file `lualatex.fmt'!
If I run it with root privileges, it works:
$ sudo pandoc -d ./pandoc-conf.yaml -i ./PoR.md -o build/PoR.pdf
# Ok
pandoc-conf.yaml is quite simple:
pdf-engine: lualatex
variables:
mainfont: LiberationMono
pagesize: a4
pagestyle: empty
margin-left: 1.5cm
margin-right: 1.5cm
margin-top: 1.5cm
I saw Bug 1074128 and another forum thread but the following does not help:
su
mkdir /run/texlive
touch /var/run/texlive/run-hyphen
touch /var/run/texlive/run-fmtutil.language
touch /var/run/texlive/run-fmtutil.refresh
/usr/share/texmf/texconfig/update
Any ideas how to fix it?
System details
Operating System: openSUSE Tumbleweed 20250120
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-1-default (64-bit)
Graphics Platform: Wayland
pandoc 3.6.1
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/alexander/.local/share/pandoc
$ mktexfmt --version
mktexfmt version r68962 (2023-11-25 00:01:43 +0100)