latex update

This commit is contained in:
wangjinlei
2026-01-20 17:27:10 +08:00
parent ad7085ee6c
commit 40f25544fa

View File

@@ -3636,9 +3636,10 @@ class Production extends Base
mkdir($pdfDir, 0755, true); mkdir($pdfDir, 0755, true);
} }
// 方法1: 使用pdflatex命令推荐 // 方法1: 使用pdflatex命令推荐lualatex -output-directory=/path/to/output /path/to/input.tex
$command = "pdflatex -include-directory=" . dirname($texFilePath) . // $command = "pdflatex -include-directory=" . dirname($texFilePath) .
" -output-directory=" . $pdfDir . " " . escapeshellarg($texFilePath); // " -output-directory=" . $pdfDir . " " . escapeshellarg($texFilePath);
$command = "lualatex -output-directory=" . $pdfDir . " " . escapeshellarg($texFilePath);
$output = []; $output = [];
$returnVar = 0; $returnVar = 0;