Re: tangling from multiple files

2020-04-08 Thread David Bremner
"Berry, Charles" writes: > I see. > > It looks like you are back to `org-babel-lob-ingest'. > > Maybe the issue you raised at the start of having to re-ingest after changes > could be addressed by a function in `org-babel-pre-tangle-hook'. Thanks for the suggestion. I wrote up my solution at

Re: tangling from multiple files

2020-04-05 Thread Berry, Charles
> On Apr 4, 2020, at 11:08 AM, David Bremner wrote: > > "Berry, Charles" writes: > >> Oops. Correction below. >> >>> On Mar 18, 2020, at 7:38 PM, Berry, Charles wrote: >>> >>> >>> Right. It does not work directly for tangling. So also use >>> >>> #+export_file_name: b2.org >>> >>> (sa

Re: tangling from multiple files

2020-04-04 Thread David Bremner
"Berry, Charles" writes: > Oops. Correction below. > >> On Mar 18, 2020, at 7:38 PM, Berry, Charles wrote: >> >> >> Right. It does not work directly for tangling. So also use >> >> #+export_file_name: b2.org >> >> (say) >> >> Then load ox-ob.el, > > load ox-org.el, rather. > >> export as C

Re: tangling from multiple files

2020-03-19 Thread Berry, Charles
Oops. Correction below. > On Mar 18, 2020, at 7:38 PM, Berry, Charles wrote: > > > Right. It does not work directly for tangling. So also use > > #+export_file_name: b2.org > > (say) > > Then load ox-ob.el, load ox-org.el, rather. > export as C-c C-e O o (org-org-export-to-org), visit b2

Re: tangling from multiple files

2020-03-18 Thread Berry, Charles
> On Mar 18, 2020, at 6:29 PM, David Bremner wrote: > > "Berry, Charles" writes: > >>> On Mar 17, 2020, at 4:21 PM, David Bremner wrote: >>> >>> >>> I've seen this question around e.g. stack overflow, but none of the >>> answers I found seems really satisfactory. >>> >>> I'd like to share

Re: tangling from multiple files

2020-03-18 Thread David Bremner
"Berry, Charles" writes: >> On Mar 17, 2020, at 4:21 PM, David Bremner wrote: >> >> >> I've seen this question around e.g. stack overflow, but none of the >> answers I found seems really satisfactory. >> >> I'd like to share a set of begin_src / end_src blocks in a.org between >> b.org and c.

Re: tangling from multiple files

2020-03-18 Thread Berry, Charles
> On Mar 17, 2020, at 4:21 PM, David Bremner wrote: > > > I've seen this question around e.g. stack overflow, but none of the > answers I found seems really satisfactory. > > I'd like to share a set of begin_src / end_src blocks in a.org between > b.org and c.org; in particular b.org and c.or

tangling from multiple files

2020-03-17 Thread David Bremner
I've seen this question around e.g. stack overflow, but none of the answers I found seems really satisfactory. I'd like to share a set of begin_src / end_src blocks in a.org between b.org and c.org; in particular b.org and c.org contain noweb references to names defined in a.org. Is there a bett