将docx文件导入emacs org-mode

时间:2018-03-30 17:36:15

标签: emacs ms-word org-mode pandoc

我已经在网上搜了几个小时了,我还没有找到完整的答案。我想在保持节和表的同时将我的.org文件转换为.docx(和docx。到.org)。我已经发现并尝试使用pandoc通过powershell作为工具来做到这一点,但我相信我没有做任何事情。

这是我输入pandec的命令: pandoc report7a.org -s -o report7.docx

显示错误:

pandoc.exe:无法解码字节'\ xfe':Data.Text.Internal.Encoding.decodeUtf8:无效的UTF-8流

我对做这样的事情没什么经验。

Here is an image of the .org file I want to convert

1 个答案:

答案 0 :(得分:2)

我认为您的编辑器将byte order mark (BOM)放入文件的开头。检查this post如何使用Emacs进行操作。

相关问题