From: Risto Stevcev <risto1@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Strip out #+title in #+include
Date: Wed, 12 Jun 2024 14:14:32 +0200 [thread overview]
Message-ID: <CAKbzrJa4vxwumPBbqemqmyyRG6oc-gtnRWv-QF4RdxK8QqxajQ@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2024-06-14 10:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 12:14 Risto Stevcev [this message]
2024-06-17 14:34 ` Strip out #+title in #+include Fraga, Eric
2024-06-17 15:06 ` Risto Stevcev
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=CAKbzrJa4vxwumPBbqemqmyyRG6oc-gtnRWv-QF4RdxK8QqxajQ@mail.gmail.com \
--to=risto1@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).