Skip to content
Snippets Groups Projects
Commit 9334b0aa authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'feature/merge-2-sub-pdfs' of github.com:Katharineum/school-apps...

Merge branch 'feature/merge-2-sub-pdfs' of github.com:Katharineum/school-apps into feature/merge-2-sub-pdfs
parents 516f922f ad935b35
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -115,8 +115,10 @@ def generate_pdf(tex, filename):
# Execute pdflatex to generate the PDF
bash_command = "pdflatex -output-directory {} {}.tex".format(os.path.join(BASE_DIR, "latex"),
os.path.join(BASE_DIR, "latex", filename))
print(bash_command)
process = subprocess.Popen(bash_command.split(), stdout=subprocess.PIPE)
output = process.communicate()[0]
print(output)
def tex_replacer(s):
......
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