[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Feature Request] Let publishing-function decide :output-file an
From: |
Ruben Maher |
Subject: |
Re: [O] [Feature Request] Let publishing-function decide :output-file and whether publishing is needed |
Date: |
Sat, 22 Aug 2015 11:02:18 +0930 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Can't you simply use org-publish-after-publishing-hook to copy the
> published file elsewhere?
>
> Or, if you write your own exporter, do it à la "ox-latex.el", i.e.,
> publish in :base-directory and move it elsewhere with
> `org-publish-attachment'?
>
>>
>> I have achieved this using the attached diff, which tells
>> `org-export-output-file-name' to respect the property `:output-file'
>> in the communications channel.
>
> This doesn't sound right: if you know the file name beforehand, you
> don't need to call `org-export-output-file-name' in the first place.
Thanks for taking the time to make suggestions! Unfortunately I have no longer
have time to work on this at the moment (university), but as soon as I can get
back to it I will investigate this option.