Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-08 Thread Robert Love
I have gotten many good ideas from these replies to my question. Thanks to all. > On Mar 7, 2016, at 10:10 AM, Loris Bennett wrote: > > Eric S Fraga writes: > >> On Monday, 7 Mar 2016 at 09:55, Loris Bennett wrote: >> >> [...] >> >>> Would

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-07 Thread Loris Bennett
Eric S Fraga writes: > On Monday, 7 Mar 2016 at 09:55, Loris Bennett wrote: > > [...] > >> Would you be able to share what you load in custom.el and esf-org.el, or >> a least explain what needs to be done? > > My custom.el is the emacs customisations (for variables and faces

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-07 Thread Eric S Fraga
On Monday, 7 Mar 2016 at 09:55, Loris Bennett wrote: [...] > Would you be able to share what you load in custom.el and esf-org.el, or > a least explain what needs to be done? My custom.el is the emacs customisations (for variables and faces that usually ends up in your .emacs) and esf-org.el

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-07 Thread Nick Dokos
Here's a simple (GNU make) makefile to export something in batch mode: --8<---cut here---start->8--- %.html: %.org emacs -batch -l batch-export.el --eval "(batch-org-export-as 'html)" $< %.pdf: %.tex latexmk --shell-escape -pdf -xelatex $<

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-07 Thread Loris Bennett
Hi Eric, Eric S Fraga writes: > 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

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread Eric S Fraga
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

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread John Kitchin
* Export org-files using a Makefile #+BEGIN_SRC makefile :tangle Makefile pdf: rm -f make-org.pdf emacs -batch make-org.org -f org-latex-export-to-pdf open make-org.pdf #+END_SRC works for me. Robert Love writes: > Does anyone have a make file example that has emacs

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread Myles English
Hello Bob, Robert Love writes: > 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. Fraid I don't have a makefile but

[O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread Robert Love
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. — Bob Love "Insisting on perfect safety is for people