emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] copy title text string from #+TITLE field?


From: Peter Salazar
Subject: Re: [O] copy title text string from #+TITLE field?
Date: Thu, 13 Feb 2014 00:57:32 -0500

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 
...
<div class="page-header">
  <h1>{{{title}}}</h1>
</div>
...
#+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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]