From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: copy title text string from #+TITLE field? Date: Thu, 13 Feb 2014 00:57:32 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5314b5580912204f2435dcb Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDpIn-0002ES-LR for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 00:57:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDpIk-00043f-2K for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 00:57:37 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:35141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDpIj-00043Z-RJ for emacs-orgmode@gnu.org; Thu, 13 Feb 2014 00:57:33 -0500 Received: by mail-pa0-f52.google.com with SMTP id bj1so10298357pad.11 for ; Wed, 12 Feb 2014 21:57:32 -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 , Nick Dokos --bcaec5314b5580912204f2435dcb Content-Type: text/plain; charset=ISO-8859-1 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? #+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. --bcaec5314b5580912204f2435dcb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks. I do need it only on export, but even so, it doesn= 't seem to be working:


A= gain, it's inside an HTML code block. Not sure if there's a way to = make it work inside that block?

#+BEGIN_HTML=A0
...
<div class=3D"page-header">
=A0 <h1>{{{tit= le}}}</h1>
</div>
...
#+END_= HTML=A0



> {{{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.
--bcaec5314b5580912204f2435dcb--