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 13:33:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kaushal Modi <address@hidden> writes:


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

I meant that this works with the property set in the subtree.

> ...
> And that exported to hd2.html.. But this does not fit my requirement.. I need 
> to specify the export file
> name to be different for different subtrees.

So add the EXPORT_FILE_NAME property to each subtree, and then do

  C-c C-e C-s h h

*for each subtree of interest*. You could probably org-map your way
through the subtrees and export each one by calling

   (org-export-as 'html t)

N.B. the subtreep setting in this call.

-- 
Nick




reply via email to

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