emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Gary Oberbrunner <garyo@oberbrunner.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Include today's date in title?
Date: Wed, 20 Mar 2013 08:59:57 +0000	[thread overview]
Message-ID: <87k3p2o38y.fsf@ucl.ac.uk> (raw)
In-Reply-To: CAFChFyg-t4UH06AOxBRZPPT83Gew2XhSQEV6J1Ktxg4+vO-bQw@mail.gmail.com

Gary Oberbrunner <garyo@oberbrunner.com> writes:

> I'm primarily publishing to LaTeX/PDF from org.  I have a title:
>
> #+TITLE: Weekly Status <TODAYS_DATE_HERE>
>
> How can I get it to automatically export with today's date?  Hopefully
> without a full babel elisp code block?  Any ideas?
>
> BTW, converted to new exporter today.  Pretty painless.

This appears to work:

#+TITLE: The title {{{modification-time(%Y-%m-%d)}}}

Look in the info manual, (org) Macro replacement.

"date" instead of "modification-time" should work but doesn't for me.

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3f-1199-g3a0e55

  reply	other threads:[~2013-03-20  9:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 18:39 Include today's date in title? Gary Oberbrunner
2013-03-20  8:59 ` Eric S Fraga [this message]
2013-03-20 14:21   ` Bastien
2013-03-20 16:49     ` shripad sinari
2013-03-20 17:05       ` Thomas S. Dye

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=87k3p2o38y.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=garyo@oberbrunner.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).