将 docx 文件导入 emacs 组织模式

Import docx file into emacs org-mode

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

这是我在 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

我认为您的编辑 byte order mark (BOM) into begin of the file. Check this post 说明了如何使用 Emacs 来完成。