如何在emacs里转换成html,命令行下转换Emacs Org 文件为HTML

Emacs内将Org文件生成HTML的方法

C-c C-e h h

自不必说。但在命令行下将org文件生成html的方法,却没有发现一个权威的。

各位Emacser大大们用什么来把org转html呢?

Emacs里不同情况下调用不同版本的org-mode,很诡异。期待高手出来解释一下:

$ emacs --batch --eval "(message (version))" --eval "(package-initialize)" --eval "(message (org-version))"

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

8.2.5h

$ emacs --batch --eval "(message (version))" --eval "(package-initialize)" --eval "(message (org-version))" test.org

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

8.2.5h

Loading vc-git...

$ emacs test.org --batch --eval "(message (version))" --eval "(package-initialize)" --eval "(message (org-version))"

OVERVIEW

Loading vc-git...

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

7.9.3f

$ emacs --batch --eval "(message (version))" --eval "(message (org-version))" --eval "(package-initialize)" --eval "(message (org-version))"

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

7.9.3f

7.9.3f

$ emacs test.org --batch --eval "(message (version))" --eval "(message (org-version))" --eval "(package-initialize)" --eval "(message (org-version))"

OVERVIEW

Loading vc-git...

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

7.9.3f

7.9.3f

$ emacs --batch --eval "(message (version))" --eval "(message (org-version))" --eval "(package-initialize)" --eval "(message (org-version))" test.org

GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19)

of 2014-04-02 on amoblin.local

7.9.3f

7.9.3f

Problems while trying to load feature `org-gnus'

Problems while trying to load feature `org-jsinfo'

OVERVIEW

Loading vc-git...

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值