From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Publishing webs using org Date: Thu, 3 Jul 2008 10:38:26 -0700 Message-ID: <6C58488A-D557-47E1-8AEC-049CF9E7698F@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KESlM-0000i4-La for emacs-orgmode@gnu.org; Thu, 03 Jul 2008 13:38:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KESlL-0000cW-3y for emacs-orgmode@gnu.org; Thu, 03 Jul 2008 13:38:32 -0400 Received: from [199.232.76.173] (port=49634 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KESlK-0000at-Mx for emacs-orgmode@gnu.org; Thu, 03 Jul 2008 13:38:30 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:9385) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KESlJ-0003U5-Ql for emacs-orgmode@gnu.org; Thu, 03 Jul 2008 13:38:30 -0400 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: Richard G Riley Cc: org-mode On Jul 3, 2008, at 6:47 AM, Richard G Riley wrote: > > I have a setup containing something like this: > > (setq org-publish-project-alist > '( > ("cv-text" > :base-directory "~/cv/" > :base-extension "org" > :publishing-directory "/ssh:sr@hermes:~/webs/rr/cv/" > :recursive t > :section-numbers nil > :publishing-function org-publish-org-to-html > :style " href=\"./cv.css\" > type=\"text/css\">" > :table-of-contents t > :auto-preamble t > :auto-postamble t > ) > ("cv-css" > :base-directory "~/cv/" > :base-extension "css" > :publishing-directory "/ssh:sr@hermes:~/webs/rr/cv/" > :publishing-function org-publish-attachment) > ("cv" > :components ("cv-text" "cv-css") > ) > ) > ) > > The only way I could see to have the publish transfer the CSS was to > create a seperate project and publish the cv-text and cv-css as > components of the cv project. This is how it is supposed to work. The CSS etc is only copied and therefore needs a different setup. I find the setup you show quite clean. - Carsten