From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Lu Subject: About publishing to html Date: Sat, 13 Feb 2010 17:25:38 -0500 Message-ID: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0273124146==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgQR8-00064l-9W for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:26:02 -0500 Received: from [140.186.70.92] (port=50218 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgQR7-00064L-9c for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:26:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgQR6-0006y9-Nl for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:26:01 -0500 Received: from mail-pz0-f186.google.com ([209.85.222.186]:50432) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgQR6-0006y5-Cn for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:26:00 -0500 Received: by pzk16 with SMTP id 16so4234158pzk.14 for ; Sat, 13 Feb 2010 14:25:59 -0800 (PST) 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: emacs-orgmode@gnu.org --===============0273124146== Content-Type: multipart/alternative; boundary=00504502cb1540dba6047f82dec6 --00504502cb1540dba6047f82dec6 Content-Type: text/plain; charset=ISO-8859-1 Dear all, I'm still adjusting the web publishing of org, for I got a little confused about one line: Here is my configuration for publishing: -------- :style " " ----------- But as I published foo.org to foo.html, and check the html file, I found what is actually there is ---- * ONLY This part is in my CONF file * -------------------------------- So where does other part of the style come from, and is it possible to control these styles? All the best, Chao --00504502cb1540dba6047f82dec6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,

I'm still adjusting the web publishing of org, for I g= ot a little confused about one line:

Here is my configuration for pu= blishing:
--------
=A0=A0=A0=A0=A0=A0=A0=A0 :style "
=A0=A0= =A0=A0=A0=A0=A0=A0 <link rel=3D\"icon\" href=3D\"theme/fa= vicon.ico\" type=3D\"image/x-icon\">
=A0=A0=A0=A0=A0=A0=A0=A0 <link rel=3D\"shortcut icon\" href=3D= \"theme/favicon.ico\">
=A0=A0=A0=A0=A0=A0=A0=A0 <link re= l=3D\"stylesheet\" href=3D\"./theme/org.css\"=A0 type= =3D\"text/css\"> </link>
=A0=A0=A0=A0=A0=A0=A0=A0 <script type=3D\"text/javascript\" sr= c=3D\"theme/org-info.js\"></script>
=A0=A0=A0=A0=A0= =A0=A0=A0 "
-----------

But as I published foo.org to foo.html, and check the html file, I found what is= actually there is

----
<style type=3D"text/css">
=A0<!--/*-->= <![CDATA[/*><!--*/
=A0 html { font-family: Times, serif; font-s= ize: 12pt; }
=A0 .title=A0 { text-align: center; }
=A0 .todo=A0=A0 { = color: red; }
=A0 .done=A0=A0 { color: green; }
=A0 .tag=A0=A0=A0 { background-color: = #add8e6; font-weight:normal }
=A0 .target { }
=A0 .timestamp { color:= #bebebe; }
=A0 .timestamp-kwd { color: #5f9ea0; }
=A0 p.verse { marg= in-left: 3% }
=A0 pre {
=A0=A0=A0 border: 1pt solid #AEBDCC;
=A0=A0=A0 background-color: #F3F5F7= ;
=A0=A0=A0 padding: 5pt;
=A0=A0=A0 font-family: courier, monospace;<= br>=A0=A0=A0=A0=A0=A0=A0 font-size: 90%;
=A0=A0=A0=A0=A0=A0=A0 overflow:= auto;
=A0 }
=A0 table { border-collapse: collapse; }
=A0 td, th { vertical-align: top; }
=A0 dt { font-weight: bold; }
=A0= div.figure { padding: 0.5em; }
=A0 div.figure p { text-align: center; }=
=A0 .linenr { font-size:smaller }
=A0 .code-highlighted {background-= color:#ffff00;}
=A0 .org-info-js_info-navigation { border-style:none; }
=A0 #org-info-js= _console-label { font-size:10px; font-weight:bold;
=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 white= -space:nowrap; }
=A0 .org-info-js_search-highlight {background-color:#ff= ff00; color:#000000;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 font-weight:bold; }
=A0 /*]]>*/-->
</s= tyle>
=A0=A0=A0=A0=A0=A0=A0=A0 <link rel=3D"icon" hre= f=3D"theme/favicon.ico" type=3D"image/x-icon">
= =A0=A0=A0=A0=A0=A0=A0=A0 <link rel=3D"shortcut icon" href=3D&q= uot;theme/favicon.ico">

=A0=A0=A0=A0=A0=A0=A0=A0 <link rel=3D"stylesheet" href=3D&= quot;./theme/org.css"=A0 type=3D"text/css"> </link>= =A0=A0=A0 ONLY This part is in my CO= NF file
=A0=A0=A0=A0=A0=A0=A0=A0 <script type=3D"text/jav= ascript" src=3D"theme/org-info.js"></script>
=A0=A0=A0=A0=A0=A0=A0=A0
<script type=3D"text/javascript" = src=3D"http://orgmode.org/o= rg-info.js"></script>
<script type=3D"text/jav= ascript" >
<!--/*--><![CDATA[/*><!--*/
org_html_manager.set("TO= C_DEPTH", "3");
org_html_manager.set("LINK_HOME"= ;, "index.html");
org_html_manager.set("LINK_UP", &q= uot;index.html");
org_html_manager.set("LOCAL_TOC", "0");
org_html_man= ager.set("VIEW_BUTTONS", "0");
org_html_manager.set(= "MOUSE_HINT", "underline");
org_html_manager.set(&qu= ot;FIXED_TOC", "0");
org_html_manager.set("TOC", "0");
org_html_manager.s= et("VIEW", "overview");
org_html_manager.setup();=A0= // activate after the parameters are set
/*]]>*///-->
</scr= ipt>
<script type=3D"text/javascript">
<!--/*--><![C= DATA[/*><!--*/
=A0function CodeHighlightOn(elem, id)
=A0{
= =A0=A0 var target =3D document.getElementById(id);
=A0=A0 if(null !=3D t= arget) {
=A0=A0=A0=A0 elem.cacheClassElem =3D elem.className;
=A0=A0=A0=A0 elem.cacheClassTarget =3D target.className;
=A0=A0=A0=A0 ta= rget.className =3D "code-highlighted";
=A0=A0=A0=A0 elem.class= Name=A0=A0 =3D "code-highlighted";
=A0=A0 }
=A0}
=A0func= tion CodeHighlightOff(elem, id)
=A0{
=A0=A0 var target =3D document.getElementById(id);
=A0=A0 if(elem.cacheC= lassElem)
=A0=A0=A0=A0 elem.className =3D elem.cacheClassElem;
=A0=A0= if(elem.cacheClassTarget)
=A0=A0=A0=A0 target.className =3D elem.cacheC= lassTarget;
=A0}
/*]]>*///-->
</script>
--------------------------------

So where does ot= her part of the style come from, and is it possible to control these styles= ?

All the best,

Chao

--00504502cb1540dba6047f82dec6-- --===============0273124146== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0273124146==--