From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Branigan Subject: Using noweb with org-mode source Date: Wed, 5 Jan 2011 14:29:24 -0330 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1219218993==" Return-path: Received: from [140.186.70.92] (port=52407 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaXdv-0007O8-Lf for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 12:59:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaXdu-00038M-NY for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 12:59:27 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaXdu-00037y-Gz for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 12:59:26 -0500 Received: by eyh6 with SMTP id 6so3755315eyh.0 for ; Wed, 05 Jan 2011 09:59:25 -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 --===============1219218993== Content-Type: multipart/alternative; boundary=0016364d1e1141844f04991d256b --0016364d1e1141844f04991d256b Content-Type: text/plain; charset=ISO-8859-1 In making up lecture and teaching materials, I would find it useful to be able to use noweb references to replicate blocks of org-mode text directly, rather than source code from latex or another language. But org-mode isn't one of the babel-supported languages. Can anyone suggest a tricky way to achieve this result? What I have in mind is something like the following: * One section, exported to a particular document #+srcname: primates #+begin_src org-mode - chimps :: strong, smart and savage - bonobos :: less savage, sexy, smart - orangutans :: kinda asocial, with big arms - gorillas :: really strong, but shy #+end_src Lots of text here. * Another section, exported to a different document Let's review what we know about the primate group. <> -- Phil Branigan --0016364d1e1141844f04991d256b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In making up lecture and teaching materials, I would find it useful to be a= ble to use noweb references to replicate blocks of org-mode text directly, = rather than source code from latex or another language. =A0But org-mode isn= 't one of the babel-supported languages. =A0Can anyone suggest a tricky= way to achieve this result?

What I have in mind is something like the following:

* One section, exported to a particular document

#+srcname: primates
#+begin_src org-mode
=A0=A0- chimps :: strong, smart and savage
=A0=A0- bonobos := : less savage, sexy, smart
=A0=A0- orangutans :: kinda asocial, w= ith big arms
=A0=A0- gorillas :: really strong, but shy
#+end_src

Lots of text here.

* Another sectio= n, exported to a different document

Let's revi= ew what we know about the primate group.

<<p= rimates>>


--
Phil Branigan

--0016364d1e1141844f04991d256b-- --===============1219218993== 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 --===============1219218993==--