From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: copy title text string from #+TITLE field? Date: Sun, 9 Feb 2014 23:59:28 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b67360657c70f04f20634d2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCixv-0008Eb-4C for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:59:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCixu-0003Yt-6a for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:59:31 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:53062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCixt-0003Ym-V1 for emacs-orgmode@gnu.org; Sun, 09 Feb 2014 23:59:30 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so5683543pad.25 for ; Sun, 09 Feb 2014 20:59:28 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --047d7b67360657c70f04f20634d2 Content-Type: text/plain; charset=ISO-8859-1 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

field in an HTML block in the included file. Is this possible? Thanks! --047d7b67360657c70f04f20634d2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Next question: is there a way to take the text from t= he #+TITLE: field of an org file and insert it, as text, somewhere else wit= hin the file (i.e. inside an HTML block)?=A0

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 d= ifferent 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!


=

--047d7b67360657c70f04f20634d2--