From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Lu Subject: Re: About publishing to html Date: Sat, 13 Feb 2010 17:58:40 -0500 Message-ID: <3cbb63d01002131458u788afc01l98f2959793249abe@mail.gmail.com> References: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@mail.gmail.com> <6E1F4661-20DD-4B3F-BAC2-AA7323BEC47A@gmail.com> <3cbb63d01002131453s6eb777ddyb7a5197b822ec10b@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1262458311==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgQx5-00063H-8L for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:59:03 -0500 Received: from [140.186.70.92] (port=51087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgQx4-000630-Ax for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:59:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgQx3-0000I1-KA for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:59:02 -0500 Received: from mail-px0-f193.google.com ([209.85.216.193]:47474) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgQx3-0000Hv-7M for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:59:01 -0500 Received: by pxi31 with SMTP id 31so2567934pxi.6 for ; Sat, 13 Feb 2010 14:59:00 -0800 (PST) In-Reply-To: <3cbb63d01002131453s6eb777ddyb7a5197b822ec10b@mail.gmail.com> 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 Cc: Carsten Dominik --===============1262458311== Content-Type: multipart/alternative; boundary=001636e0a591636445047f8354d2 --001636e0a591636445047f8354d2 Content-Type: text/plain; charset=ISO-8859-1 Hey, Another question is, when I publish, I call org-publish, then org prompt me several project, I have to choose, how could I configure to directly publish to certain project? like: (global-set-key (kbd " ") '*org-publish-directly to some project*) Best, Chao On Sat, Feb 13, 2010 at 5:53 PM, Chao Lu wrote: > Hey Carsten, > > I have read the link you gave, but still confusing... > > For example, I guess org automatically generate > > > > how could I tell it not to do this? > > Thanks, > > Chao > > > On Sat, Feb 13, 2010 at 5:28 PM, Carsten Dominik < > carsten.dominik@gmail.com> wrote: > >> Hi Chao, >> >> this is all coverend in the relevant section of the manual: >> >> http://orgmode.org/manual/CSS-support.html#CSS-support >> >> - Carsten >> >> >> On Feb 13, 2010, at 11:25 PM, Chao Lu wrote: >> >> 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 " >>> >> type=\"image/x-icon\"> >>> >>> >> type=\"text/css\"> >>> >>> " >>> ----------- >>> >>> 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 >>> >>> _______________________________________________ >>> 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 >>> >> >> - Carsten >> >> >> >> > --001636e0a591636445047f8354d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey,

Another question is, when I publish, I call org-publish, then o= rg prompt me several project, I have to choose, how could I configure to di= rectly publish to certain project?

like:
(global-set-key (kbd &qu= ot;<f6> <f6>") 'org-publish-directly to some projec= t)

Best,

Chao

On Sat, Feb 13, 201= 0 at 5:53 PM, Chao Lu <loochao@gmail.com> wrote:
Hey Carsten,

I have read the link you gave, but still confusing...
For example, I guess org automatically generate

<script type=3D"text/javascript" src=3D"http://orgmode.org/org-inf= o.js"></script>

how could I tell it not to do this?

Thanks,

Chao


On Sat, Feb 13, 2010 at 5:28 PM, Carsten Dominik <carsten.dominik@gmail.com> wrote:
Hi Chao,

this is all coverend in the relevant section of the manual:

http://orgmode.org/manual/CSS-support.html#CSS-support

- Carsten


On Feb 13, 2010, at 11:25 PM, Chao Lu wrote:

=
Dear all,

I'm still adjusting the web publishing of org, for I got a little confu= sed about one line:

Here is my configuration for publishing:
--------
=A0 =A0 =A0 =A0 :style "
=A0 =A0 =A0 =A0 <link rel=3D\"icon\" href=3D\"theme/favi= con.ico\" type=3D\"image/x-icon\">
=A0 =A0 =A0 =A0 <link rel=3D\"shortcut icon\" href=3D\"t= heme/favicon.ico\">
=A0 =A0 =A0 =A0 <link rel=3D\"stylesheet\" href=3D\"./th= eme/org.css\" =A0type=3D\"text/css\"> </link>
=A0 =A0 =A0 =A0 <script type=3D\"text/javascript\" src=3D\&qu= ot;theme/org-info.js\"></script>
=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[/*><!--*/
=A0html { font-family: Times, serif; font-size: 12pt; }
=A0.title =A0{ text-align: center; }
=A0.todo =A0 { color: red; }
=A0.done =A0 { color: green; }
=A0.tag =A0 =A0{ background-color: #add8e6; font-weight:normal }
=A0.target { }
=A0.timestamp { color: #bebebe; }
=A0.timestamp-kwd { color: #5f9ea0; }
=A0p.verse { margin-left: 3% }
=A0pre {
=A0 =A0border: 1pt solid #AEBDCC;
=A0 =A0background-color: #F3F5F7;
=A0 =A0padding: 5pt;
=A0 =A0font-family: courier, monospace;
=A0 =A0 =A0 =A0font-size: 90%;
=A0 =A0 =A0 =A0overflow:auto;
=A0}
=A0table { border-collapse: collapse; }
=A0td, th { vertical-align: top; }
=A0dt { font-weight: bold; }
=A0div.figure { padding: 0.5em; }
=A0div.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 white-space:no= wrap; }
=A0.org-info-js_search-highlight {background-color:#ffff00; color:#000000;=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 font-weigh= t:bold; }
=A0/*]]>*/-->
</style>
=A0 =A0 =A0 =A0 <link rel=3D"icon" href=3D"theme/favicon= .ico" type=3D"image/x-icon">
=A0 =A0 =A0 =A0 <link rel=3D"shortcut icon" href=3D"them= e/favicon.ico">

=A0 =A0 =A0 =A0 <link rel=3D"stylesheet" href=3D"./theme= /org.css" =A0type=3D"text/css"> </link> =A0 =A0ONLY= This part is in my CONF file
=A0 =A0 =A0 =A0 <script type=3D"text/javascript" src=3D"= theme/org-info.js"></script>

<script type=3D"text/javascript" src=3D"http://orgmode.org/org-info.js&quo= t;></script>
<script type=3D"text/javascript" >
<!--/*--><![CDATA[/*><!--*/
org_html_manager.set("TOC_DEPTH", "3");
org_html_manager.set("LINK_HOME", "index.html");
org_html_manager.set("LINK_UP", "index.html");
org_html_manager.set("LOCAL_TOC", "0");
org_html_manager.set("VIEW_BUTTONS", "0");
org_html_manager.set("MOUSE_HINT", "underline");
org_html_manager.set("FIXED_TOC", "0");
org_html_manager.set("TOC", "0");
org_html_manager.set("VIEW", "overview");
org_html_manager.setup(); =A0// activate after the parameters are set
/*]]>*///-->
</script>
<script type=3D"text/javascript">
<!--/*--><![CDATA[/*><!--*/
=A0function CodeHighlightOn(elem, id)
=A0{
=A0 var target =3D document.getElementById(id);
=A0 if(null !=3D target) {
=A0 =A0 elem.cacheClassElem =3D elem.className;
=A0 =A0 elem.cacheClassTarget =3D target.className;
=A0 =A0 target.className =3D "code-highlighted";
=A0 =A0 elem.className =A0 =3D "code-highlighted";
=A0 }
=A0}
=A0function CodeHighlightOff(elem, id)
=A0{
=A0 var target =3D document.getElementById(id);
=A0 if(elem.cacheClassElem)
=A0 =A0 elem.className =3D elem.cacheClassElem;
=A0 if(elem.cacheClassTarget)
=A0 =A0 target.className =3D elem.cacheClassTarget;
=A0}
/*]]>*///-->
</script>
--------------------------------

So where does other part of the style come from, and is it possible to cont= rol these styles?

All the best,

Chao

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

- Carsten





--001636e0a591636445047f8354d2-- --===============1262458311== 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 --===============1262458311==--