我会清楚而大声地告诉你:我不喜欢Calibre!那么,如何在没有 PDF 的情况下将 PDF 转换为 ePUB?
我想使用 Pandoc 将我的 test.epub 转换为 PDF 格式。我试过(这里给出)
pandoc -f epub -t test.epub -o outfile.pdf
Run Code Online (Sandbox Code Playgroud)
这会引发以下错误:
无法从 pdf 生成 pdf 输出
我也尝试了以下命令
pandoc test.epub -f epub -t latex -s -o my.pdf --latex-engine=xelatex
Run Code Online (Sandbox Code Playgroud)
这会引发以下错误:
--latex-engine has been removed. Use --pdf-engine instead.
Try pandoc --help for more information.
Run Code Online (Sandbox Code Playgroud)
然后我试过了
pandoc test.epub -f epub -t latex -s -o my.pdf --pdf-engine=xelatex
Run Code Online (Sandbox Code Playgroud)
它将 EPUB 转换为 PDF 格式,但最终输出不是很好。不尊重分页符和其他东西。页数多于实际。非常有效地将 EPUB 转换为 PDF 格式的任何想法。