##// END OF EJS Templates
Fixed posix path in sphinx transformer
Jonathan Frederic -
Show More
@@ -169,7 +169,7 b' class SphinxTransformer(ActivatableTransformer):'
169 resources["sphinx"]["header"] = self.use_headers
169 resources["sphinx"]["header"] = self.use_headers
170
170
171 # Find and pass in the path to the Sphinx dependencies.
171 # Find and pass in the path to the Sphinx dependencies.
172 resources["sphinx"]["texinputs"] = os.path.abspath(sphinx.__file__ + "/../texinputs")
172 resources["sphinx"]["texinputs"] = os.path.realpath(os.path.join(sphinx.__file__, "..", "texinputs"))
173
173
174 # Generate Pygments definitions for Latex
174 # Generate Pygments definitions for Latex
175 resources["sphinx"]["pygment_definitions"] = self._generate_pygments_latex_def()
175 resources["sphinx"]["pygment_definitions"] = self._generate_pygments_latex_def()
General Comments 0
You need to be logged in to leave comments. Login now