import io import os from ebook_converter.customize.conversion import OutputFormatPlugin, \ OptionRecommendation from ebook_converter.ptempfile import TemporaryDirectory __license__ = 'GPL 3' __copyright__ = '2011, John Schember ' __docformat__ = 'restructuredtext en' class HTMLZOutput(OutputFormatPlugin): name = 'HTMLZ Output' author = 'John Schember' file_type = 'htmlz' commit_name = 'htmlz_output' ui_data = { 'css_choices': { 'class': _('Use CSS classes'), 'inline': _('Use the style attribute'), 'tag': _('Use HTML tags wherever possible') }, 'sheet_choices': { 'external': _('Use an external CSS file'), 'inline': _('Use a