Skip to content
Snippets Groups Projects
Commit 5e647c69 authored by DIANE's avatar DIANE
Browse files
parents 5748a0e9 700858be
No related branches found
No related tags found
No related merge requests found
...@@ -440,10 +440,10 @@ def generate_report(change): ...@@ -440,10 +440,10 @@ def generate_report(change):
for i in range(4): for i in range(4):
print(i) print(i)
if i == 1: if i == 1:
proc = subprocess.Popen([pdflatex_path / 'bibtex.exe', filename[:-4]], cwd = filename_path) proc = subprocess.Popen([pdflatex_path / 'bibtex', filename[:-4]], cwd = filename_path)
proc.communicate() proc.communicate()
else: else:
proc = subprocess.Popen([pdflatex_path / 'pdflatex.exe', filename], cwd = filename_path) proc = subprocess.Popen([pdflatex_path / 'pdflatex', filename], cwd = filename_path)
proc.communicate() proc.communicate()
# remove pdflatex compilation files # remove pdflatex compilation files
extensions = ['.log', '.aux', '.bbl', '.blg', '.out'] extensions = ['.log', '.aux', '.bbl', '.blg', '.out']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment