Hi Adam,

On Thu, 08 Jul 2010 09:48:11 +0200, Adam <ah...@ihug.co.nz> wrote:

#+STYLE: <link rel="stylesheet" type="text/css"  href="../ssheet1.css" />

or even

# STYLE: <link rel="stylesheet" type="text/css"  href="../ssheet1.css" />

doing a view source of the HTML published page, shows that it includes
the java stuff of org-export-html-style-export, shown below. I feel my
defined CSS is being somehow compromised.



I also use a style of my own (and parts of the org-mode standard
style copied into my style sheet). To avoid the inclusion of the
org-mode style and javascript I put two additional settings into
the project lists /notes/ component:

   :style-include-default nil ; don't include org-modes style sheet
   :style-include-scripts nil ; don't include org-modes javascript

Additionally I put my style right behind those lines, but I don't
think it matters if it is there or in the org file:
:style "<link rel=\"stylesheet\" href=\"example.css\" type=\"text/css\">"


For example, I put those tho lines into your quoted configuration:

org-publish-project-alist

(("org-notes" :base-directory "C:\\Adamstuff\\webp\\org\\"

   :style-include-default nil ; don't include org-modes style sheet
   :style-include-scripts nil ; don't include org-modes javascript

:base-extension
"org" :publishing-directory "C:\\Adamstuff\\webp\\public_html\\" :recursive
t :publishing-function org-publish-org-to-html :headline-levels ...)
("org-static" :base-directory "C:\\Adamstuff\\webp\\org\\" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory
"C:\\Adamstuff\\webp\\public_html\\" :recursive t :publishing-function
org-publish-attachment) ("org" :components ("org-notes" "org-static")))


Best regards
Robert

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to