emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: Grant Rettke <gcr@wisdomandwonder.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: A Babel block to #+INCLUDE all .org files of a directory
Date: Sat, 30 Aug 2014 22:39:40 +0200	[thread overview]
Message-ID: <84ha0tbtkj.fsf@gmail.com> (raw)
In-Reply-To: CAAjq1mex+=wprV4WOYUgZnJE-gQVJDXRM5hJT4YOSFrseaFZig@mail.gmail.com

Hello,

Grant Rettke <gcr@wisdomandwonder.com> writes:
> May you please discuss your use case that motivated this code?

  typical usage scenarios could be:

  1) write a book of many chapters, one main.org file
     and many second-level .org files, one file per chapter,
     and you don't want to manually write all the #INCLUDEs:

      main.org
	chapter01-the-intro.org
	chapter02-another-day-another-story.org
	chapter03-bad-day-emacs-froze-again.org
	...
	chapter47-end.org

  2) write some reference manual (example: my_c_manual.org)
     that includes many .org files, every one of them shows usage
     and examples of a language keyword or library function:

      my_reference_manual.org
	abs.org
	...
	printf.org
	strcpy.org

  Thanks to everyone for whatever feedback, kindest regards.

  Andrea

  reply	other threads:[~2014-08-30 20:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-30 15:50 A Babel block to #+INCLUDE all .org files of a directory Andrea Rossetti
2014-08-30 16:14 ` Grant Rettke
2014-08-30 20:39   ` Andrea Rossetti [this message]
2014-08-30 21:31     ` Andrea Rossetti
2014-09-01 21:09 ` Andrea Rossetti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84ha0tbtkj.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gcr@wisdomandwonder.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).