From: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: merging subtrees (in a syllabus)
Date: Wed, 23 Aug 2017 20:55:09 -0400 [thread overview]
Message-ID: <CAN_Dec_ao5tKPABzQyDaAwofC2=jxV+KEnSmZdaY6+wXNEihrA@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY3nvTpQvE+x4ProUyQFS-JrV+hH+t9vMvBtfv2W-Zno5g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]
On Wed, Aug 23, 2017 at 4:55 PM, Kaushal Modi <kaushal.modi@gmail.com>
wrote:
> On Tue, Aug 22, 2017 at 4:10 PM Matt Price <moptop99@gmail.com> wrote:
>
>> And then I'd run some elisp that mashes them all up together, and give
>> that to the students, since I think that'll make it easier for them to read.
>>
>> Anyone on the list have any ideas?
>>
>
> How about using plain old #+INCLUDE:
>
> Hmm, Interesting. It's not quite as flexible as I'd like -- what I'd most
prefer to do is to move the discussion topics and labs around arbitrarily
and then have org print things out for me nice and cleanly. I'm not sure
but maybe something more like this (ends up being a little ugly with all
the crazy counter macros):
* outline
** Week 1
#+INCLUDE: "~/test.org::#topic1"
#+INCLUDE: "~/test.org::#lab1"
* labs :noexport:
*** lab zero 1
:PROPERTIES:
:CUSTOM_ID: lab{{{n(labs)}}}
:END:
* topics :noexport:
*** topic oh oh one
:PROPERTIES:
:CUSTOM_ID: topic{{{n(topics)}}}
:END:
I'd prefer to have macros in the "Week" headlines and the #+INCLUDE
statements but macros don't expand in INCLUDES, unfortunately. This is OK
but still not super-elegant. Still, definitley better than nothing!
> ----------------------
> I don't have a good idea on how to implement the date thing, but I see
> that others have provided some input.
>
I came up with an acceptable solution, bu it's not very sophisticated --
see the other thread...
> --
>
> Kaushal Modi
>
[-- Attachment #2: Type: text/html, Size: 2992 bytes --]
prev parent reply other threads:[~2017-08-24 0:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-22 20:09 merging subtrees (in a syllabus) Matt Price
2017-08-23 6:25 ` Adam Porter
2017-08-23 20:55 ` Kaushal Modi
2017-08-24 0:55 ` Matt Price [this message]
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='CAN_Dec_ao5tKPABzQyDaAwofC2=jxV+KEnSmZdaY6+wXNEihrA@mail.gmail.com' \
--to=moptop99@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).