From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: copy title text string from #+TITLE field? Date: Thu, 13 Feb 2014 07:18:45 -0500 Message-ID: <878utfgq8q.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]:42805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDvFv-00082o-Lv for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 07:19:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDvFp-0005sr-G8 for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 07:19:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:36117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDvFp-0005se-AH for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 07:18:57 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WDvFo-0007Z4-7M for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 13:18:56 +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 ; Thu, 13 Feb 2014 13:18:56 +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 ; Thu, 13 Feb 2014 13:18:56 +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: > Thanks. I do need it only on export, but even so, it doesn't seem to be working: > > http://i.imgur.com/1tMGaHz.png > > Again, it's inside an HTML code block. Not sure if there's a way to make it work inside that block? > I don't think so. The doc says "...which can be referenced in paragraphs, verse blocks, table cells and some keywords". I'm not sure why macro expansion is restricted like that. Maybe Nicolas will chime in. > #+BEGIN_HTML  > ... > > ... > #+END_HTML  > >> {{{title}}} should do it. See >> >> (info "(org) Macro replacement") > > Actually, I'm not sure it will do: macro replacement takes place during > export, so it may or may not be enough, depending on what you really > want to do. > -- Nick