##// 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 #Latex constants
48 #Latex constants
49 template_path = Unicode(
49 template_path = Unicode(
50 "/../templates/latex/", config=True,
50 os.path.join("..", "templates", "latex"), config=True,
51 help="Path where the template files are located.")
51 help="Path where the template files are located.")
52
52
53 template_skeleton_path = Unicode(
53 template_skeleton_path = Unicode(
54 "/../templates/latex/skeleton/", config=True,
54 os.path.join("..", "templates", "latex", "skeleton"), config=True,
55 help="Path where the template skeleton files are located.")
55 help="Path where the template skeleton files are located.")
56
56
57 #Special Jinja2 syntax that will not conflict when exporting latex.
57 #Special Jinja2 syntax that will not conflict when exporting latex.
@@ -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