emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug? Inconsistency with org-publish-attachment
@ 2010-09-15  2:15 Aidan Gauland
  2010-09-15 16:04 ` Sebastian Rose
  0 siblings, 1 reply; 4+ messages in thread
From: Aidan Gauland @ 2010-09-15  2:15 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 674 bytes --]

I have a (sub)project for publishing a website.  It uses
org-publish-attachment with the recursive option.

("static"
 :base-directory "~/doc-aidan/windmill-hill/main/"
 :publishing-directory "~/doc-aidan/windmill-hill/published/"
 :publishing-function org-publish-attachment
 :recursive t
 :base-extension "css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png")

I have all the files scattered throughout the source directory's
hierarchy.  Their location is preserved when copied to the publishing
directory /except/ for the images (I only have png images right now),
which are just dumped in the root of the publishing directory.

Is this a bug, or am I doing something wrong?

--Aidan

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Bug? Inconsistency with org-publish-attachment
@ 2010-09-15  7:38 Aidan Gauland
  0 siblings, 0 replies; 4+ messages in thread
From: Aidan Gauland @ 2010-09-15  7:38 UTC (permalink / raw)
  To: emacs-orgmode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a (sub)project for publishing a website.  It uses
org-publish-attachment with the recursive option.

("static"
 :base-directory "~/doc-aidan/foo/main/"
 :publishing-directory "~/doc-aidan/foo/published/"
 :publishing-function org-publish-attachment
 :recursive t
 :base-extension "css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png")

I have all the files scattered throughout the source directory's
hierarchy.  Their location is preserved when copied to the publishing
directory /except/ for the images (I only have png images right now),
which are just dumped in the root of the publishing directory.

Is this a bug, or am I doing something wrong?

- --Aidan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyQd9gACgkQjyzTRvYJmaV9ZwCeMvLOI9r2oPMnqRSFZsMTQaBg
HcQAniaaYRetDC6MxUW7vKEtvt5ij2F+
=HmtP
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug? Inconsistency with org-publish-attachment
  2010-09-15  2:15 Aidan Gauland
@ 2010-09-15 16:04 ` Sebastian Rose
  2010-09-15 20:23   ` Aidan Gauland
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Rose @ 2010-09-15 16:04 UTC (permalink / raw)
  To: emacs-orgmode

Aidan Gauland <aidan@dimension8.tehua.net> writes:
> I have a (sub)project for publishing a website.  It uses
> org-publish-attachment with the recursive option.
>
> ("static"
>  :base-directory "~/doc-aidan/windmill-hill/main/"
>  :publishing-directory "~/doc-aidan/windmill-hill/published/"
>  :publishing-function org-publish-attachment
>  :recursive t
>  :base-extension "css\\|gz\\|bz\\|lzma\\|jpg\\|gif\\|png")
>
> I have all the files scattered throughout the source directory's
> hierarchy.  Their location is preserved when copied to the publishing
> directory /except/ for the images (I only have png images right now),
> which are just dumped in the root of the publishing directory.
>
> Is this a bug, or am I doing something wrong?


It would be a bug.

But I cannot reproduce it (current Org mode from git, emacs24).


  Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug? Inconsistency with org-publish-attachment
  2010-09-15 16:04 ` Sebastian Rose
@ 2010-09-15 20:23   ` Aidan Gauland
  0 siblings, 0 replies; 4+ messages in thread
From: Aidan Gauland @ 2010-09-15 20:23 UTC (permalink / raw)
  To: emacs-orgmode

Sebastian Rose <sebastian_rose <at> gmx.de> writes:
> It would be a bug.
> 
> But I cannot reproduce it (current Org mode from git, emacs24).

I just figured out why: I store all my images in ~/images/ and just
have symbolic links to them in my Org website directory.

Can you reproduce it now that you have this piece of information?

--Aidan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-15 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15  7:38 Bug? Inconsistency with org-publish-attachment Aidan Gauland
  -- strict thread matches above, loose matches on Subject: below --
2010-09-15  2:15 Aidan Gauland
2010-09-15 16:04 ` Sebastian Rose
2010-09-15 20:23   ` Aidan Gauland

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).