From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Include today's date in title? Date: Wed, 20 Mar 2013 08:59:57 +0000 Message-ID: <87k3p2o38y.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIFYD-0002zd-Bk for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 05:43:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIFYC-0005ay-3V for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 05:43:17 -0400 Received: from ch1ehsobe006.messaging.microsoft.com ([216.32.181.186]:24279 helo=ch1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIFYB-0005Zh-Pr for emacs-orgmode@gnu.org; Wed, 20 Mar 2013 05:43:15 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gary Oberbrunner Cc: Orgmode Mailing List Gary Oberbrunner writes: > I'm primarily publishing to LaTeX/PDF from org. I have a title: > > #+TITLE: Weekly Status > > 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