Calibre 使用教程之转换电子书格式

Calibre是一款电子图书管理软件,其提供的“一站式”的电子书解决方案,可以全面满足对电子书需求,甚至可以利用它组织成属于自己的电子图书馆,它的功能更是多种多样,不仅可以用它对图书进行格式转换,归类整理电子书,还可以将文本图像材料、在线内容(RSS)加入并转换为电子书。更重要的是Calibre是免费的、开源的,拥有跨平台的设计,可在Linux, OS X和Windows操作系统中运行,堪称电子书管理神器!

Calibre下载页面:https://bookfere.com/tools#calibre

因为Kindle阅读器支持的电子书格式有限,除了对mobi及其自有格式azw、azw3的支持,对其他一些电子书格式(比如网上颇为流行的epub格式)却没有提供支持,这就需把这些Kindle所不支持的格式转换一下。利用Calibre转换电子书十分方便,步骤如下:

一、添加电子书到书库

下载安装好Calibre并打开它。点击左上角的“添加书籍”图标,将你想要转换的电子书添加到书库中(也可以直接将电子书拖放到书库里)。

二、选择一种转换模式

选中一个或多个电子书,点击鼠标右键,在弹出的菜单中将鼠标定位到“转换书籍”那一项,会弹出一个子菜单,有“逐个转换”和“批量转换”可选。如果选取了多个文件,使用“逐个转换”需要对每一个图书进行单独的设置,比如可以对不同的电子书设置不同的格式;而“批量转换”则是所有电子书共用一个设置。请根据自己的需要选择。

Calibre 支持转换的格式有:EPUB、MOBI、AZW3、DOCX、FB2、HTMLZ、LIT、LRF、PDB、PDF、PMIZ、RB、RTF、SNB、TCR、TXT、TXTZ、ZIP。

三、设置修改电子书信息

如果选择了“逐个转换”会针对每一本电子书弹出一个设置对话框,你可以对该电子书的“输出格式”、“元数据(包括书名、封面、作者等基本信息的设置)”、“界面外观(包括字体大小、内嵌字体、行高等内容格式的设置)”、“智能处理”、“页面设置”、“结构检测”、“内容目录”、“查找与替换”、“EPUB输出”、“调试”项进行详细的设置。如果选择了“批量转换”,则不能批量修改它们的“元数据”及使用“调试”功能。

四、查看或管理转换进程

所有转换设置完毕后,点击“确定”按钮开始转换格式。转换过程中主页面的右下角会有“任务:**”的字样和一枚转动的菊花图标,点击它们便会弹出一个任务列表框,在这里你可以查看转换状态并对单个或多个任务进行中止、隐藏等操作。

五、获取转换后的电子书

当右下角的“任务”后的数字变为“0”时表示全部转换任务已完成。右键点击图书在菜单中点选“打开所在目录”便能转到存储的默认文件夹并找到已经转换好格式的电子书了。如果不想一个一个地打开电子书所在目录,可以选择多个电子书,右键点击在弹出的菜单中将鼠标定位到“保存到磁盘”,在弹出的子菜单中点选“保存到磁盘单个目录”,在弹出的对话框中选择一个目录,就可以将它们统一放到一个文件夹里了。

将电子书的格式转换完之后,是不是像立即将它推送到Kindle中?Calibre早就为我们想到了,它提供了一个十分方便的功能,那就是邮件一键推送,想要再学一招就快点击这篇教程《Calibre使用教程之一键推送电子书》看看吧。

———————

* 使用小贴士:

为什么用 Calibre 将 azw3 格式的电子书转换成 mobi 格式后排版会发生变化?

一般在亚马逊官方购买的电子书都是 azw3 格式,行距是经过设计的有很好的排版效果,但是用 Calibre 将其转化成 mobi 格式后,你会发现段落行距之间变得很窄很挤,这是什么原因呢?原来默认设置下 Calibre 在转换过程中会对 mobi 做一些兼容处理,默认是兼容老的 mobi 格式,这就导致了如 azw3 这种新格式的一些特性丢失。

Calibre 在转换电子书时,在转换设置界面左侧有一个“mobi 输出”设置项,在这里有一个“mobi文件类型”,分别可以选择 old、both、new,这三种格式分别代表:

  • new:是只包含 KF8(mobi8)
  • both:包含 KF8(mobi8) 和 KF7(mobi7)
  • old:只包含 KF7(mobi7)

其中 new 模式会出问题,old 模式又会损失格式。所以可以选择 both 模式,此模式是为了兼容新旧设备,所以会包含两份相同内容但样式不同的文件,虽然这样也不能保证所有格式都能保留,但是可以最大程度的还原 azw 格式的一些新特性。不过需要注意,如果把转换时选择了 new 和 both 模式,亚马逊的个人文档推送服务可能会不支持。

Calibre转换mobi格式行距过小解决方法

如果以上方法依然不能生效,还有一个更好的办法,请参见:https://bookfere.com/post/102.html

有帮助,[ 捐助本站 ] 或分享给小伙伴:

发表评论

标注为 * 的是必填项。您填写的邮箱地址将会被保密。如果是在本站首次留言,审核后才能显示。
若提问,请务必描述清楚该问题的前因后果,提供尽可能多的对分析该问题有帮助的线索。

小伙伴们发表了 136 条评论

  1. 您好,我现在在用的是KP3,固件更新到最新版(未越狱),内存还有1G多,电量80%,书的话是自己打的txt格式,转成AZW3和mobi(mobi有改过new和old还有both),但是一在kindle中打开就死机并显示什么云端blabla的报错,而且不是一本书是但凡自己这么做的txt转换全都打不开,想求问一下这是怎么回事,能不能有办法解决…?自己折腾了一个下午了…

    • 出现电子书打不开的情况,建议首先重启一下 Kindle 设备,看能不能恢复正常。如果没能解决,可能就是电子书本身的问题了,Calibre 转换的 new 模式的 mobi 格式可能有问题,不建议使用。如果是直接拷贝到 Kindle 越狱,建议转换成 azw3 格式,如果是需要邮件推送,建议转换成 old 模式的 mobi 格式。

  2. 您好,我在转换txt到mobi时遇到了这个问题 ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
    请问我该如何处理呢
    我转换的txt是简体中文的

    • 错误提示信息较少,不好判断问题。建议把文件发送到书伴邮箱(页面底部“联系”处获取),方便排查。

      • 转换书籍 第 1 本,共 1 本 (医道官途)
        Conversion options changed from defaults:
        output_profile: u’kindle_voyage’
        read_metadata_from_opf: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/6bgP2E.opf’
        verbose: 2
        cover: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/iuyjRx.jpeg’
        markdown_extensions: u’toc, tables, footnotes’
        Resolved conversion options
        calibre version: 4.1.0
        {‘asciiize’: False,
        ‘author_sort’: None,
        ‘authors’: None,
        ‘base_font_size’: 0.0,
        ‘book_producer’: None,
        ‘change_justification’: u’original’,
        ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
        ‘chapter_mark’: u’pagebreak’,
        ‘comments’: None,
        ‘cover’: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/iuyjRx.jpeg’,
        ‘debug_pipeline’: None,
        ‘dehyphenate’: True,
        ‘delete_blank_paragraphs’: True,
        ‘disable_font_rescaling’: False,
        ‘dont_compress’: False,
        ‘duplicate_links_in_toc’: False,
        ’embed_all_fonts’: False,
        ’embed_font_family’: None,
        ‘enable_heuristics’: False,
        ‘expand_css’: False,
        ‘extra_css’: None,
        ‘extract_to’: None,
        ‘filter_css’: u”,
        ‘fix_indents’: True,
        ‘font_size_mapping’: None,
        ‘format_scene_breaks’: True,
        ‘formatting_type’: u’auto’,
        ‘html_unwrap_factor’: 0.4,
        ‘input_encoding’: None,
        ‘input_profile’: ,
        ‘insert_blank_line’: False,
        ‘insert_blank_line_size’: 0.5,
        ‘insert_metadata’: False,
        ‘isbn’: None,
        ‘italicize_common_cases’: True,
        ‘keep_ligatures’: False,
        ‘language’: None,
        ‘level1_toc’: None,
        ‘level2_toc’: None,
        ‘level3_toc’: None,
        ‘line_height’: 0.0,
        ‘linearize_tables’: False,
        ‘margin_bottom’: 5.0,
        ‘margin_left’: 5.0,
        ‘margin_right’: 5.0,
        ‘margin_top’: 5.0,
        ‘markdown_extensions’: u’toc, tables, footnotes’,
        ‘markup_chapter_headings’: True,
        ‘max_toc_links’: 50,
        ‘minimum_line_height’: 120.0,
        ‘mobi_file_type’: u’old’,
        ‘mobi_ignore_margins’: False,
        ‘mobi_keep_original_images’: False,
        ‘mobi_toc_at_start’: False,
        ‘no_chapters_in_toc’: False,
        ‘no_inline_navbars’: True,
        ‘no_inline_toc’: False,
        ‘output_profile’: ,
        ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
        ‘paragraph_type’: u’auto’,
        ‘personal_doc’: u'[PDOC]’,
        ‘prefer_author_sort’: False,
        ‘prefer_metadata_cover’: False,
        ‘preserve_spaces’: False,
        ‘pretty_print’: False,
        ‘pubdate’: None,
        ‘publisher’: None,
        ‘rating’: None,
        ‘read_metadata_from_opf’: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/6bgP2E.opf’,
        ‘remove_fake_margins’: True,
        ‘remove_first_image’: False,
        ‘remove_paragraph_spacing’: False,
        ‘remove_paragraph_spacing_indent_size’: 1.5,
        ‘renumber_headings’: True,
        ‘replace_scene_breaks’: u”,
        ‘search_replace’: ‘[]’,
        ‘series’: None,
        ‘series_index’: None,
        ‘share_not_sync’: False,
        ‘smarten_punctuation’: False,
        ‘sr1_replace’: None,
        ‘sr1_search’: None,
        ‘sr2_replace’: None,
        ‘sr2_search’: None,
        ‘sr3_replace’: None,
        ‘sr3_search’: None,
        ‘start_reading_at’: None,
        ‘subset_embedded_fonts’: False,
        ‘tags’: None,
        ‘timestamp’: None,
        ‘title’: None,
        ‘title_sort’: None,
        ‘toc_filter’: None,
        ‘toc_threshold’: 6,
        ‘toc_title’: None,
        ‘transform_css_rules’: ‘[]’,
        ‘txt_in_remove_indents’: False,
        ‘unsmarten_punctuation’: False,
        ‘unwrap_lines’: True,
        ‘use_auto_toc’: False,
        ‘verbose’: 2}
        InputFormatPlugin: TXT Input running
        on /var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/EQW3Tb.txt
        Reading text from file…
        Detected input encoding as utf-8 with a confidence of 99.0%
        Auto detected paragraph type as single
        Auto detected formatting as textile
        Running text through textile conversion…
        Language not specified
        Creator not specified
        Building file list…
        IgnoreFile(u”Could not read from file: /var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/shuyaya.com with error: [Errno 2] No such file or directory: u’/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/shuyaya.com'”,)
        Found files…
        HTMLFile:0:a:/var/folders/gz/gg8rf9jj2fzdrqt933m5jw700000gn/C/calibre_4.1.0_tmp_4r811Z/index-5.html
        Normalizing filename cases
        Rewriting HTML links
        Parsing index-5.html …
        Initial parse failed, using more forgiving parsers
        Parsing index-5.html as HTML
        Merging user specified metadata…
        Detecting structure…
        Auto generated TOC with 1 entries.
        Flattening CSS and remapping font sizes…
        Source base font size is 12.00000pt
        Removing fake margins…
        Found 6 items of level: p_40
        Found 1 items of level: p_41
        Found 2 items of level: p_42
        Found 2 items of level: p_43
        Found 4 items of level: p_44
        Found 448 items of level: p_20
        Found 12 items of level: p_34
        Found 1 items of level: p_47
        Found 4 items of level: p_48
        Found 1 items of level: p_49
        Found 779 items of level: p_30
        Found 4 items of level: p_21
        Found 10 items of level: p_35
        Found 1 items of level: div_2
        Found 1 items of level: div_3
        Found 466 items of level: p_24
        Found 1 items of level: div_1
        Found 1 items of level: div_6
        Found 1 items of level: div_7
        Found 1 items of level: div_4
        Found 1 items of level: div_5
        Found 1 items of level: div_8
        Found 1 items of level: div_9
        Found 14 items of level: p_45
        Found 9 items of level: p_28
        Found 9 items of level: p_29
        Found 1 items of level: div_12
        Found 1 items of level: div_13
        Found 1 items of level: div_10
        Found 1 items of level: div_11
        Found 1 items of level: div_16
        Found 1 items of level: div_17
        Found 1 items of level: div_14
        Found 1 items of level: div_15
        Found 2 items of level: p_33
        Found 5 items of level: p_39
        Found 1 items of level: div_18
        Found 1 items of level: div_19
        Found 245 items of level: p_51
        Found 1 items of level: p_46
        Found 3 items of level: p_32
        Found 2 items of level: p_50
        Found 21 items of level: p_36
        Found 3 items of level: p_13
        Found 2 items of level: p_12
        Found 37 items of level: p_11
        Found 7 items of level: p_10
        Found 13 items of level: p_17
        Found 2 items of level: p_16
        Found 5 items of level: p_15
        Found 5 items of level: p_14
        Found 25 items of level: p_19
        Found 15 items of level: p_18
        Found 358 items of level: p_25
        Found 47 items of level: p_38
        Found 97 items of level: p_26
        Found 6 items of level: p_27
        Found 1 items of level: div_22
        Found 1 items of level: div_21
        Found 1 items of level: div_20
        Found 4 items of level: p_31
        Found 8 items of level: p_37
        Found 125 items of level: p_1
        Found 1 items of level: p_3
        Found 1 items of level: p_2
        Found 9 items of level: p_5
        Found 49 items of level: p_4
        Found 1 items of level: p_7
        Found 234 items of level: p_6
        Found 2 items of level: p_9
        Found 288 items of level: p_8
        Found 6 items of level: p_22
        Found 1011 items of level: p_23
        Ignoring level p_40
        Ignoring level p_41
        Ignoring level p_42
        Ignoring level p_43
        Ignoring level p_44
        Ignoring level p_45
        Ignoring level p_46
        Ignoring level p_47
        Ignoring level p_48
        Ignoring level p_49
        Ignoring level p_21
        Ignoring level div_3
        Ignoring level div_6
        Ignoring level div_7
        Ignoring level div_4
        Ignoring level div_5
        Ignoring level div_8
        Ignoring level div_9
        Ignoring level p_28
        Ignoring level p_29
        Ignoring level div_12
        Ignoring level div_13
        Ignoring level div_10
        Ignoring level div_11
        Ignoring level div_16
        Ignoring level div_17
        Ignoring level div_14
        Ignoring level div_15
        Ignoring level div_18
        Ignoring level div_19
        Ignoring level p_2
        Ignoring level p_27
        Ignoring level p_15
        Ignoring level p_50
        Ignoring level p_14
        Ignoring level p_35
        Ignoring level p_34
        Ignoring level p_37
        Ignoring level p_36
        Ignoring level p_17
        Ignoring level p_16
        Ignoring level p_33
        Ignoring level p_32
        Ignoring level p_18
        Ignoring level p_39
        Ignoring level p_13
        Ignoring level p_12
        Ignoring level div_22
        Ignoring level div_21
        Ignoring level div_20
        Ignoring level p_3
        Ignoring level p_10
        Ignoring level p_5
        Ignoring level p_7
        Ignoring level p_9
        Ignoring level p_31
        Ignoring level p_22
        p_20 left margin stats: Counter({u’0′: 448})
        p_20 right margin stats: Counter({u’0′: 448})
        p_30 left margin stats: Counter({u’0′: 779})
        p_30 right margin stats: Counter({u’0′: 779})
        div_2 left margin stats: Counter({u”: 1})
        div_2 right margin stats: Counter({u”: 1})
        p_24 left margin stats: Counter({u’0′: 466})
        p_24 right margin stats: Counter({u’0′: 466})
        div_1 left margin stats: Counter({u”: 1})
        div_1 right margin stats: Counter({u”: 1})
        p_51 left margin stats: Counter({u’0′: 245})
        p_51 right margin stats: Counter({u’0′: 245})
        p_11 left margin stats: Counter({u’0′: 37})
        p_11 right margin stats: Counter({u’0′: 37})
        p_19 left margin stats: Counter({u’0′: 25})
        p_19 right margin stats: Counter({u’0′: 25})
        p_25 left margin stats: Counter({u’0′: 358})
        p_25 right margin stats: Counter({u’0′: 358})
        p_38 left margin stats: Counter({u’0′: 47})
        p_38 right margin stats: Counter({u’0′: 47})
        p_26 left margin stats: Counter({u’0′: 97})
        p_26 right margin stats: Counter({u’0′: 97})
        p_1 left margin stats: Counter({u’0′: 125})
        p_1 right margin stats: Counter({u’0′: 125})
        p_4 left margin stats: Counter({u’0′: 49})
        p_4 right margin stats: Counter({u’0′: 49})
        p_6 left margin stats: Counter({u’0′: 234})
        p_6 right margin stats: Counter({u’0′: 234})
        p_8 left margin stats: Counter({u’0′: 288})
        p_8 right margin stats: Counter({u’0′: 288})
        p_23 left margin stats: Counter({u’0′: 1011})
        p_23 right margin stats: Counter({u’0′: 1011})
        Cleaning up manifest…
        Trimming unused files from manifest…
        Creating MOBI Output…
        Serializing resources…
        Creating MOBI 6 output
        Generating in-line TOC…
        Applying case-transforming CSS…
        Parsing manglecase.css …
        Parsing tocstyle.css …
        Rasterizing SVG images…
        Converting XHTML to Mobipocket markup…
        Failed to find image: ”那中年妇女道:“少废话,钱呢?”张扬害怕被别人看到,低声道:“我给我给,咱们换个地方。那中年妇女道:“不行,就在这儿
        Python function terminated unexpectedly: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
        Traceback (most recent call last):
        File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 163, in main
        return run_entry_point()
        File “/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py”, line 121, in run_entry_point
        return getattr(pmod, func)()
        File “site-packages/calibre/utils/ipc/worker.py”, line 208, in main
        File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 43, in gui_convert_override
        File “site-packages/calibre/gui2/convert/gui_conversion.py”, line 28, in gui_convert
        File “site-packages/calibre/ebooks/conversion/plumber.py”, line 1275, in run
        File “site-packages/calibre/ebooks/conversion/plugins/mobi_output.py”, line 214, in convert
        File “site-packages/calibre/ebooks/conversion/plugins/mobi_output.py”, line 246, in write_mobi
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 129, in __call__
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 140, in mobimlize_spine
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 586, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 596, in mobimlize_elem
        File “site-packages/calibre/ebooks/mobi/mobiml.py”, line 314, in mobimlize_content
        File “src/lxml/etree.pyx”, line 1018, in lxml.etree._Element.text.__set__
        File “src/lxml/apihelpers.pxi”, line 710, in lxml.etree._setNodeText
        File “src/lxml/apihelpers.pxi”, line 698, in lxml.etree._createTextNode
        File “src/lxml/apihelpers.pxi”, line 1493, in lxml.etree._utf8
        ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters

  3. 您好,我这边发现TXT转换成MOBI 格式之后, 发送到Kindle但是打不开, 麻烦帮忙看看应该如何解决吧, 多谢

  4. 您好 我在Calibre上修改了图书的元数据(包含书名及作者)但另存后再导入kindle 还是显示错误乱码 请问应该如何处理呢?

    • Calibre 会自动把【电子书文件名】的汉字自动转换成拼音,并且没有提供选项禁止这样做,这主要是为了避开字符对软件正常运行可能产生的影响。

      不过不用担心,这不影响 Kindle 正常显示汉字电子书名,因为 Kindle 显示的书名读取的是【电子书元数据】而不是文件名,而 Calibre 不会改动元数据中的汉字。

  5. 管理员,您好,我用calibre将TXT转换mobi时,不停地提示我转换失败,其他TXT文件依然可以转。
    以下是错误代码,请求解决~!!!
    calibre, version 3.47.0 (win32, embedded-python: True)
    转换错误: 失败: 转换书籍 第 1 本,共 1 本

    转换书籍 第 1 本,共 1 本
    C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Conversion options changed from defaults:
    remove_paragraph_spacing_indent_size: 2.0
    read_metadata_from_opf: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\o8mzfq.opf’
    output_profile: u’kindle_oasis’
    mobi_file_type: u’both’
    insert_blank_line: True
    markdown_extensions: u’toc, tables, footnotes’
    personal_doc: None
    insert_blank_line_size: 1.0
    preserve_spaces: True
    verbose: 2
    disable_font_rescaling: True
    minimum_line_height: 140.0
    cover: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\sih1kc.jpeg’
    remove_paragraph_spacing: True
    Resolved conversion options
    calibre version: 3.47.0
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\sih1kc.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: True,
    ‘dont_compress’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘formatting_type’: u’auto’,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: ,
    ‘insert_blank_line’: True,
    ‘insert_blank_line_size’: 1.0,
    ‘insert_metadata’: False,
    ‘isbn’: None,
    ‘italicize_common_cases’: True,
    ‘keep_ligatures’: False,
    ‘language’: None,
    ‘level1_toc’: None,
    ‘level2_toc’: None,
    ‘level3_toc’: None,
    ‘line_height’: 0.0,
    ‘linearize_tables’: False,
    ‘margin_bottom’: 5.0,
    ‘margin_left’: 5.0,
    ‘margin_right’: 5.0,
    ‘margin_top’: 5.0,
    ‘markdown_extensions’: u’toc, tables, footnotes’,
    ‘markup_chapter_headings’: True,
    ‘max_toc_links’: 50,
    ‘minimum_line_height’: 140.0,
    ‘mobi_file_type’: u’both’,
    ‘mobi_ignore_margins’: False,
    ‘mobi_keep_original_images’: False,
    ‘mobi_toc_at_start’: False,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: True,
    ‘no_inline_toc’: False,
    ‘output_profile’: ,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paragraph_type’: u’auto’,
    ‘personal_doc’: None,
    ‘prefer_author_sort’: False,
    ‘prefer_metadata_cover’: False,
    ‘preserve_spaces’: True,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\o8mzfq.opf’,
    ‘remove_fake_margins’: True,
    ‘remove_first_image’: False,
    ‘remove_paragraph_spacing’: True,
    ‘remove_paragraph_spacing_indent_size’: 2.0,
    ‘renumber_headings’: True,
    ‘replace_scene_breaks’: u”,
    ‘search_replace’: ‘[]’,
    ‘series’: None,
    ‘series_index’: None,
    ‘share_not_sync’: False,
    ‘smarten_punctuation’: False,
    ‘sr1_replace’: None,
    ‘sr1_search’: None,
    ‘sr2_replace’: None,
    ‘sr2_search’: None,
    ‘sr3_replace’: None,
    ‘sr3_search’: None,
    ‘start_reading_at’: None,
    ‘subset_embedded_fonts’: False,
    ‘tags’: None,
    ‘timestamp’: None,
    ‘title’: None,
    ‘title_sort’: None,
    ‘toc_filter’: None,
    ‘toc_threshold’: 6,
    ‘toc_title’: None,
    ‘transform_css_rules’: ‘[]’,
    ‘txt_in_remove_indents’: False,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘verbose’: 2}
    InputFormatPlugin: TXT Input running
    on C:\Users\ADMINI~1\AppData\Local\Temp\calibre_32i79r\qdo6_k.txt
    Reading text from file…
    Detected input encoding as gbk with a confidence of 99.0%
    Auto detected paragraph type as unformatted
    Auto detected formatting as textile
    Running text through textile conversion…
    Python function terminated unexpectedly
    [Errno 2] No such file or directory: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\’ (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 200, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 43, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 28, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1110, in run
    File “site-packages\calibre\customize\conversion.py”, line 246, in __call__
    File “site-packages\calibre\ebooks\conversion\plugins\txt_input.py”, line 269, in convert
    File “site-packages\calibre\ebooks\conversion\plugins\txt_input.py”, line 118, in fix_resources
    IOError: [Errno 2] No such file or directory: u’C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\calibre_32i79r\\’