emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: John Kitchin
Subject: Re: [O] Example of Make file for Org Mode LaTeX to pdf
Date: Sun, 06 Mar 2016 08:40:46 -0500
User-agent: mu4e 0.9.16; emacs 25.1.50.1

* 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 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 who don't have the balls to live 
> in the real world." -- Mary Shafer, NASA Dryden


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]