emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using noweb with org-mode source
@ 2011-01-05 17:59 Phil Branigan
  2011-01-05 19:58 ` suvayu ali
  2011-01-05 20:17 ` Christian Moe
  0 siblings, 2 replies; 6+ messages in thread
From: Phil Branigan @ 2011-01-05 17:59 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]

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.

<<primates>>


-- 
Phil Branigan

[-- Attachment #1.2: Type: text/html, Size: 1114 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-06  7:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 17:59 Using noweb with org-mode source Phil Branigan
2011-01-05 19:58 ` suvayu ali
2011-01-05 20:17 ` Christian Moe
2011-01-06  0:08   ` Phil Branigan
2011-01-06  6:24   ` Eric Schulte
2011-01-06  7:59     ` Christian Moe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).