From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Proposal: references from code to text. Date: Fri, 15 Jun 2018 14:44:36 -0700 Message-ID: References: <800808596.465327.1526131788117.ref@mail.yahoo.com> <800808596.465327.1526131788117@mail.yahoo.com> <871seebxdt.fsf@gmail.com> <385386647.1304827.1526359774932@mail.yahoo.com> <87wow5s0a4.fsf@gmail.com> <408787171.1793110.1526454275347@mail.yahoo.com> <458799504.2216018.1526525935772@mail.yahoo.com> <388335780.2274568.1526549597201@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005279d2056eb51f02" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTwWO-0003SH-3o for emacs-orgmode@gnu.org; Fri, 15 Jun 2018 17:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTwWN-0008Kk-1I for emacs-orgmode@gnu.org; Fri, 15 Jun 2018 17:44:40 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:34422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTwWM-0008KC-MR for emacs-orgmode@gnu.org; Fri, 15 Jun 2018 17:44:38 -0400 Received: by mail-wm0-x22e.google.com with SMTP id l15-v6so8087879wmc.1 for ; Fri, 15 Jun 2018 14:44:38 -0700 (PDT) In-Reply-To: <388335780.2274568.1526549597201@mail.yahoo.com> 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" To: "ZHUO QL (KDr2)" Cc: Eric S Fraga , Emacs-org List --0000000000005279d2056eb51f02 Content-Type: text/plain; charset="UTF-8" Cool! I was inspired by this to try it with Python doctests. Check out the result here: http://kitchingroup.cheme.cmu.edu/blog/2018/05/17/ Literate-programming-with-python-doctests/ Note: I thought I had sent this email before, but it appeared as a draft just now, so I am just sending it again. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, May 17, 2018 at 2:33 AM, ZHUO QL (KDr2) wrote: > Thanks, that works perfectly. I made a simple summary of this thread on my > site: http://kdr2.com/tech/emacs/1805-approach-org-ref-code-to-text.html > > > Greetings. > > ZHUO QL (KDr2, http://kdr2.com) > > > > On Thursday, May 17, 2018, 11:11:39 AM GMT+8, John Kitchin < > jkitchin@andrew.cmu.edu> wrote: > > > I believe you can do that with the Library of Babel ( > https://orgmode.org/worg/org-contrib/babel/library-of-babel.html) > > John > > ----------------------------------- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > --0000000000005279d2056eb51f02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Cool! I was inspired by this to try it with Python doctest= s. Check out the result here:=C2=A0http://kitchingroup.cheme.cmu.edu/blog/2018/05/17/Literat= e-programming-with-python-doctests/

Note: I tho= ught I had sent this email before, but it appeared as a draft just now, so = I am just sending it again.

John

-------------------= ----------------
Professor John Kitchin=C2=A0
Doherty Hall A207F
D= epartment of Chemical Engineering
Carnegie Mellon University
Pittsbur= gh, PA 15213
412-268-7803

On Thu, May 17, 2018 at 2:33 AM, ZHUO QL (KD= r2) <zhuoql@yahoo.com> wrote:
Thanks, that works perfectly. I made a simple su= mmary of this thread on my site:=C2=A0http://kdr2.com/tech/emacs/1805-approach-org-ref-code-to-text.h= tml


Greetings.

ZHUO QL (KDr2, http://= kdr2.com)



=20
=20
On Thursday, May 17, 2018, 11:11:39 AM GMT+8, John= Kitchin <j= kitchin@andrew.cmu.edu> wrote:


I believe you can do that with the Library of= Babel (https://orgmode= .org/worg/org-contrib/babel/library-of-babel.html)

John

-----------------------------------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Engineering
Carnegi= e Mellon University
Pittsburgh, PA 15213
412-268-7803

--0000000000005279d2056eb51f02--