Jeff Horn <jrhorn...@gmail.com> writes:
> We had a bit of a discussion off list, but I still haven't been able
> to get the behavior I am after. See below.
>
> <snip>
> When I make the change as you have suggested above, I get the original
> file not found error.
>
> From the *Messages* buffer:
> ------------------------------------------------------------------------------
> Select command:
> Publishing file /Users/jeffreyhorn/org/ftr/.htaccess using
> `org-publish-attachment'
> org-publish-attachment: Opening input file: No such file or directory,
> /Users/jeffreyhorn/org/ftr/.htaccess
> ------------------------------------------------------------------------------
>
> This is my project definition as it stands now:
> ------------------------------------------------------------------------------
> ("ftr-htaccess"
>         :base-directory "~/org/ftr/"
>         :publishing-directory "~/Sites/FTR/"
>         :recursive t
>         :base-extension "org"
>         :exclude ".org"
>         :include (".htaccess")
>         :publishing-function org-publish-attachment)
> ------------------------------------------------------------------------------
> </snip>
>
> With this configuration, Sebastian and I were expecting the
> org-publish-attachment function to pick up the .htaccess file and push
> it to the publishing-directory. Instead, publishing exits with very
> little information (and no Backtrace is triggered). The information I
> have available is quoted above.


The problem is, that `org-publish-get-base-files' seems to put basenames
into `org-publish-temp-files' instead of absolute paths.

I'm currently working on it  (probably my fault anyway).


  Sebastian

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to