remove nonstopmode from bibtex

This commit is contained in:
Семенова Мария 2019-04-18 10:49:36 +04:00
parent ded0ab482a
commit 789fda9c98

View File

@ -54,7 +54,7 @@ public class LatexService {
private boolean generate(String filename, File dir) throws IOException, InterruptedException {
startProcess(new String[]{"pdflatex", filename, "--interaction=nonstopmode"}, dir, pdfLatexError);
startProcess(new String[]{"bibtex", filename, "--interaction=nonstopmode"}, dir, bibtexError);
startProcess(new String[]{"bibtex", filename}, dir, bibtexError);
if (startProcess(new String[]{"pdflatex", filename, "--interaction=nonstopmode"}, dir, pdfLatexError) != 0)
return false;
return checkPdf(filename, dir);