From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Date format when exporting to LaTeX? Date: Mon, 01 Jul 2013 23:46:55 +0200 Message-ID: <87a9m6j6ls.fsf@pank.eu> References: <51D1EF34.5080806@bbn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtlwF-0003Mi-8s for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 17:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtlwE-0001yS-6s for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 17:47:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:50749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtlwE-0001yK-06 for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 17:47:10 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UtlwC-00011p-Lv for emacs-orgmode@gnu.org; Mon, 01 Jul 2013 23:47:08 +0200 Received: from g229060136.adsl.alicedsl.de ([92.229.60.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 23:47:08 +0200 Received: from rasmus by g229060136.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 23:47:08 +0200 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: emacs-orgmode@gnu.org Hi Richard, > I recently upgraded from 7.8.03 to current master (actually > release_8.0.3-299-g1d606c0) and now when I export to LaTeX, the following: > > #+DATE: %Y-%m-%d > > no longer causes the date to be the current date in ISO 8601 format. It > now simply prints "%Y-%m-%d". > > I tried: > > #+DATE: {{{date(%Y-%m-%d)}}} This also doesn't work for, but I've never used it before. But it should be {{{time(.)}}} cf. http://orgmode.org/cgit.cgi/org-mode.git/commit/?h=maint > but got "Circular macro expansion: date". I also tried: > > #+BIND: org-export-date-timestamp-format "%Y-%m-%d" This works for me in Org-mode version 8.0.3 (release_8.0.3-309-gabacff). Is the problem still persistent after trying from emacs -q or after trying M-x org-reload? #+BIND: org-export-date-timestamp-format "%Y-%m-%d" #+DATE: <2013-07-01 Mon> * test #+begin_src emacs-lisp (setq org-export-date-timestamp-format "%B %e, %Y") (set (make-local-variable 'org-export-allow-bind-keywords) t) #+end_src –Rasmus -- The Kids call him Billy the Saint