gpt4 book ai didi

org-mode - emacs orgmode -- 如何将 html 文件导出到其他目录而不是与 .org 文件相同的目录

转载 作者:行者123 更新时间:2023-12-02 22:13:52 28 4
gpt4 key购买 nike

emacs 24.2.1和org模式版本8.0.3,虽然我已经引用了Emacs Org-mode - Export to another directory?中的解决方案,直接将以下语句添加到.org文件中。按C-c C-e h o后,.html 文件仍然来到当前目录。

#+bind: org-export-publishing-directory  "~/org/exported_html/"

我还尝试将以下语句添加到 .emacs 文件中。但仍然没有弄清楚我想要什么。

(setq org-export-publishing-directory "~/org/exported_html")

有谁可以给​​我建议吗?谢谢。

最佳答案

您使用的变量用于发布。您使用 C-c C-e 所做的就是导出(除非您随后按 P 等键来发布“项目”)。我认为您的 Org 文件必须是项目的一部分,然后您的变量才有意义。不是100%确定,有待进一步测试。

关于org-mode - emacs orgmode -- 如何将 html 文件导出到其他目录而不是与 .org 文件相同的目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16899919/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com