Re: Strip out #+title in #+include

2024-06-17 Thread Risto Stevcev
I tried that, and it did sort of work, but the problem is that I need to do that for dozens of org roam files that may or may not have roam_refs, so it felt really fragile. On Mon, Jun 17, 2024, 16:34 Fraga, Eric wrote: > What I do in such cases is include the file starting at some line number >

Re: Strip out #+title in #+include

2024-06-17 Thread Fraga, Eric
What I do in such cases is include the file starting at some line number that avoids the header information for that file (title, date, author, document settings). Example: #+include: "introduction.org" :lines "10-" -- : Eric S Fraga, with org release_9.7.3-44-g959534 in Emacs 30.0.50

Strip out #+title in #+include

2024-06-14 Thread Risto Stevcev
There doesn't seem to be a way to strip out the `#+title` from an `#+include`d org file. As a result, for complex org documents, if you end up `#+include`ing multiple org files that have `#+title`s, it ends up appending them all, which can often not be what you want, which is true in my case. Ther