From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Tucker Subject: Re: export (as latex) a large number of org files in a directory Date: Sun, 30 Aug 2009 22:58:53 -0700 (PDT) Message-ID: <574464.67671.qm@web39704.mail.mud.yahoo.com> References: <894242.15667.qm@web39706.mail.mud.yahoo.com> <31875.1251644646@gamaville.dokosmarshall.org> <813754.54567.qm@web39708.mail.mud.yahoo.com> <24965.1251685620@gamaville.dokosmarshall.org> <3757.1251693517@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mhzuv-0000Yg-E0 for emacs-orgmode@gnu.org; Mon, 31 Aug 2009 01:59:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mhzup-0000Xr-3u for emacs-orgmode@gnu.org; Mon, 31 Aug 2009 01:58:59 -0400 Received: from [199.232.76.173] (port=54396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mhzuo-0000Xm-VV for emacs-orgmode@gnu.org; Mon, 31 Aug 2009 01:58:55 -0400 Received: from web39704.mail.mud.yahoo.com ([209.191.106.50]:22214) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mhzuo-00023R-BI for emacs-orgmode@gnu.org; Mon, 31 Aug 2009 01:58:54 -0400 In-Reply-To: <3757.1251693517@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Thanks yet again! That makes sense... works now!! > I tried your code with both > > > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org > > and > > orglib=$HOME/elisp/org-mode/lisp > > You need the former - the latter is where I keep my org.el[c] (sorry, forgot to mention that I created and copied my files to the latter directory to try it out) > #! /bin/bash > > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org > emacs --batch \ > --eval "(add-to-list 'load-path \"$orglib\")" \ # need a backslash here. > --load=$orglib/org.elc \ > --eval "(setq org-export-headline-levels 2)" \ > --visit=$1 --funcall org-export-as-latex-batch > (yes, caught that!) Thanks again very much, Nick - this had been on my mind for a while. Stephen