emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cannot get the EXPORT_FILE_NAME override to work
@ 2017-05-04 15:30 Kaushal Modi
  2017-05-04 15:36 ` Kaushal Modi
  2017-05-04 16:40 ` Nick Dokos
  0 siblings, 2 replies; 7+ messages in thread
From: Kaushal Modi @ 2017-05-04 15:30 UTC (permalink / raw)
  To: emacs-org list

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

Hello,

I am trying to use the EXPORT_FILE_NAME property for the first time, but it
is not working.

Here is the MWE:

===== override-export-file-name.org =====
#+TITLE: Test overriding of export file name

* Heading 1
:PROPERTIES:
:EXPORT_FILE_NAME: foo
:END:
I want to name the exported file as =foo.=(something). If I export to HTML,
it should be named =foo.html=.
=====

I am using emacs and org version built from master today.

Attempt 1: Export the whole file using C-c C-e h h. But
override-export-file-name.html gets created instead of foo.html.

Attempt 2: Select just the Heading 1 subtree, narrow to it, and export that
using C-c C-e h h. Again override-export-file-name.html gets created
instead of foo.html.

So when does the EXPORT_FILE_NAME property work? What am I doing wrong?

Thanks.

-- 

Kaushal Modi

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

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

end of thread, other threads:[~2017-05-04 19:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 15:30 Cannot get the EXPORT_FILE_NAME override to work Kaushal Modi
2017-05-04 15:36 ` Kaushal Modi
2017-05-04 16:40 ` Nick Dokos
2017-05-04 17:02   ` Kaushal Modi
2017-05-04 17:33     ` Nick Dokos
2017-05-04 18:28       ` Kaushal Modi
2017-05-04 19:56         ` Kaushal Modi

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