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: Tue, 23 Sep 2014 09:55:35 +0100 Message-ID: <87iokera0o.fsf@newcastle.ac.uk> References: <87a95r4epd.fsf@newcastle.ac.uk> <87y4tbfm3l.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWLt3-0007aV-Pf for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 04:55:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWLsw-0008BO-E1 for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 04:55:53 -0400 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:47258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWLsw-0008AR-8i for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 04:55:46 -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 1XWLsl-0005a1-FT for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 09:55:35 +0100 Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XWLsl-0002mu-MJ for emacs-orgmode@gnu.org; Tue, 23 Sep 2014 09:55:35 +0100 In-Reply-To: <87y4tbfm3l.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 22 Sep 2014 22:15:26 +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: > [...] > > `org-html-publish-to-html' is not meant to be called directly, but > rather used in a project definition as a :publishing-function value. > > Speaking of which, why don't you simply create a proper project-alist > and call `org-publish' on it (interactively or not)? 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. This part... #+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. Phil