My project setup:


(setq org-publish-project-alist
      '(
        ;; ... add all the components here (see below)... 

;;("inherit-styles-and-js"
;; :base-directory "~/org/new-site/"
;; :recursive t
;; :base-extenstion "css\\|js"
;; :publishing-directory "~/public_html/new-site/"
;; :publishing-function org-publish-attachment
;; )

        ("org-notes"
         :base-directory "~/org/new-site/"
         :base-extension "org"
:section-numbers nil
         :publishing-directory "~/public_html/new-site/"
         :recursive t
         :publishing-function org-html-publish-to-html
         :headline-levels 4             ; Just the default for this project.
         :auto-preamble t
         )

        ("org-static"
         :base-directory "~/org/new-site/"
         :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
         :publishing-directory "~/public_html/new-site/"
         :recursive t
         :publishing-function org-publish-attachment
         )

        ("org" :components ("org-notes" "org-static"))

        ))


I have the following in a template file:


#+DATE: <2013-08-09 Fri>
#+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline
#+OPTIONS: author:t c:nil creator:comment d:nil date:t e:t email:nil
#+OPTIONS: f:t inline:t num:nil p:nil pri:nil stat:t tags:not-in-toc
#+OPTIONS: tasks:t tex:t timestamp:t toc:t todo:t |:t
#+CREATOR: Emacs 23.4.1 (Org mode 8.0.7)
#+DESCRIPTION:
#+EXCLUDE_TAGS: noexport
#+KEYWORDS:
#+LANGUAGE: en
#+SELECT_TAGS: export
#+OPTIONS: html-link-use-abs-url:nil html-postamble:auto
#+OPTIONS: html-preamble:t html-scripts:t html-style:t
#+OPTIONS: html5-fancy:nil tex:t
#+CREATOR: <a href="http://www.gnu.org/software/emacs/">Emacs</a> 23.4.1 (<a href="http://orgmode.org">Org</a> mode 8.0.7)
#+HTML_CONTAINER: div
#+HTML_DOCTYPE: xhtml-strict
#+HTML_HEAD:
#+HTML_HEAD_EXTRA:
#+HTML_LINK_HOME:
#+HTML_LINK_UP:
#+HTML_MATHJAX:
#+INFOJS_OPT:
#+STYLE: <link rel="stylesheet" type="text/css" href="css/worg.css" />



and in my index.org file I do:

#+SETUPFILE: ~/Env/emacs/_org-templates/level-0.org


Yet when I publish the project,  although the stylesheet gets copied to the right place, it is not getting used in the generated index.html.  It is using org-info.js instead.  I am following the tutorial for publishing that is in the Worg.

I am using Orgmode 8.0.3 and the behaviour is also exhibited in the latest from git.  


Any pointers on what I'm doing wrong or have missed ? 


cheers,

     mehul

--
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com