From b54d7a24ce8d15b8829f6ecd086aca0ed2f55b2d 2013-07-05 15:32:12 From: Jonathan Frederic Date: 2013-07-05 15:32:12 Subject: [PATCH] Nbconvert latex posix path fix --- diff --git a/IPython/nbconvert/exporters/latex.py b/IPython/nbconvert/exporters/latex.py index 8528233..1cef207 100755 --- a/IPython/nbconvert/exporters/latex.py +++ b/IPython/nbconvert/exporters/latex.py @@ -47,11 +47,11 @@ class LatexExporter(Exporter): #Latex constants template_path = Unicode( - "/../templates/latex/", config=True, + os.path.join("..", "templates", "latex"), config=True, help="Path where the template files are located.") template_skeleton_path = Unicode( - "/../templates/latex/skeleton/", config=True, + os.path.join("..", "templates", "latex", "skeleton"), config=True, help="Path where the template skeleton files are located.") #Special Jinja2 syntax that will not conflict when exporting latex.