From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Example of Make file for Org Mode LaTeX to pdf Date: Sun, 6 Mar 2016 18:34:22 +0000 Message-ID: <87r3fn4frl.fsf@ucl.ac.uk> References: <4A383BD1-2B7C-4AF3-909E-5D1561B1F933@airmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acdVk-000473-Lz for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 13:34:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acdVh-0001SO-Fw for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 13:34:36 -0500 Received: from mail-db5eur01on0119.outbound.protection.outlook.com ([104.47.2.119]:4512 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acdVh-0001RN-7F for emacs-orgmode@gnu.org; Sun, 06 Mar 2016 13:34:33 -0500 In-Reply-To: <4A383BD1-2B7C-4AF3-909E-5D1561B1F933@airmail.net> (Robert Love's message of "Fri, 4 Mar 2016 23:43:00 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Robert Love Cc: emacs-orgmode list 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 =E2=80=98make=E2=80=99? A= ll 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=3D${HOME}/s/emacs \ --load=3Dcustom.el \ --load=3Desf-org.el --visit=3D${DIARY}.org --eval=3D'(org-icalendar-exp= ort-to-ics)' --8<---------------cut here---------------end--------------->8--- HTH --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55