emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] publishing subtrees


From: Matt Price
Subject: Re: [O] publishing subtrees
Date: Mon, 9 Jan 2017 20:53:16 -0500



On Sun, Jan 8, 2017 at 9:48 PM, Joon Ro <address@hidden> wrote:

> In my course repositories, I have all my lecture notes in one file, and all my assignments in another.  So they have the form

> * Lecture 1
> ** Slide 1
> ** Slide 2
> * Lecture 2 ...
> * Assignment 1
> ** Description
> ** Rubric
> * Assignment 2...
> I'd like to have publishing functions that, say, export all first-level headings to html with ox-reveal, and uploads those to a location on the web. Or, alternatively, export them all to org in a remote location ,where they can be viewed on github or using jeyll or something.  
> Is anyone doing something like this already? Is it possible using hte built-in publishing functions? 

I do pretty much the same thing for my course contents. I think the following is relevant to what you want:

http://emacs.stackexchange.com/questions/2259/how-to-export-top-level-headings-of-org-mode-buffer-to-separate-files
How can each top-level heading of an org-mode buffer be exported to a separate file named after the value of the corresponding CUSTOM_ID + (sanitized) title?


Best Regards,
Joon

thank you, Joon, that is extremely helpful.  Do you have a publishing setup in which you use this function? It looks like it would have to be rewritten somewhat to accept the parameters (plist filename pub-dir); I am either too tired or twoo stupid (or both! ) figure it out quickly, so if you have it done already I would be very grateful to see it. 

Thank you!
Matt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]