From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry.Liu Subject: Re: How to remove the automatically generated css codes from exported HTML file? Date: Thu, 23 Oct 2008 14:53:01 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1187147288==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KswPJ-0007fN-Ue for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 05:23:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KswPJ-0007es-CE for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 05:23:05 -0400 Received: from [199.232.76.173] (port=41031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KswPI-0007eZ-Vd for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 05:23:05 -0400 Received: from rn-out-0910.google.com ([64.233.170.191]:5944) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KswPI-0002BZ-HQ for emacs-orgmode@gnu.org; Thu, 23 Oct 2008 05:23:04 -0400 Received: by rn-out-0910.google.com with SMTP id k32so95178rnd.7 for ; Thu, 23 Oct 2008 02:23:02 -0700 (PDT) In-Reply-To: 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: Manish Cc: emacs-orgmode@gnu.org --===============1187147288== Content-Type: multipart/alternative; boundary="----=_Part_28599_17572675.1224753781391" ------=_Part_28599_17572675.1224753781391 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, On Thu, Oct 23, 2008 at 11:51 AM, Manish wrote: > This thread might help. > http://thread.gmane.org/gmane.emacs.orgmode/7156 The variable org-export-html-style-extra works fine, customized css contents can be added to the html file, but Org-mode will not remove the automatically generated style codes, what I am wondering is how can I remove the style part added by Org-mode, it will append the follow css definition always. I think it is added by the org-info-js extension, because we can see such name in the style definition below. > > On Thu, Oct 23, 2008 at 10:25 AM, Larry. Liu wrote: > > Hi, > > > > I want to remove the css style codes generated automatically by Org-mode > in > > the exported html file, I have set the variable style for html export and > > itself works fine, but the css definition generated by Org-mode > > automatically doesn't get removed, and it affects the display of exported > > file, how can I remove it? > > > > Thanks :) > > > > -- > > -------------------------------------- > > Larry.Liu > > Mobile: 13911483964 > > --------------------------------------- > -- -------------------------------------- Larry.Liu Mobile: 13911483964 --------------------------------------- ------=_Part_28599_17572675.1224753781391 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

On Thu, Oct 23, 2008 at 11:51 AM, Manish <mailtomanish.sharma@gmail.com> wrote:
This thread might help.
http://thread.gmane.org/gmane.emacs.orgmode/7156

The variable org-export-html-style-extra works fine, customized css contents can be added to the html file, but Org-mode will not remove the automatically generated style codes, what I am wondering is how can I remove the style part added by Org-mode, it will append the follow css definition always. I think it is added by the org-info-js extension, because we can see such name in the style definition below. 
<style type="text/css">
html { font-family: Times, serif; font-size: 12pt; }
.title { text-align: center; }
.todo { color: red; }
.done { color: green; }
.tag { background-color:lightblue; font-weight:normal }
.target { }
.timestamp { color: grey }
.timestamp-kwd { color: CadetBlue }
p.verse { margin-left: 3% }
pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
font-size: 90%;
overflow:auto;
}
table { border-collapse: collapse; }
td, th { vertical-align: top; }
dt { font-weight: bold; }

.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>


On Thu, Oct 23, 2008 at 10:25 AM, Larry. Liu wrote:
>  Hi,
>
> I want to remove the css style codes generated automatically by Org-mode in
> the exported html file, I have set the variable style for html export and
> itself works fine, but the css definition generated by Org-mode
> automatically doesn't get removed, and it affects the display of exported
> file, how can I remove it?
>
> Thanks :)
>
> --
> --------------------------------------
> Larry.Liu
> Mobile: 13911483964
> ---------------------------------------



--
--------------------------------------
Larry.Liu                        
Mobile: 13911483964    
---------------------------------------
------=_Part_28599_17572675.1224753781391-- --===============1187147288== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1187147288==--