##// END OF EJS Templates
globalize display_data_priority
Matthias BUSSONNIER -
Show More
@@ -103,7 +103,6 b' class LatexExporter(exporter.Exporter):'
103 'ExtractFigureTransformer': {
103 'ExtractFigureTransformer': {
104 'enabled':True,
104 'enabled':True,
105 'extra_ext_map':{'svg':'pdf'},
105 'extra_ext_map':{'svg':'pdf'},
106
107 }
106 }
108 })
107 })
109 c.merge(super(LatexExporter,self).default_config)
108 c.merge(super(LatexExporter,self).default_config)
@@ -22,8 +22,6 b' from ..utils.config import GlobalConfigurable'
22 class DataTypeFilter(GlobalConfigurable):
22 class DataTypeFilter(GlobalConfigurable):
23 """ Returns the preferred display format """
23 """ Returns the preferred display format """
24
24
25 display_data_priority = ['html', 'pdf', 'svg', 'latex', 'png', 'jpg', 'jpeg' , 'text']
26
27 def __call__(self, output):
25 def __call__(self, output):
28 """ Return the first available format in the priority """
26 """ Return the first available format in the priority """
29
27
@@ -44,8 +44,6 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'])
48
49 #TODO: Change this to .format {} syntax
47 #TODO: Change this to .format {} syntax
50 default_key_template = Unicode('_fig_{index:02d}.{ext}', config=True)
48 default_key_template = Unicode('_fig_{index:02d}.{ext}', config=True)
51
49
General Comments 0
You need to be logged in to leave comments. Login now