Mercurial > org-tools
view weave-all.sh @ 16:f433fae15c50
made auto-weave work on all projects
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 02 Nov 2011 05:01:57 -0700 |
parents | ce96610fe058 |
children | c14f3a4af7fd |
line wrap: on
line source
1 #!/bin/sh3 # assumes ./org directory with org files to publish to4 # ./html6 #target=$(readlink -f $1)8 dir=`pwd`10 emacs \11 -l /home/r/config/emacs/clojure-init.el \12 -l /home/r/config/emacs/org-init.el \13 -l /home/r/config/emacs/web-color.el \14 --batch \15 --eval "16 (progn17 (setq org-publish-project-alist18 '(19 (\"project\"20 :base-directory \"$dir/org\"21 :base-extension \"org\"22 :publishing-directory \"$dir/html\"23 :recursive t24 :publishing-function org-publish-org-to-html25 :auto-preamble t)26 ))28 (org-publish-project \"project\"))" \29 \30 2>&1 #| pcregrep 'Wrote'