emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Cannot get the EXPORT_FILE_NAME override to work


From: Nick Dokos
Subject: Re: [O] Cannot get the EXPORT_FILE_NAME override to work
Date: Thu, 04 May 2017 12:40:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kaushal Modi <address@hidden> writes:

> 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.
>
That does not work: you have to set #+EXPORT_FILE_NAME: foo for that.

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

I don't know how narrowing interacts with export but the following

   C-c C-e C-s h h

works (assuming you are in the correct subtree at the time).

> So when does the EXPORT_FILE_NAME property work? What am I doing wrong?
>
> Thanks.
>
> --
>
> Kaushal Modi
>

-- 
Nick




reply via email to

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