##// END OF EJS Templates
correct depth for configurable
Matthias BUSSONNIER -
Show More
@@ -97,9 +97,14 b' class LatexExporter(exporter.Exporter):'
97 97 @property
98 98 def default_config(self):
99 99 c = Config({
100 'display_data_priority' : ['latex', 'svg', 'png', 'jpg', 'jpeg' , 'text'],
101 'extra_ext_map':{'svg':'pdf'},
102 'ExtractFigureTransformer' : Config({'enabled':True})
100 'GlobalConfigurable': {
101 'display_data_priority' : ['latex', 'svg', 'png', 'jpg', 'jpeg' , 'text']
102 },
103 'ExtractFigureTransformer': {
104 'enabled':True,
105 'extra_ext_map':{'svg':'pdf'},
106
107 }
103 108 })
104 109 c.merge(super(LatexExporter,self).default_config)
105 110 return c
@@ -44,7 +44,7 b' class ExtractFigureTransformer(ActivatableTransformer):'
44 44 key_format_map = Dict({}, config=True,)
45 45 figure_name_format_map = Dict({}, config=True)
46 46
47 display_data_priority = List(['svg', 'png', 'latex', 'jpg', 'jpeg','text'])
47 #display_data_priority = List(['svg', 'png', 'latex', 'jpg', 'jpeg','text'])
48 48
49 49 #TODO: Change this to .format {} syntax
50 50 default_key_template = Unicode('_fig_{index:02d}.{ext}', config=True)
General Comments 0
You need to be logged in to leave comments. Login now