[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] export (as latex) a large number of org files in a directo
Re: [Orgmode] export (as latex) a large number of org files in a directory
Sun, 30 Aug 2009 22:58:53 -0700 (PDT)
Thanks yet again! That makes sense... works now!!
> I tried your code with both
> > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org
> > and
> > orglib=$HOME/elisp/org-mode/lisp
> You need the former - the latter is where I keep my org.el[c]
(sorry, forgot to mention that I created and copied my files to the latter
directory to try it out)
> #! /bin/bash
> emacs --batch \
> --eval "(add-to-list 'load-path \"$orglib\")"
\ # need a backslash
> --load=$orglib/org.elc \
> --eval "(setq org-export-headline-levels 2)" \
> --visit=$1 --funcall org-export-as-latex-batch
(yes, caught that!)
Thanks again very much, Nick - this had been on my mind for a while.