1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

Publishing: Fix publishing of attachments

This commit is contained in:
Carsten Dominik 2009-07-02 14:00:37 +02:00
parent b85b2e1f19
commit 956c2cc87a
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-07-02 Carsten Dominik <carsten.dominik@gmail.com>
* org-publish.el (org-publish-attachment): Fix publishing of
attachments.
* org-latex.el (org-export-latex-quotation-marks): Fix export of
quotation makrs in parenthesis.
(org-remove-initial-hash): New function.

View File

@ -443,7 +443,9 @@ See `org-publish-org-to' to the list of arguments."
(make-directory pub-dir t))
(or (equal (expand-file-name (file-name-directory filename))
(file-name-as-directory (expand-file-name pub-dir)))
(copy-file filename pub-dir t)))
(copy-file filename
(expand-file-name (file-name-nondirectory filename) pub-dir)
t)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Publishing files, sets of files, and indices