From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: publishing subtrees Date: Mon, 9 Jan 2017 20:53:16 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f222c7464730545b3bfa6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQlcm-0006YP-VA for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 20:53:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQlcl-00035f-QB for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 20:53:21 -0500 Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:35834) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQlcl-00035R-KK for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 20:53:19 -0500 Received: by mail-io0-x22d.google.com with SMTP id j18so48033264ioe.2 for ; Mon, 09 Jan 2017 17:53:17 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Joon Ro Cc: Org Mode --001a113f222c7464730545b3bfa6 Content-Type: text/plain; charset=UTF-8 On Sun, Jan 8, 2017 at 9:48 PM, Joon Ro 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 > > > elisp - How to export top-level headings of org-mode ... > > emacs.stackexchange.com > 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 --001a113f222c7464730545b3bfa6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Jan 8, 2017 at 9:48 PM, Joon Ro <joon.ro@outlook.com&g= t; wrote:

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

>=C2=A0
> * Lecture 1
> ** Slide 1
> ** Slide 2
> * Lecture 2 ...
>=C2=A0
> * Assignment 1
> ** Description
> ** Rubric
> * Assignment 2...
>=C2=A0
> I'd like to have publishing functions that, say, export all f= irst-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. =C2=A0
>=C2=A0
> Is anyone doing something like this already? Is it possible using= hte built-in publishing functions?=C2=A0

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

Best Regards,
Joon


--001a113f222c7464730545b3bfa6--