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...