mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-03-28 10:14:37 +08:00
build.lua 中不再保留 syntex
This commit is contained in:
@@ -60,9 +60,9 @@ function typeset(file, dir, exe)
|
|||||||
dir = dir or typesetdir
|
dir = dir or typesetdir
|
||||||
local cmd
|
local cmd
|
||||||
if string.match(file, "%-cn%.tex$") then
|
if string.match(file, "%-cn%.tex$") then
|
||||||
cmd = "latexmk -pdfxe -synctex=1 -interaction=nonstopmode "
|
cmd = "latexmk -pdfxe -interaction=nonstopmode "
|
||||||
else
|
else
|
||||||
cmd = "latexmk -pdf -synctex=1 -interaction=nonstopmode "
|
cmd = "latexmk -pdf -interaction=nonstopmode "
|
||||||
end
|
end
|
||||||
return run(dir, cmd .. file)
|
return run(dir, cmd .. file)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user