all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tangling include files
@ 2016-11-23  8:24 Harry Butterworth
  2016-11-23  9:47 ` Marco Wahl
  0 siblings, 1 reply; 6+ messages in thread
From: Harry Butterworth @ 2016-11-23  8:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

Hi Folks,

    I am attempting to switch from FunnelWeb to Org for literate
programming.  I'm stuck because I can't work out how to include .org files
and then tangle everything.  A tangle in the top level file only seems to
tangle the contents of that file and not the contents of the included files.

    I did find something on this topic in a mailing list from several years
back but the workaround posted there seems to be out of date.

    I don't want to put all my source code into one big .org file.  With
FunnelWeb, I would organize source code for public classes into an
interface file and an implementation file and private classes into a single
file so the resulting document could have a section documenting the public
API followed by the implementation.

So the top level document would end up something like this:

include X_int
include Y_int
include Z_int
include X
include Y
include Z
include P
include Q
include R

It looks to me like there have been some changes around the implementation
of INCLUDE in Org, I'm wondering if tangling include files is now supported
and if so, how to do it.

My installed Org version is 8.2.4 but obviously I'll upgrade if necessary.

Thanks

Harry

[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

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

end of thread, other threads:[~2016-11-24 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23  8:24 Tangling include files Harry Butterworth
2016-11-23  9:47 ` Marco Wahl
2016-11-24  4:00   ` Harry Butterworth
2016-11-24  5:22     ` Charles C. Berry
2016-11-24  9:00       ` Robert Klein
2016-11-24 17:56         ` Charles C. Berry

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.