From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Need help publishing subdirectories Date: Tue, 12 Oct 2010 11:29:01 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=43936 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5gnD-0006hm-Mh for emacs-orgmode@gnu.org; Tue, 12 Oct 2010 11:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5gn9-0005gr-64 for emacs-orgmode@gnu.org; Tue, 12 Oct 2010 11:29:31 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:62294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5gn9-0005gl-1G for emacs-orgmode@gnu.org; Tue, 12 Oct 2010 11:29:27 -0400 Received: by iwn1 with SMTP id 1so7581061iwn.0 for ; Tue, 12 Oct 2010 08:29:26 -0700 (PDT) In-Reply-To: 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 The relevant portion of my configuration is below. (setq org-publish-project-alist nil) (setq org-publish-project-alist '(("ftr-static" :base-directory "~/org/ftr" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|sw= f" :publishing-directory "~/Sites/FTR/" :recursive t :publishing-function (org-publish-attachment) :table-of-contents nil :todo-keywords nil :section-numbers nil :recursive t ) ("ftr-jeff" :base-directory "~/org/ftr/jeff" :base-extension "org" :publishing-directory "~/Sites/FTR/jeff" :recursive t :publishing-function (org-publish-org-to-html org-publish-org-to-o= rg) :htmlized-source :table-of-contents nil :todo-keywords nil :section-numbers nil :recursive t ) ("ftr" :components ( "ftr-static" "ftr-jeff" ) ))) The table of contents and section number options are being ignored (possibly others). Any ideas? Jeff On Tue, Oct 12, 2010 at 1:29 AM, Jeff Horn wrote: > I've managed to push the extra source files out with the org-static > configuration found at worg.[1] > > But now, for some reason, I've lost all my options (no TOC, no section > numbers, custom stylesheet, etc). Anyone care to look at my config > off-list and offer advice? > > I'm beginning to think it's something silly like an unescaped > quotation mark, but I've looked at every simple solution I can think > of. > > Jeff > > > =A0 =A0[1] http://orgmode.org/worg/org-tutorials/org-publish-html-tutoria= l.php > > On Mon, Oct 11, 2010 at 11:59 PM, Jeff Horn wrote: >> 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" >> =A0 =A0 =A0 =A0 :base-directory "~/org/ftr/jeff/teaching/" >> =A0 =A0 =A0 =A0 :publishing-directory "~/Sites/FTR/jeff/teaching" >> =A0 =A0 =A0 =A0 :publishing-function (org-publish-org-to-html >> org-publish-org-to-org org-publish-org-to-pdf org-publish-attachment) >> =A0 =A0 =A0 =A0 :recursive t >> =A0 =A0 =A0 =A0 :style-include-default nil >> =A0 =A0 =A0 =A0 ;; :base-extension "any" >> =A0 =A0 =A0 =A0 ) >> >> 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 >> > > > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jhorn@gmu.edu > jrhorn424@gmail.com > --=20 Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com