From ec34d47f46eb05f68138207d7ec0577596fc7287 2014-01-08 00:11:32 From: Thomas Kluyver Date: 2014-01-08 00:11:32 Subject: [PATCH] Use _default method instead of redefining trait --- diff --git a/IPython/nbconvert/exporters/latex.py b/IPython/nbconvert/exporters/latex.py index fc1d780..46d8e01 100644 --- a/IPython/nbconvert/exporters/latex.py +++ b/IPython/nbconvert/exporters/latex.py @@ -46,9 +46,8 @@ class LatexExporter(TemplateExporter): def _default_template_path_default(self): return os.path.join("..", "templates", "latex") - template_skeleton_path = Unicode( - os.path.join("..", "templates", "latex", "skeleton"), config=True, - help="Path where the template skeleton files are located.") + def _template_skeleton_path_default(self): + return os.path.join("..", "templates", "latex", "skeleton") #Special Jinja2 syntax that will not conflict when exporting latex. jinja_comment_block_start = Unicode("((=", config=True)