From a42232f3e292b67a83d41b929bc1b6193f0b7854 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 29 May 2014 16:40:58 +0100 Subject: [PATCH] Don't normalize path passed to synctex --- app/coffee/CompileManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/CompileManager.coffee b/app/coffee/CompileManager.coffee index 0a71782..46e2c0f 100644 --- a/app/coffee/CompileManager.coffee +++ b/app/coffee/CompileManager.coffee @@ -58,7 +58,7 @@ module.exports = CompileManager = # might not match the file path on the host. The .synctex.gz file however, will be accessed # wherever it is on the host. base_dir = Settings.path.synctexBaseDir(project_id) - file_path = Path.join(base_dir, file_name) + file_path = base_dir + "/" + file_name synctex_path = Path.join(Settings.path.compilesDir, project_id, "output.pdf") CompileManager._runSynctex ["code", synctex_path, file_path, line, column], (error, stdout) -> return callback(error) if error?