This is an example test.tex document. Both babel and polyglossia failed and produce the same error:
\documentclass{book}
%\usepackage[vietnamese]{babel}
\usepackage{polyglossia}
\setdefaultlanguage{vietnamese}
\usepackage{biblatex}
\title{Sth}
\begin{document}
\maketitle
\end{document}
This is the full log. And my config for VS Code:
"latex-workshop.latex.recipes": [
{
"name": "lualatex->biber",
"tools": [
"lualatex",
// "biber",
]
}
],
"latex-workshop.latex.tools": [
{
"name": "lualatex",
"command": "lualatex",
"args": [
"--shell-escape",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "biber",
"command": "biber",
"args": [
"%DOCFILE%"
]
}
],
I installed all Vietnamese-related package I found using tlmgr search, notably babel-vietnamese and vntex, to no avail.
When I use English language, it works. When I paste the exact document to Overleaf, it also works. So it's something on my part. How can I fix this?