emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Date format when exporting to LaTeX?


From: Rasmus
Subject: Re: [O] Date format when exporting to LaTeX?
Date: Mon, 01 Jul 2013 23:46:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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




reply via email to

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