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==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: About publishing to html Date: Sat, 13 Feb 2010 23:28:58 +0100 Message-ID: <6E1F4661-20DD-4B3F-BAC2-AA7323BEC47A@gmail.com> References: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgQU4-00073R-IV for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:29:04 -0500 Received: from [140.186.70.92] (port=35583 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgQU3-00073E-TL for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:29:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgQU3-00077n-E4 for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:29:03 -0500 Received: from ey-out-1920.google.com ([74.125.78.145]:32030) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgQU2-00077h-VP for emacs-orgmode@gnu.org; Sat, 13 Feb 2010 17:29:03 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1121612eyg.34 for ; Sat, 13 Feb 2010 14:29:01 -0800 (PST) In-Reply-To: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@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: Chao Lu Cc: emacs-orgmode@gnu.org 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 " > x-icon\"> > > \"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 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==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: About publishing to html Date: Mon, 15 Feb 2010 10:52:20 +0100 Message-ID: <871vgm25d7.fsf@gmx.de> References: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@mail.gmail.com> <6E1F4661-20DD-4B3F-BAC2-AA7323BEC47A@gmail.com> <3cbb63d01002131453s6eb777ddyb7a5197b822ec10b@mail.gmail.com> <3cbb63d01002131458u788afc01l98f2959793249abe@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ngxcv-0002uX-FT for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 04:52:25 -0500 Received: from [140.186.70.92] (port=48773 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ngxcu-0002tW-Is for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 04:52:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ngxcu-0007aw-2Y for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 04:52:24 -0500 Received: from mail.gmx.net ([213.165.64.20]:50905) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ngxct-0007af-J3 for emacs-orgmode@gnu.org; Mon, 15 Feb 2010 04:52:24 -0500 In-Reply-To: <3cbb63d01002131458u788afc01l98f2959793249abe@mail.gmail.com> (Chao Lu's message of "Sat, 13 Feb 2010 17:58:40 -0500") 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: Chao Lu Cc: emacs-orgmode@gnu.org, Carsten Dominik Chao Lu writes: > 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, Hi Chao Lu, mostly, you will want to export a project after changing a file, that is part of that project. C-c C-e P publishes the project, the current buffer is part of. You could as well write a function and bind it to a certain key: (defun chao-lu-publish-project-one() (interactive) (org-publish-project (assoc "projects-name" org-publish-project-alist))) Best wishes Sebastian