From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris wallace" Subject: Re: Re: [David O'Toole] Fwd: Re: org-publish future ? Date: Wed, 7 Jun 2006 15:00:58 +0000 Message-ID: <9bcdfad70606070800q5eb3a769o29e7ebb49eeb99ad@mail.gmail.com> References: <5a66e8bc561ad58f8ec11eb9d01b2e97@science.uva.nl> <87wtbutmnt.fsf@tuxtanker.mwolson.org> <87k67utklm.fsf@tuxtanker.mwolson.org> <9bcdfad70606060901q52c0097fgde12d5d6ffcf83e9@mail.gmail.com> <9bcdfad70606060902i30c11ecav99a21966a6fc14cf@mail.gmail.com> <33a44a817ed2058827091b0a638872e2@science.uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0110836266==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnzWo-00059e-Um for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 11:01:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnzWm-00058N-4K for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 11:01:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnzWm-00058J-1F for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 11:01:00 -0400 Received: from [64.233.184.229] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnzeO-0004nV-2x for emacs-orgmode@gnu.org; Wed, 07 Jun 2006 11:08:52 -0400 Received: by wr-out-0506.google.com with SMTP id i11so454945wra for ; Wed, 07 Jun 2006 08:00:59 -0700 (PDT) In-Reply-To: <33a44a817ed2058827091b0a638872e2@science.uva.nl> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org --===============0110836266== Content-Type: multipart/alternative; boundary="----=_Part_2721_29943958.1149692458271" ------=_Part_2721_29943958.1149692458271 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 07/06/06, Carsten Dominik wrote: > > > On Jun 6, 2006, at 18:02, Chris wallace wrote: > > > > > PS. On the subject of org-publish (sort of), one of the things I like > > most about org-mode is that I can have Readme.org files scattered over > > a number of directories and have them all included in the agenda. > > However, org-publish assumes all org files for a single project reside > > in a single directory. I wonder if I am the only one who has several > > directories per project? > > I think you can already use the :include parameter to do this - at > least I hope that you can give absolute path names there. If not, i > would consider this a bug. So either this is a bug or I'm mis-using the :include parameter. I have org-publish-project-alist set as follows: org-publish-project-alist is a variable defined in `org-publish.el'. Its value is (("bright" :base-directory "~/bright" :base-extension "org" :include ("/home/chris/bright/chr5/cng/Readme.org" "/home/chris/bright/chr5/phase2/Readme.org") :publishing-directory "~/public_html/org" :with-section-numbers nil :table-of-contents t :style "")) When I do M-x org-publish bright the *.org files in ~/bright are published, but the included files are not. I also tried with filenames relative to ~/public/org; same result. How should I be setting :include? This is with org v. 4.36, org-publish v. 1.70, emacs v. 22.0.50.2 Chris. - Carsten > > ------=_Part_2721_29943958.1149692458271 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 07/06/06, Carsten Dominik <dominik@science.uva.nl> wrote:

On Jun 6, 2006, at 18:02, Chris wallace wrote:

>
> PS. On the subject of org-publish (sort of), one of the things I like
> most about org-mode is that I can have Readme.org files scattered over
> a number of directories and have them all included in the agenda.
> However, org-publish assumes all org files for a single project reside
> in a single directory. I wonder if I am the only one who has several
> directories per project?

I think you can already use the :include parameter to do this - at
least I hope that you can give absolute path names there.  If not, i
would consider this a bug.

So either this is a bug or I'm mis-using the :include parameter.  I have org-publish-project-alist set as follows:

org-publish-project-alist is a variable defined in `org-publish.el'.
Its value is
(("bright" :base-directory "~/bright"
  :base-extension "org"
  :include ("/home/chris/bright/chr5/cng/Readme.org" "/home/chris/bright/chr5/phase2/Readme.org")
  :publishing-directory "~/public_html/org"
  :with-section-numbers nil
  :table-of-contents t
  :style "<link rel=stylesheet href=\"/~chris/styles/wiki-style.css\" type=\"text/css\">"))

When I do M-x org-publish bright the *.org files in ~/bright are published, but the included files are not.  I also tried with filenames relative to ~/public/org; same result.  How should I be setting :include?

This is with org v. 4.36, org-publish v. 1.70, emacs v. 22.0.50.2

Chris.

 

- Carsten


------=_Part_2721_29943958.1149692458271-- --===============0110836266== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0110836266==--