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