emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Building big document from multiple files
@ 2016-09-20 13:51 Christophe Garion
  0 siblings, 0 replies; only message in thread
From: Christophe Garion @ 2016-09-20 13:51 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have been using Orgmode for several years as a planner/organizer and I
am currently writing lecture notes with Orgmode for the first time. The
lecture notes are splitted into chapters and target different audiences,
so all chapters will be included for some students and selected chapters
for others.

I think the simplest approach is to write an unique file with all
chapters and to put tags on headline to precise which chapter should be
exported for which group of students

# Options for LaTeX export etc.

* Chapter 1      :std1:std2:
* Chapter 2      :std1:

and then to include this file in an org file for each group of
students. For instance, for std1 group:

#+TITLE: My title for std1
#+SELECT_TAGS: std1

#+INCLUDE: "./main_file.org"

With this approach, I can easily export some chapters individually if
I want by setting the EXPORT_TITLE property for each headline.

Following my old LaTeX practises, I was wondering if it is possible to
write one org file per chapter like that (e.g. chapter1.org):

#+TITLE: Chapter title

* Section 1
* Section 2

And then create the lecture notes in the following way:

#+TITLE: Lecture notes title for std1

#+INCLUDE: "./chapter1.org"
#+INCLUDE: "./chapter2.org"

using the TITLE property defined in chapter1.org as section title. For
the moment, the TITLE properties of the chapter are concatenated into
the title of the main file.

Of course, if this idea is stupid, do not hesitate ;)

Best,

Christophe

--
Christophe Garion
GPG: 1982 15B2 64AC 3C34 532D  BF19 6CD6 246C 62DA 5A7F

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-20 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-20 13:51 Building big document from multiple files Christophe Garion

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).