From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Dynsite: easier configuration of projects, with config.or instead of emacs lisp and dynamic relative paths Date: Tue, 15 Oct 2013 08:47:29 -0400 Message-ID: References: <86zjqb9cz2.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5305135d000f004e8c6fc07 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW428-0008P2-G9 for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 08:47:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW426-0008Ug-Su for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 08:47:32 -0400 Received: from mail-pd0-x22d.google.com ([2607:f8b0:400e:c02::22d]:44790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW426-0008UW-KY for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 08:47:30 -0400 Received: by mail-pd0-f173.google.com with SMTP id p10so8798310pdj.4 for ; Tue, 15 Oct 2013 05:47:29 -0700 (PDT) In-Reply-To: <86zjqb9cz2.fsf@somewhere.org> 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: Sebastien Vauban Cc: "emacs-orgmode@gnu.org" --bcaec5305135d000f004e8c6fc07 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Oct 15, 2013 at 4:04 AM, Sebastien Vauban wrote: > > That is a nice feature I had forgotten about! When I export your snippet to html I get this:

This file was exported on .

The answer to 2 + 3 is .

Is there some trick to make them evaluate? Probably I have set a variable in org-mode to not evaluate code on export, because I usually do not want that. I could type C-cC-c on the src, which puts the result next to it like =5=, which then is exported to the html. The links are clickable, show the output in the minibuffer, and are evaluated at export time. These are two slightly different ways to solve the problem. Also, you could do fancier things with the filter approach like make tooltips with the original code snippet, etc... John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu --bcaec5305135d000f004e8c6fc07 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

= On Tue, Oct 15, 2013 at 4:04 AM, Sebastien Vauban <sva-news@mygoogle= st.com> wrote:


That is a nice feat= ure I had forgotten about!

When I e= xport your snippet to html I get this:
<p>
This file was export= ed on .
</p>

<p>
The answer to 2 + 3 is .</p>
</d= iv>

Is there some trick to make = them evaluate? Probably I have set a variable in org-mode to not evaluate c= ode on export, because I usually do not want that.

I cou= ld type C-cC-c on the src, which puts the result next to it like =3D5=3D, w= hich then is exported to the html.

= The links are clickable, show the output in the minibuffer, and are evaluat= ed at export time.=A0 These are two slightly different ways to solve the pr= oblem. Also, you could do fancier things with the filter approach like make= tooltips with the original code snippet, etc...

John

-------= ----------------------------
John Kitchin
Associate Professor
Dohe= rty Hall A207F
Department of Chemical Engineering
Carnegie Mellon Uni= versity
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

<= /div>
--bcaec5305135d000f004e8c6fc07--