[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] adding datestamp to reftex-set-cite-format
From: |
Sylvain ROUSSEAU |
Subject: |
Re: [AUCTeX] adding datestamp to reftex-set-cite-format |
Date: |
Wed, 08 Jun 2011 11:58:41 +0200 |
hi,
apparently, reftex-format-citation needs a string as a format.
Advising that function seems to work!
(defadvice reftex-format-citation (before eval-citation-format)
(setq format (eval format)))
and just drop the lambda insert thing ;)
(?h . (concat "* %l - %t\n:PROPERTIES:\n:Created: "
(format-time-string (org-time-stamp-format t t))
"\n:Custom_ID: %l\n:END:\n[[papers:%l][%l-pdf]] [[bib:%l][%
l-bib]]"))
Sylvain.