From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: New exporter and publishing to HTML with styles Date: Sun, 07 Apr 2013 17:42:31 -0400 Message-ID: <87zjxanhko.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOxML-0000zE-L0 for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOxMG-0000UB-SR for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:42:45 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:53703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOxMG-0000T6-Ow for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 17:42:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi Nicolas, I'm playing with the new exporter and publishing. Everything seems to be good except my style sheet details are missing. There are :style entries in my org-publish-project-alist which seem to be ignored -- there are no style details in the published HTML file (see http://norang.ca/tmp/org-mode.html) I'm publishing my org-mode.org page to a temporary location to see if it is working as expected before updating the main site. The stylesheet I want is specified with :style "" but I don't get any style information in the resulting published file. Is this supposed to work or do I need to add #+HTML_HEAD to each file with the stylesheet information? I'd prefer to set it only once for the publishing location if possible (as it worked with the old publishing system) Thanks, Bernt The following was shortened to only the tmp publishing location settings. --8<---------------cut here---------------start------------->8--- (setq org-publish-project-alist ; ; http://www.norang.ca/ (norang website) ; norang-org are the org-files that generate the content ; norang-extra are images and css files that need to be included ; norang is the top-level project that gets published (quote (("tmp-org" :base-directory "/tmp/publish/" :publishing-directory "/ssh:www-data@www:~/www.norang.ca/htdocs/tmp" :recursive t :section-numbers nil :table-of-contents nil :base-extension "org" :publishing-function (org-html-publish-to-html org-org-publish-to-org) :style "" :plain-source t :htmlized-source t :style-include-default nil :auto-sitemap t :sitemap-filename "index.html" :sitemap-title "Test Publishing Area" :sitemap-style "tree" :author-info t :creator-info t) ("tmp-extra" :base-directory "/tmp/publish/" :publishing-directory "/ssh:www-data@www:~/www.norang.ca/htdocs/tmp" :base-extension "css\\|pdf\\|png\\|jpg\\|gif" :publishing-function org-publish-attachment :recursive t :author nil) ("tmp" :components ("tmp-org" "tmp-extra")))))--8<---------------cut here---------------end--------------->8---