[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: Mon, 10 Feb 2014 01:24:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

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


reply via email to

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