Mercurial > org-tools
comparison weave.sh @ 5:4824087ce1f2
transitioning to emacsclient because it's faster
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 24 Oct 2011 08:31:37 -0700 |
parents | dc2ae5732141 |
children | 5370428e673e |
comparison
equal
deleted
inserted
replaced
4:de36470a2f70 | 5:4824087ce1f2 |
---|---|
5 | 5 |
6 #target=$(readlink -f $1) | 6 #target=$(readlink -f $1) |
7 | 7 |
8 dir=`pwd` | 8 dir=`pwd` |
9 | 9 |
10 emacs \ | 10 # emacs \ |
11 -l /home/r/config/emacs/clojure-init.el \ | 11 # -l /home/r/config/emacs/clojure-init.el \ |
12 -l /home/r/config/emacs/org-init.el \ | 12 # -l /home/r/config/emacs/org-init.el \ |
13 -l /home/r/config/emacs/web-color.el \ | 13 # -l /home/r/config/emacs/web-color.el \ |
14 --batch \ | 14 # --batch \ |
15 # --eval " | |
16 # (progn | |
17 # (setq org-publish-project-alist | |
18 # '( | |
19 # (\"project\" | |
20 # :base-directory \"$dir/org\" | |
21 # :base-extension \"org\" | |
22 # :publishing-directory \"$dir/html\" | |
23 # :recursive t | |
24 # :publishing-function org-publish-org-to-html | |
25 # :auto-preamble t) | |
26 # )) | |
27 | |
28 # (org-publish-project \"project\"))" \ | |
29 # \ | |
30 # 2>&1 #| pcregrep 'Wrote' | |
31 | |
32 | |
33 emacsclient \ | |
15 --eval " | 34 --eval " |
16 (progn | 35 (progn |
17 (setq org-publish-project-alist | 36 (setq org-publish-project-alist |
18 '( | 37 '( |
19 (\"project\" | 38 (\"project\" |
24 :publishing-function org-publish-org-to-html | 43 :publishing-function org-publish-org-to-html |
25 :auto-preamble t) | 44 :auto-preamble t) |
26 )) | 45 )) |
27 | 46 |
28 (org-publish-project \"project\"))" \ | 47 (org-publish-project \"project\"))" \ |
29 \ | |
30 2>&1 | pcregrep 'Wrote' | |
31 | 48 |
32 | 49 |
33 | 50 |
51 |