emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* set a location for simple export of individual file?
@ 2015-03-28 14:11 Matt Price
  2015-03-28 15:43 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Price @ 2015-03-28 14:11 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

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?

Thanks,
m


* The org file contains mildly confidential info, but is located, for
convenience, in a Dropbox folder; so, to avoid compromise, I encrypt it.
Putting the HTML in the same folder defeats that purpose. My hard drive in
ecrypted, so /tmp/ is a moderately safe location, adequate for the
sensitivity of this information.

[-- Attachment #2: Type: text/html, Size: 1017 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: set a location for simple export of individual file?
  2015-03-28 14:11 set a location for simple export of individual file? Matt Price
@ 2015-03-28 15:43 ` Nicolas Goaziou
  2015-03-31 13:12   ` Matt Price
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-03-28 15:43 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hello,

Matt Price <moptop99@gmail.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: set a location for simple export of individual file?
  2015-03-28 15:43 ` Nicolas Goaziou
@ 2015-03-31 13:12   ` Matt Price
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Price @ 2015-03-31 13:12 UTC (permalink / raw)
  To: Matt Price, Org Mode

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

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 <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 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
>

[-- Attachment #2: Type: text/html, Size: 1691 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-31 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-28 14:11 set a location for simple export of individual file? Matt Price
2015-03-28 15:43 ` Nicolas Goaziou
2015-03-31 13:12   ` Matt Price

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).