[Top][All Lists]

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

Re: [Orgmode] Problem with org-publish :include

From: Rick Moynihan
Subject: Re: [Orgmode] Problem with org-publish :include
Date: Mon, 04 May 2009 10:50:52 +0100
User-agent: Thunderbird (Macintosh/20090302)

Carsten Dominik wrote:
On Apr 28, 2009, at 2:02 PM, Rick Moynihan wrote:

Hi all,

I am using org-mode v6.26d (from the git repo) and keep all my org files in a single ~/org directory. I'm trying to setup a new org- publish project that publishes a single org-mode file (meeting- notes.org) and excludes all the others. Here's the relevant bit of my org-publish-project-alist:

(setq org-publish-project-alist
      '("minutes" . (:base-directory "/home/rick/org/"
                                       :base-extension "org"
:publishing-directory "/home/rick/public_html/ minutes"
                 :exclude "\\.org$"
                 :include "meeting-notes.org"
                 :with-section-numbers nil
                 :table-of-contents nil
:style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">"))

; ...


The problem is that I can't seem to get the :include property working. With the above settings crashing on org-publish-project with the error:

Wrong type argument: sequencep, 101

I have narrowed it down to the include parameter, but don't know what is wrong with my config. I have also tried setting :include to a (list "meeting-notes.org") with a similar error.

Is this a bug in org-mode, my config or something else. Any help greatfully appreciated!!!


                  :include ("meeting-notes.org")

work better?  The documentation says it must be a list,
I have never used it.

- Carsten

Thanks Carsten. It does indeed work when expressed like this; clearly I'm again a victim of my own stupidity =)


reply via email to

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