删除 build.lua 的 synctex

This commit is contained in:
ranwang
2026-02-28 13:51:41 +08:00
parent b420debc5d
commit 3298966253

View File

@@ -59,9 +59,9 @@ function typeset(file, dir, exe)
dir = dir or typesetdir
local cmd
if string.match(file, "%-cn%.tex$") then
cmd = "latexmk -pdfxe -synctex=1 -interaction=nonstopmode "
cmd = "latexmk -pdfxe -interaction=nonstopmode "
else
cmd = "latexmk -pdf -synctex=1 -interaction=nonstopmode "
cmd = "latexmk -pdf -interaction=nonstopmode "
end
return run(dir, cmd .. file)
end