On Friday, 4 Mar 2016 at 23:43, Robert Love wrote:
> Does anyone have a make file example that has emacs load an .org file,
> process it into LaTeX and export as PDF, all from the command line
> without the user doing anything more than type ‘make’? All examples
> appreciated.
I don't a makefile but I do have a single shell command that exports my
agenda to an ics file for uploading to google's calendar:
--8<---------------cut here---------------start------------->8---
emacs -Q --batch --debug-init \
--directory=${HOME}/s/emacs \
--load=custom.el \
--load=esf-org.el --visit=${DIARY}.org
--eval='(org-icalendar-export-to-ics)'
--8<---------------cut here---------------end--------------->8---
HTH
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55