Nick Dokos <ndo...@gmail.com> writes:

> Peter Salazar <cycleofs...@gmail.com> 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 <H1></H1> field in
>> an HTML block in the included file.
>>
>> Is this possible? Thanks!
>>
>
> {{{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


Reply via email to