From mboxrd@z Thu Jan 1 00:00:00 1970 From: pw Subject: css stylesheet Date: Tue, 17 Sep 2013 19:31:16 +0200 Message-ID: <523891E4.3060805@riseup.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------040103000000010501050401" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz7s-0004nU-6G for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 13:31:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLz7m-0007oD-6F for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 13:31:48 -0400 Received: from mx1.riseup.net ([198.252.153.129]:54749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz7l-0007o7-Tt for emacs-orgmode@gnu.org; Tue, 17 Sep 2013 13:31:42 -0400 Received: from fulvetta.riseup.net (fulvetta-pn.riseup.net [10.0.1.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 17C0047F3D for ; Tue, 17 Sep 2013 10:31:41 -0700 (PDT) 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------040103000000010501050401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I want to define the layout of one html file exported from org-mode. I have putted into the org file this lign to appeal the stylesheet : It's works ! But when I look at the html code generated, I can see a bunch of css which I do not want (see below). Why this css code is here and how can I remove it ? pw ------------ --------------040103000000010501050401 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,

I want to define the layout of one html file exported from org-mode. I have putted into the org file this lign to appeal the stylesheet :

<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />


It's works ! But when I look at the html code generated, I can see a bunch of css which I do not want (see below).


Why this css code is here and how can I remove it ?

pw

------------
<style type="text/css">
 <!--/*--><![CDATA[/*><!--*/
  .title  { text-align: center; }
  .todo   { font-family: monospace; color: red; }
  .done   { color: green; }

...

   #org-div-home-and-up
   { text-align: right; font-size: 70%; white-space: nowrap; }
  textarea { overflow-x: auto; }
  .linenr { font-size: smaller }
  .code-highlighted { background-color: #ffff00; }
  .org-info-js_info-navigation { border-style: none; }
  #org-info-js_console-label
    { font-size: 10px; font-weight: bold; white-space: nowrap; }
  .org-info-js_search-highlight
    { background-color: #ffff00; color: #000000; font-weight: bold; }
  /*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />

--------------040103000000010501050401-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: css stylesheet Date: Wed, 18 Sep 2013 09:57:01 +0200 Message-ID: References: <523891E4.3060805@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMCaT-0002Wq-EA for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 03:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMCaL-0005Cm-Be for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 03:54:13 -0400 Received: from mail-forward4.uio.no ([129.240.10.33]:40961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMCaL-00054r-5C for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 03:54:05 -0400 Received: from exim by mail-out4.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1VMCZi-0006YG-7D for emacs-orgmode@gnu.org; Wed, 18 Sep 2013 09:53:26 +0200 In-reply-to: <523891E4.3060805@riseup.net> 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: pw Cc: emacs-orgmode@gnu.org pw writes: > ... when I look at the html code generated, I can see a bunch of css which I do not want (see below). > > > Why this css code is here and how can I remove it ? It's included by default to make nice-looking HTML out of the box. >From the manual: "To turn inclusion of these defaults off, customize `org-html-head-include-default-style' or set `html-style' to `nil' in an `OPTIONS' line." [[info:org#CSS support]] Yours, Christian