From a088ffb4d4a184bc51a22f23aac1251a05014956 Mon Sep 17 00:00:00 2001 From: Raine Nieminen Date: Mon, 12 Dec 2022 23:33:29 +0100 Subject: [PATCH] Modify Latexmk option Change -auxdir option for Latexmk so that bibtex can find .bib file(s) even from parent directories. Fixes overleaf#1067 --- services/clsi/app/js/LatexRunner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/clsi/app/js/LatexRunner.js b/services/clsi/app/js/LatexRunner.js index e8748bd4fe..e296c2e020 100644 --- a/services/clsi/app/js/LatexRunner.js +++ b/services/clsi/app/js/LatexRunner.js @@ -155,7 +155,7 @@ function _buildLatexCommand(mainFile, opts = {}) { 'latexmk', '-cd', '-jobname=output', - '-auxdir=$COMPILE_DIR', + '-auxdir=./', '-outdir=$COMPILE_DIR', '-synctex=1', '-interaction=batchmode'