##// END OF EJS Templates
Merge pull request #3948 from minrk/sphinx-dir...
Fernando Perez -
r12057:c293fc54 merge
parent child Browse files
Show More
@@ -30,7 +30,7 b' class PDFPostProcessor(PostProcessorBase):'
30 30 How many times pdflatex will be called.
31 31 """)
32 32
33 command = List(["pdflatex", "{filename}"], config=True, help="""
33 command = List(["pdflatex", "--interaction=batchmode", "{filename}"], config=True, help="""
34 34 Shell command used to compile PDF.""")
35 35
36 36 verbose = Bool(False, config=True, help="""
@@ -168,7 +168,7 b' class SphinxTransformer(Transformer):'
168 168 resources["sphinx"]["header"] = self.use_headers
169 169
170 170 # Find and pass in the path to the Sphinx dependencies.
171 resources["sphinx"]["texinputs"] = os.path.realpath(os.path.join(sphinx.__file__, "..", "texinputs"))
171 resources["sphinx"]["texinputs"] = os.path.realpath(os.path.join(sphinx.package_dir, "texinputs"))
172 172
173 173 # Generate Pygments definitions for Latex
174 174 resources["sphinx"]["pygment_definitions"] = self._generate_pygments_latex_def()
General Comments 0
You need to be logged in to leave comments. Login now