From 12a909b161fb22bd6ecce75c97e811ca8ba4d96f Mon Sep 17 00:00:00 2001 From: Adarsh Pyarelal Date: Fri, 15 Dec 2017 09:45:17 -0700 Subject: [PATCH 1/2] Fix first-time compilation error involving biber I added '.bcf' to the outputs list - otherwise I was getting a 'malformed bcf' error the first time I ran latexrun on a file, with a biber backend. --- latexrun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latexrun b/latexrun index b669d9f..353ea79 100755 --- a/latexrun +++ b/latexrun @@ -1629,7 +1629,7 @@ class BibTeX(Task): if self.__is_biber(): outbase = os.path.join(cwd, outbase) - outputs = [outbase + '.bbl', outbase + '.blg'] + outputs = [outbase+ext for ext in ['.bbl','.blg','.bcf'] return RunResult(outputs, {'outbase': outbase, 'status': status, 'inputs': inputs}) From 60cbbe790eef2960510a9b4bf967df6d7554e7c9 Mon Sep 17 00:00:00 2001 From: Adarsh Pyarelal Date: Thu, 11 Jan 2018 21:58:04 -0700 Subject: [PATCH 2/2] Fixed issue with missing closing bracket --- latexrun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latexrun b/latexrun index 353ea79..1b58f6d 100755 --- a/latexrun +++ b/latexrun @@ -1629,7 +1629,7 @@ class BibTeX(Task): if self.__is_biber(): outbase = os.path.join(cwd, outbase) - outputs = [outbase+ext for ext in ['.bbl','.blg','.bcf'] + outputs = [outbase+ext for ext in ['.bbl','.blg','.bcf']] return RunResult(outputs, {'outbase': outbase, 'status': status, 'inputs': inputs})