Re: Splitting large org file into smaller ones

2020-05-31 Thread John Kitchin
This seems like an important thing to get right, so I would hesitate to do this very automatically. I would write a function that does what you want, maybe like this: #+BEGIN_SRC emacs-lisp (defun subtree-to-file () (interactive) (org-narrow-to-subtree) (goto-char (point-min)) (let* ((hea

Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Thanks Bill > On May 30, 2020, at 11:36 AM, William Denton wrote: > > On 30 May 2020, Marvin M. Doyley wrote: > >> How do I export the subtree to separate org files, say >> >> - Candidate-a.org >>

Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Cool! I will try this too Thanks Cheers, M > On May 30, 2020, at 6:23 PM, Diego Zamboni wrote: > > Hi Marvin, > > I replied to a similar question some time ago, here's my answer (with > updated links since the files have changed in the meantime): > > I do something similar in my ox-leanpub-b

Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Hi Marcin, I appreciate this, I will give it a go. Thanks, M > On May 30, 2020, at 9:13 AM, Marcin Borkowski wrote: > > > On 2020-05-30, at 11:51, Marvin M. Doyley wrote: > >> Hi there, >> >> Is there an efficient way to split a large org file into smaller ones? > > I do not know about "e

Re: Splitting large org file into smaller ones

2020-05-30 Thread Diego Zamboni
Hi Marvin, I replied to a similar question some time ago, here's my answer (with updated links since the files have changed in the meantime): I do something similar in my ox-leanpub-book module [1], which exports each top-level heading to a different file. The general idea is to use =org-map-entr

Re: Splitting large org file into smaller ones

2020-05-30 Thread Julius Dittmar
Am 30.05.20 um 17:36 schrieb William Denton: > On 30 May 2020, Marvin M. Doyley wrote: > >> How do I export the subtree to separate org files, say >> >> - Candidate-a.org >> - Candidate-b.org > > I'll throw out an uninformed suggestion of a pos

Re: Splitting large org file into smaller ones

2020-05-30 Thread William Denton
On 30 May 2020, Marvin M. Doyley wrote: How do I export the subtree to separate org files, say - Candidate-a.org - Candidate-b.org I'll throw out an uninformed suggestion of a possible direction: archiving subtrees. I guess you'd have to

Re: Splitting large org file into smaller ones

2020-05-30 Thread Tim Visher
On Sat, May 30, 2020 at 6:09 AM Marvin M. Doyley wrote: > Is there an efficient way to split a large org file into smaller ones? > > Lets say I have a master file with the following > > * Notes > ** Candidate A > … > ** Candidate B > … > > How do I export the subtree to separate org files, say

Re: Splitting large org file into smaller ones

2020-05-30 Thread Marcin Borkowski
On 2020-05-30, at 11:51, Marvin M. Doyley wrote: > Hi there, > > Is there an efficient way to split a large org file into smaller ones? I do not know about "efficient", but you might find my org-one-to-many library useful: https://github.com/mbork/org-one-to-many (Note that I don't wven know i

Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Hi there, Is there an efficient way to split a large org file into smaller ones? Lets say I have a master file with the following * Notes ** Candidate A - Strong technical background - High H-factor - good funding - More established investigator - Huge startup need $$ ** Candidate B - low