##// END OF EJS Templates
Use _default method instead of redefining trait
Thomas Kluyver -
Show More
@@ -46,9 +46,8 b' class LatexExporter(TemplateExporter):'
46 def _default_template_path_default(self):
46 def _default_template_path_default(self):
47 return os.path.join("..", "templates", "latex")
47 return os.path.join("..", "templates", "latex")
48
48
49 template_skeleton_path = Unicode(
49 def _template_skeleton_path_default(self):
50 os.path.join("..", "templates", "latex", "skeleton"), config=True,
50 return os.path.join("..", "templates", "latex", "skeleton")
51 help="Path where the template skeleton files are located.")
52
51
53 #Special Jinja2 syntax that will not conflict when exporting latex.
52 #Special Jinja2 syntax that will not conflict when exporting latex.
54 jinja_comment_block_start = Unicode("((=", config=True)
53 jinja_comment_block_start = Unicode("((=", config=True)
General Comments 0
You need to be logged in to leave comments. Login now