emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: [Patch] Bug: Inconsistency with org-publish-attachment


From: Aidan Gauland
Subject: [Orgmode] Re: [Patch] Bug: Inconsistency with org-publish-attachment
Date: Fri, 17 Sep 2010 20:21:42 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Sebastian Rose <sebastian_rose <at> gmx.de> writes:
> did you revert the previous patch?  The second patch was against master
> again.

I ran git reset --hard then applied the second patch.

> I changed to a subdirectory of my :base-directory (here $BASE):
>
> $ cd ${BASE}/subdirectory
> $ cp ~/images/first.jpg .        # a simple image
> $ ln -s ~/images/second.jpg      # a link to an image
> $ ln -s ~/images/screenshots/    # a link to a directory
>
> When exporting, I get this tree in :publishing-directory ($PUB):
>
> $PUB/
>  |-- subdirectory/
>  |   |-- first.jpg
>  |   |-- second.jpg
>  |   `-- screenshots/
>  |       |-- some.png
>  |       `-- other.png
>
> which is what you expected, is that right?

Yes, that's what I expected.  What I'm getting is a little different.

$PUB/
`-- subdirectory/
    |-- screenshots/
    |     `-- subdirectory/
    |         `-- screenshots/
    |             |-- other.png
    |             `-- some.png
    `-- subdirectory/
        |-- first.jpg
        |-- second.jpg

This is how the project is defined...
(setq 
 org-publish-project-alist
 '(("static"
    :base-directory "~/org-bug/"
    :publishing-directory "~/org-bug-pub/"
    :publishing-function org-publish-attachment
    :recursive t
    :base-extension "css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png")))

And published with this sexp.
(org-publish "static")

Perhaps the discrepancy between our setups is git commit (not sure if
I'm using the right terms there)?  git log shows
878d94b47225729bfffaca9c57a5bdeb344a8ffb at the top of its output.

Thanks for your help!
--Aidan





reply via email to

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