[Top][All Lists]

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

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

From: Nick Dokos
Subject: Re: [O] copy title text string from #+TITLE field?
Date: Thu, 13 Feb 2014 07:18:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Peter Salazar <address@hidden> 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

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