emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Joon Ro <joon.ro@outlook.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: publishing subtrees
Date: Mon, 9 Jan 2017 20:53:16 -0500	[thread overview]
Message-ID: <CAN_Dec-qFA=AV-xm=+pi-hype96FWjRWmoKJSGN8Ly5z_txDgg@mail.gmail.com> (raw)
In-Reply-To: <CY4PR15MB1622C81A4A681B850CBA74FAEB640@CY4PR15MB1622.namprd15.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]

On Sun, Jan 8, 2017 at 9:48 PM, Joon Ro <joon.ro@outlook.com> 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
>
> <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 ...
> <http://emacs.stackexchange.com/questions/2259/how-to-export-top-level-headings-of-org-mode-buffer-to-separate-files>
> 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

[-- Attachment #2: Type: text/html, Size: 5893 bytes --]

  reply	other threads:[~2017-01-10  1:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-07  3:18 publishing subtrees Matt Price
2017-01-09  2:48 ` Joon Ro
2017-01-10  1:53   ` Matt Price [this message]
2017-01-10  2:10     ` Joon Ro

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-qFA=AV-xm=+pi-hype96FWjRWmoKJSGN8Ly5z_txDgg@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joon.ro@outlook.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).