##// END OF EJS Templates
Merge pull request #3546 from jdfreder/latex_posix_fix...
Jonathan Frederic -
r11201:70948f3e merge
parent child Browse files
Show More
@@ -47,11 +47,11 b' class LatexExporter(Exporter):'
47 47
48 48 #Latex constants
49 49 template_path = Unicode(
50 "/../templates/latex/", config=True,
50 os.path.join("..", "templates", "latex"), config=True,
51 51 help="Path where the template files are located.")
52 52
53 53 template_skeleton_path = Unicode(
54 "/../templates/latex/skeleton/", config=True,
54 os.path.join("..", "templates", "latex", "skeleton"), config=True,
55 55 help="Path where the template skeleton files are located.")
56 56
57 57 #Special Jinja2 syntax that will not conflict when exporting latex.
@@ -169,7 +169,7 b' class SphinxTransformer(ActivatableTransformer):'
169 169 resources["sphinx"]["header"] = self.use_headers
170 170
171 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 174 # Generate Pygments definitions for Latex
175 175 resources["sphinx"]["pygment_definitions"] = self._generate_pygments_latex_def()
General Comments 0
You need to be logged in to leave comments. Login now