From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: set a location for simple export of individual file? Date: Sat, 28 Mar 2015 16:43:39 +0100 Message-ID: <87619li0us.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbssX-0008Aj-2Q for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 11:42:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbssR-0006XI-VR for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 11:42:28 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:38007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbssR-0006Ws-Oz for emacs-orgmode@gnu.org; Sat, 28 Mar 2015 11:42:23 -0400 In-Reply-To: (Matt Price's message of "Sat, 28 Mar 2015 10:11:47 -0400") 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: Matt Price Cc: Org Mode Hello, Matt Price writes: > I have an org file with lots of long tables in it; org is great for the > data entry part, but sometimes I want to see the long lines in the table in > their entirety, and for this I export to HTML. It works great. However, > for whatever reason I don't want the HTML to live in the same directory as > the original org file.* > > I have tried this: > > #+BIND: org-export-publishing-directory "/tmp/" > > But that doesn't work, I think because I export using the export interface, > not by publishing. Is there a comparable variable for export location? You can build a function around `org-export-to-file'. See `org-html-export-to-html' for example. Regards, -- Nicolas Goaziou