From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Example of Make file for Org Mode LaTeX to pdf Date: Mon, 07 Mar 2016 09:55:30 +0100 Message-ID: <87twkism4d.fsf@hornfels.zedat.fu-berlin.de> References: <4A383BD1-2B7C-4AF3-909E-5D1561B1F933@airmail.net> <87r3fn4frl.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acqxD-0001jW-F4 for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 03:55:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acqx9-0002S3-Eq for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 03:55:51 -0500 Received: from plane.gmane.org ([80.91.229.3]:57278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acqx9-0002Ro-94 for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 03:55:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1acqx4-0007mp-Td for emacs-orgmode@gnu.org; Mon, 07 Mar 2016 09:55:42 +0100 Received: from hornfels.zedat.fu-berlin.de ([160.45.11.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 09:55:42 +0100 Received: from loris.bennett by hornfels.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2016 09:55:42 +0100 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: emacs-orgmode@gnu.org 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 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: > > 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)' > > HTH I was interested in doing exactly this, but got the error described here: http://article.gmane.org/gmane.emacs.orgmode/105491 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? Cheers, Loris -- This signature is currently under construction.