emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: copy title text string from #+TITLE field?
Date: Sun, 9 Feb 2014 23:59:28 -0500	[thread overview]
Message-ID: <CAE+_6Tzz=bx5E-62SvzB_PtKjgWrE8zGxs5wKipj=a6AtjD5Tg@mail.gmail.com> (raw)

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

Next question: is there a way to take the text from the #+TITLE: field of
an org file and insert it, as text, somewhere else within the file (i.e.
inside an HTML block)?

I can't do this manually because my various org files all use an #+INCLUDE:
reference to the same org file, which contains some HTML blocks. For each
different org file, I'd like to copy the title text string from #+TITLE
field and insert it inside an <H1></H1> field in an HTML block in the
included file.

Is this possible? Thanks!

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

             reply	other threads:[~2014-02-10  4:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10  4:59 Peter Salazar [this message]
2014-02-10  6:19 ` copy title text string from #+TITLE field? Nick Dokos
2014-02-10  6:24   ` Nick Dokos
  -- strict thread matches above, loose matches on Subject: below --
2014-02-13  5:57 Peter Salazar
2014-02-13 12:18 ` Nick Dokos
2014-02-13 17:38   ` Nicolas Goaziou

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='CAE+_6Tzz=bx5E-62SvzB_PtKjgWrE8zGxs5wKipj=a6AtjD5Tg@mail.gmail.com' \
    --to=cycleofsong@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).