emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>, Nick Dokos <ndokos@gmail.com>
Subject: Re: copy title text string from #+TITLE field?
Date: Thu, 13 Feb 2014 00:57:32 -0500	[thread overview]
Message-ID: <CAE+_6Txk9aD2m1eJ_L=4X9XZ2gr=JpXzC-8H7fGFyuTO=Ed94Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 935 bytes --]

             reply	other threads:[~2014-02-13  5:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-13  5:57 Peter Salazar [this message]
2014-02-13 12:18 ` copy title text string from #+TITLE field? Nick Dokos
2014-02-13 17:38   ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2014-02-10  4:59 Peter Salazar
2014-02-10  6:19 ` Nick Dokos
2014-02-10  6:24   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE+_6Txk9aD2m1eJ_L=4X9XZ2gr=JpXzC-8H7fGFyuTO=Ed94Q@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).