From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: copy title text string from #+TITLE field? Date: Mon, 10 Feb 2014 01:19:04 -0500 Message-ID: <8738jr1odj.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCkDJ-0003ch-Sa for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 01:19:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCkDC-0006xk-IJ for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 01:19:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:50814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCkDC-0006xf-Bt for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 01:19:22 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WCkD7-0004EU-EE for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 07:19:17 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Feb 2014 07:19:17 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Feb 2014 07:19:17 +0100 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: emacs-orgmode@gnu.org Peter Salazar writes: > 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! > {{{title}}} should do it. See (info "(org) Macro replacement") -- Nick