emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strip out #+title in #+include
@ 2024-06-12 12:14 Risto Stevcev
  2024-06-17 14:34 ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: Risto Stevcev @ 2024-06-12 12:14 UTC (permalink / raw)
  To: emacs-orgmode

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

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.

There's this solution I found, but it strips out the title entirely, rather
than controlling which `#+title`s get exported, such as only the title of
the root doc:
https://emacs.stackexchange.com/questions/18420/unwanted-concatenation-of-multiple-title-and-author-when-using-include

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-17 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 12:14 Strip out #+title in #+include Risto Stevcev
2024-06-17 14:34 ` Fraga, Eric
2024-06-17 15:06   ` Risto Stevcev

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).