From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Need help publishing subdirectories Date: Mon, 11 Oct 2010 23:59:01 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=55445 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5W1N-0004DN-Oj for emacs-orgmode@gnu.org; Mon, 11 Oct 2010 23:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5W1M-0006tG-G2 for emacs-orgmode@gnu.org; Mon, 11 Oct 2010 23:59:25 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:62379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5W1M-0006t9-C8 for emacs-orgmode@gnu.org; Mon, 11 Oct 2010 23:59:24 -0400 Received: by iwn1 with SMTP id 1so6464066iwn.0 for ; Mon, 11 Oct 2010 20:59:23 -0700 (PDT) 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: Org-mode ml I'm trying to set up an org project to publish my personal website. I like to use friendly urls, like the one below. http://www.example.tld/jeff/teaching/2010/fall/econ101/index.html My publishing set up is a bit of a mess, with a project handling the root, the "jeff" subdirectory, and one handling the "teaching" sub-sub-directory. I have ":recursive t" set on the teaching directory, since I don't want to define a new project for every course I teach. So far, publishing works as intended, except that the ".../econ101/img/" subdirectory contents aren't copied to the publishing directory. Switching on ":base-extension "any"" doesn't fix this (in fact, it prevents the project from being published at all). The relevant portion of my project: ("teaching" :base-directory "~/org/ftr/jeff/teaching/" :publishing-directory "~/Sites/FTR/jeff/teaching" :publishing-function (org-publish-org-to-html org-publish-org-to-org org-publish-org-to-pdf org-publish-attachment) :recursive t :style-include-default nil ;; :base-extension "any" ) In the ".../econ101/syllabus.org" file, an inline image calls [[./img/example.jpg]]. The "img" directory exists in my source directory. The directory is copied to my publishing directory, but not the files within the directory. I noticed also that emacs tried to open an "example.jpg" buffer, which I thought was weird. Thanks for taking the time to read and respond. Best regards, Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com