Mercurial > org-tools
view weave-all.sh @ 24:7b34b718503e tip
makefile, and updated this stuff to work with the newest emacs!
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 02 Mar 2015 12:30:24 -0800 |
parents | c14f3a4af7fd |
children |
line wrap: on
line source
1 #!/bin/sh3 # assumes ./org directory with org files to publish to4 # ./html6 #target=$(readlink -f $1)8 if [ ! -d "./org" ]; then9 echo "no org directory"10 exit11 fi14 dir=`pwd`16 # emacs \17 # -l /home/r/config/emacs/clojure-init.el \18 # -l /home/r/config/emacs/org-init.el \19 # -l /home/r/config/emacs/web-color.el \20 # --batch \21 # --eval "22 # (progn23 # (setq org-publish-project-alist24 # '(25 # (\"project\"26 # :base-directory \"$dir/org\"27 # :base-extension \"org\"28 # :publishing-directory \"$dir/html\"29 # :recursive t30 # :publishing-function org-publish-org-to-html31 # :auto-preamble t)32 # ))34 # (org-publish-project \"project\"))" \35 # \36 # 2>&1 #| pcregrep 'Wrote'38 emacs \39 -l /home/r/.emacs \40 --batch \41 --eval "42 (progn43 (setq org-publish-project-alist44 '(45 (\"project\"46 :base-directory \"$dir/org\"47 :base-extension \"org\"48 :publishing-directory \"$dir/html\"49 :recursive t50 :publishing-function org-html-publish-to-html51 :auto-preamble t)52 ))54 (org-publish-project \"project\"))" \55 \56 2>&1 #| pcregrep 'Wrote'