emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Override export filename


From: Nick Dokos
Subject: Re: [Orgmode] Override export filename
Date: Tue, 02 Nov 2010 14:35:08 -0400

Aidan Gauland <address@hidden> wrote:

> On Tue, Nov 02, 2010 at 04:44:11PM +0100, Giovanni Ridolfi wrote:
> > Aidan Gauland <address@hidden> writes:
> 
> > > Is there an export option to specify the name of the file to which to
> > > export the org file?
> 
> > for documents:
> > #+TITLE:
> 
> This doesn't seem to allow me to specify the filename.  For example,
> the file...
> 
> #+TITLE: bar.goo
> 
> * A heading
> foo foo
> 
> ..is exported (as HTML) to foo.html, not bar.goo.
> 

If you just need a different extension, I think this works:

--8<---------------cut here---------------start------------->8---
#+BIND: org-export-html-extension "goo"

* foo
foo

* bar
bar
--8<---------------cut here---------------end--------------->8---

and there might be a higher-level way to do that too; e.g. if you are
publishing a project, you can set the :html-extension property, but that
is probably going to affect more than the one file. 

Also, I don't know of a way to change the base filename however, and
cursory examination of the code leads me to believe that it is not
possible currently.

HTH,
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]