【发布时间】:2020-12-01 08:33:33
【问题描述】:
我在使用 pandoc 从 .tex 文件转换为 .docx 文件时遇到问题。我使用 textdoc 和 stata 来获取 tex 文件。 Tabularx 表格不显示在 docx 文件中,但我最大的问题是图形不显示在最终文档 (docx) 中。可悲的是,收到最终文件的人需要一个 docx。文件
我在 windows 上使用 pandoc 并从 cmd windows 运行。
pandoc -s tesis.tex -o output.docx
我尝试与其他间接类型的转换:
pandoc -s tesis.tex -o output2.html
pandoc -s output2.html -o output6.docx
以其他方式,我可以将 knitr 与 R 一起使用来制作 .tex 文件,但如果有可能使用此方法获取 docx 文件,我不知道。
提前致谢
【问题讨论】:
-
这将有助于查看以下关于您正在执行的操作的完整最小示例(包括一些数据),以及对输出问题的更详细描述。 See the tag wiki for more information.
标签: r latex knitr stata pandoc