From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: org-publish-file Date: Thu, 04 Dec 2008 17:31:15 +0100 Message-ID: <49380605.09a1660a.3268.7984@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8H7a-0001pT-92 for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:32:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8H7X-0001ol-KH for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:32:08 -0500 Received: from [199.232.76.173] (port=38322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8H7X-0001oi-GZ for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:32:07 -0500 Received: from gv-out-0910.google.com ([216.239.58.187]:47001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8H7W-0007hA-Rx for emacs-orgmode@gnu.org; Thu, 04 Dec 2008 11:32:07 -0500 Received: by gv-out-0910.google.com with SMTP id i36so916016gve.17 for ; Thu, 04 Dec 2008 08:32:06 -0800 (PST) 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 If I edit a file in an org web subdirectory and then publish that file it does not get published with the style sheet link content. e.g I have a file index.org in rgr-source/bike and when I publish it the destination rgr-source/bike/index.html does not include the :style as specified in web-org below. When I publish the entire project then the file includes the style. (setq org-publish-project-alist `( ("web-extra" :base-directory ,rgr-source :publishing-directory ,rgr-publish :recursive t :base-extension "gif\\|jpg\\|jpeg\\|png\\|css" :publishing-function org-publish-attachment ) ("web-org" :base-directory ,rgr-source :publishing-directory ,rgr-publish :recursive t :base-extension "org" :publishing-function org-publish-org-to-html :section-numbers nil :style "" :auto-preamble t :auto-postamble t :preamble ,(format "
Back - Home" rgr-home) :postamble "
" :author nil ) ("web" :components("web-org" "web-extra") :base-directory ,rgr-source :publishing-directory ,rgr-publish :recursive t ) ) ) -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970