Around emacs, linux, etc.
export org-mode file in command line
see http://thread.gmane.org/gmane.emacs.orgmode/7675 for more informations
以下是我用来export单个文件的命令
生成html
emacs --batch --eval '(progn (setq user-full-name "Your Name")(setq user-mail-address "Your Mail Address")(find-file "/path/to/file.org")(org-export-as-html 3))'
生成txt
emacs --batch --eval '(progn (setq user-full-name "Your Name")(setq user-mail-address "Your Mail Address")(find-file "/path/to/file.org")(org-export-as-ascii 3))'
| Print article | This entry was posted by Jay Xie on 2009/01/19 at 1:48 pm, and is filed under Emacs. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
搜狐微博
新浪微博