diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | elisp/autorg.el | 4 | ||||
| -rwxr-xr-x | gnu/run.sh | 35 |
3 files changed, 37 insertions, 4 deletions
@@ -4,8 +4,6 @@ *.sha *.asc *~ -*.sh -!autogen.sh *.do *.o *.lo diff --git a/elisp/autorg.el b/elisp/autorg.el index 8e951ee..01862f6 100644 --- a/elisp/autorg.el +++ b/elisp/autorg.el @@ -48,7 +48,7 @@ org-crypt org-remember org-agenda))) "<p class=\"xhtml-validation\"><a href=\"http://validator.w3.org/check?uri=referer\">Validate XHTML 1.0</a></p>") ;; extra export formats -(require 'org-export-generic) +; (require 'org-export-generic) '(org-export-blocks (quote ((comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa t) (dot org-export-blocks-format-dot t) @@ -64,7 +64,7 @@ org-crypt org-remember org-agenda))) ;; Ebib bibliografy manager (require 'ebib) (org-add-link-type "ebib" 'ebib) -(require 'natbib) +; (require 'natbib) ;; freemind export (require 'freemind) diff --git a/gnu/run.sh b/gnu/run.sh new file mode 100755 index 0000000..cffeb77 --- a/dev/null +++ b/gnu/run.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +EMACS=emacs23-nox +AUTORG="$HOME/autorg" +TMP="/tmp/autorg" +mkdir -p $TMP + +# generate the emacs initialization +rm -f $TMP/.emacs +cat <<EOF > $TMP/.emacs +(setq default-directory "$HOME" ) +(setq AutOrgRes "$AUTORG/elisp") +(add-to-list 'load-path AutOrgRes) +(add-to-list 'load-path "$AUTORG/elisp/org-mode/lisp") +(require 'autorg) +EOF + +# honor user's configuration +if [ -r $HOME/.emacs ]; then + cat $HOME/.emacs >> $TMP/.emacs +fi + + +export PATH="$PATH:$AUTORG:/usr/texbin" +export GNUPGHOME="$HOME/.gnupg" +# export LANG=en_US +# export LC_CTYPE=UTF-8 +cat <<EOF > $AUTORG/.aspell.conf +dict-dir $AUTORG/dict +data-dir $AUTORG/dict +#add-extra-dicts en +#add-extra-dicts grc +home-dir $HOME +EOF +HOME=$TMP $EMACS $@ |

