From mboxrd@z Thu Jan 1 00:00:00 1970 From: phillip.lord@newcastle.ac.uk (Phillip Lord) Subject: Re: Struggling with new exporter Date: Wed, 24 Sep 2014 12:44:21 +0100 Message-ID: <87vbod6y5m.fsf@newcastle.ac.uk> References: <87a95r4epd.fsf@newcastle.ac.uk> <87y4tbfm3l.fsf@nicolasgoaziou.fr> <87iokera0o.fsf@newcastle.ac.uk> <8738bif2au.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX0Xv-0005A7-Ks for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 00:20:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX0Xn-0000yD-Sr for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 00:20:47 -0400 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:36049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX0Xn-0000vm-Aj for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 00:20:39 -0400 Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1XX0Xd-0004B3-DN for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 05:20:29 +0100 Received: from 092-111-190-178.static.chello.nl ([92.111.190.178] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XX0Xc-0006Mz-W8 for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 05:20:29 +0100 In-Reply-To: <8738bif2au.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 23 Sep 2014 23:35:21 +0200") 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 Nicolas Goaziou writes: >> Okay, I've done it this way. Took a bit of fiddling since I need the >> project-alist to work in different configurations (i.e. interactively, >> in batch and in batch on a CI machine). Also, the timestamp stuff >> confused me -- org was skipping publication, even though the output file >> had been deleted. > > You can force re-pulication. Yes, I did. I was confused by the skipping though -- I was expecting make like behaviour -- where the output was checked. Still, it's fixed now. >> #+BIND: org-latex-custom-lang-environments ((clojure "tawny")) >> #+BIND: org-latex-listings t >> >> isn't working at the moment. Source listings are coming out in verbatim. >> Can I set this in the project-alist. From looking at org-latex-src-block >> it would appear not. > > On the development branch, you can add ":latex-listings t" property in > your project definition. In maint branch, you may dynamically bind > `org-latex-listings' around project publishing function call. Okay. Currently, it appears to be that the org-latex-publish-to-pdf isn't respecting :publishing-directory in the project-alist, so I am publishing to latex and compiling by hand from there. I had to do this anyway, because in batch, emacs swallows the latex output which makes errors very hard to detect. Thanks for the help. Phil