From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: set a location for simple export of individual file? Date: Tue, 31 Mar 2015 09:12:13 -0400 Message-ID: References: <87619li0us.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e012291a2dd2ce605129558ac Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycvxt-0006EN-CX for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 09:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycvxn-0001br-IG for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 09:12:21 -0400 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:32790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycvxn-0001bg-AG for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 09:12:15 -0400 Received: by lbcmq2 with SMTP id mq2so12001645lbc.0 for ; Tue, 31 Mar 2015 06:12:13 -0700 (PDT) In-Reply-To: <87619li0us.fsf@nicolasgoaziou.fr> 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 , Org Mode --089e012291a2dd2ce605129558ac Content-Type: text/plain; charset=UTF-8 Wow, that was way easier than I thought it would be. Made a couple of modest changes to org-html-to-html, and now a simple keybinding exports to my desired location and opens the file in my desired location, which I purge every couple of days. Thank you! On Sat, Mar 28, 2015 at 11:43 AM, Nicolas Goaziou wrote: > 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 > --089e012291a2dd2ce605129558ac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Wow, that was way easier than I thought it would be. Made = a couple of modest changes to org-html-to-html, and now a simple keybinding= exports to my desired location and opens the file in my desired location, = which I purge every couple of days.=C2=A0 Thank you!

On Sat, Mar 28, 2015 at 11:43 = AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
=
Hello,

Matt Price <moptop99@gmail.com= > writes:

> I have an org file with lots of long tables in it; org is great for th= e
> data entry part, but sometimes I want to see the long lines in the tab= le in
> their entirety, and for this I export to HTML. It works great.=C2=A0 H= owever,
> for whatever reason I don't want the HTML to live in the same dire= ctory 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 i= nterface,
> 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

--089e012291a2dd2ce605129558ac--