diff --git a/services/clsi/app/js/TypstRunner.js b/services/clsi/app/js/TypstRunner.js index c25045a9be..b69744df9f 100644 --- a/services/clsi/app/js/TypstRunner.js +++ b/services/clsi/app/js/TypstRunner.js @@ -61,7 +61,7 @@ function _buildTypstCommand(mainFile) { // --synctex generates output.synctex.gz alongside the PDF, enabling // bidirectional editor↔PDF sync (same infrastructure as LaTeX SyncTeX). const inputPath = `$COMPILE_DIR/${mainFile}` - const cmd = `quarto typst compile ${inputPath} output.pdf --synctex output.synctex.gz 2>&1` + const cmd = `quarto typst compile --synctex output.synctex.gz ${inputPath} output.pdf 2>&1` return ['/bin/sh', '-c', cmd] }