Show More
@@ -97,9 +97,14 b' class LatexExporter(exporter.Exporter):' | |||||
97 | @property |
|
97 | @property | |
98 | def default_config(self): |
|
98 | def default_config(self): | |
99 | c = Config({ |
|
99 | c = Config({ | |
100 | 'display_data_priority' : ['latex', 'svg', 'png', 'jpg', 'jpeg' , 'text'], |
|
100 | 'GlobalConfigurable': { | |
101 | 'extra_ext_map':{'svg':'pdf'}, |
|
101 | 'display_data_priority' : ['latex', 'svg', 'png', 'jpg', 'jpeg' , 'text'] | |
102 | 'ExtractFigureTransformer' : Config({'enabled':True}) |
|
102 | }, | |
|
103 | 'ExtractFigureTransformer': { | |||
|
104 | 'enabled':True, | |||
|
105 | 'extra_ext_map':{'svg':'pdf'}, | |||
|
106 | ||||
|
107 | } | |||
103 | }) |
|
108 | }) | |
104 | c.merge(super(LatexExporter,self).default_config) |
|
109 | c.merge(super(LatexExporter,self).default_config) | |
105 | return c |
|
110 | return c |
@@ -44,7 +44,7 b' class ExtractFigureTransformer(ActivatableTransformer):' | |||||
44 | key_format_map = Dict({}, config=True,) |
|
44 | key_format_map = Dict({}, config=True,) | |
45 | figure_name_format_map = Dict({}, config=True) |
|
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 | #TODO: Change this to .format {} syntax |
|
49 | #TODO: Change this to .format {} syntax | |
50 | default_key_template = Unicode('_fig_{index:02d}.{ext}', config=True) |
|
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