Mercurial > org-tools
view weave.sh @ 1:fd36f08d32c5
added weave, which exports files to html.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 15 Oct 2011 09:17:23 -0700 |
parents | |
children | dc2ae5732141 |
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 echo $dir11 emacs \12 -l /home/r/config/emacs/clojure-init.el \13 -l /home/r/config/emacs/org-init.el \14 -l /home/r/config/emacs/web-color.el \15 --batch \16 --eval "17 (progn18 (setq org-publish-project-alist19 '(20 (\"project\"21 :base-directory \"$dir/org\"22 :base-extension \"org\"23 :publishing-directory \"$dir/html\"24 :recursive t25 :publishing-function org-publish-org-to-html26 :auto-preamble t)27 ))29 (org-publish-project \"project\"))" \30 \31 2>&1 | pcregrep 'Wrote'