From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Publishing configuration Date: Sun, 10 Oct 2010 15:10:08 -0700 Message-ID: <87vd59og1r.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=59561 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P54x1-0005HS-J9 for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 19:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P54wz-00061m-SZ for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 19:05:07 -0400 Received: from lo.gmane.org ([80.91.229.12]:54193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P54wz-00061R-Mw for emacs-orgmode@gnu.org; Sun, 10 Oct 2010 19:05:05 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P54wy-0003HC-3p for emacs-orgmode@gnu.org; Mon, 11 Oct 2010 01:05:04 +0200 Received: from c-67-164-33-170.hsd1.ca.comcast.net ([67.164.33.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Oct 2010 01:05:04 +0200 Received: from richard.lawrence by c-67-164-33-170.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Oct 2010 01:05:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, Is there a way to tell org-publish-org-to-html something like: "If you find a link to a file outside the base-directory, copy that file as an attachment to publishing-directory/attachments" in org-publish-project-alist? I have PDFs that need to remain distributed throughout the file system (i.e., not in a single location I can set as a base-directory) but that I would like to also publish as attachments on my Org-maintained Web site. I can't find anything in the documentation that gives me a hint about how to do this, or if there's a better solution that I haven't thought of. Any help (included pointers to documentation that I have thick-headedly missed) would be much appreciated! Thanks! Richard