From fe29ad09832e83f6bc1d0c247cc358b13d9f295d 2013-08-08 00:27:22 From: MinRK Date: 2013-08-08 00:27:22 Subject: [PATCH] add `--interaction=batchmode` to pdflatex call avoids waiting for input --- diff --git a/IPython/nbconvert/post_processors/pdf.py b/IPython/nbconvert/post_processors/pdf.py index 14f2967..1140436 100644 --- a/IPython/nbconvert/post_processors/pdf.py +++ b/IPython/nbconvert/post_processors/pdf.py @@ -30,7 +30,7 @@ class PDFPostProcessor(PostProcessorBase): How many times pdflatex will be called. """) - command = List(["pdflatex", "{filename}"], config=True, help=""" + command = List(["pdflatex", "--interaction=batchmode", "{filename}"], config=True, help=""" Shell command used to compile PDF.""") verbose = Bool(False, config=True, help="""