From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Klein" Subject: Re: CSS and Publishing to HTML Tutorial Date: Fri, 09 Jul 2010 17:00:54 +0200 Message-ID: References: <201007081948.12773.ahcnz@ihug.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=36362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXF4y-00029z-M9 for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 11:01:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXF4b-0005qc-4X for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 11:01:06 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:63750) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXF4a-0005qC-Ou for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 11:01:05 -0400 In-Reply-To: <201007081948.12773.ahcnz@ihug.co.nz> 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: Adam , emacs-orgmode@gnu.org Hi Adam, On Thu, 08 Jul 2010 09:48:11 +0200, Adam wrote: > #+STYLE: > > or even > > # STYLE: > > 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 "" 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